Questions tagged [amazon-web-services]

Amazon Web Services (AWS) delivers a set of services that together form a reliable, scalable, and inexpensive computing platform "in the cloud". If you have a question about a specific web service, consider asking on its tag, e.g., amazon-ec2.

8595 questions
3
votes
4 answers

Knife can't ssh into newly instantiated EC2 server

I just set up a new Chef environment as I'm currently expanding my knowledge of Chef. I have a Key Pair set up on EC2, I have my Knife configuration set up. When I attempt to spawn a server, the node is created but Knife can't ssh into it. Here's my…
Ian Atkin
  • 203
  • 2
  • 9
3
votes
1 answer

Elastic Beanstalk auto scaling is adding nodes before moving app from ondeck to current

When the autoscaling rules in my group trigger the deployment of a new EC2 instance, or for example I change the instance size to simulate the behaviour the node is deployed but it is added to the load balancer before the application is ready. The…
Ben Swinburne
  • 337
  • 4
  • 17
3
votes
4 answers

Unable to ssh to a vagrant started ec2 ubuntu instance

After I ran vagrant up --provider=aws, I could see an ec2 instance being created and became up and running. However it will invariably stuck at this point ==> default: Waiting for SSH to become available... I had to ctrl-c the job which results in…
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
3
votes
3 answers

How is a private data center more secure than a public cloud?

I have customers in the financial services industry that insist that a SaaS hosted on public clouds like Amazon's are not as secure as colocation in a private data center. However, I can't find specific details of what those security shortcomings…
projectshave
  • 154
  • 5
3
votes
1 answer

How to access unreachable AWS instance?

I have an AWS instance that suddenly I've lost access both by SSH and to the web server there. I used to access by a public Elastic IP (54.76.201.91), so I know for sure that Security Groups are ok. Now that IP doesn't respond, ssh port is closed,…
Oscar Foley
  • 332
  • 4
  • 18
3
votes
1 answer

Is it safe to create an AWS EC2 snapshot of a volume that is attached to a running instance?

I'm actually upgrading an instance volumes storage capacity, so I have to create a snapshot of the volume first. It's an 80 gig volume, and I started the snapshot process, but later I noticed that the docs here say the instance should be stopped…
RTF
  • 218
  • 2
  • 11
3
votes
2 answers

Static IP in AWS but with possible Load Balance feature

I am playing a bit with AWS. My goal is to setup infrastructure, which will have static IP on outgoing connections (requirement from payment provider which solution has been implemented in our app) and in the same time I would like to have load…
3
votes
2 answers

Windows EBS Volume from snapshot at instance launch is OFFLINE

Using Powershell launching a Server 2012 R2 machine. I can launch an instance from the stock Server 2012R2 AMI with a defined new EBS volume for d: drive, and upon boot, is online, and works fine. If I take the same code and just add creation of…
madhatta
  • 136
  • 1
  • 7
3
votes
1 answer

DNS A record is not working with Amazon Route 53

I have a domain name from MediaTemple that I would like to point to a server EC2 instance on AWS. On my registrar's web site I specified AWS name servers. Using Route 53 I created specified DNS record (NS, A, SOA). I waited > 24 hours for changes to…
3
votes
0 answers

EC2 AMI instance store backup grub utility required

Working on backup of whole ec2 volume and image to upload to s3. Using RHEL7 and it internally uses Grub2 as bootloader. EC2 AMI tools requires grub legacy loader and I'm struck up in this loader. When i run ec2-bundle-vol, Stacktrace is as…
Sva
  • 31
  • 1
3
votes
1 answer

Trying to install php-devel on AWS EC2 server to compile a PHP extension, but getting errors "httpd24 conflicts with httpd-2.2.27-1.3.amzn1.x86_64"

I'm trying to install php-devel on an AWS EC2 server so I can compile a PHP extension. But I get an conflits error. --> Processing Conflict: httpd24-2.4.10-1.59.amzn1.x86_64 conflicts httpd < 2.4.10 --> Processing Conflict:…
Molkobain
  • 139
  • 1
  • 2
3
votes
3 answers

How do I delete an AWS EC2 Instance?

I terminated an AWS EC2 instance because I incorrectly created it. I've read that this deletes an instance, but it keeps reinstantiating itself. How do I permanently and fully remove the EC2 instance as though it had never existed?
Dylan Knowles
  • 147
  • 1
  • 3
  • 9
3
votes
1 answer

Security groups or ACLs?

I'm currently setting up several subnets on Amazon VPC. For example I've got a subnet for the database servers, one for the webservers and one for the load balancers. I try to restrict the access to these subnets as much as possible. Right now we…
soupdiver
  • 807
  • 2
  • 9
  • 26
3
votes
1 answer

Location based whitelisting of IP's on nginx webservers behind Elastic Load Balancer

I run nginx webservers behind an elastic load balancer in AWS. The real IP is got through X-Forwarded-For. The issue faced is how to use this to deny all and whitelist only specific sources for particular locations. Something like: location /test/…
linuxtester
  • 31
  • 1
  • 2
3
votes
4 answers

adding 2nd private IP on AWS EC2 instance

I am having problems adding a 2nd IP on AWS EC2 instance. I am running Ubuntu 14.04. I already tried this: Right clicked the instance and added a 'private IP' from the manage Private IP. Ssh'ed into the machine and added a file…