The code I am trying to run as per the tutorials is:
import boto3
s3=boto3.resource('s3')
bucket_name="BucketMRaj"
try:
response=s3.create_bucket(Bucket=bucket_name, CreateBucketConfiguration={'LocationConstraint':'us-east-2'})
print(response)
except Exception as error:
print(error)
![](https://www.edureka.co/community/?qa=blob&qa_blobid=12295806870964466314)
Please help!