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
- 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.
- 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
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 ?
Relevant questions
Application Load Balancer : external IP outside VPC ?
asked a month agoAWS Load Balancer Controller deployment to force creation of application Load Balancer?
asked 3 months agoCannot select a target group with alb target type when creating an application load balancer
Accepted Answerasked a month agoApplication Load Balancer throws 503 in a post request
asked 9 days agoWhat is the main differences between an load balancer and a autoscaling group
asked 8 days agoElastic Load Balancer to provide source IP address when not defined as HTTP LB.
asked 4 months agoIs it possible to assign an existing Network Load Balancer to an AWS EKS resource via annotations?
Accepted Answerasked 2 years agoApplication Load Balancer for EC2 instance with Elastic IP
asked 6 months agoApplication load balancer blocks websocket connections?
asked a month agoPrivate IP requirements in VPC for Application Load Balancer
Accepted Answerasked 2 years ago
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).