简体   繁体   中英

Security group rule between aws external ALB and privale Ip ec2 instance?

I have created external application load balancer in aws, i need to wirite security group rule to allow traffic from only one private subnet ec2-instance. any suggestions please ?

Private subnet

If a subnet's default traffic is routed to a NAT instance/gateway or completely lacks a default route, the subnet is known as a private subnet. For example, an instance launched in this subnet is not publicly accessible even if it has an Elastic IP address or a public IP address associated with it.

Open your VPC nat IP in ELB security group

在深入研究AWS文档之后,我找到了自己的答案,在这里我必须允许ELB的安全规则中的nat ip

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM