• Login
Saturday, March 7, 2026
The Cloud Guru
  • Home
  • AWS
  • Data Center
  • GCP
  • Technology
  • Tutorials
  • Blog
    • Blog
    • Reviews
No Result
View All Result
Saturday, March 7, 2026
  • Home
  • AWS
  • Data Center
  • GCP
  • Technology
  • Tutorials
  • Blog
    • Blog
    • Reviews
No Result
View All Result
The Cloud Guru
No Result
View All Result

Create a Highly Available VPC on AWS

Team TCG by Team TCG
October 1, 2023
in Architecture, AWS, HOW To's
0 0
0
Home Architecture
0
SHARES
4
VIEWS
Share on FacebookShare on Twitter

In this we’ll walk through the process of deploying a highly available VPC consisting of the following: – VPC – 2 Availability Zones – 2 Public Subnets (1 per AZ) – 2 Private Subnets (1 per AZ) – 1 Public Routing Table Named ‘PubRT’ – 1 Internet Gateway – 1 Public Security Group – 1 Private Security Group

Log in to the AWS Management Console.

Create the VPC

  1. Navigate to VPC using the Services menu or the unified search bar.
  2. In the sidebar menu, select Your VPCs.
  3. On the right, click Create VPC.
  4. Configure the VPC settings section:
    • Resources to create: Select VPC only.
    • Name tag: In the text box, enter LabVPC.
    • IPv4 CIDR: In the text box, enter 10.20.0.0/16.
  5. Leave all the other default settings and click Create VPC. The VPC is created and its details are automatically displayed.

Create the Subnets

  1. In the sidebar menu, select Subnets.
  2. On the right, click Create Subnet.
  3. In the VPC ID field, use the dropdown to select your VPC.
  4. Configure the Subnet settings section for public subnet 1:
    • Subnet name: In the text box, enter Public1.
    • Availability Zone: Use the dropdown to select US East (N.Virginia)/us-east-1a.
    • IPv4 CIDR block: In the text box, enter 10.20.1.0/24.
  5. Toward the bottom of the page, click Add new subnet.
  6. Configure the Subnet settings section for public subnet 2:
    • Subnet name: In the text box, enter Public2.
    • Availability Zone: Use the dropdown to select US East (N. Virginia)/us-east-1b.
    • IPv4 CIDR block: In the text box, enter 10.20.2.0/24.
  7. Toward the bottom of the page, click Add new subnet again.
  8. Configure the Subnet settings section for private subnet 1:
    • Subnet name: In the text box, enter Private1.
    • Availability Zone: Use the dropdown to select US East (N. Virginia)/us-east-1a.
    • IPv4 CIDR block: In the text box, enter 10.20.3.0/24.
  9. Toward the bottom of the page, click Add new subnet again.
  10. Configure the Subnet settings section for private subnet 2:
    • Subnet name: In the text box, enter Private2.
    • Availability Zone: Use the dropdown to select US East (N. Virginia)/us-east-1b.
    • IPv4 CIDR block: In the text box, enter 10.20.4.0/24.
  11. At the bottom of the page, click Create Subnet. The four subnets take a moment to finish creating.

Build an Internet Gateway

  1. In the sidebar menu, select Internet gateways.
  2. On the right, click Create internet gateway.
  3. In the Name tag field, enter LabIGW.
  4. Click Create internet gateway. The internet gateway takes a moment to finish building.
  5. After creating the Internet gateway, use the breadcrumb at the top of the page to select Internet gateways.
  6. Check the checkbox to the left of your LabIGW gateway.
  7. On the right, use the Actions dropdown to select Attach to VPC.
  8. In the Available VPCs field, click on the text box and select your LabVPC VPC.
  9. Click Attach Internet gateway. The internet gateway is attached to your VPC.

Configure a Route Table within Your VPC Named PubRT

Create the Route Table and Associate the Public Subnets

  1. In the sidebar menu, select Route Tables.
  2. In the top right corner, click Create route table.
  3. Configure the Route table settings section:
    • Name: In the text box, enter PubRT.
    • VPC: Use the dropdown to select your LabVPC VPC.
  4. Click Create route table. The route table is created and its details display automatically.
  5. On the right, use the Actions dropdown to select Edit subnet associations.
  6. Check the checkboxes to the left of the Public1 and Public2 subnets.
  7. Click Save Associations.

Update the Routes to Send Traffic to the Internet Gateway

  1. From the route table details, ensure the Routes tab is selected.
  2. On the right, click Edit Routes.
  3. Click Add route.
  4. In the Destination field, enter 0.0.0.0/0.
  5. In the Target field, select Internet Gateway, and then select your LabIGW gateway.
  6. Click Save Changes.

Associate the Private Subnets with the Default VPC

  1. Use the breadcrumb at the top of the page to select Route tables.
  2. Check the checkbox to the left of the default VPC (indicated as the main VPC).
  3. From the route table details, select the Subnet Associations tab.
  4. On the right, click Edit subnet associations.
  5. Check the checkboxes to the left of the Private1 and Private2 subnets.
  6. Click Save Associations.

Create the PublicSG and PrivateSG Security Groups

Create the PublicSG Security Group

  1. In the sidebar menu, select Security Groups.
  2. On the right, click Create security group.
  3. Fill in the Basic details section:
    • Security group name: In the text box, enter PublicSG.
    • Description: In the text box, enter pubs.
    • VPC: Click into the field and select your LabVPC VPC.
  4. In the Inbound rules section, click Add rule.
  5. Fill in the rule details:
    • Type: Use the dropdown to select HTTPS.
    • Source: Use the dropdown to select Anywhere-IPv4.
  6. Click Add rule again.
  7. Fill in the rule details:
    • Type: Use the dropdown to select HTTPS.
    • Source: Use the dropdown to select Anywhere-IPv6.
  8. At the bottom of the page, click Create security group.
  9. After the security groups are created, use the breadcrumb at the top of the page to select Security Groups.

Create the PrivateSG Security Group

  1. On the right, click Create security group.
  2. Fill in the Basic details section:
    • Security group name: In the text box, enter PrivateSG.
    • Description: In the text box, enter privatesg.
    • VPC: Click into the field and select your LabVPC VPC.
  3. In the Inbound rules section, click Add rule.
  4. Fill in the rule details:
    • Type: Use the dropdown to select All traffic (you can also type All traffic into the field to narrow the dropdown results).
    • Source: Leave the Custom default. In the search box to the right of Custom, select your PublicSG security group.
  5. At the bottom of the page, click Create security group.

Enable Logging of All IP Traffic to a Created S3 Bucket

  1. In the sidebar menu, select Your VPCs.
  2. Check the checkbox to the left of your LabVPC VPC.
  3. On the right, use the Actions menu to select Create flow log.
  4. Fill in the Flow log settings section:
    • Name: In the text box, enter LabVPCFlowLogs.
    • Filter: Select All.
    • Maximum aggregation interval: Select 10 minutes.
    • Destination: Select Send to Amazon S3 bucket.
  5. To get the S3 bucket ARN, open S3 in a new tab using the Services menu or the unified search bar.In the S3 Management Console, you should see one bucket.
  6. Select the bucket name.
  7. Along the top of the page, select the Properties tab.
  8. In the Bucket Overview section, copy the ARN.
  9. Navigate back to the VPC Management Console tab and paste your copied ARN into the S3 bucket ARN field.
  10. Leave all the other default settings, and click Create flow log.
Tags: 2Min'sAWSCloud ComputingHow toTutorials
Previous Post

Using Terraform Dynamic Blocks and Built-in Functions to Deploy to AWS

Next Post

Protected: Kubernetes

Team TCG

Team TCG

Related Posts

AWS

Cloud Monitoring: CloudWatch vs Azure Monitor vs Operations Suite

Discover the power of cloud monitoring with Amazon CloudWatch, Azure Monitor, and Operations Suite. As 94% of businesses experience downtime...

by Team TCG
December 31, 2025
AWS

Infrastructure as Code: CloudFormation vs ARM Templates vs Deployment Manager

Discover the transformative power of Infrastructure as Code (IaC) in managing cloud infrastructure. This article delves into the benefits of...

by Team TCG
December 31, 2025
AWS

Cloud CLI Tools: AWS CLI vs Azure CLI vs gcloud

Discover the power of Cloud CLI tools—AWS CLI, Azure CLI, and gcloud—that over 60% of businesses rely on for efficient...

by Team TCG
December 30, 2025
AWS

Hybrid Cloud Solutions: AWS Outposts, Azure Stack, and GCP Anthos

Discover the surge in hybrid cloud solutions, with 70% of organizations eyeing adoption. Merging public cloud with on-premises infrastructure, offerings...

by Team TCG
December 30, 2025
AWS

Cloud Cost Management: AWS Cost Explorer vs Azure Cost Management vs GCP Billing

Unlock the potential of your cloud budget with effective cost management! Discover how AWS, Azure, and GCP can help you...

by Team TCG
December 29, 2025
AWS

Multi-Cloud IAM: AWS IAM vs Azure AD vs GCP IAM

Navigating multi-cloud environments? Discover the critical role of Identity and Access Management (IAM) in ensuring robust user access across AWS,...

by Team TCG
December 29, 2025
Next Post

Kubernetes

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Trending
  • Comments
  • Latest

Azure Compliance: Policy, Blueprints, and Compliance Manager

September 21, 2025

Understanding Azure Subscriptions and Resource Groups

December 23, 2024

Azure Sphere: Securing IoT Devices

October 21, 2025

Azure Case Study: How Spotify Uses Azure

January 15, 2025

AWS SnowMobile

0

Passwordless Login Using SSH Keygen in 5 Easy Steps

0

Create a new swap partition on RHEL system

0

Configuring NTP using chrony

0

Cloud Monitoring: CloudWatch vs Azure Monitor vs Operations Suite

December 31, 2025

Infrastructure as Code: CloudFormation vs ARM Templates vs Deployment Manager

December 31, 2025

Cloud CLI Tools: AWS CLI vs Azure CLI vs gcloud

December 30, 2025

Hybrid Cloud Solutions: AWS Outposts, Azure Stack, and GCP Anthos

December 30, 2025

Recommended

Cloud Monitoring: CloudWatch vs Azure Monitor vs Operations Suite

December 31, 2025

Infrastructure as Code: CloudFormation vs ARM Templates vs Deployment Manager

December 31, 2025

Cloud CLI Tools: AWS CLI vs Azure CLI vs gcloud

December 30, 2025

Hybrid Cloud Solutions: AWS Outposts, Azure Stack, and GCP Anthos

December 30, 2025

About Us

Let's Simplify the cloud for everyone. Whether you are a technologist or a management guru, you will find something very interesting. We promise.

Categories

  • 2 Minute Tutorials (7)
  • AI (3)
  • Ansible (1)
  • Architecture (3)
  • Artificial Intelligence (3)
  • AWS (508)
  • Azure (3)
  • books (2)
  • Consolidation (4)
  • Containers (1)
  • Data Analytics (1)
  • Data Center (11)
  • Design (1)
  • GCP (13)
  • HOW To's (17)
  • Innovation (1)
  • Kubernetes (8)
  • LifeStyle (2)
  • LINUX (6)
  • Microsoft (2)
  • news (3)
  • People (4)
  • Reviews (1)
  • RHEL (2)
  • Security (2)
  • Self-Improvement and Professional Development (1)
  • Serverless (2)
  • Social (2)
  • Switch (1)
  • Technology (473)
  • Terraform (3)
  • Tools (1)
  • Tutorials (13)
  • Uncategorized (9)
  • Video (1)
  • Videos (1)

Tags

2Min's (7) Agile (1) AI (5) Appication Modernization (1) Application modernization (1) Architecture (1) AWS (43) AZURE (4) BigQuery (1) books (2) Case Studies (17) CI/CD (1) Cloud Computing (525) Cloud Optimization (1) Comparo (17) Consolidation (1) Courses (1) Data Analytics (1) Data Center (8) Emerging (1) GCP (11) Generative AI (1) How to (14) Hybrid Cloud (5) Innovation (2) Kubernetes (4) LINUX (5) lunch&learn (473) memcache (1) Microsoft (1) monitoring (1) NEWS (2) NSX (1) Opinion (3) SDDC (2) security (1) Self help (2) Shorties (1) Stories (1) Team Building (1) Technology (3) Tutorials (20) vmware (3) vSAN (1) Weekend Long Read (1)
  • About
  • Advertise
  • Privacy & Policy

© 2023 The Cloud Guru - Let's Simplify !!

No Result
View All Result
  • Home
  • AWS
  • HOW To’s
  • Tutorials
  • GCP
  • 2 Minute Tutorials
  • Data Center
  • Artificial Intelligence
  • Azure
  • Videos
  • Innovation

© 2023 The Cloud Guru - Let's Simplify !!

Welcome Back!

Sign In with Facebook
Sign In with Google
Sign In with Linked In
OR

Login to your account below

Forgotten Password?

Create New Account!

Sign Up with Facebook
Sign Up with Google
Sign Up with Linked In
OR

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In