Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
20 views

Implementing a Highly Available backend gateway for a cloud app on AWS

I have 2 EIPs allocated for a cloud app, which are used in round robin DNS. I'd like to have some sort of high availability mode for our 2 gateways (proxies) which are associated with those EIPs, so I ...
0
votes
1answer
47 views

How to get the Auto-assigned IP address from an Amazon Instance via aws-cli

As many of you know AWS have Auto-Assigned "Public" IP's and Elastic IP's for the instances, I can get the Elastic IP's via cli with the describe-addresses command: https://docs.aws.amazon.com/cli/...
0
votes
0answers
18 views

How to convert EC2 to ElasticBeanstalk and keep same elastic IP?

I have a service running on a manually created EC2 instance with an elastic IP. I would like to convert the EC2 to an elastic beanstalk deployment but keep the same IP address. I assume I can create ...
0
votes
1answer
32 views

Configuring domain name to point to AWS

I'm trying to get a website I have hosted on AWS working with my domain bitshift.in I have the following records: A Record: host=@ value=54.208.24.186 A Record: host=www value=54.208.24.186 ...
0
votes
1answer
52 views

Is it possible to share same AWS Elastic IP addresses between two and more VPC?

I have "VPC-A" with NAT and attached Elastic IP address. Couple of services are running inside under load and couldn't be easily moved. Also I have "VPC-B" with own NAT for subnet and, of course, ...
1
vote
2answers
44 views

how to verify AWS instance have static IP or Not

I have set up one AWS windows instance. As per my requirement, I need static IP. So I set up one elastic IP and assign those IP to Windows instance. My problem is I'm not able to verify that elastic ...
0
votes
0answers
46 views

Floating IP not working with shadowsocks-go

I am running shadowsocks-go, and it works perfectly fine with the droplet's own IPv4 address (e.g. 1.1.1.1). When I try to access the shadowsocks server using the floating IP address (e.g. 2.2.2.2), ...
1
vote
1answer
33 views

Migrate AWS EIP across VPC

I am creating a new VPC in our AWS account because the local CIDR has to change to support VPC cross region peering. I have public EIP's that I need to migrate over to the new VPC. Is it possible to ...
1
vote
0answers
39 views

AWS Elastic IPV6

I posted a question some time ago about an AWS Elastic ipv6 (AWS CLI Elastic IP, IPv6) Basically i need to be able to change the ipv6 from one instance to another like an elastic ip. (Instances in ...
1
vote
1answer
76 views

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 ...
3
votes
1answer
179 views

AWS CLI Elastic IP, IPv6

I have two AWS instances working in high availability. (I'm using keepalived) I have an Elastic IP associated, everything was a fine. I used this script so to change the instance IP in case o ...
0
votes
1answer
491 views

AWS - How to setup a static ip address for outgoing traffic

I have a number of EC2 instances in 3 availability zones. The application that I'm running on these instances are communicating with multiple third party applications that have a whitelist mechanism. ...
1
vote
3answers
93 views

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 ...
0
votes
1answer
246 views

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 ...
0
votes
1answer
371 views

How to use different Elastic IP address for outgoing traffic on the same EC2 instance?

I have an EC2 instance with multiple IPs assigned to it. I use IPs for different sites on the same server, it seems that EC2 instance uses the same IP for outgoing traffic. For instance when I use ...
1
vote
2answers
1k views

elastic ip addresses and cost

I always understood that you can have one ip for free, then you start paying for it. Also, it has to be associated. But i need another one for my mailserver, and after reading their documentation ...
1
vote
1answer
73 views

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 ...
0
votes
1answer
81 views

SSH connect breaks when elasticIP is assigned on AWS

When I try to connect to an ec2 instance with the route 53 service I bought the SSH connection disappears for no reason that I can determine. The web server created on it works, but the ssh no ...
0
votes
1answer
342 views

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 -...
0
votes
1answer
75 views

AWS: Can't access 2nd NIC through EC2 dashboard

I'm kind of fumbling through this, but I think I'm doing everything right. I have two Network Interfaces on my instance (t2.micro). One has two Elastic IPs. I'm trying to get a 3rd elastic IP on the ...
1
vote
1answer
856 views

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 ...
0
votes
2answers
798 views

ec2 instance connection timed out but can be pinged

I've seen many similar questions but none like this. So I started a ec2 instance and installed apache, wordpress etc on top. And i was able to access everything fine with the public ip provided to ...
0
votes
2answers
416 views

Amazon EC2 instance redirecting to old Public DNS after associating elastic ip

I have an EC2 instance and it was working just fine. Yesterday, I created a new Elastic Ip and associated it to this working instance. Now, if I type de Elastic ip address in my browser, it ...
0
votes
1answer
263 views

Assigning AWS Elastic IP (public) and running load balancing EC2 servers

I'm about to deploy an app where users can add their own domain name to their profile. I need to give a fixed IP address for them update their DNS servers using Elastic IP. I would also like to run ...
3
votes
1answer
857 views

Associate Elastic IP to Interface or Instance?

What advantages are there to pairing an Elastic IP (EIP) to an interface as opposed to the instance itself? I see the point of the network interfaces - you can associate and disassociate them from/to ...
0
votes
1answer
28 views

how can I move domains to an AWS ELB who are currently assigned to a static Elastic IP without changing DNS on their registrar

I have a large list of domains (which I do not control the domain registry for as they are clients). I would like to route their traffic through an AWS ELB and upgrade their infrastructure, however ...
6
votes
1answer
2k views

High availability Bastion host - Best practices, ELB, EIP?

I am currently trying to figure out a good configuration to make a Bastion host highly available. I want to meet the following targets: The bastion host(s) need to able to withstand a Availability ...
0
votes
1answer
463 views

Adding secondary IP to EC2

I've got two servers with two two EIPs and I've done a migration from one to the other and now want one of the EC2s to manage both EIPs till I upgrade it. I've followed the instructions to add it ...
1
vote
0answers
366 views

Keepalived with EC2 Elastic IP

I've tried once to use Keepalived with EC2 Elastic IP failover but default Keepalived configuration was unstable as IP address begin to flapping due to switchover delays and doesn't come back to ...
0
votes
1answer
78 views

Lost ability to ssh to ec2 instance after adding a second network interface with an EIP

I have an environment with a public and a private subnet. One of the servers in the private subnet requires both an Elastic IP address that resides on a network interface that is connected to the ...
0
votes
1answer
189 views

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 ...
3
votes
3answers
1k views

Why Can't I Associate Elastic IP with EC2 Instance?

I have a running EC2-classic instance, at t2-micro. It has the public IP that was associated with it when it started. Despite having RTFM three times[1] I can't figure out how to associate an ...
0
votes
1answer
559 views

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 ...
0
votes
1answer
37 views

ec2 run-instances and associate static IP address in one step?

Is it possible to launch an EC2 instance and associate an IP address in one step? Or does one need to manually do it after it's up?
0
votes
1answer
70 views

Static IP address EC2 network attach

I heard (perhaps wrongly) that using an Amazon Elastic IP "EIP" on a network interface and attaching that to an EC2 instance might be a quicker way of bringing up (or switching to) a new machine. ...
1
vote
0answers
398 views

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 ...
1
vote
0answers
472 views

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 ...
0
votes
0answers
263 views

IPsec with EC2 client and Elastic IP, but nat_traversal=no

After researching this quite a bit, I feel I may be asking the impossible here, but I thought I'd give it a shot. I'm trying to configure an Openswan IPsec client on an EC2 server (inside VPC, if it ...
0
votes
0answers
241 views

Change public IP address of EC2 instance to Elastic IP Address

I am running some web crawling jobs on an AWS hosted server. The crawler scrapes data from an eCommerce website but recently the crawler gets "timeout errors" from the website. The website might have ...
0
votes
0answers
265 views

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 ...
3
votes
1answer
285 views

AWS CLI Launch Instance Hostname & Elastic IP

Is it possible to do the following with AWS EC2? And if so what is the AWS CLI command for it? Launch an instance and bind an Elastic IP at the same time Change the hostname of an instance that is ...
1
vote
1answer
441 views

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 ...
2
votes
1answer
866 views

Connection refused error while accessing my server with AWS elastic IP [duplicate]

I have followed all these below mentioned steps Create an Elastic IP and point to the Amazon EC2 instance. Goto service Route 53, create a ‘A’ record and point to the Elastic IP. In Route 53, copy ...
0
votes
2answers
161 views

Is Elastic IP Assignment to another EC2 instant?

If I move an Elastic IP from one EC2 instance to another, does it happen instantly? I am asking this question, as I have a situation where I have a website hosted within Elastic Beanstalk without a ...
0
votes
1answer
74 views

Route 53 not able to map to EC2 using an Elastic IP

So I launched an EC2 instance with an Elastic IP attached to it. I am able to see my app online (HTTP) using the IP address (52.88.100.62). I bought a domain name (rishijavia.com) and was trying to ...
-1
votes
1answer
98 views

With cloud servers who don't offer reassignable public IP addresses, how can I instantly have a domain name switch to a different instance?

AWS offers Elastic IP Addresses, which are great for switching website domains to a new instance/stack without having to wait for DNS changes to propagate. Some cloud service providers (e.g., ...
1
vote
1answer
309 views

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 ...
2
votes
1answer
345 views

AWS Close Ports on Specific Elastic IP Addresses for EC2 Instance

I have a Windows Server in AWS EC2. I have opened ports 80 and 443 to 0.0.0.0/0, and RDP to a private IP address for VPN access. The instance has 4 total elastic IP addresses, each mapping to a ...
0
votes
1answer
74 views

Amazon AWS EC2 - Two IP´s for private and public access

I need a different IP for my database/ssh access to the public IP address my users know for a better security. For my understanding, it´s only possible to bind a single Elastic IP to one EC2 Instance,...
0
votes
2answers
880 views

AWS Multi ELB In One VPC

I am trying to figure out the best solution for my use case. Say I have 10 websites to host in my VPC. Each of these websites need to be behind an Elastic Load Balancer. From my understanding, each ...