Create an Application Load Balancer

Intermediate
8 min read
Updated: Nov 2026
5 examples
ELB / HTTP / Target groups

Definition and Usage

An Application Load Balancer (ALB) sits in front of your targets and spreads HTTP and HTTPS traffic at Layer 7. This guide is the short console path: create an internet-facing ALB, add an HTTP listener on port 80, and forward to a target group you already prepared.

What is a load balancer?

A load balancer distributes incoming requests across multiple backends so you can scale out capacity and survive individual instance failures without taking the whole service offline.

Why use an Application Load Balancer?

ALBs increase capacity and availability, centralise TLS termination, and support host- and path-based rules. For concepts in more depth, read the Application Load Balancer overview first. For Layer 4 TCP/UDP, use a Network Load Balancer instead.

What you will build

An internet-facing ALB in at least two Availability Zones, with an HTTP:80 listener forwarding to a target group, plus a stable ALB DNS name you can point Route 53 at.

After the ALB is active

Add an HTTPS listener with ACM, optionally redirect HTTP to HTTPS, and put CloudFront or AWS WAF in front when you harden the edge.

Two AZs minimum.

An internet-facing ALB needs subnets in at least two Availability Zones. Pick public subnets that can reach your targets.

Prepare the target group first.

Create a target group with healthy registered targets before (or during) listener setup so you can forward traffic as soon as the ALB provisions.

Skip Classic for new designs.

Choose Application Load Balancer here. Use Network Load Balancer only when you need Layer 4 behaviour.

Core Concepts

Terms you will use while creating the ALB:

ConceptMeaning
ALBLayer 7 load balancer for HTTP/HTTPS
Internet-facingScheme that gives the ALB a public DNS name for clients on the internet
ListenerProcess that checks for connection requests (for example HTTP:80)
Target groupPool of backends the listener forwards to
Health checkProbe that marks targets healthy or unhealthy
Subnet / AZALB needs at least two AZs for internet-facing setups
Security groupMust allow client traffic to listener ports (80/443)
ALB DNS nameStable hostname for tests and Route 53 alias records

Prerequisites

Have these ready before you open the create wizard:

  • A VPC with public subnets in at least two Availability Zones.
  • A target group (or follow create target group and register EC2) with healthy backends.
  • Security groups that allow inbound HTTP (and later HTTPS) from clients to the ALB, and from the ALB to your targets.

Examples

Create an internet-facing ALB, attach HTTP:80 to your target group, wait until active, then plan DNS and TLS.

Example 1 — Open Create Load Balancer

Start from the EC2 Load Balancers console.

  1. Open the EC2 console.
  2. Expand Load Balancing in the left navigation and choose Load Balancers.
  3. Choose Create load balancer.
EC2 Load Balancers console with Create load balancer
Amazon EC2

How It Works

  1. Load Balancers lists ALB, NLB, and legacy types in the Region.
  2. Create opens the type picker before any networking choices.
  3. Confirm the Region matches your VPC and target group.
  4. Console layout can change—use the screenshots as a visual anchor.

Example 2 — Choose Application Load Balancer

Pick the Layer 7 product for HTTP/HTTPS.

  1. Under Application Load Balancer, choose Create.
  2. Skip Classic Load Balancer for new designs.
  3. Use Network Load Balancer only when you need Layer 4 TCP/UDP behaviour.
Choose Application Load Balancer type
Elastic Load Balancing

How It Works

  1. ALB routes on HTTP headers, host, and path.
  2. NLB is for extreme throughput and static IP per AZ—see Network Load Balancer.
  3. Classic is legacy; do not start new apps on it.
  4. One type per create flow—you cannot mix ALB and NLB in the same wizard.

Example 3 — Configure Scheme, Subnets, and Listener

Name the ALB, place it in two AZs, and forward HTTP:80 to your target group.

  1. Name the load balancer.
  2. Pick an internet-facing scheme (unless you intentionally need internal-only).
  3. Choose at least two subnets in different Availability Zones.
  4. Attach security groups that allow client traffic to the listener ports.
  5. Add a listener on HTTP port 80 that forwards to your target group.
  6. Review and choose Create load balancer.
