• Amazon Lightsail vs EC2: Which is the right service for you?

    Introduction

    Amazon EC2 and Lightsail are two services provided by AWS that are similar to each other. EC2 and Lightsail are used to create virtual servers in the cloud to run web applications.

    Choosing the right service for hosting your application can be difficult due to the wide range of features.

    In this article, we will look into both of these services in detail to better understand which service is better suited for your use case.

    Read on →

  • How to use Boto3 to upload files to an S3 Bucket?

    Introduction

    AWS Boto3 is the Python SDK for AWS. Boto3 can be used to directly interact with AWS resources from Python scripts.

    Boto3’s S3 API has 3 different methods that can be used to upload files to an S3 bucket.

    In this tutorial, we will look at these methods and understand the differences between them.

    Read on →

  • AWS CLI: s3 vs s3api

    Introduction

    Have you tried to find documentation for AWS CLI’s S3 functionality and run into two commands that both perform S3 related operations: s3 and s3api?

    Almost every other AWS service only has one command in the CLI, so having two commands is unusual and can be confusing.

    In this article, we will take a look at both of these commands and their differences.

    Read on →

  • How to delete a versioned bucket in AWS S3 using the CLI?

    Introduction

    Versioning in AWS S3 is a way to keep multiple variants of an object in the same bucket. S3 Versioning can be used to preserve, retrieve and restore every version of every object stored in your bucket.

    In this article, we will look into how you can delete a versioning enabled S3 bucket.

    Read on →

  • How to enable Versioning on AWS S3 Bucket (using AWS Console & CLI)

    Introduction

    Versioning in AWS S3 is a way to keep multiple variants of an object in the same bucket. S3 Versioning can be used to preserve, retrieve and restore every version of every object stored in your bucket.

    Versioning can help you recover objects from accidental deletion or overwrites.

    In this article, we will look into how you can enable versioning for your S3 bucket.

    Read on →