Questions tagged [elastic-ip]

An Elastic IP address (EIP) is a static IP address designed for dynamic cloud computing.

According to Amazon, "with an EIP, you can mask the failure of an instance by rapidly remapping the address to another instance. Your EIP is associated with your AWS account, not a particular instance, and it remains associated with your account until you choose to explicitly release it."

For more information see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html

213 questions
1
vote
4 answers

amazon: assign elastic ip in VPC automatically

I have a VPC. Now I have a script which creates ec2-instances and configures them. The configuration is dependent of the public IP during the installation. The problem is that the configuration is wrong for my instance after rebooting it. Because…
lova
  • 679
  • 4
  • 8
  • 19
1
vote
2 answers

Do you need an Elastic IP to ssh to your instance

I try to set up an ec2-instance using Ansible. But it fails when I try to ssh for it. The security group is containing port 22. We reached our maximum of elastisch IP's at the moment. So I want to know if there's something wrong with my script or…
lova
  • 679
  • 4
  • 8
  • 19
1
vote
2 answers

making sure that EIP is not reused across VPCs

Given: One (ore more) elastic IPs that we want to reuse. (the ip pool) A CloudFormation template with a machine that has an elastic ip associated to it. (via AWS::EC2::EIPAssociation) Bringing up / tearing down multiple CloudFormation stacks that…
Mircea
  • 10,216
  • 2
  • 30
  • 46
1
vote
1 answer

Google Domains With Amazon's EC2

I am hosting my website on Amazon's EC2 with an elastic IP address. My domain is purchased through Google Domains. When I go to www.example.com, the website loads. If I go to example.com, it doesn't load. Is there a way to change my configuration…
jape
  • 2,861
  • 2
  • 26
  • 58
1
vote
1 answer

list free elastic ips from AWS

I have a requirement where i need to filter out the free elastic ip addresses from AWS account that is, list only those which are not bound to any instance. There are several filters i have seen here :…
priyank
  • 857
  • 2
  • 18
  • 35
1
vote
3 answers

Transferring an IP From One Server to Another in AWS EC2 - Elastic IP

I have a server that is up and running with an auto-assigned public IP address. This IP address was not created with Elastic IP. Is there anyway to transfer this IP address onto a new instance in my account?
Lloyd Banks
  • 35,740
  • 58
  • 156
  • 248
1
vote
2 answers

AWS EC2 / Route 53 reverse DNS lookup

I have the following setup in EC2: A server which has an Elastic IP assigned to it and a DNS name entry in Route 53 pointing to that Elastic IP. Is it possible to retrieve the DNS name configured in Route 53 from the server that has the Elastic IP…
Rip-Off
  • 358
  • 1
  • 4
  • 14
1
vote
1 answer

haproxy and keepalived on ec2

I read about using haproxy and keepalived to avoid spof for haproxy. Is it possible to do this in ec2? Say I have 2 instances. Each with haproxy and keepalived installed. The VIP shall be aws elastic IP.
twb
  • 1,248
  • 4
  • 18
  • 31
0
votes
0 answers

Getting errors while trying to find unnassociated EIPs with terraform data source for aws_eips

I am using a terraform data source for aws_eip target the usage of specific EIPs in my account that are currently unused. I have some other filters, e.g to get ones from a specific range and ones that have a specific tag - these are all working…
0
votes
1 answer

AWS - Cannot release Elastic IP address

I am trying to release Elastic IP addresses from my AWS account. I do not have any EC2 instances running. When I select the EIP rows from the table in the console and click "Release Elastic IP address," I get the following error message: The…
okaybythesea
  • 231
  • 1
  • 2
  • 3
0
votes
0 answers

Inconsistent IP Addresses in AWS Wavelength: Discrepancy between Elastic IP and Server IP

I have recently encountered a puzzling observation while working with AWS Wavelength, specifically in nodes located in both Toronto and Tokyo. It appears that there is a discrepancy between the public IP address assigned to the Wavelength instance…
0
votes
1 answer

AWS NAT not using the assigned Elastic IP

I'm getting some unexpected behaviour when connecting to MongoDB Atlas through docker (ECS Fargate) and a NAT Gateway. I have three gateways with assigned Elastic IPs. Those IPs are whitelisted at MongoDB Atlas and there are not troubles with the…
Patrik Bäckström
  • 117
  • 1
  • 1
  • 6
0
votes
1 answer

AWS change primary public IPv4 for an NAT Gateway

I'm having an private subnet and a NAT gateway connected to it. The NAT gateway has its own primary public IPv4 assigned by default while creating. I have an EC2 inside the private subnet which is trying to connect to an 3rd party service provider…
S A R
  • 146
  • 3
  • 20
0
votes
1 answer

How to ensure that AWS Elastic IPs remain the same after deploying a CDK Stack containing a VPC?

I am deploying a CDK Stack that includes a VPC with static Elastic IPs in AWS. I want to ensure that the IPs remain the same even if I redeploy the whole Stack containing the VPC, as I need to avoid having users update their API keys with the new…
0
votes
1 answer

Retrieve a list of non associated (free) Elastic IPs that have already been allocated through terraform

I want to use the aws_eip terraform data source to retrieve a list of the Elastic IPs already allocated in my account; I want those that are free, i.e. they have not been associated with any resource. Here is what I did: data "aws_eip"…
pkaramol
  • 16,451
  • 43
  • 149
  • 324