Create an Internal Load Balancer
To create an internal ELB, proceed as follows:
-
In the AWS EC2 area beneath Load Balancers click Create Load Balancer.
The Define Load Balancer page opens.
-
Make the following settings:
-
Load Balancer Name: Enter a descriptive name.
-
Create LB inside: Choose the VPC to install into.
-
-
Create an internal load balancer: Select this to ensure it is specified that you create an internal ELB.
-
Enable advanced VPC configuration: Select this option if you want to select subnets.
-
Listener Configuration: The default listener configuration of using HTTP will suffice for your test, but can be modified as needed.
-
Select Subnets: Choose the private subnets you created in the last section.
-
Click Next: Assign Security Groups.
The Assign Security Groups page opens.
-
Select the default VPC security Group.
-
Click Next: Configure Security Settings.
Note – At this point you’ll be notified that your load balancer is not using a secure listener.
-
Click Next: Configure Health Check.
For the example modify the default health check so that Ping protocol uses TCP.
-
Click Next: Add EC2 Instances.
-
Add the appropriate EC2 instances that will use the internal load balancer.
-
Click Next: Add Tags.
-
Add a tag and click Review and Create to continue.
-
Review your settings and click Create.
The load balancer is created and appears in the load balancer list.