capabilities.work

Provision a Network Load Balancer

A 4-step recipe with Amazon Elastic Load Balancing. We can help you get access.

Recipe · 4 steps

Provision a Network Load Balancer

with Amazon Elastic Load Balancing · IT Infrastructure Management

Create an NLB, a TCP target group, a TCP listener, and register targets.

  1. Create an internet-facing Network Load Balancer in the supplied subnet.
  2. Create a TCP target group in the same VPC with a TCP health check.
  3. Attach a TCP listener whose default action forwards to the target group.
  4. Register the initial IP target with the TCP target group.
What you'll need to have ready
  • loadBalancerName: The unique name for the network load balancer (max 32 characters).
  • subnetId: The ID of a subnet to place the load balancer in.
  • targetGroupName: The unique name for the target group.
  • vpcId: The ID of the VPC for the target group and targets.
  • listenerPort: The TCP port the listener accepts connections on.
  • targetPort: The TCP port the targets receive traffic on.
  • targetId: The IP address of the first target to register.
For your developer

Arazzo workflow amazon-elastic-load-balancing:provision-network-load-balancer, 4 operations: CreateLoadBalancer → CreateTargetGroup → CreateListener → RegisterTargets. Specs on APIs.io.