AWS CLI with Amazon S3

Use the AWS CLI to initialize an S3 resource.

  1. Implement using CLI to interact with S3. For example, create S3 bucket.
aws s3 mb s3://aws-cli-2000

AWS CLI

  1. Checklist s3 bucket
aws s3 ls

AWS CLI

  1. Check the object in the s3 bucket.
aws s3 ls s3://bucket-name

AWS CLI

  1. Then, we will delete the object
aws s3 rm s3://bucket-name/object

AWS CLI

  1. Then, we delete the bucket.
aws s3 rb s3://bucket-name

AWS CLI