AWS Classroomnotes 23/Aug/2023

AWS S3 contd

  • Only Empty Buckets can be deleted
    Preview

Storage classes in S3

  • Create an s3 bucket and upload some objects
    Preview
    Preview
    Preview

Lets find destinations in s3 uri formats

  • S3 URI Format:
    • bucket: s3://<bucket-name>
    • folder: s3://<bucket-name>/<folder-name>
    • object: s3://<bucket-name>/<object-name> or s3://<bucket-name>/<folder-name>/<object-name>

Lets find the ARN (Amazon Resource Name)

  • ARN uniquely identifies the resources created in AWS
  • ARN for s3 Refer Here
arn:aws:s3:::bucket_name/key_name
  • ARN for my bucket qtstorageclassdemo will be arn:aws:s3:::qtstorageclassdemo
  • ARN for my object one.mp3 will be arn:aws:s3:::qtstorageclassdemo/music/one.mp3

Bucket Properties

  • Navigate to s3 console and select the bucket and click on properties
    Preview
  • Location/Region
  • Bucket versioning
  • Tags
  • Default Encryption
  • Transfer Accelartion
  • Requester Pays
  • Static Website Hosting

Versioning

  • By default if we upload the object with sme name it overrites, when we enable versioning a new version of the object with same name is created and this becomes the default version
  • Enable versioning
    Preview
    Preview
  • upload 2 versions of some text file
    Preview
    Preview
  • Now suspend versioning i.e. from now on no more versioning.
  • As of now one.txt has two versions
    Preview
  • lets add one more one.txt

Requester pays

  • In S3 we have two costs
    • one for storage
    • other for access
  • Requester pays is a mode where the user should be aws user from other account who will be paying access cost and you would only be paying storage costs.

Next Steps:

  • How to connect s3 and ec2 privately ?
    Preview

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube