<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chinmaye Jain</title>
    <description>The latest articles on DEV Community by Chinmaye Jain (@chinmayej).</description>
    <link>https://dev.to/chinmayej</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F815761%2F6f1c2c14-8823-453a-bb07-23328b51ad8a.jpg</url>
      <title>DEV Community: Chinmaye Jain</title>
      <link>https://dev.to/chinmayej</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chinmayej"/>
    <language>en</language>
    <item>
      <title>AWS S3 : Day 4&amp;5</title>
      <dc:creator>Chinmaye Jain</dc:creator>
      <pubDate>Wed, 06 Apr 2022 17:17:39 +0000</pubDate>
      <link>https://dev.to/chinmayej/aws-s3-day-45-2p4f</link>
      <guid>https://dev.to/chinmayej/aws-s3-day-45-2p4f</guid>
      <description>&lt;h6&gt;
  
  
  Hey, this is a place where I am writing my own personal notes and publishing. I am following what AWS UG Madurai has taught till date along with what Stephen Maarek is teaching. There might be chances that some concepts are delayed, will try to cover everything in the upcoming blogs in parts, I have shared my previous learnings from
&lt;/h6&gt;

&lt;p&gt;&lt;strong&gt;Day 1:&lt;/strong&gt; &lt;br&gt;
&lt;/p&gt;
&lt;blockquote class="ltag__twitter-tweet"&gt;
      &lt;div class="ltag__twitter-tweet__media"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--RrmmefPP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/media/FPRgjw0VgAQ8nF8.png" alt="unknown tweet media content"&gt;
      &lt;/div&gt;

  &lt;div class="ltag__twitter-tweet__main"&gt;
    &lt;div class="ltag__twitter-tweet__header"&gt;
      &lt;img class="ltag__twitter-tweet__profile-image" src="https://res.cloudinary.com/practicaldev/image/fetch/s--kdsWvcJY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/profile_images/1511281569579044864/bt_0exvp_normal.jpg" alt="Chinmaye Jain profile image"&gt;
      &lt;div class="ltag__twitter-tweet__full-name"&gt;
        Chinmaye Jain
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__username"&gt;
        &lt;a class="mentioned-user" href="https://dev.to/chinmayej"&gt;@chinmayej&lt;/a&gt;
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__twitter-logo"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ir1kO05j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-f95605061196010f91e64806688390eb1a4dbc9e913682e043eb8b1e06ca484f.svg" alt="twitter logo"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__body"&gt;
      Sharing my learnings here:&lt;br&gt;&lt;a href="https://twitter.com/hashtag/Amazon"&gt;#Amazon&lt;/a&gt; EC2 is the most popular of &lt;a href="https://twitter.com/hashtag/aws"&gt;#aws&lt;/a&gt;'s offerings&lt;br&gt;-almost used everywhere&lt;br&gt;-Infrastructure as a Service &lt;br&gt;-Has the capability of renting a &lt;a href="https://twitter.com/hashtag/virtual"&gt;#virtual&lt;/a&gt; machine&lt;br&gt;Sharing more on the thread, correct me if I am wrong.&lt;br&gt;&lt;a href="https://twitter.com/hashtag/Day1"&gt;#Day1&lt;/a&gt; 
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__date"&gt;
      17:07 PM - 01 Apr 2022
    &lt;/div&gt;


    &lt;div class="ltag__twitter-tweet__actions"&gt;
      &lt;a href="https://twitter.com/intent/tweet?in_reply_to=1509940524592951296" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fFnoeFxk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-reply-action-238fe0a37991706a6880ed13941c3efd6b371e4aefe288fe8e0db85250708bc4.svg" alt="Twitter reply action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/retweet?tweet_id=1509940524592951296" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k6dcrOn8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-retweet-action-632c83532a4e7de573c5c08dbb090ee18b348b13e2793175fea914827bc42046.svg" alt="Twitter retweet action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/like?tweet_id=1509940524592951296" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SRQc9lOp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-like-action-1ea89f4b87c7d37465b0eb78d51fcb7fe6c03a089805d7ea014ba71365be5171.svg" alt="Twitter like action"&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;


