Application Load Balancer
First we need to create VPC
After adding name to VPC and IPV4 CIDR, click create VPC
Now we are going to create 4 subnets under this VPC
Under Subnet --> Create Subnet
Choose the VPC which we have created
Click create Subnet
Subnet has been created
After this, internet gateway should be created
Under Internet Gateway --> Create Internet Gateway
Specify the name of internet gateway and click create internet gateway
Internet Gateway is created. After this Click Actions --> Attach to VPC
Select the VPC which we have created and click attach internet gateway
Next Under NAT Gateway --> Create NAT Gateway
Under route table, Click the route table id which we have created now -- > Click Edit routes
Click save changes. Under subnet association --> Click Edit Subnet Association
Select the two public subnet --> Save association
Create route table. Click Edit route
Click Save changes
Under Subnet Association --> Edit Subnet Association
Select the private subnet --> Click save association
Under Services --> EC2 --> Instances --> Launch instances
Click Launch instance
Now create instance 2
The only difference is we need to create it with private subnet 2
Click Launch instance
Under target group --> create target group
Under Load Balancer --> Create Load Balancer --> Application Load Balancer
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
Comments
Post a Comment