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

Not able to connect to ec2 instance after associating elastic ip to it and adding proper security group

I have installed wordpress on my ubuntu16.04 LTS instance of ec2. I was able to connect to it via public DNS. But then I added the Elastic IP to the instance and tried to connect to the instance via my browser but it took a lot of time and the…
1
vote
3 answers

How to determine if an Elastic IP is attached

I need the ability to query AWS to validate whether or not an Elastic IP is attached to an instance. This must be done via the command line or via script. I have tried both Ansible and AWS CLI to try to obtain this information. Examples: aws ec2…
Steven K7FAQ
  • 277
  • 2
  • 3
  • 13
1
vote
1 answer

aws adding elastic IP

I need help with my AWS EC2 Instance. I had one public IP on it, and it worked great. But now I need a second public IP, and for that I activated a Elastic IP and assigned it to the Instance over the AWS dashboard. My server is a Ubuntu 16.04. But I…
1
vote
1 answer

Define what EC2 network interface responds as the public ip address

We have an existing EC2 Server 2008 instance in a VPC with an elastic IP associated to the eth0 network interface. We added an additional network interface, eth1, to the instance and this interface also has an elastic IP address that we are binding…
1
vote
1 answer

EC2: 2nd Network Interface releases public IP

I'm trying to add a second Network Interface to my EC2 instance to host a 3rd website on said instance (Linux, t2.micro). I only have type EC2-VPC available. From the EC2 Dashboard, I choose Actions -> Networking -> Attach Network Interface. It…
1
vote
1 answer

EC2 with elastic IP & Route53 DNS - Domain is resolving to incorrect public DNS

Newbie here, please let me know if I can add any more details or if I'm missing something entirely obvious. I got my site up and running on an EC2 and I was able to view it with the public DNS. I pointed my domain to the instance using this guide.…
1
vote
1 answer

Can't get any external traffic on EC2 instances second elastic IP

I have an EC2 instance running CoreOS 1068.9.0. This server is running a very simple Hello World HTTP server. > curl http://52.43.128.34/ Hello, world! I have an elastic IP assigned to a network interface on the same subnet. It has public IP…
iameli
  • 111
  • 3
1
vote
1 answer

Registrar NS records not pointing to Route 53

I'm having difficulty setting up Route 53 and my registrar settings. I've purchased the domain from InMotion Hosting. On the AWS side, I have my AMI set up with an Elastic IP. I successfully view the landing page (/var/www/html/index.html) when I…
1
vote
0 answers

NAT'ing public IP through AWS VPN

I have a hardware VPN tunnel configured through Amazon Web Services (AWS), to a subnet which contains private instances behind an Elastic Load Balancer. I would like to have instances at the other end of the tunnel be able to access my private…
Lemonseed
  • 121
  • 5
1
vote
0 answers

Trying to have a static IP with Elastic Beanstalk applications

My goal is to deploy a web application to Elastic Beanstalk and allow for a user to access that application from their corporate network. Their network controls access to sites using IP addresses and IP address ranges. I'm not aware of any way to…
1
vote
0 answers

Auto associate an elastic ip to a ec2 instance started by ecs task

There is a way to auto associate an elasticip to an ec2 instance that was started by an ecs task? I'm trying to create a mongodb cluster with replicaset (3 nodes) and I would like to "plug" a new ec2 instance to my cluster automatically when an ecs…
1
vote
1 answer

How to configure HAProxy on Amazon Linux AMI with SSL/TLS Passthrough

I'm trying to configure an Amazon Linux AMI instance that has an Elastic IP to act as Proxy to a standalone backend server. I'm trying to do HTTPS TCP Passthrough only but I can't get it to work! ANY HELP IS APPRECIATED! defaults mode tcp log…
1
vote
1 answer

Setting up Amazon elastic beanstalk to be accessible through fixed ip address(not CNAME)

I want to deploy my app to multi-container elastic beanstalk to be able to point my A-record to some fixed ip connected to it(somehow). I've read related questions(like this one) and understand that it can be achieved by: Tackling www redirects Not…
1
vote
1 answer

AWS Elastic IP Limitation

I am trying to figure out the best practices for hosting multiple domains within an AWS account. For example, lets say I have 20 domains to host. The Elastic IP limitation per account is 5. So I cannot assign an Elastic IP per domain if I want to…
gprime
  • 161
  • 1
  • 9
1
vote
1 answer

No public IP after stop/start Amzon EC2 intance

I have setup an AWS EC2 instance with a Elastic IP. Static IP and Elastic IP both works fine (shows default NGINX page). However when I STOP the instance and START back up, there is only a domain for public IP…