&lt;p&gt;&lt;strong&gt;Day 2:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;blockquote class="ltag__twitter-tweet"&gt;
      &lt;div class="ltag__twitter-tweet__media"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--akO4M9Up--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/media/FPVNE5-VUAAhygq.jpg" alt="unknown tweet media content"&gt;
      &lt;/div&gt;

  &lt;div class="ltag__twitter-tweet__main"&gt;
    &lt;div class="ltag__twitter-tweet__header"&gt;
      &lt;img class="ltag__twitter-tweet__profile-image" src="https://res.cloudinary.com/practicaldev/image/fetch/s--kdsWvcJY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/profile_images/1511281569579044864/bt_0exvp_normal.jpg" alt="Chinmaye Jain profile image"&gt;
      &lt;div class="ltag__twitter-tweet__full-name"&gt;
        Chinmaye Jain
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__username"&gt;
        &lt;a class="mentioned-user" href="https://dev.to/chinmayej"&gt;@chinmayej&lt;/a&gt;
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__twitter-logo"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ir1kO05j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-f95605061196010f91e64806688390eb1a4dbc9e913682e043eb8b1e06ca484f.svg" alt="twitter logo"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__body"&gt;
      Sharing my learnings of the day:&lt;br&gt;EC2 Instance Storage &lt;br&gt;EBS Snapshots &lt;br&gt;AMI &lt;br&gt;EC2 Image Builder &lt;br&gt;&lt;br&gt;&lt;a href="https://twitter.com/hashtag/CloudComputing"&gt;#CloudComputing&lt;/a&gt; &lt;br&gt;&lt;a href="https://twitter.com/hashtag/AWS"&gt;#AWS&lt;/a&gt; &lt;br&gt;&lt;a href="https://twitter.com/hashtag/awscloud"&gt;#awscloud&lt;/a&gt;&lt;br&gt;&lt;a href="https://twitter.com/hashtag/Day2"&gt;#Day2&lt;/a&gt; &lt;br&gt;&lt;a href="https://twitter.com/hashtag/learning"&gt;#learning&lt;/a&gt; &lt;br&gt;Correct me if I am wrong,please. 
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__date"&gt;
      10:15 AM - 02 Apr 2022
    &lt;/div&gt;


    &lt;div class="ltag__twitter-tweet__actions"&gt;
      &lt;a href="https://twitter.com/intent/tweet?in_reply_to=1510199140084424711" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fFnoeFxk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-reply-action-238fe0a37991706a6880ed13941c3efd6b371e4aefe288fe8e0db85250708bc4.svg" alt="Twitter reply action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/retweet?tweet_id=1510199140084424711" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k6dcrOn8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-retweet-action-632c83532a4e7de573c5c08dbb090ee18b348b13e2793175fea914827bc42046.svg" alt="Twitter retweet action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/like?tweet_id=1510199140084424711" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SRQc9lOp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-like-action-1ea89f4b87c7d37465b0eb78d51fcb7fe6c03a089805d7ea014ba71365be5171.svg" alt="Twitter like action"&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;


&lt;p&gt;&lt;strong&gt;Day 3:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;blockquote class="ltag__twitter-tweet"&gt;
      &lt;div class="ltag__twitter-tweet__media"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IKsOV3CC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/media/FPb9lETVkAUrnUG.jpg" alt="unknown tweet media content"&gt;
      &lt;/div&gt;

  &lt;div class="ltag__twitter-tweet__main"&gt;
    &lt;div class="ltag__twitter-tweet__header"&gt;
      &lt;img class="ltag__twitter-tweet__profile-image" src="https://res.cloudinary.com/practicaldev/image/fetch/s--kdsWvcJY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/profile_images/1511281569579044864/bt_0exvp_normal.jpg" alt="Chinmaye Jain profile image"&gt;
      &lt;div class="ltag__twitter-tweet__full-name"&gt;
        Chinmaye Jain
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__username"&gt;
        &lt;a class="mentioned-user" href="https://dev.to/chinmayej"&gt;@chinmayej&lt;/a&gt;
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__twitter-logo"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ir1kO05j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-f95605061196010f91e64806688390eb1a4dbc9e913682e043eb8b1e06ca484f.svg" alt="twitter logo"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__body"&gt;
      Day 3 &lt;br&gt;Sharing my learnings here.&lt;br&gt;ELB-Elastic Load Balancer&lt;br&gt;ASG-Auto Scaling Groups&lt;br&gt;&lt;br&gt;Please correct me If I am wrong.&lt;br&gt;&lt;a href="https://twitter.com/hashtag/Day3"&gt;#Day3&lt;/a&gt; &lt;a href="https://twitter.com/hashtag/aws"&gt;#aws&lt;/a&gt; &lt;a href="https://twitter.com/hashtag/CloudComputing"&gt;#CloudComputing&lt;/a&gt; &lt;a href="https://twitter.com/hashtag/challenge"&gt;#challenge&lt;/a&gt; &lt;a href="https://twitter.com/hashtag/goodnight"&gt;#goodnight&lt;/a&gt; 
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__date"&gt;
      17:44 PM - 03 Apr 2022
    &lt;/div&gt;


    &lt;div class="ltag__twitter-tweet__actions"&gt;
      &lt;a href="https://twitter.com/intent/tweet?in_reply_to=1510674500307759106" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fFnoeFxk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-reply-action-238fe0a37991706a6880ed13941c3efd6b371e4aefe288fe8e0db85250708bc4.svg" alt="Twitter reply action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/retweet?tweet_id=1510674500307759106" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k6dcrOn8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-retweet-action-632c83532a4e7de573c5c08dbb090ee18b348b13e2793175fea914827bc42046.svg" alt="Twitter retweet action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/like?tweet_id=1510674500307759106" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SRQc9lOp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-like-action-1ea89f4b87c7d37465b0eb78d51fcb7fe6c03a089805d7ea014ba71365be5171.svg" alt="Twitter like action"&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;


&lt;h1&gt;
  
  
  What exactly is S3 all about?
&lt;/h1&gt;

&lt;p&gt;Amazon Simple Storage Service is a very important service offered by AWS.It allows us to store objects(files) in the buckets(directories). &lt;/p&gt;

&lt;p&gt;Bucket is more like our real-life bucket that can store files. To store any objects(files) in Amazon S3 we create a bucket and then upload object in the bucket. We can create up to 100 buckets in each of your AWS accounts.&lt;/p&gt;

&lt;p&gt;A bucket must have a &lt;em&gt;&lt;em&gt;globally unique name&lt;/em&gt;&lt;/em&gt; across all regions and accounts. That means you'll have to add your own customization to the name so that it is very unique.&lt;/p&gt;

&lt;p&gt;All the buckets are defined at the regiona level only. S3 might look like a global service but they are created in a particular region.&lt;/p&gt;

&lt;h1&gt;
  
  
  S3 Storage Class
&lt;/h1&gt;

&lt;p&gt;So before starting off with different storage classes let me share something about Durability and Availability.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Durability&lt;/em&gt; represents how many times an object is going to be loss by Amazon S3- 99.999999999%&lt;br&gt;
This means, if you store 10,000,000 objects in S3 you can expect to have a loss of a single unit every 10,000 years.Durability is same for all storage classes in Amazon S3.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Availability&lt;/em&gt; represents how readily available a service is.&lt;/p&gt;

&lt;h1&gt;
  
  
  S3 Standard - General Purpose
&lt;/h1&gt;

&lt;p&gt;-Has 99.999% availability &lt;br&gt;
-It's going to be used for frequenlty accessed data, this is the kind of storage you use by default.&lt;br&gt;
-Low latency and high throughput,&lt;br&gt;
-It can sustain two concurrent facility failures on the side of AWS &lt;br&gt;
-And the usecase of it is going to be Big Data analytics, mobile and gaming applications etc..&lt;/p&gt;

&lt;h1&gt;
  
  
  S3 Storage Class- Infrequent Access
&lt;/h1&gt;

&lt;p&gt;-This is for the data that is ess frequenlty accessed but when accessed it is accessed rapidly.&lt;br&gt;
-Lower cost than S3 Standard, but you'll have a cost on retrieval.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Amazon S3 Standard-Infrequent Access(S3 Standard IA)&lt;/strong&gt;&lt;br&gt;
    -99.9% availability &lt;br&gt;
    -And it's use case is going to be Disaster Recovery, data &lt;br&gt;
    backup&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Amazon S3 One Zone-Infrequent Access(S3 One-Zone IA)&lt;/strong&gt;&lt;br&gt;
    -Has high durability in a single Availabilty Zone and the data &lt;br&gt;
    is going to be lost if the AZ is lost.&lt;br&gt;
    -It's availability is even lower 99.5% only&lt;br&gt;
    -Use cases could be Storing secondary backup copies of on- &lt;br&gt;
    premise data or data you can recreate.&lt;/p&gt;

&lt;h1&gt;
  
  
  Amazon S3 Glacier Storage Class
&lt;/h1&gt;

&lt;p&gt;-As the name suggests glacier means cold so here it is a low-cost object storage meant for backup/archiving.&lt;br&gt;
-And the pricing you're going to pay is for the storage plus the object retrieval cost i.e. storage+object retrieval cost.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Amazon S3 Glacier Instant Retrieval&lt;/strong&gt;&lt;br&gt;
-Milliseconds retrieval, great for the data accessed oncea quarter.&lt;br&gt;
-Minimum storage duration is of 90 days.&lt;br&gt;
So this is backup but you need to access this within milliseconds.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Amazon S3 Glacier Flexible Retrieval&lt;/strong&gt;&lt;br&gt;
-Has 3 flexible features&lt;br&gt;
                        -Expedited(1-5 minutes)&lt;br&gt;
                        -Standard(3-5 Hours)&lt;br&gt;
                        -Bulk(5-12 Hours)&lt;br&gt;
-Minimum storage duration is of 90 days.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Amazon S3 Gladier Deep Archive&lt;/strong&gt;- for long term storage&lt;br&gt;
-Has 2 tiers &lt;br&gt;
                         -Standard(12 Hours)&lt;br&gt;
                         -Bulk(48 Hours)&lt;br&gt;
-Minumum storage duration is of 180 days.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Mvw7ox4A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l3ejzjqy0gim5fy9c6kf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Mvw7ox4A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l3ejzjqy0gim5fy9c6kf.png" alt="Image description" width="880" height="601"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  S3 Object Lock and Glacier Vault Lock
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;S3 Object Lock&lt;/strong&gt;&lt;br&gt;
-It has a basic idea to adopt the WORM(Write Once Read Many) model.&lt;br&gt;
What it means is that you write the file once to your S3 buckets and then you will block that object version to be deleted for a specific amount of time, so that no one can touch it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Glacier Vault Lock&lt;/strong&gt;&lt;br&gt;
-It is similar to Object Lock with WORM.&lt;br&gt;
-It lock the policies for future edits so that it can no longer be changed.&lt;/p&gt;

&lt;p&gt;The perfect use case for these locks would be Compliance when we want to be very sure that no one should be able to delete our objects so that during the time of the audit we have it all stored at one place.&lt;br&gt;
So, the concept is very simple whenever any object gets stored in the Vault Lock Policy the Object cannot be deleted.&lt;/p&gt;

&lt;p&gt;This is somewhat a brief of whatever I have learnt in the past 3 days in bits and pieces. I hope to improve more and provide more value to you all.&lt;br&gt;
Also, it took me 3 days to write this. My first ever super technical write-up. Thank you for reading! &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>aws</category>
      <category>cloud</category>
      <category>cloudskills</category>
    </item>
  </channel>
</rss>
