Questions tagged [amazon-elastic-ip]

AWS Elastic IP addresses (EIP) allow the assignment of public static IPv4 addresses to resources, generally EC2 instances. An EIP can be remapped quickly, which allows the user to mask the failure of instances or software.

An Elastic IP Address (EIP) is a public static IPv4 address, which is reachable from the Internet. You can associate an Elastic IP address with your EC2 instance to enable communication with the Internet; for example, to connect to your instance from your local computer.

Elastic IPs provide resource mobility within a single VPC within a single AWS region, assisting with architecting fault tolerant applications. An unallocated EIP incurs charges.

Questions specifically dealing with AWS' Elastic IP should use this tag.

150 questions
1
vote
1 answer

"aws ec2 associate-address" not working when used in UserData in conjunction with Auto Scaling Group

I'm trying to use AWS CloudFormation to create a NAT instance via an AutoScalingGroup, and I'm running into a problem when trying to associate an EIP during instance creation via LaunchConfiguration using UserData. Below is my UserData (snipped and…
1
vote
3 answers

Elastic IP + EC2 newb: trying to access my server publicy

I have created an elastic ip and associated it to my server. The ip is: 54.201.18.251 If I try and ping this IP I get: PING 54.201.18.251 (54.201.18.251): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout…
azz0r
  • 149
  • 3
  • 12
1
vote
0 answers

setting haproxy servers to use AWS public name server

I'm trying to configure haproxy to cluster a couple of mysql servers (galera cluster), but it seems that haproxy does not accept dns name in the server directive. e.g. config listen mysql 127.0.0.1:3306 timeout connect 10000 option…
Yoav Aner
  • 561
  • 2
  • 6
  • 13
1
vote
1 answer

Multiple outgoing ip on one amazon ec2 instance

Can i have multiple public outgoing ip on an amazon aws Instance? I have one instance with two network interfaces and two elastic ip each one, so i can ssh to my server using both publics ips. That's enough to get multiple public outgoing ip?
Luis Martin
  • 11
  • 1
  • 2
1
vote
1 answer

Failed to bring up eth1:1 when using secondary private IP on secondary network interface on VPC instance

I have created a VPC ec2 instance (t1.micro), in which I have two network interfaces, the primary eth0 and additional eth1. I was able to bring up the eth1 by editing the /etc/network/inteface auto eth1 iface eth1 inet dhcp However, when I enable…
Howard
  • 2,135
  • 13
  • 48
  • 72
1
vote
1 answer

Using Route 53, how to point a domain without www to an ELB?

I can already CNAME the www to my ELB DNS, but how would I route the non www as well?
Shamoon
  • 911
  • 4
  • 14
  • 22
1
vote
2 answers

How do I persist a hostname or IP to my Amazon EC2 Instance?

Suppose I spin up a machine in EC2. Every time I stop/start the machine the following things change (reboots are safe--they don't cause these to change): public IP address public DNS record private IP address private DNS record removes associated…
1
vote
0 answers

VPC private ip address unable to communicate to the network interface which has an elastic ip assigned

I'm not sure if this is how VPC EC2 private addresses are supposed to work. I have two instances in VPC each are allowed to talk to each other (security group), and each instance has two network interfaces. One out of the Two instances have Elastic…
Joe Block
  • 121
  • 1
  • 8
1
vote
1 answer

EC2 Multiple website on one instance, load balance

I have a question. My instance is currently using LAMP STACK by Bitnami, the first site is LAMP, the second is Magneto STACK by bitnami, My focus is on Magneto Stack. I was thinking of having the instance to run on Magneto Stack by bitnami and host…
1
vote
1 answer

Amazon EC2 Ubuntu instance and getting the Elastic IPs auto, once turned on

Every time I reboot my Ubuntu based EC2 instances, they do not automatically get the IP so I have to associate them manually from the admin panel. Each instance should have a single IP assigned. Is there any way to make this auto?
user117298
  • 55
  • 3
1
vote
2 answers

Move Elastip IP from one account to another account

Assume, I am having 2 accounts say Account A and B. Currently I am having a elastic IP in account A and assign it into a instance. Now I want to move the particular elastic IP from Account A to B. ie, release the particular elastic IP from Account…
rahul
  • 13
  • 1
  • 4
1
vote
0 answers

AWS Ec2 instance (ubuntu) instance not showing elastic ip address

I have allocated an elastic IP address to an AWS Ec2 (ubuntu) instance. But when i am running the 'ip address show' command, it only displayes the public IPV4 address, not showing the Associated elastic IP. How can i see the EIP in the command line?
Alakananda S
  • 111
  • 3
1
vote
3 answers

I want to create multiple publicly accesible applications on AWS but I have limited Elastic IPs. Is there a better solution?

I have multiple web application servers running on different Amazon EC2 instances. At the moment, I am able to access those servers on client devices by assigning an Elastic IP to the EC2 instances and then calling the APIs using either the Elastic…
1
vote
1 answer

Is it possible to create an Elastic IP address from the current IPv4 address of my ec2 instance?

I currently have an ec2 "t2.nano" instance up and running. I would like to switch to a "t2.micro". In order to do that, I need to stop the instance. But I would lose my IPv4 address in the process. And I do not want that (because I have several ssh…
vvvvv
  • 174
  • 10
1
vote
1 answer

cannot find device "eth0" when trying to add secondary ip to AWS EC2

I have followed a youtube video on creating an ec2 and then adding two elastic ip addresses to the instance. However when I ssh into the ubuntu server to add the new secondary ip I get an error that says cannot find device "eth0" when I run the…
Jayreis
  • 145
  • 15