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.
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.aws s3 ls
This recursively copies a directory and all files...
aws s3 cp mydirectory s3://mybucket --recursive --acl public-read
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 bucketThe following URLS are equivalent...
https://s3.myregion.amazonaws.com/mybucket/myfolder/myfile.txt
https://mybucket.s3.myregion.amazonaws.com/myfolder/myfile.txt