<?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: Parth Rewoo</title>
    <description>The latest articles on DEV Community by Parth Rewoo (@parth1906).</description>
    <link>https://dev.to/parth1906</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%2F489640%2Ff39a6788-b16c-485d-97ac-c3f1bca26d96.jpeg</url>
      <title>DEV Community: Parth Rewoo</title>
      <link>https://dev.to/parth1906</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/parth1906"/>
    <language>en</language>
    <item>
      <title>AWS Storage Services</title>
      <dc:creator>Parth Rewoo</dc:creator>
      <pubDate>Fri, 30 Jul 2021 15:50:52 +0000</pubDate>
      <link>https://dev.to/parth1906/aws-storage-services-56gl</link>
      <guid>https://dev.to/parth1906/aws-storage-services-56gl</guid>
      <description>&lt;p&gt;&lt;strong&gt;Instance Stores&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Instance Stores&lt;/em&gt;&lt;/strong&gt; are block-level storage volumes which behaves like physical hard drives. It provides temporary block-level storage for an Amazon EC2 instance. It is physically attached to the host computer for an EC2 instance. When the instance is terminated, the instance store gets deleted along with the data in the instance store. &lt;em&gt;Instance Store&lt;/em&gt; should only be used to store temporary data which is not needed in the long term.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_KanLfh8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0kdnu5t6x1lbakpsevhr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_KanLfh8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0kdnu5t6x1lbakpsevhr.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Amazon Elastic Block Store (Amazon EBS)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Amazon EBS&lt;/em&gt;&lt;/strong&gt; provides block-level storage volumes which can be used with Amazon EC2 instances. It is not a temporary storage which means if the Amazon EC2 instance is terminated, all the data on the attached &lt;em&gt;Amazon EBS&lt;/em&gt; volume remains available.&lt;br&gt;
It is important to backup the data as the data that needs to persist is stored in EBS volumes. &lt;strong&gt;&lt;em&gt;Amazon EBS Snapshots&lt;/em&gt;&lt;/strong&gt; can be used to take incremental backups of EBS volumes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jxSYUhTY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v3d6clgg68784j7pax2i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jxSYUhTY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v3d6clgg68784j7pax2i.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Amazon EBS Snapshots&lt;/em&gt;&lt;/strong&gt; - It is an incremental backup which means that the first backup of the volume copies all the data but subsequent backups only copies the blocks of data that have been changed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--C9KYh0nP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c2k2zox9ss6dao2ggp7p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--C9KYh0nP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c2k2zox9ss6dao2ggp7p.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Amazon Simple Storage Service (Amazon S3)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Amazon S3&lt;/em&gt;&lt;/strong&gt; provides object-level storage. It stores data as objects in buckets. Each object consists of data, metadata, and a key. The data can be any image, video or any type of file. Metadata contains information about what the data is, how it is used, the size of the object, and so on. An object's key is its unique identifier.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--W_32qT2t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7qg9g9glfq52iu09oy1h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--W_32qT2t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7qg9g9glfq52iu09oy1h.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Amazon S3&lt;/em&gt; offers unlimited storage space. The maximum file size for an object is 5 TB. Permissions for controlling visibility and access permissions, Amazon S3 versioning feature to track changes in objects over time can be used while uploading a file to &lt;em&gt;Amazon S3&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OjJHcj3z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pxhivsjnuzopi31gdr0z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OjJHcj3z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pxhivsjnuzopi31gdr0z.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Amazon S3 Storage Classes&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Users pay only for what they use with &lt;em&gt;Amazon S3&lt;/em&gt;. Below are the &lt;em&gt;Amazon S3 Storage Classes&lt;/em&gt; :&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;S3 Standard&lt;/em&gt;&lt;/strong&gt; - It is designed for frequently accessed data and it stores data in a minimum of three Availability Zones.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;S3 Standard-Infrequent Access (S3 Standard-IA)&lt;/em&gt;&lt;/strong&gt; - It is ideal for infrequently accessed data and is similar to S3 Standard but has a lower storage price and higher retrieval price.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;S3 One Zone-Infrequent Access (S3 One Zone-IA)&lt;/em&gt;&lt;/strong&gt; - It stores data in a single Availability Zone and has a lower storage price than S3 Standard-IA.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;S3 Intelligent-Tiering&lt;/em&gt;&lt;/strong&gt; - It is ideal for data with unknown or changing access patterns and requires a small monthly monitoring and automation fee per object.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;S3 Glacier&lt;/em&gt;&lt;/strong&gt; - It is a low-cost storage designed for data archiving and it can retrieve objects within a few minutes to hours.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;S3 Glacier Deep Archive&lt;/em&gt;&lt;/strong&gt; - It is the lowest-cost object storage class ideal for archiving and it can retrieve objects within 12 hours.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Pmvczq7M--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hs3hlhl4my1nr7jekpp0.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Pmvczq7M--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hs3hlhl4my1nr7jekpp0.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Amazon Elastic File System (Amazon EFS)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Amazon EFS&lt;/em&gt;&lt;/strong&gt; is a scalable file storage system used with AWS Cloud services and on-premises resources. It grows and shrinks automatically as users add or remove files. It can scale on demand to petabytes without disrupting applications.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pbvxgOCW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yu4ptdm1q9kbkzgthfkv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pbvxgOCW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yu4ptdm1q9kbkzgthfkv.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please feel free to write @ &lt;a href="mailto:rewooparth.rp@gmail.com"&gt;rewooparth.rp@gmail.com&lt;/a&gt; for any queries on AWS Storage Services &amp;amp; stay tuned for next write-up.&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>AWS Global Infrastructure</title>
      <dc:creator>Parth Rewoo</dc:creator>
      <pubDate>Mon, 26 Jul 2021 14:38:11 +0000</pubDate>
      <link>https://dev.to/parth1906/aws-global-infrastructure-f2</link>
      <guid>https://dev.to/parth1906/aws-global-infrastructure-f2</guid>
      <description>&lt;p&gt;&lt;strong&gt;AWS Regions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;AWS Region&lt;/em&gt;&lt;/strong&gt; is a physical location around the world which consists of clusters of data centers. Each AWS Region consists of multiple, isolated, and physically separate &lt;em&gt;Availability Zones&lt;/em&gt; within a geographic area. &lt;em&gt;AWS Regions&lt;/em&gt; meet the highest levels of security, compliance, and data protection.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--TvBy7WsP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/heqpga3s8138pf2xqyg3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--TvBy7WsP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/heqpga3s8138pf2xqyg3.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One should consider the following four business factors while determining the appropriate &lt;em&gt;AWS Region&lt;/em&gt; for their services, data and applications :&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Compliance with data governance and legal requirements&lt;/em&gt;&lt;/strong&gt; - Depending on the company and location, one might need to run their data out of specific areas. For example, if the company requires all of its data to reside within the boundaries of the India, then one would choose the Mumbai Region.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Proximity to the customers&lt;/em&gt;&lt;/strong&gt; - Selecting a Region that is close to the customers will help the company to get content to their customers faster.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Available services within a Region&lt;/em&gt;&lt;/strong&gt; - Sometimes, the closest Region might not have all the features that the company want to offer to customers. So, the developers would have to run it in one of the Regions that offers the required features.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Pricing&lt;/em&gt;&lt;/strong&gt; -  The cost of services can vary from Region to Region depending upon the tax structure of a specific country or region.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Availability Zones&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;An &lt;strong&gt;&lt;em&gt;Availability Zone&lt;/em&gt;&lt;/strong&gt; is a single data center or a group of data centers within a Region. &lt;em&gt;Availability Zones&lt;/em&gt; are located 10's of miles apart from each other in order to maintain low latency between &lt;em&gt;Availability Zones&lt;/em&gt; and also to reduce the chance that multiple &lt;em&gt;Availability Zones&lt;/em&gt; are affected in case a disaster occurs in one part of the region. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6LLW1V-M--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0uhcj7bjegot36nkb5aj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6LLW1V-M--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0uhcj7bjegot36nkb5aj.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It is always a best practice to run applications across at least two &lt;em&gt;Availability Zones&lt;/em&gt; in a Region. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Edge Locations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;An &lt;strong&gt;&lt;em&gt;Edge Location&lt;/em&gt;&lt;/strong&gt; is a site that &lt;em&gt;Amazon CloudFront&lt;/em&gt; uses to store cached copies of the content closer to the customers for faster delivery.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zs3kpnhi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/66ht1gukoml4f6uyzqrb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zs3kpnhi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/66ht1gukoml4f6uyzqrb.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AWS Local Zones&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;AWS Local Zones&lt;/em&gt;&lt;/strong&gt; stores compute, storage, database, and other select AWS services closer to customers in order to provide single digit millisecond latencies while running highly-demanding application.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XqodMigx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p573i3z3osaa9g5kiuzl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XqodMigx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p573i3z3osaa9g5kiuzl.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AWS Wavelength&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;With &lt;strong&gt;&lt;em&gt;AWS Wavelength&lt;/em&gt;&lt;/strong&gt;, developers can build applications that deliver single-digit millisecond latencies to mobile devices and customers by not leaving the mobile provider's network which reduces the extra network hops that can result in higher latencies.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PrFAaWzU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6w1cwpav7hjj11gkofig.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PrFAaWzU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6w1cwpav7hjj11gkofig.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please feel free to write @ &lt;a href="mailto:rewooparth.rp@gmail.com"&gt;rewooparth.rp@gmail.com&lt;/a&gt; for any queries on AWS Global Infrastructure &amp;amp; stay tuned for next write-up.&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Network Security In AWS - Basics</title>
      <dc:creator>Parth Rewoo</dc:creator>
      <pubDate>Sun, 25 Jul 2021 15:39:04 +0000</pubDate>
      <link>https://dev.to/parth1906/network-security-in-aws-basics-blb</link>
      <guid>https://dev.to/parth1906/network-security-in-aws-basics-blb</guid>
      <description>&lt;p&gt;&lt;strong&gt;Amazon Virtual Private Cloud (Amazon VPC)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--eyGo48lc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wl3l55po0dvbebrctjip.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--eyGo48lc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wl3l55po0dvbebrctjip.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Amazon VPC&lt;/em&gt;&lt;/strong&gt; is a networking service that users can use to establish boundaries around their AWS resources. &lt;/p&gt;

&lt;p&gt;Consider millions of users who use AWS. Imagine the millions of resources that these users have created such as Amazon EC2 instances. Without boundaries across all these resources, there would be an unrestricted network traffic flowing between these resources.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CgXZqSB---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bso4m4uld1h2f2lmw7lj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CgXZqSB---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bso4m4uld1h2f2lmw7lj.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By using &lt;em&gt;Amazon VPC&lt;/em&gt;, users can provision an isolated section in the AWS Cloud so that they can launch resources in a virtual network that they define.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Subnets&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Subnet&lt;/em&gt;&lt;/strong&gt; is a section of a VPC in which users can group resources based on security or operational needs. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Subnets&lt;/em&gt; are of two types as follows:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;Public Subnet&lt;/em&gt;&lt;/strong&gt; - These contain resources that need to be accessible by the public.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;Private Subnet&lt;/em&gt;&lt;/strong&gt; - These contain resources that should be accessible only through user's private network.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4fB42sDh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vx38yrkw0w86wiyafovk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4fB42sDh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vx38yrkw0w86wiyafovk.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;In a VPC, subnets can communicate with one other&lt;/em&gt;. It means that Public subnet can send or receive data from Private subnet and vice versa.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Internet Gateway&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;An &lt;strong&gt;&lt;em&gt;Internet Gateway&lt;/em&gt;&lt;/strong&gt; is a connection between a VPC and the internet. To allow public traffic from the internet to access  VPC, users attach an &lt;em&gt;Internet Gateway&lt;/em&gt; to the VPC. Without an &lt;em&gt;Internet Gateway&lt;/em&gt;, no one can access the resources within your VPC.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_aCbn__c--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eo1rtd1g5fbjaw7wcy36.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_aCbn__c--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eo1rtd1g5fbjaw7wcy36.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Virtual Private Gateway&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;What if users have a VPC that includes only private resources? &lt;br&gt;
To access private resources in a VPC, users can use a &lt;strong&gt;&lt;em&gt;Virtual Private Gateway&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Virtual Private Gateway&lt;/em&gt; only allows protected internet traffic (data coming from an approved network) to enter into the VPC. It establishes a &lt;em&gt;Virtual Private Network (VPN)&lt;/em&gt; connection between  VPC and a private network, such as an on-premises data center.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CwqrYhkL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jhrmabzmge43s6f6gesb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CwqrYhkL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jhrmabzmge43s6f6gesb.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AWS Direct Connect&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4_6I1Kop--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jxhqm0lxg12y5jpf949z.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4_6I1Kop--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jxhqm0lxg12y5jpf949z.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;AWS Direct Connect&lt;/em&gt;&lt;/strong&gt; is a service that establishes a dedicated private connection between on-premises data center and a VPC. It helps to reduce network costs and increase the amount of bandwidth that can travel through the private network.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2gSbuU9Q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fnx46oya06mmjfmt3qzp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2gSbuU9Q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fnx46oya06mmjfmt3qzp.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Network Access Control Lists (ACLs)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Network Access Control List (ACL)&lt;/em&gt;&lt;/strong&gt; is a virtual firewall that controls inbound and outbound traffic at the subnet level. &lt;/p&gt;

&lt;p&gt;Every AWS account includes a default &lt;em&gt;Network ACL&lt;/em&gt;. By default, AWS account’s default &lt;em&gt;Network ACL&lt;/em&gt; allows all inbound and outbound traffic, but it can be modified by adding own rules. For custom &lt;em&gt;Network ACLs&lt;/em&gt;, all inbound and outbound traffic is denied until rules are added to specify which traffic to allow. Additionally, all &lt;em&gt;Network ACLs&lt;/em&gt; have an explicit deny rule. This rule ensures that if a packet doesn’t match any of the other rules on the list, the packet is denied. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--k9cx4FJY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/err4xp10e2q2ig1xh9vp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k9cx4FJY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/err4xp10e2q2ig1xh9vp.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Network ACLs&lt;/em&gt; perform &lt;strong&gt;&lt;em&gt;stateless packet filtering&lt;/em&gt;&lt;/strong&gt;. They don't remember anything and check packets that cross the subnet  each way: inbound and outbound.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt; - In the airport, travelers are trying to enter into a different country. Think of the travelers as packets and the passport officer as a Network ACL. The passport officer checks travelers ID proof when they are both entering and exiting out of the country. If a traveler is on an approved list, they are able to get through. However, if they are not on the approved list, they cannot come in. &lt;/p&gt;

&lt;p&gt;Similarly, consider a request is send out from an Amazon EC2 instance to the internet. When a response for that request comes back to the subnet, the Network ACL does not remember the previous request. The network ACL checks the response against its list of rules to determine whether to allow or deny.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Security Groups&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Security Group&lt;/em&gt;&lt;/strong&gt; is a virtual firewall that controls inbound and outbound traffic for an Amazon EC2 instance.&lt;/p&gt;

&lt;p&gt;By default, a &lt;em&gt;Security Group&lt;/em&gt; denies all inbound traffic and allows all outbound traffic. Users can add custom rules to configure which traffic to allow or deny. If there are multiple instances within a subnet, they can be associated with the same &lt;em&gt;Security Group&lt;/em&gt; or use different &lt;em&gt;Security Groups&lt;/em&gt; for each instance. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PQD1pbdr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ooqm1s01eiawgx89i2qv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PQD1pbdr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ooqm1s01eiawgx89i2qv.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Security Groups&lt;/em&gt; perform &lt;strong&gt;&lt;em&gt;stateful packet filtering&lt;/em&gt;&lt;/strong&gt;. They remember previous decisions made for incoming packets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt; - Consider a building with a door attendant who greets the incoming guests. Think of the guests as packets and the door attendant as a Security Group. As guests arrive, the door attendant checks a list to confirm they can enter the building. However, the door attendant does not check the list again when guests are exiting the building.&lt;/p&gt;

&lt;p&gt;Similarly, consider a request is send out from an Amazon EC2 instance to the internet. When a response for that request returns back to the instance, the &lt;em&gt;Security Group&lt;/em&gt; remembers your previous request. The security group allows the response to proceed, without checking the inbound security group rules.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0U5SLJO3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3r461prvrh0cywb2bk7f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0U5SLJO3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3r461prvrh0cywb2bk7f.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please feel free to write @ &lt;a href="mailto:rewooparth.rp@gmail.com"&gt;rewooparth.rp@gmail.com&lt;/a&gt; for any queries on Network Security in AWS - Basics &amp;amp; stay tuned for next write-up.&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Amazon EC2 Auto Scaling</title>
      <dc:creator>Parth Rewoo</dc:creator>
      <pubDate>Fri, 23 Jul 2021 11:38:49 +0000</pubDate>
      <link>https://dev.to/parth1906/amazon-ec2-auto-scaling-1bi9</link>
      <guid>https://dev.to/parth1906/amazon-ec2-auto-scaling-1bi9</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Scalability&lt;/em&gt;&lt;/strong&gt; refers to starting with only the resources you need and designing your architecture to automatically respond to changing demand by scaling out or in. As a result you don’t have to worry about a lack of computing capacity to meet your customers’ needs.&lt;/p&gt;

&lt;p&gt;The AWS service that provides this functionality for &lt;em&gt;Amazon EC2 instances&lt;/em&gt; is &lt;strong&gt;Amazon EC2 Auto Scaling&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0dx09jkt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zzq6gc4498gzdhybx1w9.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0dx09jkt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zzq6gc4498gzdhybx1w9.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Amazon EC2 Auto Scaling&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Consider a scenario in which you’ve tried to access a website that wouldn’t load and frequently timed out, the website might have received more requests than it was able to handle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Amazon EC2 Auto Scaling&lt;/em&gt;&lt;/strong&gt; enables you to automatically add or remove Amazon EC2 instances in response to changing application demand. By automatically scaling your instances in and out as needed, you are able to maintain a high application availability as well as you pay for only the resources you use.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--C3g8eWpH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ia564i8hhysrn79e6cs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--C3g8eWpH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ia564i8hhysrn79e6cs.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are three approaches for using Amazon EC2 Auto Scaling - &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Dynamic Scaling&lt;/em&gt;&lt;/strong&gt; - Responds to changing demand.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Predictive Scaling&lt;/em&gt;&lt;/strong&gt; - Automatically adds or removes the right number of Amazon EC2 instances based on predicted demand.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0xdaetlW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/467rzra8scrnw2v9x27u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0xdaetlW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/467rzra8scrnw2v9x27u.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Scheduled Scaling&lt;/em&gt;&lt;/strong&gt; - Allows you to scale your application prior to known load changes.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fg5tjSd---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c0s9g0l5n7oairgzv3n8.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fg5tjSd---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c0s9g0l5n7oairgzv3n8.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When you create an Auto Scaling group, you can set three types of capacities for number of Amazon EC2 instances.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Minimum Capacity&lt;/em&gt;&lt;/strong&gt; - It is the number of Amazon EC2 instances that launch immediately after you have created the Auto Scaling group. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Desired Capacity&lt;/em&gt;&lt;/strong&gt; - It is the number of Amazon EC2 instances that you desire to have in your architecture. If you do not specify the desired number of Amazon EC2 instances in an Auto Scaling group, the desired capacity defaults to your minimum capacity.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Maximum Capacity&lt;/em&gt;&lt;/strong&gt; - It is the maximum number of Amazon EC2 instances that the Auto Scaling group can scale out in response to increased demand.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Wz4mngzD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vcqejowhe1kme38wgaan.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Wz4mngzD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vcqejowhe1kme38wgaan.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Benefits of using Amazon EC2 Auto Scaling&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It can detect when an instance is unhealthy, terminate it, and replace it with a new one, improving the fault tolerance of application.&lt;/li&gt;
&lt;li&gt;It ensures that your application always has the right amount of compute capacity.&lt;/li&gt;
&lt;li&gt;It adds instances only if needed, and may scale across purchase options to optimize performance and price.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--EPhmztPi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6xpe7lni69w04svnmgds.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--EPhmztPi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6xpe7lni69w04svnmgds.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please feel free to write @ &lt;a href="mailto:rewooparth.rp@gmail.com"&gt;rewooparth.rp@gmail.com&lt;/a&gt; for any queries on Amazon EC2 Auto Scaling &amp;amp; stay tuned for next write-up.&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Amazon EC2 ( Elastic Compute Cloud )</title>
      <dc:creator>Parth Rewoo</dc:creator>
      <pubDate>Wed, 21 Jul 2021 15:02:59 +0000</pubDate>
      <link>https://dev.to/parth1906/amazon-ec2-elastic-compute-cloud-jdd</link>
      <guid>https://dev.to/parth1906/amazon-ec2-elastic-compute-cloud-jdd</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--MrZPVilv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tqd16v6z9eqbznfrbjed.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MrZPVilv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tqd16v6z9eqbznfrbjed.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Amazon EC2&lt;/em&gt;&lt;/strong&gt; is a compute service that provides secure, resizable compute capacity in the cloud as Amazon EC2 instances. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0DoZNjmv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pi6msnzcxx1pk9kfu7pb.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0DoZNjmv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pi6msnzcxx1pk9kfu7pb.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Consider a scenario in which you have to design architecture for your resources for your newly created website. With the traditional on-premises resources, you have to do the following stuff:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Spend money to purchase hardware for data centers.&lt;/li&gt;
&lt;li&gt;Wait for the servers to be delivered to you.&lt;/li&gt;
&lt;li&gt;Install the servers in your data centers.&lt;/li&gt;
&lt;li&gt;Do all the required configurations.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dtL4XynO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5bnafdfm9j546m79avzj.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dtL4XynO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5bnafdfm9j546m79avzj.jpeg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On the other hand, with an Amazon EC2 instance you can use a virtual server to run applications in the AWS Cloud without worrying about the underlying hardware and its configurations. With Amazon EC2, you can do the following:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Configure and launch an Amazon EC2 instance within minutes and stop using it when you have finished your work.&lt;/li&gt;
&lt;li&gt;Pay just for the compute time you utilize when an instance is running, not when it's stopped or terminated.&lt;/li&gt;
&lt;li&gt;Save costs by paying just for server capacity that you simply need or want.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Amazon EC2 Instance Types&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SYoaNs28--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zm4169in480tefjogiev.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SYoaNs28--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zm4169in480tefjogiev.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Amazon EC2 instance types&lt;/em&gt;&lt;/strong&gt; are optimized for different tasks considering the specific requirements like compute, storage or memory capabilities.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;General Purpose Instances&lt;/em&gt; - These provide a balance of compute, memory, and networking resources. They are used for a variety of workloads, such as application servers, gaming servers, backend servers for enterprise applications, small and medium databases and many more.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Compute Optimized Instances&lt;/em&gt; - These are used for compute-bound applications that benefit from high-performance processors. They are used for high-performance web servers, compute-intensive applications servers, and dedicated gaming servers.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Memory Optimized Instances&lt;/em&gt; - These are designed to deliver fast performance for workloads that process large datasets in memory. They enable you to run workloads with high memory needs and receive great performance.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Accelerated Computing Instances&lt;/em&gt; - These use hardware accelerators, or coprocessors, to perform some functions more efficiently than is possible in software running on CPUs. They are ideal for workloads such as graphics applications, game streaming, and application streaming.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Storage Optimized Instances&lt;/em&gt; - These are designed for workloads that require high, sequential read and write access to large datasets on local storage. They are designed to deliver tens of thousands of low-latency, random Input/Output Operations Per Second (IOPS) to applications.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Amazon EC2 Pricing&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--k4Go-FPA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/krtnslxxt5i0jy6avqe6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k4Go-FPA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/krtnslxxt5i0jy6avqe6.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With Amazon EC2, you pay only for the compute time that you use. Amazon EC2 offers a variety of pricing options for different use cases.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;On-Demand Instances&lt;/em&gt; - These are ideal for short-term, irregular workloads that cannot be interrupted. The instances run continuously until you stop them, and you pay for only the compute time you utilize. There aren't any upfront costs or minimum contracts.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Amazon EC2 Savings Plan&lt;/em&gt; - These enable you to reduce your compute costs by committing to a consistent amount of compute usage for a 1-year or 3-year term. This term commitment results in savings of up to 66% over On-Demand costs. Any usage beyond the commitment is charged at regular On-Demand rates.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Reserved Instances&lt;/em&gt; - These are a billing discount applied to the use of On-Demand Instances. You can purchase Standard Reserved and Convertible Reserved Instances for a 1-year or 3-year term, and Scheduled Reserved Instances for a 1-year term. You get greater cost savings with the 3-year term.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Spot Instances&lt;/em&gt; - These are ideal for workloads with flexible start and end times, or that can withstand interruptions. Spot Instances use unused Amazon EC2 computing capacity and offer you cost savings at up to 90% off of On-Demand prices.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Dedicated Hosts&lt;/em&gt; - These are physical servers with Amazon EC2 instance capacity that is fully dedicated to your use. Dedicated Hosts are the most expensive.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Please feel free to write @ &lt;a href="mailto:rewooparth.rp@gmail.com"&gt;rewooparth.rp@gmail.com&lt;/a&gt; for any queries on Amazon EC2 &amp;amp; stay tuned for next write-up.&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
