The tag has no usage guidance.

learn more… | top users | synonyms

12
votes
2answers
5k views

AWS - Assign an Elastic IP to a ELB

Is it possible to assign an Elastic IP to a Load Balancer?
11
votes
2answers
15k views

How to use Amazon Elastic IP?

I get a new elastic IP, I attach it to an instance, but it doesn't work? I can't ping the IP from my local computer either? Am I missing something here? How do I use Amazon Elastic IP? When is a new ...
11
votes
6answers
11k views

How do you automate failover on EC2?

Of the folks managing their own clusters (i.e. not using/paying for Amazon Autoscale, Rightscale, Scalr, etc.), how are you managing your instances on EC2 and handling (e.g.) failover? I'm wondering ...
7
votes
2answers
6k views

How do I attach an Elastic IP to an Elastic Beanstalk app?

I can give a single instance an Elastic IP. No problem. But I have an Elastic Beanstalk app. It can create and remove instances as needed. It has a load balancer. How can I get these features (...
6
votes
2answers
6k views

Assign multiple Elastic IPs to EC2 instance

When I try and associate a second Elastic IP to a small EC2 instance, the currently assigned Elastic IP is disassociated. Do I need to use a VPC?
6
votes
1answer
2k views

Possible to limit an EC2 key to just ec2-associate-address?

I have a regular EC2 instance with an elastic IP. The few times the instance has been stopped, I've just manually re-associated the IP with it via the AWS Management console. I'm now thinking about ...
5
votes
1answer
3k views

What is the difference between a plain Amazon ec2 instance and beanstalk?

I am a solo developer and the sites I'm deploying are very small, usually hobby sites and I have a few questions about the Amazon services. Is there a reason for me to use beanstalk or should I just ...
5
votes
1answer
3k views

haproxy and keepalived on Amazon EC2

The new Amazon Opsworks service uses haproxy rather than Amazon's own very limited elastic load-balancer so I started investigating haproxy as a better option for load-balancing our web app servers, ...
4
votes
1answer
5k views

Static IP address for outgoing traffic from AWS autoscaling group

I'm going to have a number of EC2 instances in an Elastic Beanstalk autoscaling group in a default subnet in a VPC. The app on these EC2 instances needs to connect to a third party service who uses an ...
3
votes
3answers
3k views

Elastic IP vs EC2 Public Hostname + Route53

We are evaluating to use Elastic IP on all of our ec2 instances, and we compare to the use of public EC2 hostname and Route53 (with a very short TTL to the public EC2 hostname & dynamic update DNS ...
3
votes
2answers
4k views

ec2: assign cname to elastic ip

Couldn't find this exact same question so here it goes: I'm trying to setup a CNAME record to an elastic ip linked to a ec2-instance, but this fails. When deassociating the elastic-ip from the ...
3
votes
2answers
364 views

Amazon EC2 - need to change IP address without downtime

I'm maintaining a fairly high-profile site which is hosted on Amazon EC2, and the previous developer pointed the A record at the instance's "public IP" instead of using an "Elastic IP". As far as I ...
3
votes
2answers
2k views

Elastic IP address on EC2 instance interface without 1:1 NAT

I have a basic Amazon VPC set up with a public and private subnet. I have deployed a Vyatta router in the public subnet that does NAT for the private subnet. I have an elastic IP address assigned to ...
3
votes
1answer
956 views

EC2 and Static IP's (Elastic IP's)

I'm using an elastic IP for one of my EC2 instances. I can reach the instance via the elastic IP from external machines, but from other machines in my EC2 configuration, I can ONLY reach the machine ...
3
votes
2answers
5k views

Can't connect remotely to SQLServer Express 2008 on AWS EC2 instance using SSMS

Every time I try and connect to a remote SQLServer Express instance on my AWS server I get a network or instance specific error. What I have tried so far: I ensured that the Security Group applied ...
3
votes
2answers
2k views

chef assign elastic ip to instance

I am using a custom bash script to spin up/down EC2 instances as needed. The script creates the instance similar to: knife ec2 server create --config .chef/knife.rb with a few other parameters. It ...
3
votes
2answers
334 views

Security group for a changing aws instance via external ip address

I have an issue I am sure other people have come across and I am trying to find the best solution. It may be a bit long winded so please bare with me. PLEASE NOTE: port 22 is just an example port ...
3
votes
3answers
2k views

HTTP not working EC2 instance with own domain name

I have this problem I've already posted on the Amazon AWS forum. Unfortunately I haven't got a clear answer I and I was hoping you guys could help. Here's the link: http://developer.amazonwebservices....
2
votes
2answers
2k views

Providing a static IP for resources behind AWS Elastic Load Balancer (ELB)

I need a static IP address that handles SSL traffic from a known source (a partner). The reason the IP needs to be static is that the partner requires this in order to maintain the PCI compliance. ...
2
votes
3answers
2k views

What is the best practise for assigning an EC2 EIP after starting an instance?

I would like to auto-assign an EIP to an instance when it is started. I know I can write a script to stop/start the instance and assign the EIP I want using the EC2 tools, but that depends on me ...
2
votes
1answer
1k views

aws elasticbeanstalk with static public ip

For a new web application I am looking at AWS ElasticBeanstalk. I like its auto-balancing and auto-rolling updates' system as well as all the other scaling-related features. But.. I need a static IP ...
2
votes
1answer
409 views

Amazon EC2 - Provides a dedicated IP?

I'm thinking of using Elastic Beanstalk (which uses EC2). Will I receive a dedicated IP address? Is an Elastic IP a dedicated IP? I do not want to share an IP with other people.
2
votes
4answers
2k views

Zero-downtime availability in a web-serving frontend on EC2?

We have a web application with low load but high availability requirements. It consists of a single front-end load balancer and a couple back-end servers. The load balancer is there primarily for ...
2
votes
2answers
498 views

Are EC2 public DNS names associated with Elastic IPs stable?

When I spin up a machine in us-west-2 and give it an elastic IP, it gets a public DNS hostname like ec2-XXX-XXX-XXX-XXX.us-west-2.compute.amazonaws.com When I spin up a machine in us-east-1 and ...
2
votes
1answer
902 views

Amazon EC2 - Adding a Elastic IP does not show up in IIS

I have created a Windows Server 2012 EC2 instance and I have bound an Elastic IP address to the server. The problem is, the IP address isn't showing up in IIS 8 and I can't seem to get web sites to ...
2
votes
2answers
2k views

amazon ec2 elastic ip. do I need one for each website I host?

I have a couple of sites that I want to move to Amazon EC2. All the sites uses ssl so it needs to have a dedicated ip address to each one. My question is: Even if I host all the sites in the same ...
2
votes
1answer
946 views

Is my hosting company using Amazon EC2?

I have a few clients who I host websites for. Right now I am using a web hosting reseller package to do this, but have been considering moving to Amazon EC2. The only problem is the clients need ...
2
votes
1answer
36 views

AWS CLI Launch Instance Hostname & Elastic IP

Is it possible to do the following with AWS EC2? And if so what is the AWS CLI command for it? Launch an instance and bind an Elastic IP at the same time Change the hostname of an instance that is ...
2
votes
1answer
5k views

AWS service to setup port forwarding from Elastic IP to EC2 instances

Is there an AWS service (rather than creating an instance, and doing something via iptables?) that will allow me to use the API to set up port forwarding from a single Elastic IP address, onto ...
2
votes
1answer
3k views

Can i change the default AWS EC2 Public DNS?

I'm using Route 53 and created A record to the Elastic IP that associated with an instance. In Security Group, i activated the "All ICMP" and make it accessible from anywhere (0.0.0.0/0) so i can ...
2
votes
2answers
2k views

How to set IP address of Amazon EC2 instance to its Elastic IP?

I have an Amazon EC2 instance running and I am installing a program on it that needs to know what the machine's IP address is. Can I set the Elastic IP address to the IP address within the EC2 ...
2
votes
1answer
103 views

Connection refused error while accessing my server with AWS elastic IP [duplicate]

I have followed all these below mentioned steps Create an Elastic IP and point to the Amazon EC2 instance. Goto service Route 53, create a ‘A’ record and point to the Elastic IP. In Route 53, copy ...
2
votes
1answer
70 views

AWS Close Ports on Specific Elastic IP Addresses for EC2 Instance

I have a Windows Server in AWS EC2. I have opened ports 80 and 443 to 0.0.0.0/0, and RDP to a private IP address for VPN access. The instance has 4 total elastic IP addresses, each mapping to a ...
2
votes
2answers
722 views

Launch instances via Elastic Beanstalk without Elastic IP configured

I'm creating a tool to deploy Docker images to EC2 via ElasticBeanstalk, so the dev team can quickly demo their work without having to merge. I don't want Elastic IP to be enabled for these apps as ...
2
votes
1answer
462 views

Need an interface for an Elastic IP (DRBD & EC2)

We are trying to mirror a volumes over a geographical zone using DRBD (and Ubuntu 11.10). We are using elastic IP's - however there is no local interface for Elastic IP's - only an interface for a ...
2
votes
1answer
326 views

Perisistent EC2 IP association even after instance stop/start

I have a single EC2 instance and a single Elastic IP. After the instance is stoped and then re-started, the association between the instance and the IP is lost and I have to manually re-associate. ...
1
vote
2answers
408 views

How do I persist a hostname or IP to my Amazon EC2 Instance?

Suppose I spin up a machine in EC2. Every time I stop/start the machine the following things change (reboots are safe--they don't cause these to change): public IP address public DNS record private ...
1
vote
1answer
250 views

No public IP after stop/start Amzon EC2 intance

I have setup an AWS EC2 instance with a Elastic IP. Static IP and Elastic IP both works fine (shows default NGINX page). However when I STOP the instance and START back up, there is only a domain ...
1
vote
1answer
294 views

Amazon EC2 Ubuntu instance and getting the Elastic IPs auto, once turned on

Every time I reboot my Ubuntu based EC2 instances, they do not automatically get the IP so I have to associate them manually from the admin panel. Each instance should have a single IP assigned. Is ...
1
vote
1answer
716 views

Failed to bring up eth1:1 when using secondary private IP on secondary network interface on VPC instance

I have created a VPC ec2 instance (t1.micro), in which I have two network interfaces, the primary eth0 and additional eth1. I was able to bring up the eth1 by editing the /etc/network/inteface auto ...
1
vote
1answer
93 views

Setting up Amazon elastic beanstalk to be accessible through fixed ip address(not CNAME)

I want to deploy my app to multi-container elastic beanstalk to be able to point my A-record to some fixed ip connected to it(somehow). I've read related questions(like this one) and understand that ...
1
vote
3answers
806 views

Elastic IP + EC2 newb: trying to access my server publicy

I have created an elastic ip and associated it to my server. The ip is: 54.201.18.251 If I try and ping this IP I get: PING 54.201.18.251 (54.201.18.251): 56 data bytes Request timeout for icmp_seq ...
1
vote
1answer
395 views

EC2 Multiple website on one instance, load balance

I have a question. My instance is currently using LAMP STACK by Bitnami, the first site is LAMP, the second is Magneto STACK by bitnami, My focus is on Magneto Stack. I was thinking of having the ...
1
vote
1answer
51 views

How to configure HAProxy on Amazon Linux AMI with SSL/TLS Passthrough

I'm trying to configure an Amazon Linux AMI instance that has an Elastic IP to act as Proxy to a standalone backend server. I'm trying to do HTTPS TCP Passthrough only but I can't get it to work! ANY ...
1
vote
2answers
437 views

Pointing AWS EC2 elastic IP to instance in VPC

I've had an Elastic IP pointing to a classic EC2 instance for several years. I've now stared a new instance - inside a VPC - and want to use that instance for my website. Therefore I want to point my ...
1
vote
0answers
505 views

setting haproxy servers to use AWS public name server

I'm trying to configure haproxy to cluster a couple of mysql servers (galera cluster), but it seems that haproxy does not accept dns name in the server directive. e.g. config listen mysql 127.0.0.1:...
1
vote
1answer
549 views

Using Route 53, how to point a domain without www to an ELB? [duplicate]

I can already CNAME the www to my ELB DNS, but how would I route the non www as well?
1
vote
0answers
157 views

VPC private ip address unable to communicate to the network interface which has an elastic ip assigned

I'm not sure if this is how VPC EC2 private addresses are supposed to work. I have two instances in VPC each are allowed to talk to each other (security group), and each instance has two network ...
0
votes
2answers
234 views

AWS Multi ELB In One VPC

I am trying to figure out the best solution for my use case. Say I have 10 websites to host in my VPC. Each of these websites need to be behind an Elastic Load Balancer. From my understanding, each ...
0
votes
2answers
857 views

Why I cannot access EC2 instance public IP from inside of instance itself?

Here is an example, I have an Linux instance , say, private IP is 10.10.10.10, public IP is 54.54.54.54. Inside the instance, I could successfully ping it's private IP(10.10.10.10) and localhost. ...