官术网_书友最值得收藏!

How it works...

Resources inside the subnet only understand the private IP (internal) assigned to them from the CIDR range of that subnet. The default VPC has an IG attached to it and the subnet's route is associated with the IG. The IG works as a Network Address Translation (NAT) for instances that have public IP/Elastic IP attached to them. When outside instances send requests to the AWS resources with a public IP/Elastic IP, the IG translates the address and sends the request to the internal IP of the resource. Similarly, when resources inside a subnet send requests to services outside the VPC, the reply address is set by the IG as public/Elastic IP of that resource. Thus, if a subnet route has an IG attached to it, the resources hosted inside it are accessible from the internet. This type of subnet is called a public subnet. All default subnets are public subnets. If no IG is attached to the subnet route, the resources hosted inside it can't be accessed from the internet and is hence called a private subnet.

主站蜘蛛池模板: 吴江市| 临江市| 水城县| 泗洪县| 双牌县| 崇左市| 丹江口市| 泸水县| 西峡县| 西丰县| 英吉沙县| 中方县| 吴桥县| 永善县| 舞钢市| 高淳县| 治多县| 南召县| 乌鲁木齐市| 平乡县| 永州市| 化隆| 武陟县| 新田县| 雅安市| 法库县| 高阳县| 济源市| 新巴尔虎右旗| 东乡| 外汇| 白城市| 胶州市| 徐闻县| 长寿区| 阜新| 虎林市| 奈曼旗| 龙口市| 崇礼县| 黄龙县|