How do I configure and attach an internet gateway for use with Elastic Load Balancing?
First, create an internet gateway and attach it to your VPC.
Next, configure the internet gateway to route traffic to and from the internet:
- Add an entry to the route table for your subnet that points to your internet gateway.
- Confirm your VPC's security groups and network access control list (ACL) allow traffic to and from the internet. For example configurations for network ACLs, see Recommended Network ACL Rules for Your VPC.
- Confirm that any instances that route traffic through the internet gateway have a public IP address or an attached Elastic IP address.
- If you're creating a new Elastic Load Balancer, choose an Internet-facing load balancer.
Did this page help you? Yes | No
Back to the AWS Support Knowledge Center
Need help? Visit the AWS Support Center
Published: 2016-10-28
Updated: 2018-05-29