Now that you have configured the CLI and confirmed that it is working, let’s use it to create an S3 bucket and upload a file. Create a new bucket with the following command:
aws s3 mb s3://my-new-bucket-<your last name>
Of course, replace
Create a text file named data.txt with the following: “hello, world!”
Upload the file to your new S3 bucket with the following command:
aws s3 cp data.txt s3://my-new-bucket-<your last name>
Now, get a listing of your S3 bucket. Do you know the command (or can you get it from the manual page)?