<?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 Patel</title>
    <description>The latest articles on DEV Community by Parth Patel (@parth7802).</description>
    <link>https://dev.to/parth7802</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%2F1010450%2F5b0fed14-a814-49ac-a08a-5f51568ba8e0.png</url>
      <title>DEV Community: Parth Patel</title>
      <link>https://dev.to/parth7802</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/parth7802"/>
    <language>en</language>
    <item>
      <title>Configure Amazon RDS Proxy</title>
      <dc:creator>Parth Patel</dc:creator>
      <pubDate>Fri, 22 Mar 2024 19:20:43 +0000</pubDate>
      <link>https://dev.to/parth7802/configure-amazon-rds-proxy-2ibn</link>
      <guid>https://dev.to/parth7802/configure-amazon-rds-proxy-2ibn</guid>
      <description>&lt;h2&gt;
  
  
  Scenario
&lt;/h2&gt;

&lt;p&gt;Amazon RDS Proxy can help busy online stores manage sudden traffic surges during sales events by pooling and sharing database connections. This ensures a smooth shopping experience even during peak times and helps the store recover quickly from any database failures, minimizing downtime and maintaining customer satisfaction.&lt;/p&gt;

&lt;p&gt;This blog will cover everything we need to know about Amazon RDS Proxy and how to configure it!&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What is Amazon RDS?&lt;/li&gt;
&lt;li&gt;How does it work?&lt;/li&gt;
&lt;li&gt;Benefits of configuring Amazon RDS Proxy &lt;/li&gt;
&lt;li&gt;Hands-on&lt;/li&gt;
&lt;li&gt;Conclusion&lt;/li&gt;
&lt;/ul&gt;

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

&lt;h2&gt;
  
  
  What is Amazon RDS?
&lt;/h2&gt;

&lt;p&gt;Amazon RDS stands for Amazon Relational Database Service. It is a web service that makes it easier to set up, operate, and scale a relational database in the cloud. Amazon RDS manages routine database tasks such as provisioning, patching, backup, recovery, and scaling, allowing developers to focus on their applications rather than the administrative aspects of managing a database.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does it work?
&lt;/h2&gt;

&lt;p&gt;Amazon RDS Proxy simplifies connection management for Amazon RDS database instances by pooling and sharing database connections, actively handling network traffic between client applications and databases. It optimizes memory and CPU resources, reduces overhead on database servers, and improves application scalability and resilience to database failures&lt;/p&gt;

&lt;h2&gt;
  
  
  Benefits of Configuring RDS Proxy?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Improved Database Connection Management&lt;/li&gt;
&lt;li&gt;Enhanced Scalability&lt;/li&gt;
&lt;li&gt;Better Fault Tolerance&lt;/li&gt;
&lt;li&gt;Security&lt;/li&gt;
&lt;li&gt;Database Caching&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Hands-on
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Amazon RDS Database&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open the Amazon RDS service in the AWS console, choose Standard Database, and then pick the engine type that you want to use. Additionally, choose free-tier templates.&lt;/p&gt;

&lt;p&gt;Enter your password in the settings section. Next, pick "Amazon VPC with No Public Access" under "Connectivity" and start a new security group. &lt;/p&gt;

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

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

&lt;p&gt;finally, in additional configuration, provide a database name, make all the settings as default and create the database&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;AWS Secrets Manager&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Enter your credentials (password and username), choose the "Credentials for Amazon RDS database" secret type, and then pick the recently created database and encryption key.&lt;/p&gt;

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

&lt;p&gt;Click Next after entering your name in the Configure Secret field. once more and developed the secret manager. Please copy the Secret ARN and keep it somewhere secure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AWS IAM Role and Policy&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Make a policy that permits the use of Amazon KMS and AWS Secret Manager. It should also be connected with an IAM role that permits the use of Amazon EC2 and RDS services. &lt;/p&gt;

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

&lt;p&gt;Note that the policy is below. Setting up AWS KMS has an optional setting.&lt;/p&gt;

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

&lt;p&gt;&lt;code&gt;{&lt;br&gt;
    "Version": "2012-10-17",&lt;br&gt;
    "Statement": [&lt;br&gt;
        {&lt;br&gt;
            "Sid": "GetSecretValue",&lt;br&gt;
            "Action": [&lt;br&gt;
                "secretsmanager:GetSecretValue"&lt;br&gt;
            ],&lt;br&gt;
            "Effect": "Allow",&lt;br&gt;
            "Resource": [&lt;br&gt;
                "AWS-Secret-Manager-ARN"&lt;br&gt;
            ]&lt;br&gt;
        },&lt;br&gt;
        {&lt;br&gt;
            "Sid": "DecryptSecretValue",&lt;br&gt;
            "Action": [&lt;br&gt;
                "kms:Decrypt"&lt;br&gt;
            ],&lt;br&gt;
            "Effect": "Allow",&lt;br&gt;
            "Resource": [&lt;br&gt;
                "AWS-KMS-ARN"&lt;br&gt;
            ],&lt;br&gt;
            "Condition": {&lt;br&gt;
                "StringEquals": {&lt;br&gt;
                    "kms:ViaService": "secretsmanager.ap-south-1.amazonaws.com"&lt;br&gt;
                }&lt;br&gt;
            }&lt;br&gt;
        }&lt;br&gt;
    ]&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Amazon RDS Proxy&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Enter the proxy address and select Database in the target group configuration. Select the newly established Secret Manager role in Connectivty. Then, under Additional Configuration, build a new Security Group and select build Proxy.&lt;/p&gt;

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

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

&lt;p&gt;Note: It is crucial that this step be configured correctly.&lt;/p&gt;

&lt;p&gt;Allow inbound traffic from port 3306 for the rds proxy security group, which is for mysql/aurora, with the ec2 instance security group as the source.&lt;/p&gt;

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

&lt;p&gt;Allow incoming traffic from the rds proxy security group and the ec2 security group for the rds security group. The EC2 security group allows port 3306, which is used for MySQL and Aurora.&lt;/p&gt;

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

&lt;p&gt;Permit the post-22, or SSH, for the EC2 security group.&lt;/p&gt;

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

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

&lt;p&gt;Launch your EC2 instance, install MySQL and execute the command&lt;br&gt;
mysql -h  -P 3306 -u admin -p&lt;/p&gt;

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

&lt;p&gt;The connection to the Amazon RDS database is successful.&lt;/p&gt;

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

&lt;p&gt;Finally, we have completed a hands-on exercise to gain an understanding of the Amazon RDS proxy, including its importance and the reasons to use it.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>database</category>
      <category>devops</category>
    </item>
    <item>
      <title>Launch an Amazon VPC and EC2 instance using Cloudformation</title>
      <dc:creator>Parth Patel</dc:creator>
      <pubDate>Sat, 16 Mar 2024 14:50:28 +0000</pubDate>
      <link>https://dev.to/parth7802/launch-an-amazon-vpc-and-ec2-instance-using-cloudformation-2nlc</link>
      <guid>https://dev.to/parth7802/launch-an-amazon-vpc-and-ec2-instance-using-cloudformation-2nlc</guid>
      <description>&lt;h2&gt;
  
  
  Why AWS Cloudformation?
&lt;/h2&gt;

&lt;p&gt;AWS CloudFormation is crucial for automating and managing AWS resources through code, ensuring consistent and repeatable deployments. It simplifies the deployment process, reduces manual errors, and supports team collaboration and standardization through version-controlled templates. CloudFormation integrates with other AWS services for efficient and secure deployments, making it essential for reliable, scalable, and secure cloud infrastructure deployments.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step by Step Process
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt;: Create a CloudFormation template in YAML or JSON format. Here is my code on &lt;a href="https://github.com/parth7802/CloudFormation/blob/main/vpc_ec2_cf.yaml" rel="noopener noreferrer"&gt;Github&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt;: Upload your code to AWS Cloudformation, which will automatically create an S3 bucket and its object URL.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt;: Click "Next". Specify the stack name, and click "Next" again. Then, under the Permissions tab, remove the role and create the stack.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Step 4&lt;/strong&gt;: Please confirm that the resources have been created successfully.&lt;/p&gt;

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

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

&lt;p&gt;&lt;strong&gt;Step 5&lt;/strong&gt;: Delete the resources.&lt;/p&gt;

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

&lt;p&gt;Launching an Amazon VPC and EC2 instance using CloudFormation involves creating a VPC, which is a virtual network within AWS, and then deploying an EC2 instance within this network. This process is automated through CloudFormation templates, which define the resources and configurations needed for the deployment. These templates can be customized to fit specific requirements. CloudFormation simplifies the deployment process, ensuring consistency and repeatability across environments, and reducing the risk of human error.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>automation</category>
      <category>devops</category>
    </item>
    <item>
      <title>NAT Instance Tutorial</title>
      <dc:creator>Parth Patel</dc:creator>
      <pubDate>Sun, 03 Mar 2024 18:48:04 +0000</pubDate>
      <link>https://dev.to/parth7802/nat-instance-tutorial-4nde</link>
      <guid>https://dev.to/parth7802/nat-instance-tutorial-4nde</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is NAT Instance?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A NAT instance provides network address translation (NAT). You can use a NAT instance to allow resources in a private subnet to communicate with destinations outside the virtual private cloud (VPC), such as the internet or an on-premises network. The resources in the private subnet can initiate outbound IPv4 traffic to the internet, but they can't receive inbound traffic initiated on the internet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Basic Understanding&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The route table associated with the private subnet sends internet traffic from the instances in the private subnet to the NAT instance in the public subnet. The NAT instance then sends the traffic to the internet gateway. The traffic is attributed to the public IP address of the NAT instance. The NAT instance specifies a high port number for the response; if a response comes back, the NAT instance sends it to an instance in the private subnet based on the port number for the response.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz4p6j67aq0cggt21dc4g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz4p6j67aq0cggt21dc4g.png" alt=" " width="539" height="561"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Create a VPC with Public and Private Subnets
&lt;/h2&gt;

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

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

&lt;h2&gt;
  
  
  Step 2: Create Security Groups
&lt;/h2&gt;

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

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

&lt;h2&gt;
  
  
  Step 3: Launch the Public EC2 Instance
&lt;/h2&gt;

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

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

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

&lt;h2&gt;
  
  
  Step 4: Connect Public Instance
&lt;/h2&gt;

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

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

&lt;h2&gt;
  
  
  Step 5: Execute these CMDs
&lt;/h2&gt;

&lt;p&gt;sudo yum install iptables-services -y&lt;br&gt;
sudo systemctl enable iptables&lt;br&gt;
sudo systemctl start iptables&lt;br&gt;
echo "net.ipv4.ip_forward=1" | sudo tee /etc/sysctl.d/custom-ip.conf&lt;br&gt;
sudo sysctl -p /etc/sysctl.d/custom-ip.conf&lt;br&gt;
netstat -i&lt;br&gt;
sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br&gt;
&lt;strong&gt;Note&lt;/strong&gt;: Replace 'enX0' with the correct interface (usually eth0 or ensX)&lt;br&gt;
sudo /sbin/iptables -F FORWARD&lt;br&gt;
sudo service iptables save&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Step 6: Create an AMI from the Public EC2 (NAT)
&lt;/h2&gt;

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

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

&lt;h2&gt;
  
  
  Step 7: Launch NAT Instance from the Image
&lt;/h2&gt;

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

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

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

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

&lt;h2&gt;
  
  
  Step 8: Disable Source/Destination Check
&lt;/h2&gt;

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

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

&lt;h2&gt;
  
  
  Step 9: Launch Private EC2 Instance
&lt;/h2&gt;

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

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

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

&lt;h2&gt;
  
  
  Step 10: Configure Route Tables
&lt;/h2&gt;

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

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

&lt;h2&gt;
  
  
  Step 11: Connect Private EC2 Instance
&lt;/h2&gt;

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

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Setting up a NAT instance in AWS is essential for resources within a private subnet to securely access the internet or on-premises networks. By configuring a NAT instance, traffic from private subnet instances is routed through a public subnet, ensuring outbound connectivity while protecting against inbound threats. This step-by-step tutorial simplifies the process, from creating VPCs and security groups to launching and testing instances. With these fundamental concepts and practical instructions, developers can effectively leverage NAT instances to enhance network connectivity and security within their AWS environments. In conclusion, a NAT instance provides a crucial bridge and this tutorial simplifies the process making it easier for developers to implement it.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>networking</category>
      <category>cloud</category>
      <category>vpc</category>
    </item>
    <item>
      <title>My AWS Cloud Club Journey</title>
      <dc:creator>Parth Patel</dc:creator>
      <pubDate>Mon, 29 Jan 2024 14:38:45 +0000</pubDate>
      <link>https://dev.to/cloudclubs/my-aws-cloud-club-journey-d90</link>
      <guid>https://dev.to/cloudclubs/my-aws-cloud-club-journey-d90</guid>
      <description>&lt;p&gt;&lt;strong&gt;What are AWS Cloud Clubs?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AWS Cloud Clubs are student-led organizations or chapters that focus on learning, experimenting, and networking around Amazon Web Services (AWS) and cloud computing technologies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who are AWS Cloud Clubs captains?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Cloud Club Captains are individuals who lead and manage these AWS Cloud Clubs. Cloud Club Captains play a crucial role in initiating and organizing club activities, such as workshops, meetups, and projects, as well as promoting the club within their educational institution or community.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Overview of how to start or transform your AWS cloud clubs&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Apply to become a Cloud Club Captain through the AWS Student Hub. The application process involves submitting details about your experience and plans for starting a Cloud Club chapter.&lt;/p&gt;

&lt;p&gt;The basic requirement for becoming a captain is that, while filling out an application, you must upload a video, and a community member recommendation must also be there.&lt;/p&gt;

&lt;p&gt;Apply link: &lt;a href="https://go.aws/3SBslhS" rel="noopener noreferrer"&gt;https://go.aws/3SBslhS&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lanching AWS Cloud Clubs&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Once selected, work with the AWS Academic Advocacy team to set up the required AWS accounts and launching your Cloud Club.&lt;/p&gt;

&lt;p&gt;Club's link: &lt;a href="https://bit.ly/awsccmeetup" rel="noopener noreferrer"&gt;https://bit.ly/awsccmeetup&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Promote the new Cloud Club within your university or region to attract members. Organize regular meetups or workshops where members can learn cloud skills together through hands-on labs and projects.&lt;/p&gt;

&lt;p&gt;Past events link: &lt;a href="https://bit.ly/soumeetup" rel="noopener noreferrer"&gt;https://bit.ly/soumeetup&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Past Events&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Expert session on scaling on AWS for millions of users&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This session has focused on the expertise required to scale applications on Amazon Web Services (AWS) for millions of users. This includes various aspects of scaling, including infrastructure design, application architecture, and optimization techniques.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Women's Day Celebration (SHE)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;"Strong Happening Empowered (SHE)" is a platform that aims to empower and uplift women by providing them with access to a roster of incredible female leaders. Through their programs, SHE offers mentorship, networking opportunities, and resources to help women grow and excel in their careers. By connecting women with successful leaders in various industries, SHE hopes to inspire and encourage them to reach their full potential.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Career Aspects with AWS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;"Career Aspects with AWS" could refer to the various job roles, opportunities, and growth prospects available for professionals skilled in Amazon Web Services (AWS) technologies. With the increasing adoption of cloud computing and the rapid growth of AWS in the market, there is a high demand for AWS professionals across different industries.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Introduction to Serverless on AWS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Serverless computing on AWS is a powerful approach to building applications that eliminates the need for you to manage servers, infrastructure, and operating systems. Instead, you can focus on writing code and delivering value to your customers. Using serverless computing on AWS can help you reduce your operational costs, increase your agility, and improve your scalability.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  &lt;strong&gt;workshops&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Gujarat’s First Ever AWS DeepRacer League - Race to Top with AWS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AWS DeepRacer is an autonomous 1/18th scale race car designed to test RL models by racing on a physical track. Using cameras to view the track and a reinforcement model to control throttle and steering, the car shows how a model trained in a simulated environment can be transferred to the real world.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;The World's First Ever Infrastructure Camp&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This camp is intended to teach students the important role foundational infrastructure plays in the development, operation, and management of cloud solutions. It also provides an introduction to a few basic services, some helpful concepts, and an explanation of how each fits into the overall picture of cloud architecture. In addition to the basics, it challenges you to solve some additional problems designed to stretch your knowledge and understanding.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  &lt;strong&gt;Community Events&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;India's First Ever AWS Student Symposium 2023&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This symposium is designed to bring together students from various academic backgrounds to learn, share knowledge, and explore the latest technological advancements in Amazon Web Services (AWS). It promises to be an excellent opportunity for students to network with industry experts, gain valuable insights, and enhance their skills and knowledge in cloud computing.&lt;/p&gt;

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

&lt;p&gt;Network with other Cloud Club captains, AWS community leaders, and mentors to exchange ideas and stay up-to-date on the latest resources. Attend AWS online events and conferences.&lt;/p&gt;

&lt;p&gt;Other captain's: &lt;a href="https://go.aws/3SBslhS" rel="noopener noreferrer"&gt;https://go.aws/3SBslhS&lt;/a&gt;&lt;br&gt;
Community Builder’s: &lt;a href="https://go.aws/4bdZkjy" rel="noopener noreferrer"&gt;https://go.aws/4bdZkjy&lt;/a&gt;&lt;br&gt;
AWS Heros: &lt;a href="https://go.aws/49s9iw3" rel="noopener noreferrer"&gt;https://go.aws/49s9iw3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Maintain an active online presence for the club on platforms like Dev.to, LinkedIn, and Meetup to engage members and share updates. Publish learning content and technical articles written by yourself and members&lt;/p&gt;

&lt;p&gt;Social media handles: &lt;a href="https://bit.ly/4be07kw" rel="noopener noreferrer"&gt;https://bit.ly/4be07kw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Apply for AWS credits, certification vouchers, and other rewards available to recognized Cloud Clubs. Distribute these among active members.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;My Experience&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Being a part of AWS Cloud Clubs has been a game-changer for me as far as my technical skills and mindset are concerned. These clubs have provided me with an incredible platform to network with AWS Heroes, community builders, and user group leaders.&lt;/p&gt;

&lt;p&gt;As a Cloud Club Captain, I have not only honed my technical skills but also gained valuable leadership, management, and public speaking abilities.&lt;/p&gt;

&lt;p&gt;All in all, being a part of AWS Cloud Clubs has been a transformative experience for me as a cloud computing enthusiast, and I am grateful for the knowledge, skills, and opportunities it has provided me with. I look forward to being a part of this community of cloud enthusiasts for years to come.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Expressing Gratitude&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I appreciate the valuable contributions of the AWS Cloud Club members at Silver Oak University. Their unwavering support has been instrumental in the success of this project. I extend our heartfelt thanks for their outstanding efforts.&lt;/p&gt;

&lt;p&gt;I am grateful to the faculty members, authorities, and management team of Silver Oak University for their constant support and guidance. Thank you for your efforts towards our success.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Additional benefits&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;AWS cloud club is scouting to attend aws community days, aws student community days, aws summits, and AWS re:events&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Learn with Academic advocacy&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.&lt;strong&gt;GitHub Learner Library&lt;/strong&gt;: &lt;a href="https://bit.ly/3HBcdGw" rel="noopener noreferrer"&gt;https://bit.ly/3HBcdGw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The AWS Cloud Clubs Learner Library is a resource hub where you can discover free, ungated content on AWS properties to further your learning journey.&lt;/p&gt;

&lt;p&gt;2.&lt;strong&gt;Amplify Workshop&lt;/strong&gt;: &lt;a href="https://bit.ly/3HAxr7K" rel="noopener noreferrer"&gt;https://bit.ly/3HAxr7K&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This foundational workshop introduces serverless cloud concepts, including authentication, storage, and functions.&lt;/p&gt;

&lt;p&gt;3.&lt;strong&gt;Infrastructure Camp&lt;/strong&gt;: &lt;a href="https://bit.ly/48P7Rrx" rel="noopener noreferrer"&gt;https://bit.ly/48P7Rrx&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This course is intended to teach students the important role foundational infrastructure plays in the development, operation, and management of cloud solutions.&lt;/p&gt;

&lt;p&gt;4.&lt;strong&gt;Machine Learning Camp&lt;/strong&gt;: &lt;a href="https://bit.ly/3u0Nusi" rel="noopener noreferrer"&gt;https://bit.ly/3u0Nusi&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this introductory workshop, you'll learn how to add machine learning features to a web app using Amazon Rekognition and Amazon Textract.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;More ways to learn&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AWS educate: &lt;a href="https://awseducate.instructure.com/" rel="noopener noreferrer"&gt;https://awseducate.instructure.com/&lt;/a&gt;&lt;br&gt;
AWS skill builder: &lt;a href="https://explore.skillbuilder.aws/" rel="noopener noreferrer"&gt;https://explore.skillbuilder.aws/&lt;/a&gt;&lt;br&gt;
Build on AWS live: &lt;a href="https://go.aws/3u7deDk/" rel="noopener noreferrer"&gt;https://go.aws/3u7deDk/&lt;/a&gt;&lt;br&gt;
AWS AI &amp;amp; ML Scholarship: &lt;a href="https://go.aws/48ObMou/" rel="noopener noreferrer"&gt;https://go.aws/48ObMou/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Exciting News!&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Our next AWS Cloud Club cohort begins on February 5, 2024.&lt;br&gt;
Are you ready to lead?&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>awscloudclubs</category>
      <category>journey</category>
    </item>
    <item>
      <title>VPC Peering across two regions</title>
      <dc:creator>Parth Patel</dc:creator>
      <pubDate>Fri, 27 Oct 2023 11:38:47 +0000</pubDate>
      <link>https://dev.to/cloudclubs/vpc-peering-across-two-regions-3bdp</link>
      <guid>https://dev.to/cloudclubs/vpc-peering-across-two-regions-3bdp</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;VPC peering across two AWS regions is a network connection that allows Virtual Private Clouds (VPCs) in different geographic locations to communicate securely and directly with each other, enabling seamless data transfer and resource access while maintaining the isolation and security of each VPC. This inter-region connectivity facilitates distributed application architectures, disaster recovery setups, and data replication scenarios, enhancing the versatility and global reach of AWS infrastructure for businesses and organizations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You have two Amazon VPCs, one located in the US East (N. Virginia) region (us-east-1) and the other in the Asia Pacific (Mumbai) region (ap-south-1). You need to establish VPC peering between these two regions to allow secure communication between resources in these VPCs while keeping them logically isolated.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To achieve VPC peering across regions, first, create the necessary VPCs in each region, ensuring they have unique CIDR blocks. Next, create VPC peering connections in both regions, accepting the peer requests. Update the route tables in each VPC to include routes for the peer VPC's CIDR block, pointing to the peering connection. Finally, configure security groups and network ACLs to allow the required traffic between the peered VPCs. This setup enables seamless and secure communication between resources in the US East and Asia Pacific South regions while maintaining network isolation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-by-Step Guide:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Create a VPC in the Asia Pacific (Mumbai) region (ap-south-1)&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;If you don't already have a VPC, you can create one by clicking "Your VPCs" in the VPC Dashboard.&lt;/li&gt;
&lt;li&gt;Click the "Create VPC" button.&lt;/li&gt;
&lt;li&gt;Fill in the VPC details, only the name, and leave the other setting as default. As, it will automatically create Subnets, Route Tables, and Internet Gateway.&lt;/li&gt;
&lt;li&gt;Click "Create VPC."&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;Step 2: Launching a Windows EC2 Instance&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click the "Launch Instance" button.&lt;/li&gt;
&lt;li&gt;Select an "Amazon Linux Server" AMI based on your requirements.&lt;/li&gt;
&lt;li&gt;For instance, type, set as "t2.micro" is a free tier eligible.&lt;/li&gt;
&lt;li&gt;If you already have an EC2 "key pair", select it.&lt;/li&gt;
&lt;li&gt;If not, create a "new key pair". You'll use this key pair to securely connect to your Windows EC2 instance.&lt;/li&gt;
&lt;li&gt;"Save the file" on your local device. Make sure it is safe.&lt;/li&gt;
&lt;li&gt;Automatically "assigned public IP" should be "Enabled" for Private Subnet and vice-versa.&lt;/li&gt;
&lt;li&gt;Create a "new security group" or select an "existing one".&lt;/li&gt;
&lt;li&gt;Define rules to allow ALL ICMP (IPv4) and SSH (443) traffic for a web server.&lt;/li&gt;
&lt;li&gt;Click "Launch" to proceed.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnfwf7oz23m0xjf06ez3n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnfwf7oz23m0xjf06ez3n.png" alt=" " width="516" height="827"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Repeat the above two steps in the US-East (N. Virginia) region us-east-1&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Create a VPC Peering Connection&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the VPC Dashboard, click on "Peering Connections" in the left sidebar.&lt;/li&gt;
&lt;li&gt;Click on the "Create Peering Connection" button.&lt;/li&gt;
&lt;li&gt;Fill in the details for the peering connection, including a name, your VPC ID (in the current region), and the peer VPC ID (in the other region).&lt;/li&gt;
&lt;li&gt;Repeat this step in the other region to create a peering connection from the second VPC to the first VPC.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;Step 4: Accept the Peering Connection&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;After you've created the peering connections in both regions, you'll need to accept the peering request.&lt;/li&gt;
&lt;li&gt;In the VPC Dashboard, select "Peering Connections."&lt;/li&gt;
&lt;li&gt;Find the pending peering request, select it, and click "Actions" -&amp;gt; "Accept Request" in both regions.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;Step 5: Update Route Tables&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To allow traffic to flow between the peered VPCs, you need to update the route tables.&lt;/li&gt;
&lt;li&gt;In each VPC's route table, add a route to the CIDR block of the other VPC, pointing to the peering connection. This enables traffic to be routed through the peering connection.&lt;/li&gt;
&lt;li&gt;Navigate to the "Route Tables" in the VPC Dashboard, select the route table associated with your VPC, and add a route.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;Step 6: Connect to the EC2 Instance&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open a terminal or command prompt on your local machine.&lt;/li&gt;
&lt;li&gt;Navigate to the directory where your private key (.pem) file is located.&lt;/li&gt;
&lt;li&gt;Use the chmod command to change the permissions of the private key file to be secure: “chmod 400 your-key.pem”&lt;/li&gt;
&lt;li&gt;Connect to your EC2 instance using SSH, replacing your-key.pem with the actual key file and your-instance-public-IP with your EC2 instance's public IP address: “ssh -i your-key.pem ec2-user@your-instance-public-ip”&lt;/li&gt;
&lt;li&gt;If you see a message asking if you want to continue connecting, type "yes" and press Enter.&lt;/li&gt;
&lt;li&gt;You are now connected to your EC2 instance via SSH. You should see the command prompt for your instance in your terminal.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpqtxe2zusjj171fq3e2w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpqtxe2zusjj171fq3e2w.png" alt=" " width="786" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7: Ping the Peered VPC&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Once connected to your EC2 instance, use the ping command to ping an EC2 instance or resource in the peered VPC. &lt;/li&gt;
&lt;li&gt;Replace peer-instance-private-ip with the private IP address of the resource you want to ping in the other VPC: “ping peer-instance-private-ip”&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Congratulations! Your VPC peering connection is now established, unlocking seamless communication between your AWS Virtual Private Clouds. Enjoy enhanced network connectivity and flexibility in your AWS architecture.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In conclusion, creating a VPC peering connection across two AWS regions enables secure and efficient communication between separate VPCs in different geographic locations, fostering a global network environment. By following a few straightforward steps, you can seamlessly bridge these regions, allowing resources to interact as if they were on a single network while maintaining isolation and control, enhancing the versatility and scalability of your AWS infrastructure.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>networking</category>
      <category>cloud</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>VPC NAT Gateway Tutorial</title>
      <dc:creator>Parth Patel</dc:creator>
      <pubDate>Sun, 08 Oct 2023 17:17:32 +0000</pubDate>
      <link>https://dev.to/cloudclubs/vpc-nat-gateway-tutorial-4ibp</link>
      <guid>https://dev.to/cloudclubs/vpc-nat-gateway-tutorial-4ibp</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A Network Address Translation (NAT) Gateway in a Virtual Private Cloud (VPC) is a service provided by cloud providers like Amazon Web Services (AWS) that allows instances in a private subnet to initiate outbound connections to the internet while keeping their private IP addresses hidden. It serves as an intermediary between your private instances and the public internet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine you have a Virtual Private Cloud (VPC) in a cloud provider like Amazon Web Services (AWS), and within this VPC, you have several private instances that need to access the internet for software updates, downloading packages, or other web-based services. However, you want to maintain a high level of security and control over these private instances and prevent direct access to the internet. How can you achieve this while allowing your private instances to communicate with the internet?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2shrk5b36dwd8r7e3xyv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2shrk5b36dwd8r7e3xyv.png" alt=" " width="614" height="518"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this scenario, you can use a NAT Gateway inside Amazon VPC to enable your private instances to access the internet securely without exposing their private IP addresses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisite&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An AWS account&lt;/li&gt;
&lt;li&gt;Basic knowledge of AWS services&lt;/li&gt;
&lt;li&gt;A provisioned Windows EC2 instance&lt;/li&gt;
&lt;li&gt;Good insights for Amazon VPC, NAT Gateway, and Elastic IPs&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step-by-step Guide&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Create a VPC&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;If you don't already have a VPC, you can create one by clicking "Your VPCs" in the VPC Dashboard.&lt;/li&gt;
&lt;li&gt;Click the "Create VPC" button.&lt;/li&gt;
&lt;li&gt;Fill in the VPC details, including the name, IPv4 CIDR block, and any other settings you require.&lt;/li&gt;
&lt;li&gt;Click "Create VPC."&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjp30omjr28s1ktq81qfe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjp30omjr28s1ktq81qfe.png" alt=" " width="718" height="840"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Create subnets&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the VPC Dashboard, select "Subnets" from the left-hand navigation pane.&lt;/li&gt;
&lt;li&gt;Click the "Create Subnet" button.&lt;/li&gt;
&lt;li&gt;Choose the VPC you created in the previous step.&lt;/li&gt;
&lt;li&gt;Configure the subnet details, including the name, availability zone, and IPv4 CIDR block.&lt;/li&gt;
&lt;li&gt;Repeat this process to create both a public subnet and a private subnet.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fngjekw7kae56m49xbug1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fngjekw7kae56m49xbug1.png" alt=" " width="788" height="624"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuxzxa15j10j9r3llbtyg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuxzxa15j10j9r3llbtyg.png" alt=" " width="795" height="736"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Create an Internet Gateway&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the VPC Dashboard, select "Internet Gateways" from the left-hand navigation pane.&lt;/li&gt;
&lt;li&gt;Click the "Create Internet Gateway" button.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fevfsmb6g3lk2xpjylubp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fevfsmb6g3lk2xpjylubp.png" alt=" " width="796" height="443"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Attach the Internet Gateway to Your VPC&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select the newly created Internet gateway.&lt;/li&gt;
&lt;li&gt;Click the "Actions" button and choose "Attach to VPC."&lt;/li&gt;
&lt;li&gt;Choose the VPC to which you want to attach the Internet gateway.&lt;/li&gt;
&lt;li&gt;Click "Attach."&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;Step 5: Create a Custom Route Table&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the VPC Dashboard, select "Route Tables" from the left-hand navigation pane.&lt;/li&gt;
&lt;li&gt;Click the "Create Route Table" button.&lt;/li&gt;
&lt;li&gt;Provide a name “PublicSubnet” and “PrivateSubnet” and choose the VPC you want to associate with the new route table.&lt;/li&gt;
&lt;li&gt;Click "Create."&lt;/li&gt;
&lt;/ol&gt;

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

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

&lt;p&gt;&lt;strong&gt;Step 6: Edit the Route Table to Route Traffic to the Internet&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select the newly created custom route table.&lt;/li&gt;
&lt;li&gt;In the "Routes" tab, click the "Edit routes" button.&lt;/li&gt;
&lt;li&gt;Click "Add route."&lt;/li&gt;
&lt;li&gt;In the "Destination" field, enter 0.0.0.0/0 to represent all internet-bound traffic.&lt;/li&gt;
&lt;li&gt;In the "Target" field, select the Internet Gateway that you attached to the VPC in the previous steps.&lt;/li&gt;
&lt;li&gt;Click "Save routes."&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;Step 7: Associate Subnets with the Custom Route Table&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the "Subnet associations" tab of the custom route table, click "Edit subnet associations."&lt;/li&gt;
&lt;li&gt;Choose the subnets that you want to associate with this custom route table. Typically, these would be the public subnets and private subnets, which are associated with the public subnet and the private subnet, respectively.&lt;/li&gt;
&lt;li&gt;Click "Save associations."&lt;/li&gt;
&lt;/ol&gt;

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

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

&lt;p&gt;&lt;strong&gt;Step 8: Launching a Windows EC2 Instance&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click the "Launch Instance" button.&lt;/li&gt;
&lt;li&gt;Select a "Windows Server" AMI based on your requirements.&lt;/li&gt;
&lt;li&gt;For instance, type, set as "t2.micro" is a free tier eligible.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step 9: Choose an existing key pair or create a new key team.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;If you already have an EC2 "key pair", select it.&lt;/li&gt;
&lt;li&gt;If not, create a "new key pair". You'll use this key pair to securely connect to your Windows EC2 instance.&lt;/li&gt;
&lt;li&gt;"Save the file" on your local device. Make sure it is safe.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhdhn1p5het8cz7fgcpmo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhdhn1p5het8cz7fgcpmo.png" alt=" " width="619" height="838"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9lpqduxg53ihu3vmawxg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9lpqduxg53ihu3vmawxg.png" alt=" " width="619" height="867"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4nquam3mmazvmgefl2sj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4nquam3mmazvmgefl2sj.png" alt=" " width="769" height="628"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 10: Configure the Security Group and Virtual Private Cloud (VPC):&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Automatically "assigned public IP" should be "disabled" for Private Subnet and vice-versa.&lt;/li&gt;
&lt;li&gt;Create a "new security group" or select an "existing one".
Define rules to allow RDP (port 3389), and HTTPS (port 443) traffic for a web server.&lt;/li&gt;
&lt;li&gt;Click "Launch" to proceed.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step 11: Connect your EC2 instance&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;In the RDP Client Tab, click on "Download Remote Desktop File" on your local machine.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on "Get Password" and "Upload the Private Key".&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on "Decrypt Password", then copy your decrypted password.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open the RDP file and "paste" your copied decrypted password.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You are successfully connected to your Windows EC2 instance.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

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

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsqecz5p23bk5j4m5x3w7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsqecz5p23bk5j4m5x3w7.png" alt=" " width="519" height="339"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 12: Create the NAT Gateway&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the "Create NAT Gateway" wizard, select the public subnet where you want to create the NAT Gateway.&lt;/li&gt;
&lt;li&gt;Choose an Elastic IP address to associate with the NAT Gateway. If you don't have one, you can allocate a new Elastic IP.&lt;/li&gt;
&lt;li&gt;Click the "Create NAT Gateway" button.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp3394pcwxxmrkat5qtnn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp3394pcwxxmrkat5qtnn.png" alt=" " width="655" height="760"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 13: Add a Route to the NAT Gateway&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the "Routes" tab, click the "Edit routes" button.&lt;/li&gt;
&lt;li&gt;Add a new route with the destination as 0.0.0.0/0 (all internet-bound traffic) and select the NAT Gateway as the target.&lt;/li&gt;
&lt;li&gt;Click "Save routes."&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;Step 14: Connect to Your Windows EC2 Instance using RDP&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the Remote Desktop client on your Windows EC2 Server(you can find it in Windows under "Remote Desktop Connection").&lt;/li&gt;
&lt;li&gt;In the "Computer" field, enter the Private IP address of your EC2 instance.&lt;/li&gt;
&lt;li&gt;Click "Connect."&lt;/li&gt;
&lt;li&gt;If prompted, enter the username and password for your Windows EC2 instance. The username is typically "Administrator."&lt;/li&gt;
&lt;li&gt;Click "OK."&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;Step 15: Testing your connectivity&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the command prompt. Run the command “ping 8.8.8.8 -t”.&lt;/li&gt;
&lt;li&gt;The reply from the ping command is successful.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1h6b00v0082g56seng63.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1h6b00v0082g56seng63.png" alt=" " width="497" height="129"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Congratulations! You've successfully established connectivity between the private subnets by attaching the NAT Gateway to the public subnet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 16: Delete the NAT Gateway&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;With the NAT Gateway selected, click the "Actions" button at the top of the screen.&lt;/li&gt;
&lt;li&gt;Choose "Delete NAT Gateway" from the drop-down menu.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fff6fxljtxc4s2uzrkymj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fff6fxljtxc4s2uzrkymj.png" alt=" " width="588" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 17: Release the Elastic IP&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;With the selected Elastic IP, click the "Actions" button at the top of the screen.&lt;/li&gt;
&lt;li&gt;Choose "Release addresses" from the dropdown menu.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;Step 18: Delete the VPC&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;With the selected VPC, click the "Actions" button at the top of the screen.&lt;/li&gt;
&lt;li&gt;Choose "Delete VPC" from the dropdown menu.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In conclusion, the Amazon VPC NAT Gateway practical experience offers a comprehensive understanding of network architecture in the cloud. By successfully configuring and utilizing a NAT Gateway, one gains proficiency in providing secure internet access to private resources within a Virtual Private Cloud (VPC). This hands-on exercise demonstrates the importance of network isolation, security groups, and route tables, ensuring that private instances can access the internet while remaining shielded from external threats. Additionally, it highlights the significance of Elastic IP addresses for stable connectivity and paves the way for creating robust, Secure, and Scalable cloud infrastructures. This practical experience is a valuable skill set for cloud architects and administrators seeking to design and manage secure, high-performance cloud environments in AWS.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>network</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Hosting a Static Webpage on Windows Instance</title>
      <dc:creator>Parth Patel</dc:creator>
      <pubDate>Tue, 12 Sep 2023 15:35:38 +0000</pubDate>
      <link>https://dev.to/cloudclubs/hosting-a-static-webpage-on-windows-instance-1476</link>
      <guid>https://dev.to/cloudclubs/hosting-a-static-webpage-on-windows-instance-1476</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Amazon Elastic Compute Cloud (Amazon EC2) provides on-demand, scalable computing capacity in the Amazon Web Services (AWS) Cloud. Using Amazon EC2 reduces hardware costs so you can develop and deploy applications faster. You can use Amazon EC2 to launch as many or as few virtual servers as you need, configure security and networking, and manage storage. You can add capacity (scale up) to handle compute-heavy tasks, such as monthly or yearly processes, or spikes in website traffic. When usage decreases, you can reduce capacity (scale down) again.&lt;/p&gt;

&lt;p&gt;Static webpages are the simplest form of web content and a fundamental building block of the internet. Unlike dynamic webpages, which are generated on the fly in response to user interactions or database queries, static webpages consist of fixed, unchanging HTML, CSS, and JavaScript files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;A software development team needs a flexible environment for developing, testing and deploying Windows-based applications. They require a solution that allows them to quickly create and manage virtual machines with various Windows configurations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;The team uses Amazon EC2 Windows instances to create development and testing environments. They can easily provision Windows instances with specific software stacks, conduct testing, and scale resources as needed. This enables efficient software development, testing, and deployment processes, accelerating time-to-market and reducing infrastructure overhead.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An AWS account&lt;/li&gt;
&lt;li&gt;Basic knowledge of AWS services&lt;/li&gt;
&lt;li&gt;A provisioned Windows EC2 instance&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step-by-Step Guide&lt;/strong&gt;:&lt;br&gt;
 &lt;br&gt;
&lt;strong&gt;Step 1: Launching a Windows EC2 Instance&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click the "&lt;strong&gt;Launch Instance&lt;/strong&gt;" button.&lt;/li&gt;
&lt;li&gt;Select a "&lt;strong&gt;Windows Server&lt;/strong&gt;" AMI based on your requirements.&lt;/li&gt;
&lt;li&gt;In the instance type, set as "&lt;strong&gt;t2.micro&lt;/strong&gt;" as a free tier eligible.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;strong&gt;Step 2: Choose an existing key pair or create a new key pair.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;If you already have an EC2 "&lt;strong&gt;key pair&lt;/strong&gt;", select it.&lt;/li&gt;
&lt;li&gt;If not, create a "&lt;strong&gt;new key pair&lt;/strong&gt;". You'll use this key pair to securely connect to your Windows EC2 instance.&lt;/li&gt;
&lt;li&gt;"&lt;strong&gt;Save the file&lt;/strong&gt;" on your local device. Make sure it is safe.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Configure the Security Group and Virtual Private Cloud (VPC):&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Automatically "&lt;strong&gt;assigned public IP&lt;/strong&gt;" should be "&lt;strong&gt;enabled&lt;/strong&gt;".&lt;/li&gt;
&lt;li&gt;Create a "&lt;strong&gt;new security group&lt;/strong&gt;" or select an "&lt;strong&gt;existing one&lt;/strong&gt;".&lt;/li&gt;
&lt;li&gt;Define rules to allow &lt;strong&gt;HTTP&lt;/strong&gt; (port 80), &lt;strong&gt;RDP&lt;/strong&gt; (port 3389), and &lt;strong&gt;HTTPS&lt;/strong&gt; (port 443) traffic for a web server.&lt;/li&gt;
&lt;li&gt;Click "&lt;strong&gt;Launch&lt;/strong&gt;" to proceed.&lt;/li&gt;
&lt;/ol&gt;

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

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

&lt;p&gt;&lt;strong&gt;Step 4: Connect your EC2 instance.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the RDP Client Tab, click on "&lt;strong&gt;Download Remote Desktop File&lt;/strong&gt;" on your local machine.&lt;/li&gt;
&lt;li&gt;Click on "&lt;strong&gt;Get Password&lt;/strong&gt;" and "&lt;strong&gt;Upload the Private Key&lt;/strong&gt;".&lt;/li&gt;
&lt;li&gt;Click on "&lt;strong&gt;Decrypt Password&lt;/strong&gt;", then copy your decrypted password.&lt;/li&gt;
&lt;li&gt;Open the RDP file and "&lt;strong&gt;paste&lt;/strong&gt;" your copied decrypted password.&lt;/li&gt;
&lt;li&gt;You are successfully connected to your Windows EC2 instance.&lt;/li&gt;
&lt;/ol&gt;

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

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

&lt;p&gt;&lt;strong&gt;Step 5: Windows Instance:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Navigate to the search bar for "&lt;strong&gt;Server Manager&lt;/strong&gt;" and double-click to open.&lt;/li&gt;
&lt;li&gt;On the dashboard, on the left panel, click on "&lt;strong&gt;Add Roles and Features&lt;/strong&gt;."&lt;/li&gt;
&lt;li&gt;Click on "&lt;strong&gt;next&lt;/strong&gt;" following Server Roles."&lt;/li&gt;
&lt;li&gt;Click on the "&lt;strong&gt;web server (IIS)&lt;/strong&gt;" and click on "&lt;strong&gt;Add feature&lt;/strong&gt;."&lt;/li&gt;
&lt;li&gt;Finally, click on "&lt;strong&gt;Install&lt;/strong&gt;."&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvgvbt4uo2mwiq44rfk57.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvgvbt4uo2mwiq44rfk57.png" alt=" " width="786" height="559"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6: Make a webpage file&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Navigate to "Local Drive (C:)" --&amp;gt; "inetpub" --&amp;gt; "wwwroot". &lt;strong&gt;Delete&lt;/strong&gt; all the files.&lt;/li&gt;
&lt;li&gt;Create a &lt;strong&gt;new text document&lt;/strong&gt; and write, "This is my first static webpage."&lt;/li&gt;
&lt;li&gt;Save it as "&lt;strong&gt;index.html&lt;/strong&gt;".&lt;/li&gt;
&lt;/ol&gt;

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

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

&lt;p&gt;&lt;strong&gt;Step 7: Testing Your Static Website&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Copy the "&lt;strong&gt;public IPv4 address&lt;/strong&gt;" and paste it into a new tab in your browser.&lt;/li&gt;
&lt;li&gt;The static webpage has been loaded successfully and can see, "This is my first static webpage."&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Congratulations&lt;/strong&gt;! You've successfully launched a Windows EC2 instance on AWS. You can now customize and use it for various purposes, including hosting a static webpage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;Hosting a static webpage on a Windows EC2 instance is a versatile and powerful solution. It provides users with control, scalability, security, and global reach. With the flexibility to configure web servers, leverage AWS's infrastructure, and ensure cost-effectiveness, Windows EC2 instances are an excellent choice for hosting static web content. By following the steps and best practices outlined in this guide, you can create a reliable web hosting environment that serves your content to a global audience efficiently. Whether you're running a personal website, a small business site, or any other static web application, AWS EC2 for Windows offers the tools and resources you need to succeed.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>website</category>
      <category>html</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
