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

learn more… | top users | synonyms (1)

2
votes
1answer
92 views

AWS EC2 migration to new instance type with SSD Drives

I have MySQL running on an m1.xlarge instance with a 100GB EBS volume holding the data files. I would like to migrate to a m3.2xlarge instance and place the data files on the new 2 x 80GB SSD drives. ...
1
vote
0answers
196 views

Apache bloodhound installation, AWS host not serving site

Following the installation instructions here I went through the entire process on an AWS instance. Everything seems to be setup correctly, I can even run BH off the development server using: tracd ...
0
votes
2answers
4k views

Enable Password Login for SSH on Amazon Linux AMI

I wan't to be able to login via ssh with a password and not the key file. Yeah I know it's totally insecure but at this point in the config I was turning variables off and on left and right trying to ...
0
votes
4answers
243 views

AWS EC2 PHP session_start with permission denied

I have an strange issue related with PHP an the session save path. I have configured in my php.ini the session.save_path = "/tmp", and I know that is correctly configured since in the server I could ...
0
votes
3answers
745 views

multiple virtual hosts on EC2 ubuntu - cannot access second host, always accesses default

I have been searching and reconfiguring for 6 days now and have lost several clumps of hair. PROBLEM: I want 2+ virtual hosts on my ubuntu server (1 ip) BUT - Only the first "alphabetically" listed ...
3
votes
2answers
2k views

Which AMI to to use for Java/Tomcat/MySQL in Amazon EC2?

I originally posted this on stackoverflow.com and it was suggested serverfault.com might be a better place to ask this question. So here goes: I'm trying to determine which Amazon Machine Image ...
1
vote
1answer
27 views

Does EC2 use ACPI events for anything?

I'm looking at what services I can safely disable on a CentOS image on EC2. Can I disable acpid? Does EC2 use acpi events for anything?
2
votes
3answers
2k views

What permissions in IAM do i need to start EC2 instances with chef knife?

Q1: I am trying to create user in IAM AWS console that has restricted permissions only to start new instances using knife ec2 method. Currently only full access with policy "Amazon EC2 Full access" ...
0
votes
1answer
23 views

ec2-amazon instance can be accessed from outside avaibility zone? [duplicate]

My instance is created by my US based friend. I am handling it from India. Avaibility zone is - us-west-2c Can it be accessed from india? Currently when I access it from browser, it gives error ...
2
votes
2answers
75 views

amazon ec2 instance gets timed out

I build amazon ec2 instance as following steps given on http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html Also followed this: ...
2
votes
2answers
30 views

Restrict the visibility of EC2 instances using IAM accounts

I'm looking for a way to restrict the visibility ec2 instances to certain IAM accounts. I'd really like a way for a particular account to only be able to see the instances that it has created i.e. ...
0
votes
3answers
227 views

ssh into EC2 instance asks for password despite using a pem file

I downloaded the pem file on my Windows machine and I am able to connect to my instance with the puttygen generated ppk file (which has a public and a private key in it). I copied the pem file over ...
6
votes
6answers
3k views

Is it possible to use an EC2 RDS MySQL instance as a slave to an external master?

I have a master MySQL instance running on our local network, but I was wondering if I can get an EC2 RDS instance to replicate the master or is this locked down by amazon?
0
votes
1answer
88 views

How to free the (unused) memory?

Being a newbie in working with amazon ec2, I am trying to make my application work. I've connecting a few times by ssh, I've been running and stopping the server, sometimes the connection was lost, ...
-1
votes
1answer
25 views

is there a maximum size limit on the root drive while creating a new EC2 instance? [closed]

say, if I setup a windows server 2012 instance, is there a maximum size limit on the C drive?
0
votes
1answer
52 views

Linux IPSec between Amazon EC2 instances on same subnet

I have a requirement to secure all communications between our Linux instances on Amazon EC2 - we need to treat the EC2 network as compromised and therefore want to protect the data that's being ...
-3
votes
1answer
43 views

The value for CNAME [closed]

I have 2 records at amazon route53: A: value example.com, value - elastic IP address CNAME: value: www.example.com, value - example.com Should I change the value of CNAME to be ec2-my-elastic IP ...
1
vote
1answer
242 views

How can I determine what caused a sudden increase of traffic to my AWS servers?

I recently set up a cloud system on Amazon AWS for a big website. I usually use Elastic Beanstalk to deploy the application (written in Java Spring) and it's currently running on 4 micro instances. ...
0
votes
2answers
44 views

On EC2 - How can one instance telnet the other using ip-XXX-XXX-XXX-XXX format

(Noob @ unix&EC2) I created 2 ubuntu instances at EC2. I needed to cluster one of my services and following the tutorial I used the format ip-XXX-XXX-XXX-XXX (i.e. ip-123-456-789-012) as ...
0
votes
1answer
63 views

High CPU% stolen on EC2 instance at extremely regular intervals

I have a m1.small EC2 instance on AWS running some websites. I noticed my CPU usage have peaks at regular interval of times, exactly every 30 minutes (0:06, 0:36, 1:06, ...). I've checked my crons (I ...
5
votes
1answer
2k views

Why does my EC2 nameserver (correctly) resolve names to private IPs and then switches to public IPs?

I'm running a nameserver for a few machines on EC2. This nameserver is not reachable via the public Internet. I want all my EC2 instances to use it to be able to find each other and to resolve all ...
-1
votes
2answers
34 views

tcp port 12202 not opening on ubuntu EC2 instance

I created an EC2 ubuntuu 12.04 instance. i have opened TCP 12202 port through security group console of AWS .But i am unable to open instance port . I tried below commands to open the port . sudo ...
0
votes
1answer
26 views

How do I use the disks on an EC2 hi1.4xlarge spot instance

I'd like to try out EC2 and so I'd like to launch a cheap spot instance to play around with. The hi1.4xlarge is supposed to have 2 SSDs, but I can't find them on the machine. I've launched the ...
0
votes
2answers
58 views

Amazon EC2 instance SSH RSA Fingerprint

Any time I stand up a VM in EC2 and you ssh into it for the first time, I always get this message: The authenticity of host 'ec2-xxxxxx.compute-1.amazonaws.com (n.n.n.n)' can't be established. RSA ...
1
vote
2answers
621 views

Amazon EC2 - No SSH After Reboot, Connection Refused

I've replicated this two or three times, so I'm guessing there's something wrong with what I'm doing. Here are my steps: Launch new instance via EC2 Management console using: Ubuntu Server 13.10 - ...
2
votes
0answers
33 views

Is there a mailing list or a programmatic way to determine a new Amazon EC2 AMI has been released?

We would like to ensure we are always running the latest version of the Amazon EC2 AMI to keep our OS running the latest security updates. Currently to determine the latest release we are scraping ...
1
vote
0answers
43 views

Amazon EC2 IIS 8 SSL FTP results in 534: Local policy on server does not allow TLS secure connections

I have an Amazon EC2 Windows 2012 server. It is configured with a dozen sites, one of which is an FTP site that requires SSL. Currently it's set with: Basic Authorization Specific group for ...
0
votes
1answer
49 views

Use Wildcard SSL with Amazon EC2 instance, secure.mydomain.com -> EC2 instance

I recently purchased my first wildcard SSL certificate and I am trying to use it to secure the connection between my site (Cent OS 6 VPS) and an Amazon EC2 instance running Ubuntu 12.04. My primary ...
0
votes
0answers
24 views

deploy compiled .Net app to EC2 IIS VM from non-Windows machine?

I've got both the source and a compiled version of a .Net application from a partner my organisation is working with. I've also fired up a new Amazon EC2 instance using an AMI from Microsoft. ...
0
votes
1answer
116 views

When to use an EC2 server?

This question is a little more general than the title implies. I haven't been exposed to almost any server related code, so I hope you can be gentle with your replies. What I want to know, really, ...
0
votes
0answers
30 views

The correct way to overwrite init script for Nginx

I have Amazon Linux on Amazon EC2 with installed Nginx. I want add some commands for Nginx init script for using like this: service nginx command1 service nginx command2 etc. What is the best way ...
1
vote
1answer
42 views

Can our AWS direct connect be accessed by others?

We're turning up an AWS direct connect circuit soon for some internal transfers, mainly for backups between our instances in EC2 and some colo'd resources near AWS. The details of the data and our ...
5
votes
2answers
2k views

How to use “Instance Store Volumes” storage in Amazon EC2?

According to AWS I got 850 GB storage with the Medium EC2 server. But when i create an Amazon Linux AMI, I am unable to use the 850 GB provided. While creating it does show in Storage Device ...
5
votes
1answer
2k views

Need to scale an Amazon EC2 instance (but JUST the storage, not the CPU)

I currently have this image: High-CPU Extra Large Instance (Amazon Linux AMI) 7 GB of memory 20 EC2 Compute Units (8 virtual cores with 2.5 EC2 Compute Units each) 1690 GB of instance storage 64-bit ...
0
votes
1answer
65 views

Amazon: How do I know if I need Provisioned IOPS?

We recently moved to Amazon Web Servers and are still learning our way around. Our EC2 Web instance and our RDS MySQL instance (right now we only have 1 of each) seem to be chugging along okay. But I ...
-1
votes
3answers
35 views

EC2 instance completely bare but usage is large

A couple of months ago I started up a micro instance of "Microsoft Windows Server 2012 RTM with SQL Server Express" AMI. I checked to see I could see the default page in IIS. And that was it. Then I ...
1
vote
3answers
141 views

vsftpd not starting on EC2

I am running Ubuntu 13.10 on an EC2 micro instance (want to keep running on free tier until I am more confident on EC2). I have successfully installed the LAMP stack, but I'm having problems setting ...
1
vote
0answers
21 views

Convert an HVM ec2 instance into something that can be run on a PV instance

I have a linux VM running on an esx-i server at home, and I would like to import the vmdk to aws using the ec2-import-instance command. However I really don't need this to be any larger of an ...
0
votes
1answer
66 views

Is it possible to limit EC2 console access to machines within a specific VPC via IAM?

I would like to create a user that has full console access (API too) specifically to just one VPC in our AWS environment. The result should be such that when clicking on EC2 Instances, the user ...
0
votes
0answers
46 views

Why would HAProxy reject traffic from one location but not another?

I am able to access all of the sites with no issues and our customers are placing orders without any difficulty but at one of our locations where we have a lot of users constantly hitting the site, ...
0
votes
1answer
56 views

Amazon RDS suddenly not working and unable to connect

I'm using an Amazon RDS with MySQL, and I connect to it via another EC2 machine. I correctly set the Security Groups; and it has been working good for two days. Today, for a test I scaled the RDS ...
0
votes
1answer
168 views

How to troubleshoot slow performance on AWS EC2/RDS?

We recently moved our web servers from some 10 year old boxes to AWS EC2. Usage of the site is currently higher now (it's our busy season) and the site has become much slower, which is unexpected ...
9
votes
5answers
6k 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 ...
0
votes
2answers
234 views

Pass User Data to AWS client

Has anyone successful passed user data to the AWS CLI ? I have tried various incantations of the following but it does not work. Docs say string must be base64 encoded : ...
0
votes
1answer
70 views

Terrible performance of Wordpress site on Amazon EC2 + apache2 + ubuntu server 12.04

I'm planning a migration of various wordpress websites (little content), from a shared hosting to a whole new cloud architecture. I'm using the following: Amazon EC2 t1.micro Loaded with: - Apache2 ...
0
votes
1answer
106 views

Yum broken in Amazon instance

This is an instance launched using Amazon AMI. when I run yum with anything (search,install, etc), this is what I am getting: yum search yum error: bad option 'archcolor' at (null):93 Loaded ...
0
votes
1answer
111 views

Directory Listing not rendered when connecting to EC2 Windows 2012 Instance

I've created an Amazon EC2 Windows 2012 instance. I installed FTP via IIS and ensured that both the Amazon firewall and the instance's firewall allow traffic on port 21. When I connect to the ...
0
votes
0answers
36 views

Auto-login to aws ec2 instance running windows on startup

I'm trying to run a service on startup of a windows instance on amazon. So far it is a manual process where I have to start rdp in, log in and then start the process. I'd like it when the instance ...
0
votes
1answer
28 views

Freezing the state of an ec2 instance

Was wondering if there is a way to "freeze" a running ec2 server. This means existing processes are not killed but saved, they are then resumed when the instance is resumed. Virtualbox from Oracle ...
0
votes
1answer
60 views

How do I autoscale windows servers w/ amazon ec2

I'm building a distributed app which consists of a load balancer, web-server, database server, messaging queue, and backend workers. Workers consume messages off the queue, perform tasks and then ...