Skip to content

Instantly share code, notes, and snippets.

@micmath
Last active December 27, 2019 17:08
Show Gist options
  • Save micmath/07fd4a18651e19dfc2347f8e6788e576 to your computer and use it in GitHub Desktop.
Save micmath/07fd4a18651e19dfc2347f8e6788e576 to your computer and use it in GitHub Desktop.

Make a Bucket

Use the aws s3 mb command.

$ aws s3 mb s3://mycoolbucket --region eu-west-1
  make_bucket: mycoolbucket

List Buckets

Use the aws s3 ls command.

$ aws s3 ls
  2019-10-02 16:52:55 mycoolbucket
  2019-09-11 14:46:23 mycoolbucket2
  2019-11-15 14:12:32 mycoolbucket3

Remove a Bucket

Use the aws s3 rb command.

$ aws s3 rb s3://mycoolbucket --region eu-west-1
  remove_bucket: mycoolbucket
@micmath
Copy link
Author

micmath commented Nov 15, 2019

See the AWS Documentations for s3api to use S3 commands that are not available to the s3 command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment