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
4
votes
1 answer

I have heard that using an Elastic IP is generally considered a poor architectural design. Why so ? Why isn't an Elastic IP a suggested approach?

I have heard that using an Elastic IP is generally considered a poor architectural design. Why so ? Why isn't an Elastic IP a suggested approach ?
4
votes
3 answers

How to choose Elastic IP when my aws lambda function execute

I want to select specific Elastic IP my own when my lambda function executed. my service has to respond to several situations, and by user's attributes. Could I write code in a lambda function, that can choose specific my own elastic IP? I had…
4
votes
1 answer

Failure associating EIP: InvalidParameterCombination: You must specify an allocation id when mapping an address to a VPC instance

Given this: resource "aws_instance" "example" { ami = "ami-2757f631" instance_type = "t2.micro" } resource "aws_eip" "ip" { instance = "${aws_instance.example.id}" } from…
Snowcrash
  • 80,579
  • 89
  • 266
  • 376
4
votes
0 answers

Is it possible to associate a specific elastic IP to an Elastic Beanstalk application?

My problem: Elastic beanstalk environments automatically gets a new elastic IP when created, and it's not possible to force the use of an existing elastic IP when creating a new environment. Even associating an existing beanstalk environment with a…
4
votes
0 answers

AWS - creating elastic beanstalk application without an EIP

I've spent the whole morning trying to create an elastic beanstalk application without associating it to an EIP. Amazon has a limit of 5 EIPs so I want to just create an instance and then do a CNAME record to the .elasticbeanstalk.com. However, this…
3
votes
1 answer

AWS ElasticIP to nginx ingress controller EKS?

I have a simple task, but it is not solved even after studying dozens of articles. There is a simple AWS EKS cluster created from a demo template using eksctl, ElasticIP and installed without changes…
3
votes
2 answers

associate custom Elastic IP to NAT Gateway with AWS CDK

After struggling with that for several hours, here is my question. I am using CDK to create a VPC in the most simple form currently: let vpc = new Vpc(this, "myVpc", {maxAzs: 1}); This gets me a public Subnet and a private one with the all the…
Logemann
  • 2,767
  • 33
  • 53
3
votes
0 answers

Too Many Requests for twitter using openvpn (aws ec2)?

I'm a bit puzzled by a strange situation. I'll add that the configuration of openvpn (using EC2 AWS instances) is rather postural according to official guides. I tried to give different ip by closing instances and running it. Besides that i have…
messuhesta
  • 43
  • 4
3
votes
1 answer

AWS network Load Balancer CloudFormation IP

In my CloudFormation template I created elastic IP and network load balancer. There is no problem during creating: Subnet1a: Type: AWS::EC2::Subnet Properties: VpcId: Ref: VPC AvailabilityZone: 'eu-west-1a' CidrBlock:…
3
votes
1 answer

Get Elastic IP from Allocation ID Parameter

I am creating a Cloudformation template that take as an input parameter the Allocation ID of and existing Elastic IP address. I have code that requires the actual IP address associated with the Allocation ID. How do I get the IP address using the…
user1951756
  • 471
  • 1
  • 8
  • 23
3
votes
3 answers

Assigning static IPs to auto scaled EC2 instance

We have a 3rd party integration which needs the EC2 instance IP to be whitelisted. The 3rd party whitelists the IP on their server and then only the EC2 instance can communicate with them. In the case of single instance this works. However when auto…
3
votes
1 answer

How to find the unallocated Elastic Ips in AWS EC2 using AWS CLI

I need to find all unallocated elasstic Ips using AWS CLI. I am trying aws ec2 describe-addresses --region eu-west-1 can see entries as follows { "PublicIp": "52.50.106.17", "Domain": "vpc", "AllocationId":…
Bhavik Joshi
  • 2,557
  • 6
  • 24
  • 48
3
votes
1 answer

Amazon, AWS - What is a remap and how to calculate the costs

i got the first report for my account activity. the costs for remapping the elastic ip are quite expensive in relation to the cpu hours. my instance is running from 8 to 21 from monday to friday and from 8 to 9 on saturday and sunday. the start…
user397634
  • 31
  • 1
  • 3
3
votes
1 answer

AWS public subnet vs Assigning elastic IP address to an instance of a VPC

What is difference between two terminologies, having a public subnet vs assigning elastic IP address to an instance of VPC over AWS ?
kartik
  • 2,097
  • 3
  • 21
  • 31
3
votes
2 answers

Is it possible to re-associate an elastic ip with an ec2 instance after reboot if the elastic ip is associated to another running ec2 instance?

We have a setup where 3 ec2 instances each are associated with an elastic ip on its primary network interface eth0 so incoming requests can be served by these instances. Each of these instances has a secondary network interface eth1 where in the…
Jude
  • 51
  • 6
1
2
3
14 15