大网数据广告活动
服务器运维问答

How to configure AWS load balancer to forward to external IP address

· 52CE 我爱测

I currently have multiple instances of the same web application running on different instances by different vendors (AWS, Digital Ocean, Vultr). Each application instance run on their own port numbers. I wish to configure AWS App…

问题原文

原帖链接 · Ah Lim · CC BY-SA 4.0

I currently have multiple instances of the same web application running on different instances by different vendors (AWS, Digital Ocean, Vultr). Each application instance run on their own port numbers.

I wish to configure AWS Applilcation/Network Load Balancer such that it will forward the requests to these endpoints:

Client -- HTTP Request --> Domain Name --> AWS Load Balancing Endpoint (IP Address?) --> Load Balancer rules --> Instances on AWS / Digital Ocean / Vultr.

Is there a way to do the above?

社区高分解答

原帖链接 · MLu · CC BY-SA 4.0

AWS Application Load Balancer’s Target Group can have either EC2 instance or IP address targets. In your case you need to use the IP address targets.

Here are the instructions: Application Load Balancing to IP Address

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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-12-18)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。