Thursday, August 31, 2023

ESTABLISH A LOAD BALANCER BETWEEN TWO VPC

 



To establish load balancing between two VPCs (Virtual Private Clouds) in AWS (Amazon Web Services), you can use an Application Load Balancer (ALB) or Network Load Balancer (NLB) combined with VPC peering.

Create VPC-1:

Create Subnet1:

Create Subnet2:

Create Internet Gateway-IGW:

Add route in vpc1-default:

Create VPC-2:

Subnet create in vpc2:

IGW Created for vpc2:

Route added in vpc2 igw2:

Create a Peering Connection Between VPC1-VPC2:

Now inform the routes about the vpc1 and vpc2 path to connect and communicate:

Apply the same procedure for vpc2 and add the vpc1 path.

Three instances were created for vpc1/vpc2:

Configure ELB-APPLICATION between VPC1-VPC2:

Register vpc instance target in ELB.


End Of Lab – Good Luck!!!

No comments:

Post a Comment