CodePudding user response:
EC2's subnet in the routing table entries with Internet gateway or NAT gateway, if it is Internet gateway must allocate the network address, NAT gateway without external web address, but there will be an additional cost of stray,