Questions tagged [amazon-ec2]

Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

The Amazon Elastic Compute Cloud (EC2) service is part of the Amazon Web Services cloud platform.

EC2 offers computing power in the cloud, on demand. The 'Elastic' part of the name refers to the ability to scale both up and down, as needed.

6563 questions
14
votes
3 answers

Install AWS SSL Certificate to EC2 instance without load balancer

I'm new with AWS and facing some confusion with ACM SSL certificate installation to an EC2 instance. Is it possible to install the certificate without using ELB or Cloudfront. I don't need load balancer because the app is running on a single…
14
votes
5 answers

IPv6 support or alternative for aws vpc instances

Recently apple has imposed IPv6 support as mandatory for all its vendors who use its mobile-api and aws vpc doesn't provide IPv6 support. How can I achieve this. I have checked…
Shailesh Sutar
  • 1,517
  • 5
  • 23
  • 41
14
votes
1 answer

How do I link a security group to my AWS RDS instance

I have a postgres db setup on RDS. It is running great. However, I want to link this to a set of autoscaled EC2 instances sitting behind an ELB that all reside in a single EC2 security group. I've been told that it is possible to add a rule to…
nu everest
  • 957
  • 3
  • 14
  • 27
14
votes
10 answers

Can't access site on EC2 instance via public ip

I have Amazon EC2 micro instance with window 2008 server and deployed one sample web application over there which uses java and deployed on tomcat 7 server. I am able to access it locally on instance, but when I tried to access it outside of AWS…
user242725
  • 141
  • 1
  • 1
  • 4
14
votes
3 answers

Which permissions/policies for IAM role to be used with CloudWatch monitoring script

With CloudWatch monitoring script (mon-put-instance-data.pl) it's possible to specify a IAM role name to provide AWS credentials (--aws-iam-role=VALUE). I'm creating a IAM role for this purpose (to run mon-put-instance-data.pl on an AWS instance),…
14
votes
1 answer

Where's my ephemeral storage for EC2 Instance

I have looked through the following questions, notably How to use "Instance Store Volumes" storage in Amazon EC2? However, it didn't answer. I created a EC2 small instance with EBS as the root device. The AWS instance types list an "instance store"…
Jason McCreary
  • 411
  • 1
  • 4
  • 13
14
votes
3 answers

How do you create a zone apex alias that points to a Elastic Load Balancer in the Route 53 GUI?

I created aliases for my domain name's zone apex using the ELB CLI as described in Elastic Load Balancing Developer Guide. I also added a AAAA record using the --rr-type AAAA flag, which is not described in the guide. The Route 53 GUI is populated…
Jeff Loughridge
  • 1,074
  • 2
  • 7
  • 18
14
votes
3 answers

Amazon EC2 Backup Strategy

I have a couple Web server/DB server setups using Amazon's EC2. I am currently taking daily snapshots of all my system and EBS drives that contains all of my application files, DB files, source code and DB backups. I have a console application that…
Jim
  • 141
  • 1
  • 3
14
votes
6 answers

EC2 Instance will not stop or terminate after trying to create an AMI from the running instance

After a routine reboot of a Linux ec2 instance with 1 small root volume and 1 small attached volume I was not able to ssh into the instance. It is not clear why rebooting the instance caused it to be inaccessible from ssh. The instance showed as…
Snap Shot
  • 265
  • 1
  • 2
  • 10
14
votes
3 answers

EC2: multiple ssh keys for an instance?

Is it possible to create more than one private key to SSH into an EC2 instance? What's the general best practice for this? We have multiple users who need to SSH into the servers and distributing one key just does not work well. This does not allow…
imaginative
  • 1,971
  • 10
  • 32
  • 48
14
votes
3 answers

Some Linux systems become very slow when Redis is loading a big dataset

I received a report from a Redis user, and I'm not sure what to reply as I'm not an expert in the area of Linux and its scheduler, however we (as the Redis project) need to figure this kind of issues especially in the future as with Redis Cluster…
antirez
  • 331
  • 3
  • 8
14
votes
2 answers

How to setup SSL on Amazon EC2?

I have just hopped over to Amazon for serving my .net sites and one site requires SSL. I have an elastic IP pointing at my EC2 instance, and I have my site setup in IIS 7 all working fine. I also have an SSL cert from a vendor. I have installed the…
Anthony
14
votes
9 answers

My EC2 instance's email is being spam blocked by gmail

I'm not sure what to do about this. When on a different IP (the same server set up, domain etc), we had no problems with email deliverability. Since transferring to EC2, despite having the AWS imposed SMTP limits removed, I'm finding that my…
chrism2671
  • 2,579
  • 9
  • 34
  • 45
14
votes
4 answers

Amazon EC2 spot instances - is there a catch?

I needed to start a new EC2 instance today and decided to try out the new spot instances, where you can reduce your instance cost by bidding on the maximum per-hour price you're prepared to pay. Since today's spot price was only 3.5c / hour,…
gareth_bowles
  • 9,127
  • 9
  • 34
  • 42
13
votes
4 answers

How do I update the Nginx configuration file on many identical servers at the same time?

We've got a fleet of Nginx servers on Amazon EC2 where we occasionally need to update the configuration files to implement new settings. Currently we have the configurations in a custom AMI and if we need to update we have to rebuild the AMI and…
Bububu
  • 235
  • 2
  • 7