S3 buckets
- Object Ownership:
- ACL (Access Control List) enabled:
- Can give access to public
- Access can be modified by using ACL
- ACL disabled:
- Can give access by policies
- ACL (Access Control List) enabled:
- Create an s3 bucket with ACL’s enabled
- Block all public access: enabled by default and it ensures no object is public & cannot be made public
- Versioning
- Generally s3 bucket has two major uri’s
- https: Refer Here
- s3:
s3://bucket-name/key-name
This is majorly used from cli.
- Lets create two folders
- Upload some mp3 files into music and mp4 into videos
- While uploading the files we have acls
-
Select any object and click on Actions
- All the s3 operations can be done from cli.
AWS S3 CLI
-
AWS has two cli mechanisms for s3
- high level cli
aws s3 <actions>
: we use s3 uri’s
- low level cli
aws s3api <actions>
: This is inspired from aws sdk for s3 bucket
- high level cli
- CLI Installation: Refer Here