-
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.
-
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
ands3api
?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.
-
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.
-
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.
-
How to debug AWS S3 Access Denied Errors for ListObjects
Introduction
Access Denied Errors from S3 are generally due to a misconfiguration.
There are a few things that you can check to ensure your bucket is configured correctly.