title: AWS - Accessing instances in private subnet using EIP
body: <p>I want to access a few instances in my private subnet using EIPs. Is there a way? I know it doesn't make much sense. But let me explain in detail.</p>
  
  <p>I have a VPC with 2 subnets. </p>
  
  <p>1) 192.168.0.0/24 (public subnet) has EIPs attached to it</p>
  
  <p>2) 192.168.1.0/24 (private subnet) </p>
  
  <p>There is a NAT instance between these to allow the private instances have outbound access to the internet. Everything works fine as mentioned here : <a href="http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Scenario2.html">http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Scenario2.html</a></p>
  
  <p>But now, for a temporary time I need to address the instances on the private subnet directly from the internet using a EIP. 
  Is this possible by setting up new route tables for that particular instance alone? or anything else?
  Here are the limitations :</p>
  
  <p>1) There can't be any downtime on any instances on the private subnet</p>
  
  <p>2) Hence it goes without saying, I can't create a new subnet and move these instances there.</p>
  
  <p>It should be as simple as -> Attach. Use . Remove. 
  The only other way I have right now is some kind of port fowarding on iptables from instances on the public subnet (which have EIP) to any instance on private subnet... But this looks messy .</p>
  
  <p>Any other way to do it ?</p>