Questions tagged [elastic-ip]

An Elastic IP address (EIP) is a static IP address designed for dynamic cloud computing.

According to Amazon, "with an EIP, you can mask the failure of an instance by rapidly remapping the address to another instance. Your EIP is associated with your AWS account, not a particular instance, and it remains associated with your account until you choose to explicitly release it."

For more information see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html

213 questions
0
votes
1 answer

Ansible aws_eip: 'unsupported parameter for module: device_id'

I'm trying to assign an EIP to an ec2 instance using the guide for the aws_eip module. However for some reason the aws_eip module has some issue with device_id. I am using ansible 1.9.4: TASK: [associate an elastic IP with an instance]…
Alex Cohen
  • 5,596
  • 16
  • 54
  • 104
0
votes
0 answers

how to prevent disassociated elastic ip from getting automatically reassigned to the same instance

I'm working on 2 single instance EB apps (app1, app2 with ec2_1, ec2_2 instances) that have elastic ips associated with them (EIP_1, EIP_2). They are built on a non-default VPC with one network interface each. I'm trying to associate the EIP of…
0
votes
2 answers

Aws cli private ip to public ip mapping

I have an Amazon instance. This instance has two interfaces. Each interface has two elastic ips. So, in total, this instance has 4 elastic ips. I would like to know how I can get the associated private ip given a public ip or the assoicate public ip…
mayk93
  • 1,489
  • 3
  • 17
  • 31
0
votes
1 answer

Why is blended cost of unused elastic ips greater than its unblended cost in aws?

I understand that blended cost is the least cost that is payable by a root account in aws. But I have found that blended cost of unused elastic ips and that of metric monitoring is greater than unblended cost. Can anyone explain why is it so. Thank…
Pavan Kishore
  • 91
  • 2
  • 9
0
votes
0 answers

AWS EC2 Instance Public DNS without Elastic IP

Is there a way I can get Public DNS with assigning a Elastic IP in AWS EC2 Instance. I tried enabling DNS Hostname for assigned VPC, but no success.
0
votes
2 answers

AWS EC2 Data Transfer Costs

I'm new to AWS EC2 and I'm conduction some experiments for my Thesis. I want to predict the costs based on simulations and in order to verify my results I set up the following scenario with three EC2 instances and one Load Test Driver: I let the…
tzwickl
  • 1,341
  • 2
  • 15
  • 31
0
votes
1 answer

Find list of Elastic IPs from running Amazon Instance

I have a amazon instance, that has several elastic ips assigned to it. Looking at this answer, I have found a way to get one of the elastic ips of the instance, the one I use to ssh into it. However, I would like to know if there is a way to get all…
RandomGuyqwert
  • 425
  • 6
  • 18
0
votes
1 answer

Connecting EC2 instance based on nearest region

I am running two instances one in Singapore and one in Oregon. How do I make my app to connect the nearest running instance based on the region? And is there a way if I can provide only one IP which will target to both the instances and choose…
user1169079
  • 3,053
  • 5
  • 42
  • 71
0
votes
2 answers

Multiple EC2 instances with Elastic IPs

I currently have one EC2 instance running with an Elastic IP. In my DNS settings, I have an A record pointing to the Elastic IP. If I wanted to add a second instance, how would I go about doing that? I know how to launch them, and get the data…
jape
  • 2,861
  • 2
  • 26
  • 58
0
votes
1 answer

Elastic ip address is not assigning automatically on AWS

I followed this blog to automate elastic Ip address on AWS. [http://www.idevelopment.info/data/AWS/AWS_Tips/AWS_Management/AWS_14.shtml#About%20the%20Author][1] I completed all the steps.But the Ip address is not assigning automatically.Any help…
prem
  • 572
  • 2
  • 7
  • 26
0
votes
1 answer

OpsWorks + EC2 getting whitelistable IP address

I'm trying to determine how I can get a block range or static IP address out of my server stack. I'm using OpsWorks and EC2 and I have a main API server and a bunch of clustered workers. I'll have to white label the whole stack and all the IP…
ddibiase
  • 1,412
  • 1
  • 20
  • 44
0
votes
2 answers

Multiple Public IP Addresses on AWS EC2 (VPC)

Thanks to everyone in advance - I have an ec2 instance with the following network config: eth0 - internal-ipaddressA eth1 - internal-ipaddressB public-elastic-ipddressA associated with internal-ipaddressA public-elastic-ipddressB associated with…
0
votes
2 answers

EC2 how to swap your elastic IP

I have two instances. They are going to run the same app, but one is set up with a slightly different configuration. Right now I can go to their assigned elasticip and see that my site works on both. Th eonly other difference is that one is a micro…
Chase Roberts
  • 9,082
  • 13
  • 73
  • 131
0
votes
1 answer

Elastic IP needed to be "re-associated" after stop/start

I had an issues with my AWS EC2 instance today. It was hanging with cpu at 100%...not sure why, but that's for another post. I stopped the instance, and restarted it. After that, I couldn't get to my website. The Public DNS changed (I think this…
Jason
  • 1,787
  • 4
  • 29
  • 46
0
votes
1 answer

Cannot RDP in EC2 Windows instance after associating Elastic IP

I am having the following issue. I have an Amazon EC2 Windows instance running just fine. I can RDP into it, no problem. I have just created an Elastic IP and associated to the instance and now I cannot RDP anymore via the Elastic IP. I did update…