Amazon S3
Amazon Simple Storage Service
Amazon Simple Storage Service
This page focuses on S3 Bucket management via the AWS CLI. Follow the links for steps to achieve the same from the AWS Web Console.
Buckets
Buckets
Create an S3 Bucket
Create an S3 Bucket
aws s3 mb s3://mybucket --region eu-west-2
The bucket name must be globally unique i.e. unique across AWS not just your account.List S3 Buckets
List S3 Buckets
aws s3 ls
Copy to an S3 Bucket
Copy to an S3 Bucket
This recursively copies a directory and all files...
aws s3 cp mydirectory s3://mybucket --recursive --acl public-read
Empty an S3 Bucket
Empty an S3 Bucket
Delete from an S3 Bucket
Delete from an S3 Bucket
Delete an S3 Bucket
Delete an S3 Bucket
aws s3 rb s3://mybucket
aws s3 rb s3://mybucket --force
Using the --force option deletes all objects and subfolders in the bucket and then removes the bucketAccess an S3 file by URL
Access an S3 file by URL
The following URLS are equivalent...
https://s3.myregion.amazonaws.com/mybucket/myfolder/myfile.txt
https://mybucket.s3.myregion.amazonaws.com/myfolder/myfile.txt
Sync with an S3 Bucket
Sync with an S3 Bucket
Bibliography
Bibliography
https://aws.amazon.com/s3/https://aws.amazon.com/getting-started/hands-on/backup-files-to-amazon-s3/
https://docs.aws.amazon.com/cli/latest/userguide/cli-services-s3-commands.htmlhttps://docs.aws.amazon.com/AmazonS3/latest/user-guide/create-bucket.html https://docs.aws.amazon.com/AmazonS3/latest/user-guide/delete-bucket.html https://docs.aws.amazon.com/AmazonS3/latest/user-guide/empty-bucket.html https://docs.aws.amazon.com/AmazonS3/latest/user-guide/delete-objects.html https://docs.aws.amazon.com/cli/latest/userguide/cli-services-s3-commands.html
https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html
https://docs.aws.amazon.com/cli/latest/reference/s3/index.html
https://aws.amazon.com/premiumsupport/knowledge-center/s3-troubleshoot-403/https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerLogs.html
https://stackoverflow.com/questions/28653249/amazon-s3-exception-the-specified-key-does-not-exist
https://www.msp360.com/resources/blog/amazon-s3-vs-ebs-vs-efs/
https://docs.aws.amazon.com/cli/latest/userguide/cli-services-s3-commands.htmlhttps://docs.aws.amazon.com/AmazonS3/latest/user-guide/create-bucket.html https://docs.aws.amazon.com/AmazonS3/latest/user-guide/delete-bucket.html https://docs.aws.amazon.com/AmazonS3/latest/user-guide/empty-bucket.html https://docs.aws.amazon.com/AmazonS3/latest/user-guide/delete-objects.html https://docs.aws.amazon.com/cli/latest/userguide/cli-services-s3-commands.html
https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html
https://docs.aws.amazon.com/cli/latest/reference/s3/index.html
https://aws.amazon.com/premiumsupport/knowledge-center/s3-troubleshoot-403/https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerLogs.html
https://stackoverflow.com/questions/28653249/amazon-s3-exception-the-specified-key-does-not-exist
https://www.msp360.com/resources/blog/amazon-s3-vs-ebs-vs-efs/