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
-1 votes
2 answers
80 views

Make the changing of IP not disconnect Remote Desktop

I have an EC2 on AWS with Windows server. I would like to be able to change its IP very often. At the moment, I create several Elastic IPs and am able to associate one by one to the instance. I got a ...
6 votes
2 answers
6k 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 ...
1 vote
0 answers
104 views

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

How do I attach an Elastic IP to an Elastic Beanstalk app?

I can give a single instance an Elastic IP. No problem. But I have an Elastic Beanstalk app. It can create and remove instances as needed. It has a load balancer. How can I get these features (...
1 vote
0 answers
2k 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
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 ...
0 votes
1 answer
553 views

How could I use single elastic IP for multiple instances (AWS)?

What would be best way to achieve such thing: I have limited amount of elastic ips, and I have bunch on EC2 instances to launch small apps. I have an idea to have load-balancer or an EC2 instance that ...
3 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 ...
0 votes
1 answer
94 views

Move an Elastic IP from a VPC to Classic EC2

I know it is possible to "Move to VPC Scope", but is it also possible to move back from VPC to Classic EC2?
0 votes
0 answers
241 views

Assign elastic ip address to ec2 fleet instances

I am creating multiple EC2 instances using EC2 Fleet service in cloudformation, I want to assign elastic IP addresses to newly created instances from EC2 Fleet, below is my template, can anyone help ...
0 votes
1 answer
31 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 ...
2 votes
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 ...
1 vote
2 answers
3k views

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, ...
1 vote
3 answers
116 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 ...
0 votes
2 answers
2k 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 ...
0 votes
1 answer
2k 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 ...
7 votes
2 answers
3k views

Possible to limit an EC2 key to just ec2-associate-address?

I have a regular EC2 instance with an elastic IP. The few times the instance has been stopped, I've just manually re-associated the IP with it via the AWS Management console. I'm now thinking about ...
2 votes
1 answer
3k 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 ...
11 votes
2 answers
22k views

Assign multiple Elastic IPs to EC2 instance

When I try and associate a second Elastic IP to a small EC2 instance the currently assigned Elastic IP is disassociated. Do I need to use a VPC?
0 votes
2 answers
7k views

Is it not possible to use keepalived in EC2

The problem is two of my EC2 instances (ha proxy) need to bind a single virtual IP if I want to use keepalived, but they are not possible in EC2 as only a single instance can use a elastic IP at a ...
0 votes
1 answer
83 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?
0 votes
1 answer
315 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 ...
0 votes
2 answers
1k 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 ...
1 vote
1 answer
1k 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 ...
1 vote
1 answer
2k 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 ...
0 votes
1 answer
571 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?
2 votes
2 answers
6k 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
2 votes
1 answer
291 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 ...
8 votes
2 answers
16k 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 ...
0 votes
2 answers
920 views

Ping Elastic IP Address from Inside Server Fails

I have an EC2 server set up inside a VPC on Amazon. The server is reachable from the outside via its elastic ip address; however, when I attempt to ping that ip from inside the remote desktop session,...
1 vote
2 answers
314 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 ...
3 votes
2 answers
494 views

Security group for a changing aws instance via external ip address

PLEASE NOTE: port 22 is just an example port there will be instances when it is not port 22 I am trying to deal with. Security Groups "server-1" has a security group "group-1" "server-2" has a ...
0 votes
0 answers
206 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 ...
7 votes
4 answers
6k views

Elastic IP vs EC2 Public Hostname + Route53

We are evaluating to use Elastic IP on all of our ec2 instances, and we compare to the use of public EC2 hostname and Route53 (with a very short TTL to the public EC2 hostname & dynamic update DNS ...
0 votes
1 answer
4k 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. ...
1 vote
1 answer
4k views

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'...
14 votes
3 answers
8k views

AWS - Assign an Elastic IP to a ELB

Is it possible to assign an Elastic IP to a Load Balancer?
7 votes
1 answer
3k 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 ...
10 votes
2 answers
9k 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 ?
-1 votes
1 answer
114 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). ...
2 votes
1 answer
2k 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 ...
7 votes
3 answers
8k 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 ...
2 votes
1 answer
81 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 ...
1 vote
2 answers
277 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 ...
0 votes
1 answer
2k 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/...
1 vote
1 answer
139 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 ...
5 votes
3 answers
5k 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
1 answer
632 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
2 answers
149 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 ...
1 vote
1 answer
1k 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 ...