I have 3 subnets created in a Amazon VPC.
Database private: 10.60.1.0/24 Application private 10.60.2.0/24 Public 10.60.3.0/24
I would like to have limited internet access to a server in the application subnet, so I created a elastic network interface in the Public subnet, assigned it a public ip address and attached it to the server.
Now I am able to see the server from the internet, but I am not able to see the database from the server.
How do I configure the NICs and/or routing to allow the server to be seen on the internet but also allow that same server to see the database?