AWS Classroomnotes 30/Nov/2022

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
  • Create an s3 bucket with ACL’s enabled
    Preview
  • Block all public access: enabled by default and it ensures no object is public & cannot be made public
    Preview
    Preview
  • Versioning
    Preview
    Preview
  • 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
    Preview
  • Upload some mp3 files into music and mp4 into videos
  • While uploading the files we have acls
    Preview
    Preview
    Preview
    Preview
  • Select any object and click on Actions
    Preview
    Preview
  • 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
      Preview
    • low level cli aws s3api <actions>: This is inspired from aws sdk for s3 bucket
  • CLI Installation: Refer Here

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner