<?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>Forem: Syed Mustafa Hassan</title>
    <description>The latest articles on Forem by Syed Mustafa Hassan (@mustafahassan2001).</description>
    <link>https://forem.com/mustafahassan2001</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%2F1263417%2Fbdad7de3-2ef9-4676-8a56-c75fc63d1a42.png</url>
      <title>Forem: Syed Mustafa Hassan</title>
      <link>https://forem.com/mustafahassan2001</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/mustafahassan2001"/>
    <language>en</language>
    <item>
      <title>Getting Started with Cloud Computing: A Simple Introduction.</title>
      <dc:creator>Syed Mustafa Hassan</dc:creator>
      <pubDate>Fri, 26 Jul 2024 10:08:50 +0000</pubDate>
      <link>https://forem.com/mustafahassan2001/getting-started-with-cloud-computing-a-simple-introduction-35b6</link>
      <guid>https://forem.com/mustafahassan2001/getting-started-with-cloud-computing-a-simple-introduction-35b6</guid>
      <description>&lt;p&gt;Welcome to this beginner's guide to Cloud Computing. In this blog, we will learn all the basics of Cloud Computing. Let's get started!&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;What is Cloud Computing?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;"When we use the Internet for processing power, storage, or applications instead of our own computer, it is called Cloud Computing."&lt;/p&gt;

&lt;p&gt;For example, when we talk about processing power, end servers can be used for website hosting or complex calculations for a large enterprise. Storage means saving any kind of data on the internet, such as music, photos, files, on an online database, or on Google Drive. Applications refer to all the software you use on the internet, such as system software like virus tracking or application software like Netflix, Roblox, Zoom, and platforms provided by Microsoft, IBM, and others.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F50mw1h8i2mfoev2wh7u8.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F50mw1h8i2mfoev2wh7u8.jpeg" alt="Image description" width="313" height="161"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;So what is the need of cloud computing?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Before the popularity of the internet, if companies needed more computing power, they used to rely on on-premise installations. On-premise means that if they needed a big computer, they had to buy it. Apart from investing in hardware, they also had to invest in software, electricity, security, data backup, disaster recovery, and maintenance. This meant that the expenses were high.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgi6jfj9gwe7zkcjhw8ge.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgi6jfj9gwe7zkcjhw8ge.png" alt="Image description" width="333" height="151"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On top of that, the actual utilization of computing power was only up to 30-40%. With the advent of cloud computing, companies have saved a lot because now, instead of buying expensive computers and data centers, they can use internet-based processing power, storage, or applications. Now, you don't have to worry about computer upgrades or maintenance. Because data is stored on the internet, all employees can access and share it, which also increases their productivity. The more we use, the more we pay.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;History Of Cloud Computing&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;If we look at the history of cloud computing, in the 1960s, when computers were very expensive, IBM and DEC used to offer their computers for time-sharing. You could submit your calculations or jobs to IBM mainframes to run. The use of the cloud symbol was first seen in 1977. When the internet and the World Wide Web began, many telecommunication companies started providing VPN or Virtual Private Network services. Compaq started providing online disk space where you could store files. The word "cloud" was first used in the world of computers by Ramesh Jalappa in 1997. The term was used to represent the internet, and the cloud symbol was used to depict some computing equipment or power on the internet. In 1999, companies like Salesforce and VMware emerged and became very popular. In 2002, Amazon started Amazon Web Services. In 2006, Hadoop was launched. In 2008, Google launched Google App Engine. By 2010, Microsoft released Microsoft Azure, and in the next few years, almost all the big companies were talking about cloud computing.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fifnpfqggfm1j6ahl60pe.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fifnpfqggfm1j6ahl60pe.jpg" alt="Image description" width="800" height="411"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Cloud Computing Models&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Cloud services can be divided into three types based on the deployment model: public, private, and hybrid.&lt;/p&gt;

&lt;p&gt;Let's take an example to understand them. Suppose you have to travel somewhere, then you can either go by bus, or by your car, or by rental car. Bus is a public transport which is available everywhere, but you have to share it with others. It is a cheap option and you pay for the distance you travel. The second option is that you can buy your own private car. It takes a lot of money to buy a car and it also requires regular maintenance. But in this you get privacy and you can go as per your time which is not possible in public transport. There is another way of taxi service which is more expensive but you get privacy but it is not your car it is called a hybrid model. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fooig7unv4121qofkecnk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fooig7unv4121qofkecnk.png" alt="Image description" width="282" height="179"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1) Public Cloud:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Similarly, in cloud computing, public cloud is where servers and storage belong to some other company and it provides service through the internet. Payment is done until you use it. Because it is a third party, we share storage, hardware and network devices with other companies who have also subscribed to it. But it is easy for you to use it because all the setup is done by the cloud company from the beginning. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2) Private Cloud:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Private cloud is completely different from this. In this, big companies or enterprises make their own cloud, which means they keep the servers in a big place called a data center. You can access it from anywhere on the network through virtual machines. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3) Private Cloud:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Private cloud is only for your use, so data security is better in it. It follows all data regulations and its control is completely in your hands. In hybrid clouds, the company uses both public and private clouds on the basis of its needs. For example, you use a private cloud to store your data, but you use a public cloud for its backup. You can see it according to your convenience how much risk you want to take and how much flexibility you want. &lt;/p&gt;

&lt;p&gt;There are also some negative points of all these models. Security or security is less in the public cloud and flexibility is also limited. Private cloud takes more investment and you have to bear the cost of maintenance every year. Hybrid is expensive and it is also very complex.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Types Of Cloud Computing Services&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;There are three main types of cloud services: IaaS (Infrastructure as a Service), PaaS (Platform as a Service), and SaaS (Software as a Service). &lt;/p&gt;

&lt;p&gt;To understand these, we will take an example of a washing machine. Suppose you want to wash your clothes. The first option is IAAS, Infrastructure at Home option. So you buy a washing machine at home. Now you have to do it. To run the machine, washing powder, electricity or anything else is needed, so you have to arrange for it. The next option is PAAS, i.e. Platform as a Service. Here you can go to a common area or laundromat to wash your clothes, where there are many washing machines. You can also pay some fees and buy detergent etc. from there. The next option is SAAS, i.e. Software as a Service. Here you use Laundry service. Where a laundry man comes to your home to pick and returns the clothes in this you did not need washing machine, detergent etc.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvr35l42hpjrnanxh9ekq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvr35l42hpjrnanxh9ekq.png" alt="Image description" width="430" height="275"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;On-Premise:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this way, there is a main difference between the three types of cloud computing that who manages the IT stack i.e. hardware and software. Before the cloud came, the on-premise setup used to be that the company used to set up the entire hardware and software and then maintaining it. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1) Infrastructure as a Service (IaaS)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In Infrastructure as a Service or IAAS, the cloud provider provides infrastructure i.e. in the machine data center, which you have to worry about the setup or maintenance of that hardware. But it is still your responsibility to set up the entire software on this hardware. Software means operating system or OS, middleware, databases and applications that you need for your business. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2) Platform as a Service (PaaS):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now let's talk about Platform as a Service and PaaS options. In this, Cloud Service Provider not only provides hardware, but also provides a web-based software environment where you can set up your cloud apps. In this, Cloud Service Provider also provides Operating System, Database and Programming Language. language. It is his responsibility to maintain and update it. You just focus on making important apps for your business. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3) Software as a Service (SaaS):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Software as a Service and SaaS Cloud Service Provider not only provides hardware and basic software, it also makes and gives you applications as per your needs. You can subscribe to it, apps like mail, online meeting, data storage, backup and many more. So each cloud model has its own features and you can choose any model from this list. &lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Cloud computing has revolutionized technology usage by offering scalable, cost-effective, and flexible solutions for both businesses and individuals. By shifting from traditional on-premise setups to cloud services, organizations can significantly reduce their capital expenditure on hardware and software, while benefiting from enhanced collaboration, accessibility, and reliability. The various deployment models (public, private, and hybrid) and service models (IaaS, PaaS, and SaaS) cater to different needs, providing tailored solutions for any organization.&lt;/p&gt;

&lt;p&gt;As cloud technology evolves, it opens up new possibilities for innovation and efficiency, making it a crucial component of modern IT strategy. Embracing cloud computing is not just about adopting new technology; it’s about transforming business operations, enabling greater agility, and positioning organizations for future success. The cloud’s impact will only grow as we continue to explore and harness its full potential, making it an essential tool in today’s digital landscape.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Beginner's Guide to AWS: Creating Your First Virtual Private Cloud (VPC)</title>
      <dc:creator>Syed Mustafa Hassan</dc:creator>
      <pubDate>Fri, 19 Apr 2024 21:07:58 +0000</pubDate>
      <link>https://forem.com/mustafahassan2001/beginners-guide-to-aws-creating-your-first-virtual-private-cloud-vpc-356e</link>
      <guid>https://forem.com/mustafahassan2001/beginners-guide-to-aws-creating-your-first-virtual-private-cloud-vpc-356e</guid>
      <description>&lt;p&gt;Welcome to this beginner-friendly guide to Amazon Web Services (AWS). In this tutorial, we'll walk you through the process of creating your first Virtual Private Cloud (VPC) on AWS. A VPC allows you to launch AWS resources into a virtual network that you define, providing you with control over your network environment, including IP address range, subnets, routing tables, and network gateways. Let's get started on your journey into AWS VPC!&lt;/p&gt;

&lt;p&gt;AWS VPC serves as a logical extension of your on-premises data center into the cloud, offering unparalleled control and flexibility over your cloud network infrastructure. Let's delve into the core components and concepts that underpin AWS VPC:&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;u&gt;Components of AWS VPC:&lt;/u&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;- Subnets:&lt;/strong&gt;&lt;br&gt;
 Subnets are segments of the VPC's IP address range where you can place groups of resources. They are associated with specific availability zones, providing fault tolerance and high availability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Route Tables:&lt;/strong&gt;&lt;br&gt;
 Route tables dictate the traffic flow within the VPC. They contain rules, known as routes, that determine where network traffic is directed, whether to other instances within the VPC, to the internet via an internet gateway, or through a virtual private gateway to an on-premises network.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Internet Gateway:&lt;/strong&gt;&lt;br&gt;
 An internet gateway facilitates communication between instances within the VPC and the internet. It serves as a gateway for outbound traffic and a target for inbound traffic destined for public-facing resources.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- NAT Gateway:&lt;/strong&gt;&lt;br&gt;
 Network Address Translation (NAT) gateway allows instances in private subnets to initiate outbound traffic to the internet while preventing inbound traffic from initiating connections with those instances.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Elastic IP Addresses:&lt;/strong&gt;&lt;br&gt;
 Elastic IP addresses are static IPv4 addresses designed for dynamic cloud computing. They are associated with your AWS account and can be dynamically remapped to different instances.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Security Groups:&lt;/strong&gt;&lt;br&gt;
 Security groups act as virtual firewalls for your instances, controlling inbound and outbound traffic. You can define rules that allow specific types of traffic based on protocol, port, and source/destination IP address.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Network Access Control Lists (NACLs):&lt;/strong&gt;&lt;br&gt;
 NACLs are stateless, numbered sets of rules that act as a firewall at the subnet level. They control traffic entering and exiting subnets by allowing or denying traffic based on IP addresses, protocols, and ports.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;u&gt;5 Reasons to Use Amazon VPC:&lt;/u&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Enhanced Security:&lt;/strong&gt;&lt;br&gt;
 With AWS VPC, you can create isolated sections of the AWS Cloud, ensuring that your resources are securely contained within your virtual network. You can implement security groups and network access control lists (NACLs) to control inbound and outbound traffic.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Custom Networking:&lt;/strong&gt;&lt;br&gt;
 AWS VPC enables you to design a network topology that meets your specific requirements. You can define your IP address range, create subnets across multiple availability zones, and configure routing tables to control traffic flow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Scalability:&lt;/strong&gt;&lt;br&gt;
 As your infrastructure grows, AWS VPC scales with you. You can easily add or remove subnets, modify routing configurations, and expand your IP address range to accommodate your evolving needs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Integration with AWS Services:&lt;/strong&gt;&lt;br&gt;
 VPC seamlessly integrates with other AWS services, allowing you to connect your VPC to resources such as Amazon EC2 instances, Amazon RDS databases, and AWS Lambda functions securely.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Hybrid Cloud Connectivity:&lt;/strong&gt;&lt;br&gt;
 AWS VPC provides options for connecting your on-premises infrastructure to the AWS Cloud, enabling hybrid cloud architectures. You can establish VPN connections or use AWS Direct Connect to extend your corporate network into the cloud.&lt;/p&gt;

&lt;p&gt;Now, let’s walk you through the process of Creating AWS virtual private cloud. &lt;em&gt;Let's begin!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 1: Navigate to the VPC Dashboard&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Navigate to the AWS Management Console by visiting &lt;a href="https://console.aws.amazon.com/"&gt;https://console.aws.amazon.com/&lt;/a&gt;. Sign in with your AWS credentials and search for “VPC”:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc0iaugp13vaz3w0z2ah0.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc0iaugp13vaz3w0z2ah0.PNG" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 2: Create a VPC&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Click on "&lt;em&gt;Create VPC&lt;/em&gt;" to initiate the VPC creation wizard. Provide the following details:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8lny5495af401l91bd6d.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8lny5495af401l91bd6d.PNG" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Name Tag:&lt;/strong&gt; Assign a descriptive name to your VPC.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IPv4 CIDR Block:&lt;/strong&gt; Define the IPv4 address range for your VPC, ensuring it does not overlap with other networks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IPv6 CIDR Block:&lt;/strong&gt; Optionally, specify an IPv6 CIDR block.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tenancy:&lt;/strong&gt; Choose between default or dedicated tenancy based on your requirements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0c76i5ftfj6attem727h.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0c76i5ftfj6attem727h.PNG" alt="Image description" width="800" height="357"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsp0ib9c9osh9291h6w02.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsp0ib9c9osh9291h6w02.PNG" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click "&lt;em&gt;Create&lt;/em&gt;" to create your VPC.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 3: Configure Subnets&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Navigate to the "&lt;em&gt;Subnets&lt;/em&gt;" section and click on "&lt;em&gt;Create subnet&lt;/em&gt;." Specify the subnet details, including name, VPC, availability zone, and IPv4 CIDR block. Repeat this step to create additional subnets for different tiers of your application.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu7rq9zcko4oy08r0oz0y.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu7rq9zcko4oy08r0oz0y.PNG" alt="Image description" width="800" height="354"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select your "VPC".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feor1h8a7ks9zyfqo5w3v.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feor1h8a7ks9zyfqo5w3v.PNG" alt="Image description" width="800" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here we are creating four different subnets in two different zone.&lt;br&gt;
Follow these steps to create the required subnets:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Create Subnet for Zone 2a (Public1):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Name: Public1&lt;/li&gt;
&lt;li&gt;VPC: Select the VPC created in Step 2.&lt;/li&gt;
&lt;li&gt;Availability Zone: Choose Zone 2a.&lt;/li&gt;
&lt;li&gt;IPv4 CIDR Block: Define the IPv4 CIDR block for this subnet.&lt;/li&gt;
&lt;li&gt;Leave IPv4 CIDR block blank or choose an appropriate value.&lt;/li&gt;
&lt;li&gt;Click "Add new subnet."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjdbu9nc5g85ogo9mdl2h.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjdbu9nc5g85ogo9mdl2h.PNG" alt="Image description" width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsg2wy3ykj6msfkfus7k6.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsg2wy3ykj6msfkfus7k6.PNG" alt="Image description" width="800" height="373"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Create Subnet for Zone 2a (Private1):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Name: Private1&lt;/li&gt;
&lt;li&gt;VPC: Select the same VPC.&lt;/li&gt;
&lt;li&gt;Availability Zone: Choose Zone 2a.&lt;/li&gt;
&lt;li&gt;IPv4 CIDR Block: Define the IPv4 CIDR block for this subnet. It should be within the same address range as the public subnet but with a different range to denote it as a private subnet.&lt;/li&gt;
&lt;li&gt;Leave IPv4 CIDR block blank or choose an appropriate value.&lt;/li&gt;
&lt;li&gt;Click "Add new subnet."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkj2arzypwytf5lrrwyrb.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkj2arzypwytf5lrrwyrb.PNG" alt="Image description" width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Create Subnet for Zone 2b (Public2):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Name: Public2&lt;/li&gt;
&lt;li&gt;VPC: Select the same VPC.&lt;/li&gt;
&lt;li&gt;Availability Zone: Choose Zone 2b.&lt;/li&gt;
&lt;li&gt;IPv4 CIDR Block: Define the IPv4 CIDR block for this subnet.&lt;/li&gt;
&lt;li&gt;Leave IPv4 CIDR block blank or choose an appropriate value.&lt;/li&gt;
&lt;li&gt;Click "Add new subnet."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flepejozb8475zmdjgcgy.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flepejozb8475zmdjgcgy.PNG" alt="Image description" width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Create Subnet for Zone 2b (Private2):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Name: Private2&lt;/li&gt;
&lt;li&gt;VPC: Select the same VPC.&lt;/li&gt;
&lt;li&gt;Availability Zone: Choose Zone 2b.&lt;/li&gt;
&lt;li&gt;IPv4 CIDR Block: Define the IPv4 CIDR block for this subnet. It should be within the same address range as the public subnet but with a different range to denote it as a private subnet.&lt;/li&gt;
&lt;li&gt;Leave IPv4 CIDR block blank or choose an appropriate value.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft7vg0r8sq2wdbr6ef49z.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft7vg0r8sq2wdbr6ef49z.PNG" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8p70r6fdkunoivix0y3z.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8p70r6fdkunoivix0y3z.PNG" alt="Image description" width="800" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click "&lt;em&gt;Create subnet.&lt;/em&gt;"&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 4: Set Up Internet Connectivity&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
If your resources require internet access, attach an internet gateway to your VPC. Create a new internet gateway, attach it to your VPC, and update the route table to route internet-bound traffic through the gateway.&lt;/p&gt;

&lt;p&gt;Navigate to the "Internet Gateways" section and click on "Create Internet Gateways."&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5e0kqxqs903k6vh5639z.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5e0kqxqs903k6vh5639z.PNG" alt="Image description" width="800" height="355"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Name your internet gateway and click on "Create Internet Gateways."&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F69ufpl9af8erz9dv0xnx.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F69ufpl9af8erz9dv0xnx.PNG" alt="Image description" width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now you have to Attach to a VPC click on "&lt;em&gt;Action&lt;/em&gt;" from dropdown select "&lt;em&gt;Attach to a VPC&lt;/em&gt;"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiytvog4dxkucjpqyqeqd.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiytvog4dxkucjpqyqeqd.PNG" alt="Image description" width="800" height="357"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here select your VPC and click on "&lt;em&gt;Attach internet gateway&lt;/em&gt;".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0tvbvkf9pzi0c97nc5y8.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0tvbvkf9pzi0c97nc5y8.PNG" alt="Image description" width="800" height="357"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 5: Define Route Tables&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Create custom route tables to control the flow of traffic within your VPC. Associate the route tables with the appropriate subnets and define routes for local traffic and internet-bound traffic.&lt;/p&gt;

&lt;p&gt;Navigate to the "Route Tables" section and click on "&lt;em&gt;Create Route Table.&lt;/em&gt;"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Furdna5yinenomscs7mh5.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Furdna5yinenomscs7mh5.PNG" alt="Image description" width="800" height="355"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Give the name to your route table and select your VPC then click on "&lt;em&gt;Create Route Table.&lt;/em&gt;"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fboxlyz3pi33swl3j2pce.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fboxlyz3pi33swl3j2pce.PNG" alt="Image description" width="800" height="355"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here your Route Table is created now click on "&lt;em&gt;Edit Route&lt;/em&gt;".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fql0d1umdwdo6papllhie.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fql0d1umdwdo6papllhie.PNG" alt="Image description" width="800" height="356"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then in "Edit Route" click "Add route" and select &lt;strong&gt;&lt;em&gt;0.0.0.0/0&lt;/em&gt;&lt;/strong&gt; as "&lt;em&gt;Destination&lt;/em&gt;" select your created Internet Gateway in "&lt;em&gt;Target&lt;/em&gt;" now click on "&lt;em&gt;Save Changes&lt;/em&gt;".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fit005h9x0jy3io92rp7f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fit005h9x0jy3io92rp7f.png" alt="Image description" width="800" height="392"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From here will go to "&lt;em&gt;subnet associations&lt;/em&gt;" to give the access of internet to your required subnets. So, for that click on "&lt;em&gt;Edit Subnet Associations&lt;/em&gt;".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fldl7a1tp3cxfsa1ozfsn.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fldl7a1tp3cxfsa1ozfsn.PNG" alt="Image description" width="800" height="356"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;select those subnets and click on "&lt;em&gt;Save Associations&lt;/em&gt;". &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foka16b05b71rnf0pcih7.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foka16b05b71rnf0pcih7.PNG" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By doing this public subnets will use public route table which we created and private subnets will use default route table. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 6: Configure Security Groups and NACLs&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Define security groups to control inbound and outbound traffic to your instances based on port, protocol, and source/destination IP addresses. Configure network ACLs to provide an additional layer of security at the subnet level.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;First navigate to the "security groups" section and click on "&lt;em&gt;Create security group.&lt;/em&gt;"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1b1wuf65rh4y58sfyou9.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1b1wuf65rh4y58sfyou9.PNG" alt="Image description" width="800" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Provide a name and description for the security group (e.g., "Public-SG").&lt;/li&gt;
&lt;li&gt;Select the VPC created in Step 2.&lt;/li&gt;
&lt;li&gt;Define inbound and outbound rules:&lt;/li&gt;
&lt;li&gt;Inbound: Allow traffic on necessary ports for your public instances (e.g., HTTP, HTTPS, SSH).&lt;/li&gt;
&lt;li&gt;Outbound: Allow all traffic (default outbound rule).&lt;/li&gt;
&lt;li&gt;Click "Create security group."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbo72ttcy5bw5ou6x9g75.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbo72ttcy5bw5ou6x9g75.PNG" alt="Image description" width="800" height="356"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjxm1qp38a1dso13b38oq.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjxm1qp38a1dso13b38oq.PNG" alt="Image description" width="800" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyj92ezohkta4swbb92fg.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyj92ezohkta4swbb92fg.PNG" alt="Image description" width="800" height="133"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configure Network Access Control Lists (NACLs): (Optional)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go to the "Network ACLs" section in the VPC dashboard.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2oae6xtpmymexrs0d21i.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2oae6xtpmymexrs0d21i.PNG" alt="Image description" width="800" height="355"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on "Create network ACL."&lt;/li&gt;
&lt;li&gt;Provide a name and description for the NACL (e.g., "Public-NACL").&lt;/li&gt;
&lt;li&gt;Select the VPC created in Step 2.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fobqgva5c2e728pp9gchr.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fobqgva5c2e728pp9gchr.PNG" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjbhx3d7ul91hn6xtilmk.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjbhx3d7ul91hn6xtilmk.PNG" alt="Image description" width="800" height="354"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Congratulations! You've successfully created your first Virtual Private Cloud (VPC) on AWS. Your VPC provides a secure and customizable network environment for deploying your AWS resources. As you continue your journey with AWS, explore more advanced networking concepts and features to optimize your infrastructure and enhance your cloud experience.&lt;/p&gt;

&lt;p&gt;Remember to manage your VPC resources securely and follow AWS best practices for network security and compliance. With AWS VPC, you have the flexibility and control to build scalable and resilient cloud architectures tailored to your organization's needs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;AWS Virtual Private Cloud (VPC) empowers organizations to design and deploy secure, isolated, and highly customizable network environments in the cloud. By mastering the creation and configuration of VPCs, businesses can architect cloud infrastructures that meet their specific requirements for scalability, security, and connectivity. Whether hosting simple web applications or complex enterprise workloads, AWS VPC provides the essential framework for building resilient and efficient cloud architectures. Embrace the power of AWS VPC and unlock endless possibilities in the realm of cloud computing.&lt;/p&gt;

&lt;p&gt;Keep exploring, learning, and leveraging the power of cloud computing with AWS!🌟🚀&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Getting Started with AWS EC2: Create Your First EC2 Instance</title>
      <dc:creator>Syed Mustafa Hassan</dc:creator>
      <pubDate>Thu, 08 Feb 2024 11:47:36 +0000</pubDate>
      <link>https://forem.com/mustafahassan2001/getting-started-with-aws-ec2-create-your-first-ec2-instance-3ppe</link>
      <guid>https://forem.com/mustafahassan2001/getting-started-with-aws-ec2-create-your-first-ec2-instance-3ppe</guid>
      <description>&lt;p&gt;Welcome to this beginner-friendly guide to AWS EC2 (Elastic Compute Cloud). In this video, I’ll briefly overview EC2, its benefits, and why you would use it.  Then in a hands-on tutorial, I’ll walk through how to create a new EC2 instance (using the Windows Amazon Machine Image or AMI), how to connect, and then finally how to terminate the instance.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is EC2?
&lt;/h2&gt;

&lt;p&gt;Elastic Cloud Compute, or EC2, is the core service for Compute in Amazon Web Services (AWS).  An EC2 instance is effectively a virtual server that you “&lt;strong&gt;&lt;em&gt;rent&lt;/em&gt;&lt;/strong&gt;,” meaning you only pay for what you use.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem that Amazon Elastic Compute Cloud (EC2) solves: a story
&lt;/h2&gt;

&lt;p&gt;Suppose I'm working for a startup that's creating a website and a mobile app that shows the location of air pumps for tires, my boss, indoors apparently came up with this idea after he had a low tire on his car one day had to drive all over town looking for a gas station that had an air pump because they're a startup they're on a shoestring budget My uncle had an old windows server sitting in his garage so he donated that to the cause it sits at the back of their co-working using to host things one day someone on Reddit mentions their humble little site and it starts to get more traffic the server gets totally overwhelmed and promptly crashes I tell my boss the news and he starts stressing about how they're going to buy a new server to manage the increased website traffic I worked with AWS a little bit in the past and suggested they consider switching to the cloud and also tells him that rather than hosting their application on a single server in AWS instead called an EC2 Instance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Overviewing EC2 and its benefits:
&lt;/h2&gt;

&lt;p&gt;Elastic Cloud Compute, or EC2, is the core service for Compute in Amazon Web Services (AWS).  An EC2 instance is effectively a virtual server that you “rent,” meaning that you need it and you only pay for what you use, and in AWS speak these are called instances.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Easy to Scale:&lt;/strong&gt;&lt;br&gt;
It's easy to scale meaning if you suddenly need 10 extra servers to handle increased traffic it's easy to spin those up and that can even happen automatically with a feature called Auto-Scalling.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Reliable:&lt;/strong&gt;&lt;br&gt;
EC2 is reliable amazon has billions of dollars of infrastructure around the world and if one of your servers goes down for whatever reason it can automatically be replaced with another one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;-Use with other services:&lt;/strong&gt;&lt;br&gt;
EC2 is one of the foundational AWS services and as such it works seamlessly with all of the other AWS services like networking storage security and so on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Only pay for what you use:&lt;/strong&gt;&lt;br&gt;
You only pay for what you use so rather than guessing how many servers you need and buying them and shipping them and setting them up and so on all of that has a lot of upfront costs here you use the EC2 Instance when you need it and you only pay for what you used.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Steps to Create an EC2 Instance&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Choose AMI&lt;/li&gt;
&lt;li&gt;Choose Instance Type&lt;/li&gt;
&lt;li&gt;Configure Instance&lt;/li&gt;
&lt;li&gt;Add Storage&lt;/li&gt;
&lt;li&gt;Add Tags&lt;/li&gt;
&lt;li&gt;Configure Security Group&lt;/li&gt;
&lt;li&gt;Review&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;

&lt;p&gt;Ready to dive into the world of AWS EC2? Let's start with these step-by-step instructions!  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Create an AWS Account:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you don't have an AWS account yet, go to the AWS website and sign up for a new account. You'll need a credit card to complete the registration, but many services, including AWS EC2, offer a free tier for new users to get started.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Access the AWS Management Console:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Sign in using your AWS credentials at &lt;a href="https://console.aws.amazon.com/"&gt;https://console.aws.amazon.com/&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Navigate to EC2:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the AWS Management Console, in AWS Services from the drop-down, All Services find EC2 and click on it or type "EC2" in the search bar at the top and select the "EC2" service from the results.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3d2byzv5udkow7rcqge7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3d2byzv5udkow7rcqge7.png" alt="Image description" width="800" height="415"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqf5nnk1ukft2zrw0npiq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqf5nnk1ukft2zrw0npiq.png" alt="Image description" width="800" height="414"&gt;&lt;/a&gt;&lt;br&gt;
and here on the EC2 dashboard, we're going to launch our first instance the orange button right here launch instance.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2xsc2qovgcecjxyv39zr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2xsc2qovgcecjxyv39zr.png" alt="Image description" width="800" height="414"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Choosing an Amazon Machine Image (AMI) for the EC2 instance:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You'll see the steps enumerated up on the top for the first one of choosing our AMI.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmqmb934k8cgfj8v9zjfx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmqmb934k8cgfj8v9zjfx.png" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;br&gt;
So an AMI or Amazon Machine Image is your basic unit of deployment in EC2 without the AMI you don't have anything as you see at the top it has an operating system installed that'll vary depending on what type you choose.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvyrpc9fwfn75bjb6sn0r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvyrpc9fwfn75bjb6sn0r.png" alt="Image description" width="800" height="411"&gt;&lt;/a&gt;&lt;br&gt;
There are a lot of aims provided by AWS there are also several available from the community in the marketplace and you can create your own event.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F763vejm39cob7zr4naas.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F763vejm39cob7zr4naas.png" alt="Image description" width="800" height="413"&gt;&lt;/a&gt;&lt;br&gt;
But scrolling down you'll see the options here several available for Linux, Mac, Rat Hat, Windows, and so on a lot of different options here.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl6jhs4wm0bttdnzit2j7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl6jhs4wm0bttdnzit2j7.png" alt="Image description" width="800" height="413"&gt;&lt;/a&gt;&lt;br&gt;
The server we're replacing was Windows and this one is a free tier eligible for the Microsoft windows server 2019 base so we're going to go with that over here choose select.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F20dbfrv0r368on6dwza7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F20dbfrv0r368on6dwza7.png" alt="Image description" width="800" height="414"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Choosing an instance type for the EC2 instance:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now we need to choose our instance type these types have different combinations of CPUs and memory networking capacity storage and so on and they're grouped into families like you see here&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh26j8iaq7g28lfjd5rxv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh26j8iaq7g28lfjd5rxv.png" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;br&gt;
if you click on the learn more up top this takes you to a page that gives you a lot more detail about what the different families are for&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fblt5gcf9r4aj2c3ze5nd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fblt5gcf9r4aj2c3ze5nd.png" alt="Image description" width="800" height="222"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foe84w6loe2tbgbzbezs7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foe84w6loe2tbgbzbezs7.png" alt="Image description" width="800" height="414"&gt;&lt;/a&gt;&lt;br&gt;
for our purposes, we want to choose the t2 micro which also is free tier eligible and then we'll come down to the next configure instance details&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz3rd2vtbb230k75vjiry.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz3rd2vtbb230k75vjiry.png" alt="Image description" width="800" height="391"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Configuring instance details for an EC2 instance:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There's quite a few details on this page here&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqullhkwmdbjckyp77dma.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqullhkwmdbjckyp77dma.png" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;br&gt;
settings around pricing and networking and access management and shutdown behavior I'll call out a few things as we go but you'll see there are also really handy tool tips here and some of them also have links where you can learn more so check those out as you're going along&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhh6iq5siouoir3702b8l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhh6iq5siouoir3702b8l.png" alt="Image description" width="800" height="413"&gt;&lt;/a&gt;&lt;br&gt;
but starting up here we're just going to create one instance from this AMI you can create multiple instances if you want&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fry0gqgauitk60okxr5mk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fry0gqgauitk60okxr5mk.png" alt="Image description" width="800" height="138"&gt;&lt;/a&gt;&lt;br&gt;
moving down the page spot instances have to do with billing and with these you basically specify or bid on the amount that you want to pay these can potentially save you some money but for our purpose, we're going to skip that&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Friptgojkh2gk3s3nv7p1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Friptgojkh2gk3s3nv7p1.png" alt="Image description" width="800" height="164"&gt;&lt;/a&gt;&lt;br&gt;
moving down to the networking section you choose your VPC (Virtual Private Cloud) this is your virtual network that's logically isolated in a part of the AWS&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5w1cmfv1lw5hwxhmygtc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5w1cmfv1lw5hwxhmygtc.png" alt="Image description" width="800" height="272"&gt;&lt;/a&gt;&lt;br&gt;
you should have one by default like I do here that's what I'm going to go with&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsfqplr8gcwwyhjt33o04.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsfqplr8gcwwyhjt33o04.png" alt="Image description" width="800" height="189"&gt;&lt;/a&gt;&lt;br&gt;
but you could also create a new one from here&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiobkhoth4rllugt1o30l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiobkhoth4rllugt1o30l.png" alt="Image description" width="800" height="122"&gt;&lt;/a&gt;&lt;br&gt;
as well then additional details around the subnet IP's hostname DNS hostname and so on once again I'm just going to go with all the defaults and scroll down the placement group and capacity reservation these have to do with how your instance is logically grouped within an availability zone and the capacity you want to hold for it we're going to leave these as defaults as well&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fofjq2igw6anpvch3n942.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fofjq2igw6anpvch3n942.png" alt="Image description" width="800" height="141"&gt;&lt;/a&gt;&lt;br&gt;
and same goes for this section domain join directory and IMA role these have to do with access and permissions&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fls0zgw8lb9hl18lg3bz4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fls0zgw8lb9hl18lg3bz4.png" alt="Image description" width="800" height="159"&gt;&lt;/a&gt;&lt;br&gt;
moving down I do want to call out the shutdown behavior here you'll see that there are two options stop and terminate stop means that the instance is temporarily shut down and that you're going to use it again later when you have an instance that's backed by an elastic block store or EBS volume kind of think of that as the C drive on your regular computer if you stop your instance that EVS volume remains so that it's ready to go next time you start the instance so that it's ready to go next time you start the instance all your data and everything will still be there&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd7eqqwb1lf42tocr8039.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd7eqqwb1lf42tocr8039.png" alt="Image description" width="800" height="156"&gt;&lt;/a&gt;&lt;br&gt;
if you terminate the instance so that's permanent the instance is shut down and your EBS volume is deleted so in most cases you're going to want to go with stop and&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1q2hztlas7uj24wer02s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1q2hztlas7uj24wer02s.png" alt="Image description" width="800" height="122"&gt;&lt;/a&gt;&lt;br&gt;
I'll choose that there are some additional options here we'll go with the defaults as well as the advanced details we'll go with defaults here and then next up we'll add storage.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fauzo1n14lul7bvqvbvbg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fauzo1n14lul7bvqvbvbg.png" alt="Image description" width="800" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Adding storage to an EC2 instance:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As I mentioned above the EBS or Elastic Block Volume is where you specify that so by default we're getting a purpose state&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvj8vp4g4ite6iaycli1b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvj8vp4g4ite6iaycli1b.png" alt="Image description" width="800" height="411"&gt;&lt;/a&gt;&lt;br&gt;
the volume type if you want to update some of these other settings you can also add new volumes if you need them&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F10o1c73h271fj9hacltu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F10o1c73h271fj9hacltu.png" alt="Image description" width="800" height="324"&gt;&lt;/a&gt;&lt;br&gt;
but we're going to go with it and next to add tags.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F05xln5r6io6l1qtbgalb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F05xln5r6io6l1qtbgalb.png" alt="Image description" width="800" height="414"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;8. Adding tags to an EC2 instance:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Tags are a really useful way to organize and manage your resources so maybe this machine is going to be used for development only as opposed to testing or production so let's add a tag for the environment and our value will be dev or development and we're going to apply this to the instances volumes and network interfaces and say next configure security group.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxwf1czs0qvmagpuz1izd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxwf1czs0qvmagpuz1izd.png" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhmzt6mukp0f1rtwextqv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhmzt6mukp0f1rtwextqv.png" alt="Image description" width="800" height="414"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;9. Configuring security groups for an EC2 instance:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Security groups are basically your firewall rules that allow or disallow traffic for your instance we're going to create a new one and then you want to add your rules&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu7odjoocxb9iujqkkq01.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu7odjoocxb9iujqkkq01.png" alt="Image description" width="800" height="281"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3vxa9m90iwi81mne036u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3vxa9m90iwi81mne036u.png" alt="Image description" width="800" height="209"&gt;&lt;/a&gt;&lt;br&gt;
so for example, if we were hosting a public website here we'd' need to go in and specify HTTP for example access on port 80 and you continue with the same for other rules that you need but I'll get rid of that one as the default rule that was added for us is the remote desktop access on port 3389&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0sp6e3wg2tqn9jor2ack.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0sp6e3wg2tqn9jor2ack.png" alt="Image description" width="800" height="269"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F73lle883c3sr592utjv2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F73lle883c3sr592utjv2.png" alt="Image description" width="800" height="249"&gt;&lt;/a&gt;&lt;br&gt;
and the source here with the zeros basically means that we're opening up access to any IP address to RDP into our server generally this is not a good idea that's why you're getting the warning here&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnd8f5755goz5vzoajubb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnd8f5755goz5vzoajubb.png" alt="Image description" width="800" height="316"&gt;&lt;/a&gt;&lt;br&gt;
as a best practice, you'll want to restrict this to only known IP addresses but for what we're doing we're going to proceed to review and launch&lt;br&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpkbtra7re1kx7iz9jsq1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpkbtra7re1kx7iz9jsq1.png" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;10. Reviewing and launching an EC2 instance:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Review all of the details you'll see we're still getting that warning&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fafkxq62lm1ks9jlqs745.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fafkxq62lm1ks9jlqs745.png" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;br&gt;
about having the RDP open to the world again in the real world you would want to change that but everything else looks good here and we're going to say launch&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F17ws90u7l9skbu2dpp5u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F17ws90u7l9skbu2dpp5u.png" alt="Image description" width="800" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;11. Creating a key pair for an EC2 instance:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Next, we're going to be prompted for a key pair and this is required to log into the instance which we're going to do by remote desktop once it's launched we'll go ahead and create a new one&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdfjyewfvs33i1dskapgd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdfjyewfvs33i1dskapgd.png" alt="Image description" width="800" height="300"&gt;&lt;/a&gt;&lt;br&gt;
For the key pair name, I'll say MyTTTkeypair and then you're going to need to download it I'll add it to the demo folder that I have and say save&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh5v5bf9wqh6owukbck5l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh5v5bf9wqh6owukbck5l.png" alt="Image description" width="800" height="419"&gt;&lt;/a&gt;&lt;br&gt;
and then launch instances&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc2zpj96pbeaqyjo7econ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc2zpj96pbeaqyjo7econ.png" alt="Image description" width="800" height="309"&gt;&lt;/a&gt;&lt;br&gt;
it'll take a minute or two for everything to launch you can view the launch log here&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg3pwmuinfah8et59fepj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg3pwmuinfah8et59fepj.png" alt="Image description" width="800" height="164"&gt;&lt;/a&gt;&lt;br&gt;
to see what's going on there are some other links you can check here while you're waiting but you can also view instances&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzmnjpyhmmrk9glfdding.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzmnjpyhmmrk9glfdding.png" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;br&gt;
this will take you to the list of instances in the ec2 console and you'll see here the status check it's initializing and the instant state is running&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkl5f1k459kj121olntai.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkl5f1k459kj121olntai.png" alt="Image description" width="800" height="408"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frwedh4z2p30acmo4wbnc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frwedh4z2p30acmo4wbnc.png" alt="Image description" width="800" height="158"&gt;&lt;/a&gt;&lt;br&gt;
you can click on this though and down here below you'll see the details of the instance&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbw3jzo8f20yb831ylcvm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbw3jzo8f20yb831ylcvm.png" alt="Image description" width="800" height="414"&gt;&lt;/a&gt;&lt;br&gt;
a lot of information here there are also additional tabs security networking storage and so forth so here's where you can manage all the information about your instance you can also do this through the command line interface or the CLI or programmatically as well, now everything looks good here&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyvx1roaoj5ie8puqe0ky.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyvx1roaoj5ie8puqe0ky.png" alt="Image description" width="800" height="132"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;12. Connecting to an EC2 instance through Remote Desktop:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here I'll select the instance and click on connect&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F39r2yo4q5wqt78hggm4o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F39r2yo4q5wqt78hggm4o.png" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;br&gt;
there are a few different ways to connect to your instance we're going to go with the RDP client remote desktop client here and click on download remote desktop file&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffxydq5m9wn2c4kblglnw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffxydq5m9wn2c4kblglnw.png" alt="Image description" width="800" height="415"&gt;&lt;/a&gt;&lt;br&gt;
this will create a shortcut basically that you just need to click on it's going to connect you to our instance I'll save that on my hard drive&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz7vyw9r9ii9v3whe2w1g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz7vyw9r9ii9v3whe2w1g.png" alt="Image description" width="800" height="339"&gt;&lt;/a&gt;&lt;br&gt;
I'm putting that up over here I'll just double-click this and we'll say connect here&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fddtm1cg73iin5za0fu8x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fddtm1cg73iin5za0fu8x.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
you're prompted for the administrator password&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm05b4o0efks0yaqf7cue.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm05b4o0efks0yaqf7cue.png" alt="Image description" width="800" height="280"&gt;&lt;/a&gt;&lt;br&gt;
so you might remember that key pair that we we working with before we needed to go get the password using that&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc94ywp4ahzn8huk8ymd7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc94ywp4ahzn8huk8ymd7.png" alt="Image description" width="800" height="414"&gt;&lt;/a&gt;&lt;br&gt;
so we'll click on get password here and browse for that key pair file&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxgnr2k0gqgtnvhccap2o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxgnr2k0gqgtnvhccap2o.png" alt="Image description" width="800" height="413"&gt;&lt;/a&gt;&lt;br&gt;
the dot pem file and open then&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foqijfzca6vezu09hv3hp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foqijfzca6vezu09hv3hp.png" alt="Image description" width="800" height="413"&gt;&lt;/a&gt;&lt;br&gt;
we need to decrypt the password here&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq1p8rr376rn9r5jzaah0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq1p8rr376rn9r5jzaah0.png" alt="Image description" width="800" height="412"&gt;&lt;/a&gt;&lt;br&gt;
I'll copy that&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0hxwghg2cubm4xu4hxgc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0hxwghg2cubm4xu4hxgc.png" alt="Image description" width="800" height="412"&gt;&lt;/a&gt;&lt;br&gt;
and then back to our RDP client I'll paste in the password here and hit ok&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fshh2ekqg9m048wt4cuuc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fshh2ekqg9m048wt4cuuc.png" alt="Image description" width="800" height="415"&gt;&lt;/a&gt;&lt;br&gt;
once again we'll say yes&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frefp9ur7unb8w9la4zod.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frefp9ur7unb8w9la4zod.png" alt="Image description" width="800" height="289"&gt;&lt;/a&gt;&lt;br&gt;
and here's our Windows server in the cloud and there you go here's where you can do your development work or hosting or whatever you need to do.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbwmjpm6u48mh8xns17wy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbwmjpm6u48mh8xns17wy.png" alt="Image description" width="800" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Terminating an EC2 instance:&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;If you're following along I want to make sure you go delete your instance&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9v4h9fzinij7on7h64x3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9v4h9fzinij7on7h64x3.png" alt="Image description" width="800" height="308"&gt;&lt;/a&gt;&lt;br&gt;
we are using the free tier but no sense in leaving things running out there unnecessarily so back here to your instances go ahead and select this instant state and terminate the instance&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgr8yjt9h3w43nxp5xqj0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgr8yjt9h3w43nxp5xqj0.png" alt="Image description" width="800" height="414"&gt;&lt;/a&gt;&lt;br&gt;
remember this is a permanent action your instance will be shut down and your EBS volume or kind of virtual hard drive is going to be deleted as well. so you really want to do this we'll say terminate&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo6k5h58meqlr9t1liow2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo6k5h58meqlr9t1liow2.png" alt="Image description" width="800" height="277"&gt;&lt;/a&gt;&lt;br&gt;
the instant state is shutting down&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fav2977voc3wg99kec2f3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fav2977voc3wg99kec2f3.png" alt="Image description" width="800" height="413"&gt;&lt;/a&gt;&lt;br&gt;
this might take a minute or two and it will appear here as terminated for a while but it'll eventually drop off your list. &lt;/p&gt;

&lt;p&gt;You can explore deploying applications, hosting websites, running databases, and more. Optimize costs by stopping or terminating instances when not in use. As you continue your journey into the world of AWS, don't forget to discover the other services and capabilities that AWS offers.&lt;/p&gt;

&lt;p&gt;So, keep learning, experimenting, and leveraging the power of cloud computing with AWS!🌟&lt;/p&gt;

</description>
      <category>aws</category>
      <category>ec2instance</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
