Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 577
  • Last Modified:

Amazon Cloud - Setting static IP address

Has anyone worked with the Amazon cloud where you can set a static ip address in the Local Area Connection IP4 properties? I know how to set a static ip to an instance in Amazon, but the NIC card is still set to dynamic. I have an application that requires a set static IP address in the properties of the network connection.
1 Solution
David Johnson, CD, MVPOwnerCommented:
it will depend upon the operating system of the instance that you have hosted on amazon.  what type of o/s are you running?
A fully description on how to use static IP Addresses within the amazon cloud can be found on their blog:
You cannot have a static IP address in the traditional sense. An EC2 instance that will be modified to have a static NIC address will fail to restart. The EC2 static IP addressing is really a NAT configuration that let's you reserve an internet IP.

See if you can set up a loopback adapter and use the loopback address for your application. That's what we do to use AD or Oracle on windows in EC2.

LeviDailyAuthor Commented:
Good idea... I will try that Shalomc!

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Tackle projects and never again get stuck behind a technical roadblock.
Join Now