Application Load Balancer : external IP outside VPC ?

0

I need an Application Load Balancer to forward trafic to an external web server hosted outside AWS, outside VPC. Is it possible ? What is the best strategy ?

  • Could you explain a little more about what you're trying to achieve here? Short answer is "no" but there may be other alternatives (CloudFront for example).

1 Answer
0

Hi

I understand that you would like to use AWS load balancer with servers hosted in another providers, The answer is Yes, Here are the steps:

Application Load Balancing via IP Address

  1. You can use AWS ALB to route the traffic to the Web Server by IP address of servers IP addresses
  • Supports load balancing to VPC and on-premises resources.
  • Facilitates routing to multiple IP addresses and network interfaces on the same instance.
  • Offers flexibility with microservice based architectures, simplifying inter-application communication.
  • Supports IPv6 targets, enabling end-to-end IPv6 communication, and IPv4-to-IPv6 NAT.
  1. These addresses can be in the same VPC as the ALB, a peer VPC in the same region, on an EC2 instance connected to a VPC by way of ClassicLink, or on on-premises resources at the other end of a VPN connection or AWS Direct Connect connection.

Documentation link : https://aws.amazon.com/blogs/aws/new-application-load-balancing-via-ip-address-to-aws-on-premises-resources/

How to proceed ?

  • Create Target Grouo for the Load balancer [ALB]
  • Select target type is** IP addresses type**
  • Select your VPC in the dropdown
  • in the next step you need add the IP adress of your web server [Private IP] that must meet the IP ranges in the VPC, for this you can use site to site connection or Direct connect from the location of servers to AWS VPC
profile picture
GK
answered 2 years ago
  • I don't think this is correct. If you read the article linked above the target IP addresses must be in the (various) private IP address ranges, not public IP addresses. You can't configure a load balancer to send traffic to a public IP address.

  • You are right did i write public Ip, " you need add the IP adress of your web server [Private IP] that must meet the IP ranges in the VPC, for this you can use site to site connection or Direct connect from the location of servers to AWS VPC"Can you please look into the answer and let me know, Where i answered PUBLIC IP address ?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions