AWS CLI with Amazon S3
Use the AWS CLI to initialize an S3 resource.
- Implement using CLI to interact with S3. For example, create S3 bucket.
aws s3 mb s3://aws-cli-2000
- Checklist s3 bucket
aws s3 ls
- Check the object in the s3 bucket.
aws s3 ls s3://bucket-name
- Then, we will delete the object
aws s3 rm s3://bucket-name/object
- Then, we delete the bucket.
aws s3 rb s3://bucket-name