<?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: MD. AREFUL ISLAM</title>
    <description>The latest articles on DEV Community by MD. AREFUL ISLAM (@arifislam).</description>
    <link>https://dev.to/arifislam</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%2F589833%2F3874f102-dc47-4120-b572-f79c8fd41845.jpg</url>
      <title>DEV Community: MD. AREFUL ISLAM</title>
      <link>https://dev.to/arifislam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arifislam"/>
    <language>en</language>
    <item>
      <title>Configuring AWS VPC for beginner</title>
      <dc:creator>MD. AREFUL ISLAM</dc:creator>
      <pubDate>Thu, 06 Jul 2023 11:10:50 +0000</pubDate>
      <link>https://dev.to/arifislam/configuring-aws-vpc-for-beginner-1pej</link>
      <guid>https://dev.to/arifislam/configuring-aws-vpc-for-beginner-1pej</guid>
      <description>&lt;p&gt;&lt;strong&gt;About AWS VPC:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Amazon Virtual Private Cloud (VPC) is a logical isolation of your AWS resources in the cloud. It provides you with a private and secure network that you can use to connect your EC2 instances, S3 buckets, and other AWS resources.&lt;br&gt;
A VPC is a virtual network that closely resembles a traditional network that you’d operate in your own data center, with the benefits of using the scalable infrastructure of AWS.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Followings are optional Component of a VPC:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Internet gateways (IGWs):&lt;/strong&gt; An internet gateway allows communication between your VPC and the public internet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Elastic IP (EIP):&lt;/strong&gt; AWS Elastic IP is a feature provided by Amazon Web Services (AWS) that allows you to allocate a static public IPv4 address to your AWS resources, such as Amazon EC2 instances, NAT gateways, or Network Load Balancers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;VPC Endpoints:&lt;/strong&gt; Virtual Private Cloud (VPC) endpoints enable you to privately access AWS services within your VPC without going over the internet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;VPC Peering:&lt;/strong&gt; Peering refers to the process of connecting two Amazon Virtual Private Clouds (VPCs) together to enable communication between them using private IP addresses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NAT Instance NAT Gateway:&lt;/strong&gt; NAT Gateway simplifies outbound internet connectivity for resources in private subnets and provides a managed and scalable solution for address translation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Virtual private gateways:&lt;/strong&gt; A virtual private gateway allows communication between your VPC and your on-premises network.&lt;br&gt;
The benefits of using a VPC:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Security:&lt;/strong&gt; VPCs provide a layer of security for your AWS resources by isolating them from the public internet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scalability&lt;/strong&gt;: VPCs can be scaled to meet the needs of your applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cost-effectiveness:&lt;/strong&gt; VPCs can help you to save money by allowing you to control the amount of traffic that goes to the public internet.&lt;/p&gt;
&lt;h2&gt;
  
  
  Configuring A Simple VPC with Single Availability Zone (AZ)
&lt;/h2&gt;
&lt;h2&gt;
  
  
  To create the VPC
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open the Amazon VPC console at &lt;a href="https://console.aws.amazon.com/vpc"&gt;https://console.aws.amazon.com/vpc&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;On the dashboard, choose Create VPC.&lt;/li&gt;
&lt;li&gt;For Resources to create, choose VPC and more.&lt;/li&gt;
&lt;li&gt;Configure the VPC.&lt;/li&gt;
&lt;li&gt;Enter a name for the VPC.&lt;/li&gt;
&lt;li&gt;For IPv4 CIDR block, you can keep the default suggestion, or alternatively you can enter the CIDR block required by your application or network.&lt;/li&gt;
&lt;li&gt;(Optional) If your application communicates by using IPv6 addresses, choose IPv6 CIDR block, Amazon-provided IPv6 CIDR block.&lt;/li&gt;
&lt;li&gt;Configure the subnets&lt;/li&gt;
&lt;li&gt;For Number of Availability Zones, choose 1. You can keep the default Availability Zone, or alternatively you can expand Customize AZs and select an Availability Zone.&lt;/li&gt;
&lt;li&gt;For Number of public subnets, choose 1.&lt;/li&gt;
&lt;li&gt;For Number of private subnets, choose 0.&lt;/li&gt;
&lt;li&gt;You can keep the default CIDR block for the public subnet, or alternatively you can expand Customize subnet CIDR blocks and enter a CIDR block.&lt;/li&gt;
&lt;li&gt;For NAT gateways, keep the default value, None.&lt;/li&gt;
&lt;li&gt;For VPC endpoints, choose None. A gateway VPC endpoint for S3 is used only to access Amazon S3 from private subnets.&lt;/li&gt;
&lt;li&gt;For DNS options, keep both options selected. As a result, your instance will receive a public DNS hostname that corresponds to its public IP address.&lt;/li&gt;
&lt;li&gt;Choose Create VPC.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  Now Launch A EC2 Instance on your Created VPC:
&lt;/h2&gt;
&lt;h2&gt;
  
  
  Click EC2 Dashboard:
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Click Launch instance&lt;/li&gt;
&lt;li&gt;Name you ec2 instance&lt;/li&gt;
&lt;li&gt;Chose AMI for instance&lt;/li&gt;
&lt;li&gt;Keep the architecture file as defaults.&lt;/li&gt;
&lt;li&gt;Select Instance type t2.micro for Free tire or you can chose as per your need&lt;/li&gt;
&lt;li&gt;Select your key pair or create a new key pair for your instance&lt;/li&gt;
&lt;li&gt;Edit Network settings and select your created VPC from here.&lt;/li&gt;
&lt;li&gt;Enable Auto-assign public IP&lt;/li&gt;
&lt;li&gt;Select Security Group for your instance or select executing one if you have. By default the security group has an ssh port open for all.&lt;/li&gt;
&lt;li&gt;Keep the rest of the things as default.&lt;/li&gt;
&lt;li&gt;If everything is ok click Launch Instance to create your instance on your VPC.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  For Video Tutorial
&lt;/h2&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/dlMsvFLnIRs"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>aws</category>
      <category>vpc</category>
    </item>
  </channel>
</rss>
