Reputation: 101
I have a requirement where I want to manage 3 instances in a VPC holding my applications having different functionality which are not public facing instances. At some point in time for managing the unnecessary instances usage, I would like to stop 2 of my instances and restart those instances when required.
Any help is apprecated.
Upvotes: 7
Views: 17762
Reputation: 19758
When launching a new instance you can manually define the private IP address you'd like to use.
To do this, on the 'Configure Instance Details' screen of the wizard, manually select a subnet to launch in, and then in the 'Network Interfaces' section that appears enter the private IP address you wish to use.
Reference link
Upvotes: 6
Reputation: 14049
You can assign multiple private IP-addresses within your EC2 instance. The first IP is always auto-assigned by AWS. The second IP, on the other hand, can be static and defined by your environment.
For a more complete explanation on how to enable such a setup, I recommend the AWS documentation in multiple IP addresses.
Upvotes: 9