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

Node.js on EC2 AWS server

I installed a node.js application on an EC2 server under windows at Amazon Web Services (AWS). The application works well in localhost on port 80 but not with the elastic IP address associated with the server instance. If I add this address as a…
0
votes
0 answers

ERR_SSL_PROTOCOL_ERROR when using AWS NLB in front of ALB

I'm trying to get static IP addresses for an app running behind an ALB by deploying a Network Load Balancer in front of it. This is my setup: I'm using an Application load balancer to serve http and https requests on the top of two EC2 instances. I…
0
votes
1 answer

Getting line 19: syntax error: unexpected end of file

I'm trying to associate the Elastic IP address with Auto scaling group, so whenever the autoscaling triggers it will automatically associate with the EIP. For this I'm trying to add the script in user data. My intention is to we have 2 servers so…
0
votes
1 answer

cloudinit output shows eipalloc-09e7274dd3c641ae6: value too great for base (error token is "09e7274dd3c641ae6")

I'm trying to associate the Elastic IP address with Auto scaling group, so whenever the autoscaling triggers it will automatically associate with the EIP. For this I'm trying to add the script in user data. My intention is to we have 2 servers so…
0
votes
2 answers

Request to an Ec2 instance return 403 after configure an elastic IP

I'm facing an issue with my ec2 instance. Until now, I had an ec2 instance working with an IP like this: ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com. Now I configured an elastic IP to make that instead of use the default domain uses one of my…
0
votes
0 answers

My Elastic IP is giving 504 error, without any changes being made. What could be the error

Our application was working perfectly fine earlier, it stopped working suddenly without any changes being made to it. Fixes I have tried: I changed the instance and created new one from image created earlier, after that application was working fine…
0
votes
0 answers

Issue in postgresql HA mode switching of Master node

I am new in postgresqlDB configuration. I am trying to configure postgresDB in HA mode with the help of pgpool and Elastic IP. Full setup is in AWS RHEL 8 servers. pgpool version : 4.1.2 postgres version - 12 Below links I have followed during the…
0
votes
1 answer

Assign Elastic IP to one instance in AWS autoscaling group

I have an autoscaling group in AWS with 3 instances. The use case I am working on requires one of the EC2 instances to have an Elastic IP. The 3 instances I have are in separate availability zones (us-east-1a, us-east-1b, us-east-1c). My plan is to…
0
votes
0 answers

Portal access using IP Error: ERR_CONNECTION_TIMED_OUT

I have a local web site hosted on Windows 2019 EC2 Instance. This ec2 instance has a public IP (Elastic IP Address). The public IP is ping-able from out of the ec2 instance. I am able to access the portal using the below from the same EC2…
Ullan
  • 905
  • 4
  • 15
  • 28
0
votes
1 answer

lambda ec2 create instance and assign an elastic IP

Creating an instance in lambda and assigning an Elastic IP. Create instance part works, code section below is meant to wait before assigning the elastic IP. (1) What state does the instance have to be in to assign? (assuming "running") (2)…
can.do
  • 475
  • 4
  • 14
0
votes
1 answer

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 reattach it to an instance, not in the VPC.
thevoipman
  • 1,773
  • 2
  • 17
  • 44
0
votes
1 answer

Site refused to connect while elastic ip is working

I setup an ec2 instance and configured elastic ip. I can access my app via web browser through public dns given by ec2 vpc, and ip address given by elastic ip. but when I try to use my custom domain(i did not use route 53 for this), it will refuse…
Damian
  • 934
  • 8
  • 12
0
votes
1 answer

Do Elastic IPs change network route for outgoing requests?

I am wondering from a latency perspective if assigning an Elastic IP changes the route when I make an outgoing HTTP request? Or is it only changing the IP the receiver "sees"?
PascalVKooten
  • 20,643
  • 17
  • 103
  • 160
0
votes
1 answer

2 ec2 instances in same subnet with same security group, but 1 is not accessible

I have 2 EC2 instances within same VPC and same subnet, both have same security groups attached to them. But 1 instance has public ip that was allocated when launching the instance (lets say public-ip-instance). The other one only has private IP,…
0
votes
1 answer

Can't recover AWS EC2 public IP address

I recently created an AWS EC2 Instance and it had an IP address like 3.144.nnn.nnn. I used that IP address for an application as my IP address and there is no way I can change it. After stop and start of Instance, I get a random IP address. Then I…
Himansa Eshan
  • 314
  • 6
  • 10