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
29
votes
3 answers

The ec2 instance can't access internet in a public subnet without a elastic ip address?

I working on aws. I created a public subnet which has a network ACL allows all net traffic, and associated with a internet gateway in the route table. And then I create a ec2 instance without elastic ip and a ec2 instance with elastic ip in it, and…
Angle Tom
  • 1,060
  • 1
  • 11
  • 29
28
votes
3 answers

How to resolve "The maximum number of addresses has been reached" for AWS VPC Elastic IP addresses?

I'm working with CDK/CloudFormation and recently started getting this error when attempting to create a new stack: The maximum number of addresses has been reached. Looking in the AWS Management Console, there is a limit of 40 VPC IP addresses and…
25
votes
3 answers

AWS Elastic IP Network vpc is not attached to any internet gateway

I have given a limited access to a AWS account. I already created an EC2 instance but when I try to associate an elastic ip, I got the error below: An error occurred while attempting to associate the address Network vpc-(security id) is not…
richersoon
  • 4,682
  • 13
  • 44
  • 74
19
votes
3 answers

AWS EIP Limit Increase

I understand that I get 5 EIP per region and if I need more I need to request service limit increase. My question is how many can I get after service limit increase? Is it possible to get 50 EIP? Please note that the DNS IP that AWS provides is not…
indichimp
  • 1,152
  • 2
  • 13
  • 22
14
votes
3 answers

Is there any way to turn a non-elastic IP into an elastic IP on aws?

I have done some research and don't think it is possible but figured I would ask on here just to be sure. My predecessor decided to use the public and private IP of one of our database servers in an extremely large amount of places, now that we are…
Kevin
  • 143
  • 1
  • 4
13
votes
2 answers

Elastic IP Address billing without any instance running

I am currently on my free tier. I followed the guide to hosting a wordpress website while remaining in the free tier. I started a Linux t2.micro instance and used one Elastic IP. Surprisingly I got this bill: It didn't even reach 730 Hrs for EC2…
user6473323
13
votes
2 answers

How can I select all elastic IPs that are not assigned to an EC2 instance?

I'm trying to get all Elastic IPs that are not currently assigned to instances. It's easy to get all of the Elastic IPs using this: aws ec2 describe-addresses From here, it would be easy to filter out any results that do not have an"AssociationId".…
joshft91
  • 1,755
  • 7
  • 38
  • 53
8
votes
3 answers

How do I attach an elastic IP upon creation of a network load balancer with Terraform?

I'm attempting to associate my elastic IP address to a newly created network balancer using Terraform. I see no option in the aws_lb documentation for adding an elastic IP like one is able to do in the AWS console. The difficulty is that you have to…
Steve
  • 149
  • 1
  • 11
7
votes
1 answer

How to assign an AWS Elastic IP to a newly created EC2 instance with Terraform without it getting reassigned when another instance is created?

I currently have the following Terraform plan: provider "aws" { region = var.region } resource "aws_instance" "ec2" { ami = var.ami instance_type = var.instanceType subnet_id = var.subnet security_groups =…
223seneca
  • 1,136
  • 3
  • 19
  • 47
7
votes
4 answers

AWS Elastic IP pointed to new instance does not work

I created an AMI of my server on AWS, and spun up a new instance. When I point my elastic IP address to my new instance and type in my domain name I get a timeout error when going to my website. I have done backups before and just re-pointed my…
7
votes
2 answers

Rebuild Elastic Beanstalk environment without losing ElasticIP

I created an Elastic Beanstalk environment with a VPC. Sometimes the environment will lock up on a code version deploy and have to be rebuilt. When this happens I lose my Elastic IP. I tried disassociating the EIP before the rebuild, but it is…
6
votes
1 answer

How to provide elastic ip to aws eks for external service with type loadbalancer?

I am using eks 1.16. I have one service which has type Loadbalancer with internet-facing. apiVersion: v1 kind: Service metadata: annotations: service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp …
NIrav Modi
  • 6,038
  • 8
  • 32
  • 47
5
votes
2 answers

AWS: Unused Elastic IP charges

I had 2 elastic IPs assigned to my account for use with 2 different instances. For some reason, I had to take down my instance(terminate) which unassigned the IP assigned to it and made it free on my account but not automatically released (as…
Fr0zenFyr
  • 1,899
  • 2
  • 28
  • 48
5
votes
3 answers

EC2 Instances will not keep elastic IP

So, I don't understand what is going on here... I have (3) Micro EC2 Instances which are launched (without elastic ip) I then go to Network Security->Elastic IPs and click associate IP address. I chose a running EC2 instance, that instance then uses…
CodeTalk
  • 3,571
  • 16
  • 57
  • 92
4
votes
2 answers

Not able to associate elastic ip address to my AWS ECS instance

I have created an AWS ECS instance in ca-central region. It works with the dynamic public ip which changes every time when I update the service. Everything is good so far. As I need a public static IP, I have created an elastic ip in the same region…
Raja SGS
  • 53
  • 5
1
2 3
14 15