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
0
votes
0 answers

EC2 Public IPv4 became unreachable after adding EIP

I've had a website running on an EC2 instance for a while now but it didn't have an Elastic IP so every time I had to reboot the server I had to change the Route53 records as well. After adding an EIP recently, the public IPv4 address has become…
Ulthran
  • 288
  • 2
  • 14
0
votes
0 answers

How to allocate Elastic IP to ALB in AWS?

I am new to AWS and web development in general. I have React JS and Spring Boot website and am trying to attach Elastic IPs to my application load balancers using terraform. I am unable to figure out as how to get an elastic IP and then attach it to…
0
votes
0 answers

AWS spot instances remove elastic ip address association when terminated

I am new to ecs , I am able to run a cluster on spot instance and I can assign the Elastic ip address to this instance. The problem is when the spot instance is terminated, it looses this association and my application goes down. How can i auto…
njwin07
  • 103
  • 2
  • 14
0
votes
2 answers

Assigning an AWS Elastic IP to an EC2 Instance in Lambda

Is there a way to assign an elastic ip to a ec2 instance that was just made using cloud formation scripts in amazon aws? I'm not able to find any simple examples of how to "get an elastic ip" by it's tag, or any api references about whether or not…
Ryan Glenn
  • 1,325
  • 4
  • 17
  • 30
0
votes
0 answers

Running spot Instance automatically replaces, even when it was not configured

I was recently using a spot instance for testing my Node application. We were using it's Public IPv4 DNS to communicate with the node server running on it. However, I recently noticed I was not able to access it anymore because it's IPv4 and DNS had…
0
votes
0 answers

Cloudformation : Associate PublicIP to EC2 instance among multiple network interfaces with EIPs

My Setup : Three Network Interfaces Two EIPs attached to two network interfaces Associating both the EIP to the instance using network interface I am using cloudformation and code snippet for this is below vSRXEip11: Type: 'AWS::EC2::EIP' …
SRJ
  • 2,092
  • 3
  • 17
  • 36
0
votes
1 answer

PowerShell Script to add EIP to instance via User Data

I am fairly new to PowerShell! What I am trying to do: We have an auto-scaling group connecting to a 3rd party and they are only capable of IP whitelisting (I've suggested domain whitelisting to them), as such this is problem to auto-scaling…
shmoo
  • 119
  • 2
  • 6
0
votes
2 answers

How to assign multiple AWS Elastic IPs to a newly created EC2 instance with Terraform?

Using terraform, I need to add 3 elastic IPs to a single new EC2 instance. The terraform yml will be creating the instance as well as the EIPs. I have tried to do this as follows: resource "aws_eip" "server_dev1_eip1" { count =…
Alex
  • 35
  • 1
  • 5
0
votes
1 answer

Region eu-west-2 not available for aws module boto.ec2 latest

I'm running boto with python3 and I'm running an ansible playbook to setup some ec2 instances. Everything is fine, creating instances, security groups, key pairs, everything in eu-west-2. When the task for Elastic IPs runs it fails with this…
rwms
  • 313
  • 1
  • 5
  • 15
0
votes
1 answer

AWS EC2 multi instance exit with a single IP Address

I have an AWS infrastructure as follow: EC2-WS01 EC2-WS02 Load balancer These machines run the same code. In front of these machines is there a Load Balancer that distribute the load. So the clients point to the load balancer that forward the…
0
votes
4 answers

In AWS I need help for deny url by public ip or public dns and to allow only access by domain (CNAME)

I have aws ec2 with elastic ip and route53 with my domain and have nginx in server, this works fine but, i have seen how other websites work, amazon.com udemy.com. If you access directly by public ip or public dns you throw an error. My question is…
0
votes
1 answer

Using whitelisted IP Addresses on client's firewall

I am newbie to AWS. So, I thought of asking this. Let's say that my web service clients can access only whitelisted IP addresses on their firewalls for security reasons. Moreover, I have an ELB in front of an EC2 instance running, say, basic…
0
votes
2 answers

How to add elastic ip name in AWS via Boto3 API?

When creating the elastic IP in AWS via boto3. API does not give an option to add Name to the elastic IP but this field is available via UI. How can I add Name to elastic IP while creating it or after? Following code work: import boto3 client =…
user3784080
  • 97
  • 2
  • 13
0
votes
1 answer

Can I assign a long-term public DNS name to a Fargate task within a ECS?

I am trying a new, simple deploy setup based on ECS and Fargate. I created a Cluster and a Task Definition. No ELB, no service. On each deploy, I just create a new Task (Task Definition instance). My problem is that this running Task has assigned a…
Aleks
  • 5,674
  • 1
  • 28
  • 54
0
votes
1 answer

Wordpress AWS route 53 setup

I currently have wordpress installed on EC2 instance with an elastic IP. I have route 53 setup for an existing domain with a type A record set pointing to the elastic IP. When I access the domain name in my browser, some of the web resources (js,…
sotn
  • 1,833
  • 5
  • 35
  • 65