Creating the Load Balancer

Learn to create a load balancer to put in front of the WordPress instances.

Now that we have the security group for the load balancer ready, we can create it.

The steps are as follows:

  1. Create the load balancer.

  2. Create a target group containing the WordPress instances.

  3. Register the targets with the load balancer.

  4. Create a listener so the load balancer will listen for requests.

Create the load balancer

Load balancers are their own service on AWS and not part of the ec2 group of subcommands. The most recent version of load balancers on AWS is elbv2.

Get hands-on with 1200+ tech skills courses.