January 2019
Intermediate to advanced
490 pages
15h 37m
English
I will use a bucket name (qnatime, or a variation thereof) for the AWS CLI commands within this chapter.
aws s3api create-bucket \ --bucket qnatime \ --create-bucket-configuration LocationConstraint=ap-south-1 \ --region ap-south-1 \ --profile admin
We need to specify the LocationConstraint explicitly, in addition to the --region option for non-US regions. This command will provide you with the location of the S3 bucket:

From this location and the knowledge of the region, you ...
Read now
Unlock full access