Unsolved AWS routing question
-
Subnet 1 - Routes out to the Internet though Internet Gateway
Subnet 2 - Rotues to the internet through NAT on subnet1
Subnet 3 - Rotues to the internet through NAT on subnet1
Subnet 4 - Rotues to the internet through NAT on subnet1
Subnet 5 - Rotues to the internet through NAT on subnet1
Subnet 6 - Rotues to the internet through NAT on subnet1
Subnet 7 - Rotues to the internet through NAT on subnet1What I am trying to do is route a single server on Subnet 1 through the NAT as well. The route table is controlled at Subnet level. So If I change the subnet routeing rules to go through NAT it breaks.
-
I know nothing about AWS routing - can you setup two IPs on the Subnet 1 "router" interface. I know it's not a real router - it's all in software, but I don't know what else to call it.
-
@Dashrender said in AWS routing question:
I know nothing about AWS routing - can you setup two IPs on the Subnet 1 "router" interface. I know it's not a real router - it's all in software, but I don't know what else to call it.
Devices are not configurable. Both NAT and IGW have zero configurable options. You just create them in AWS
-
You need to setup the EC2 instance with a WAN Dynamic IP (Elastic IP address). Then just go through the Internet gateway and have the security group blocking incoming traffic over the Dynamic IP provided to the EC2 instance.