Configure Application Load Balancer listener and target group
Elastic Load Balancing

How It Works

  1. Internet-facing publishes a public DNS name clients can hit.
  2. Two AZs keep the ALB highly available across failures.
  3. The listener rule is what actually sends requests to backends.
  4. Target health must be healthy before users see a working site.

Example 4 — Confirm Active and Copy DNS

Wait for provisioning, then copy the load balancer DNS name.

  1. Wait until the state is active.
  2. Copy the DNS name of the load balancer for browser tests.
  3. Open the DNS name over HTTP and confirm responses from healthy targets.
Application Load Balancer created successfully in console
Elastic Load Balancing

How It Works

  1. Provisioning takes a few minutes while ENIs appear in each AZ.
  2. Active means the control plane finished; targets still need health checks.
  3. Test the raw DNS name before you change production DNS.
  4. Instance security groups must allow traffic from the ALB security group.

Example 5 — Point DNS and Plan HTTPS

Cut over DNS when health looks good, then add TLS.

  1. Confirm target health is healthy before relying on DNS cutover.
  2. Update A (and AAAA if you use IPv6) alias records in your Route 53 hosted zone to the ALB DNS name.
  3. Add an HTTPS listener on port 443 with an ACM certificate when you are ready for TLS.
  4. Optionally redirect HTTP to HTTPS on the port 80 listener.

How It Works

  1. Alias records keep clients on the ALB even if underlying IPs change.
  2. ACM certificates attach to HTTPS listeners on the ALB (or CloudFront).
  3. Cut over during a planned window after raw-DNS tests succeed.
  4. Edge hardening: CloudFront and AWS WAF sit in front when you need CDN or web ACLs.

Edge Cases & Pitfalls

Most create failures are subnet count, security groups, or unhealthy targets.

az

Only one Availability Zone selected

Internet-facing ALBs need at least two AZs. Add another subnet before create succeeds.

health

ALB active but site fails

Check target group health, the app port on instances, and security group rules from the ALB to targets.

sg

Clients cannot reach port 80

The ALB security group must allow inbound HTTP from the internet (or your CIDR). Opening only instance SGs is not enough.

vpc

Target group in a different VPC

Listeners forward to target groups in the same VPC context the wizard expects. Keep ALB, subnets, and targets aligned.

dns

Cut over DNS too early

Test the raw ALB DNS name first. Flip Route 53 only when targets are healthy.

tls

HTTPS listener without a certificate

Port 443 needs an ACM (or imported) certificate in the same Region as the ALB.

Key Takeaways

  • Choose ALB for HTTP/HTTPS routing and host or path rules.
  • Listeners → target groups with passing health checks before real users.
  • ALB DNS name (or Route 53 alias) is the stable front door.
  • Add HTTPS next with ACM, then redirect HTTP if you want.

One line: create an internet-facing ALB across two AZs, forward HTTP:80 to a healthy target group, then alias DNS.

Frequently Asked Questions

You can start the create wizard without a target group in some flows, but you need a target group (or compatible target configuration) to attach a listener rule that forwards traffic to your backends. Prepare a target group with healthy targets first for the smoothest path.
A common default is TCP port 80 for HTTP. HTTPS listeners typically use port 443 with a TLS certificate from ACM or an imported certificate.
Create or update a Route 53 alias A and AAAA record (if using IPv6) that points to the load balancer DNS name. Clients then resolve your domain to the ALB, which forwards to registered targets according to listener rules.
You may be able to finish the wizard with a placeholder rule in some flows, but you need a target group (or valid target configuration) to forward meaningful traffic. Prepare targets and health checks early.
ALB is Layer 7 for HTTP/HTTPS. NLB is Layer 4 for extreme throughput, static IP per AZ, and TCP/UDP workloads. Choose based on protocol and performance needs.
An ALB helps distribute load and integrates with other AWS protections, but serious DDoS mitigation typically combines architecture choices, AWS Shield, WAF, and operational monitoring—not a single checkbox.

Next: target groups in depth

Register EC2 instances, interpret pending state, and see how listener rules attach before you publish DNS.

Target groups & ALB →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful