AWS Classroomnotes 24/Aug/2023

AWS S3 Contd

AWS Global Network

  • AWS has a global network which connects every aws AZ, local zones and edge locations.
    Preview
  • AWS allows to private connect using global network by using AWS private endpoints

Activity: Connect to AWS privately

  • Create an AWS EC2 instance (ubuntu)
  • Create a s3 bucket
  • Now navigate to AWS VPC => Endpoints => Create endpoint
    Preview
    Preview
    Preview
    Preview
    Preview
  • Once the Gateway endpoint is attached to route table, then all communication from this network to s3 is completely on global network
  • We have provided access, now we need to learn to restrict.

Restrictions on s3 bucket

  • We have two ways of restricting access
    • ACL (Access Control Lists)
    • S3 Bucket Policy
  • We need to learn json to write bucket policies
  • Note: Refer Here for a video on json and yaml

Storage Classes

  • While uploading any object to s3 bucket storage class can be changed
    Preview
  • Storage class can also be changed post upload.
  • Select the object => Properties => Storage class
    Preview
    Preview
    Preview
  • If we need to change storage class based on number of days, Navigate to bucket => Management => Lifecycle rules
    Preview
    Preview
    Preview
  • Note: It is recommended to use intelligent-tiering over adhoc lifecycle rules.

Problem

  • I have a web application running in multiple regions
    • us
    • uk
    • india
    • germany
  • This application uses images, videos from a s3 bucket in us region
  • us-web site is faster and i want the same response in other countries as well, so what are possible options
    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