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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
11 views

disassociate EIP and then convert to vps eip

I have an eip that I want to convert from scope EC2-classic to VPC. Can I disassociate, convert to VPC eip, and then just re-associate with the same ec2 instance? I'm not sure if I will be able to ...
user avatar
1 vote
3 answers
43 views

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 ...
user avatar
  • 11
0 votes
2 answers
86 views

How do i modify route tables in EC2 instance to send traffic via eth1?

I have an ec2 AmazonLinux2 instance. It has a primary nic on eth0. I went ahead and attached another eni (with an associated public ip) eth1. I would like to make sure that I can send traffic via the ...
user avatar
0 votes
1 answer
605 views

AWS ALB Shows Target Group unhealthy, even though port 80 is open to Internet

I've built an AWS ALB & Target group via Terraform and everything looks correct but the Target Group is reporting unhealthy for HTTP, HTTPS, and TCP. The instance is a t3.nano in us-east-2 and ...
user avatar
2 votes
1 answer
1k views

Cannot SSH to second network interface in Ubuntu 20.04 on EC2

I have a VPC 10.0.0.0/16 with an Internet gateway and two subnets 10.0.100.0/24 and 10.0.200.0/24 in the same availability zone. A single security group allows tcp/22 inbound from 0.0.0.0/0 and ...
user avatar
0 votes
1 answer
54 views

Do you need separate IP addresses for each nameserver for an EC2 webserver?

Do you need separate elastic IP addresses for each nameserver - say NS1, NS2 - for an EC2 webserver?
user avatar
  • 509
0 votes
1 answer
127 views

What latency is incurred by using an AWS Elastic IP?

I have an EC2 instance that runs an application which connects and listens to a third party WebSocket server (also deployed on AWS, using EC2 instances and Elastic Load Balancing to the best of my ...
user avatar
  • 27
0 votes
2 answers
347 views

Public IPv4 addressing behavior with AWS spot instances

I'm deploying a very resource intensive web scraper, to optimize costs I opted to use AWS Spot Instances knowing the default behavior of IP addresses when dealing with EC2 instances the 1st question ...
user avatar
0 votes
1 answer
189 views

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 ...
user avatar
  • 155
1 vote
1 answer
767 views

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 ...
user avatar
  • 103
0 votes
1 answer
158 views

AWS Elastic IP becomes detached after instance reboot

I have Elastic IP, I have EC2 instance. If I reboot the instance elastic IP becomes detached. How can I make it persistent?
user avatar
  • 135
1 vote
2 answers
3k views

can we apply SSL on an elastic IP on EC2 or should we assign a domain name to the instance before?

should we assign a domain name to our EC2 instance before loading an SSL certification, or we can apply an SSL directly to the elastic ip address we have? thank you
user avatar
  • 35
2 votes
1 answer
53 views

Trying to allocate elastic ip address leads to Not Found error

I have recently created a new AWS account for deploying some microservices my company uses on here. Our old account was destroyed. The issue is some old component uses a elastic IP that resolved to a ...
user avatar
1 vote
2 answers
220 views

AWS bring your own IP

I am a newbie to AWS. I understand there is a feature to move our own IP addresses onto AWS. So, any existing IP based restrictions don't have to change. I have a need for a new service to be deployed ...
user avatar
0 votes
0 answers
60 views

Aws EC2 and Route 53 connection

I'm trying to connect domain (bought with Amazon r53) and EC2 instance. So far I have got elastic IP and attached to the instance added that elastic IP to r53 traffic record (A, TTL 300, simple ...
user avatar
  • 1
2 votes
1 answer
2k views

Is the Static IP in Lightsail same as Elastic IP?

What is the difference between Static IP in Lightsail, and an Elastic IP if any? I am trying to request a reverse DNS entry with AWS for my mail server. I did not have a Lightsail Static IP and the ...
user avatar
  • 121
-1 votes
1 answer
55 views

My AWS EC2 VM is not receiving HTTP from an external browser to the elastic IP of my EC2 instance

Problem Can't browse my web app on my new AWS EC2 VM. Wireshark on VM, shows a little HTTP activity, but nothing when I browse my URL or its elastic IP from an external browser (at my home office). ...
user avatar
  • 236
7 votes
2 answers
7k views

Can I transfer the elastic IP one region to another region in AWS

I have elastic IP in North Virginia region, I want transfer the same elastic IP to another region is it possible ?
user avatar
  • 201
8 votes
2 answers
14k views

How can I use a static IP address with an Application Load Balancer in a highly available manner?

I'm overseeing an integration for a customer and their vendor needs a number of IP Addresses to whitelist. The originating server(s) is an Elastic Beanstalk Instance fronted by an Application Load ...
user avatar
  • 195
2 votes
1 answer
1k views

Limit public access to AWS ECS Fargate Service

I have a service on AWS ECS deployed using Fargate. This service uses a Network Load Balancer (NLB) to allow an Elastic IP to be associated with the service. This is not an http service and is using ...
user avatar
7 votes
3 answers
5k views

AWS Security Group - how to allow Public IP from another Security Group

I have two instances in a VPC distinct security groups, each with their own public IP. I would like instance one to be able to connect to instance two on it's Public IP. I discovered that granting ...
user avatar
1 vote
2 answers
212 views

Releasing Elastic IP on EC2 had Cloudfront stop working

I had reached the limit of Elastic IP allocations in my AWS account. I have an Elastic Beanstalk app that is being served over Cloudfront. I thought since the app's CNAME was mapped to Cloudfront's ...
user avatar
  • 131
2 votes
1 answer
69 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 ...
user avatar
0 votes
1 answer
901 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/...
user avatar
1 vote
1 answer
67 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 ...
user avatar
  • 111
0 votes
1 answer
294 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, ...
user avatar
  • 113
1 vote
2 answers
50 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 ...
user avatar
1 vote
1 answer
919 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 ...
user avatar
  • 4,876
2 votes
0 answers
205 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 11
3 votes
1 answer
2k 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 ...
user avatar
0 votes
1 answer
3k views

How to setup a static ip address for outgoing traffic in AWS?

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. ...
user avatar
  • 123
1 vote
3 answers
822 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 ...
user avatar
0 votes
1 answer
866 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
2 votes
2 answers
2k 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 ...
user avatar
  • 129
1 vote
1 answer
164 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 ...
user avatar
0 votes
1 answer
291 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 ...
user avatar
1 vote
1 answer
849 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 -...
user avatar
0 votes
1 answer
95 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
0 votes
2 answers
3k views

ec2 instance connection timed out but can be pinged

I've seen many similar questions but none like this. So I started an ec2 instance and installed apache, Wordpress, etc on top. And I was able to access everything fine with the public IP provided to ...
user avatar
1 vote
2 answers
2k 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 ...
user avatar
  • 229
0 votes
1 answer
353 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 ...
user avatar
5 votes
1 answer
2k 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 ...
user avatar
  • 163
0 votes
1 answer
36 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 ...
user avatar
6 votes
1 answer
5k 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 ...
user avatar
  • 1,860
0 votes
1 answer
698 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 ...
user avatar
  • 181
2 votes
0 answers
621 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 ...
user avatar
0 votes
1 answer
332 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 ...
user avatar