Provision an Application Load Balancer
A 4-step recipe with Amazon Elastic Load Balancing. We can help you get access.
Recipe · 4 steps
Provision an Application Load Balancer
with Amazon Elastic Load Balancing · IT Infrastructure Management
Create an ALB, a target group, an HTTP listener, and register targets.
- Create an internet-facing Application Load Balancer in the supplied subnet and security group.
- Create an HTTP target group in the same VPC with an HTTP health check on the root path.
- Attach an HTTP listener whose default action forwards traffic to the new target group.
- Register the initial target with the target group so the load balancer can begin routing traffic to it.
What you'll need to have ready
- loadBalancerName: The unique name for the load balancer (max 32 characters).
- subnetId: The ID of a subnet to place the load balancer in.
- securityGroupId: The ID of a security group for the load balancer.
- targetGroupName: The unique name for the target group.
- vpcId: The ID of the VPC for the target group and targets.
- listenerPort: The port the listener accepts client connections on.
- targetPort: The port the targets receive traffic on.
- targetId: The ID of the first target (instance ID, IP, or Lambda ARN).
For your developer
Arazzo workflow amazon-elastic-load-balancing:provision-application-load-balancer, 4 operations: CreateLoadBalancer → CreateTargetGroup → CreateListener → RegisterTargets. Specs on APIs.io.