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

learn more… | top users | synonyms (1)

0
votes
1answer
99 views

In AWS once AMI is registered, can I delete this files from S3?

I have registered a new AMI (instance-store AMI) so I bundled, upload the bundle and registered. So my question is, could I delete this files from S3? or I have to leave this files to get my AMI work ...
3
votes
2answers
7k views

mkfs refuses to format device in the claim it's mounted when actually it is not

This is the problem: root@ip-10-126-247-82:~# mkfs.ext4 /dev/xvda3 mke2fs 1.41.14 (22-Dec-2010) /dev/xvda3 is mounted; will not make a filesystem here! And this is the debugging: root@ip-10-126-...
0
votes
1answer
129 views

SCP - Traditional Web Server to EC2 Instance

I am setting up a backup server instance on EC2 with a public dns for its IP so that other servers on hostgator with dedicated IPs can send files to it. I am confused as to how to use SCP with EC2 ...
5
votes
3answers
4k views

Shutting an EC2 instance down locally (on the instance)?

edit: this seems to be a problem specifically with the AMI that I am trying to shut down. Other AMIs politely shut down with the "sudo poweroff" command. The goal is for an EC2 instance to shut ...
12
votes
3answers
13k views

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 ...
1
vote
2answers
274 views

upgrade to nginx 1.0 on Amazon Linux EC2 Instance

I've noticed that the official Amazon repos only host nginx 0.8 which is now considered a legacy release. Short of manually compiling from source what must I do to upgrade to the stable 1.0 version of ...
1
vote
1answer
1k views

EC2 instance: non ec2-user not in sudoer file?

Amazon EC2-instance: I made a user 'admin' and copied ec2-user's keys with proper permission. After successful login, i tried to do sudo su for root access, it says 'admin is not in the sudoers file. ...
1
vote
1answer
881 views

nginx not interpreting some PHP files

I am trying to port a website on php / mysql / apache on one server to another server. The other server was a raw linux box on amazon ec2. I am not a advanced linux admin. I have some basic ...
1
vote
1answer
2k views

how to login in EC2 instance with non ec2-user?

How to login with non ec2-user account in amazon linux ami? #useradd -m sample #passwd sample set password #cat /etc/passwd sample:x:508:1002::/home/monitor/sample:/bin/bash # cat /home/monitor/...
17
votes
4answers
20k views

How to download public key from Amazon AWS?

I have a running amazon ec2 linux instance associated with a keypair (p1) and I have downloaded the private key to my home desktop. Now at work, I created a keypair (p2) on my work desktop and ...
2
votes
0answers
3k views

EC2 Linux AMI with ffmpeg (no yasm?)

I'm running a Basic 64-bit Amazon Linux AMI 2011.09 (AMI Id: ami-953b06e1) and I want to install ffmpeg into it so I can use it convert video. These are the commands I run after firing up a new ...
1
vote
3answers
1k views

Increasing root size of an EBS back ec2 instance

i am pretty to new to amazon web services. I have a few ubuntu 10.04 instances running but today when i tried to login to my instance, i got an error saying "insufficient disk space in root". I ...
6
votes
2answers
9k views

Unable to connect to the AWS EC2 instance - “Host key verification failed”

I had set up a Ubuntu instance with a Rails package, deployed my app, and it is working fine. But when I try to do SSH, it's not allowing me for the remote login and throws errors like: Host key ...
1
vote
2answers
2k views

Ubuntu EC2 Raid0 Ephemeral — SSH connection after reboot

First, I launch a fresh large instance using the Elestic AMI ami-c162a9a8. Initially, I run: df -h /dev/xvda1 9.9G 814M 8.6G 9% / udev 3.7G 4.0K 3.7G 1% /dev ...
0
votes
1answer
480 views

With AWS ELB, is it possible to direct specific subdirectories to specific servers?

We're moving from a single EC2 server setup to a multiple-webserver setup, and using ELB to spread traffic across the servers. Our core application will handle this just fine. There's one sub ...
1
vote
2answers
188 views

Need some advice on a deployment

So I am about to get started deploying a complicated infrastructure as a hosting environment for several high traffic sites. I will be using ec2 for the servers and other different services from AWS. ...
2
votes
3answers
2k views

VNC connection to EC2 instance without installing a VNC server

I was wondering if it was possible to connect to an Amazon ec2 instance via VNC, but instead of installing a VNC server in the target machine, somehow connect it to the hypervisor's graphics output ...
0
votes
1answer
228 views

Is it more stable to run Ubuntu 11.04, Natty Narwhal on EC2?

For example, Instagram said "We run Ubuntu Linux 11.04 (“Natty Narwhal”) on Amazon EC2. We’ve found previous versions of Ubuntu had all sorts of unpredictable freezing episodes on EC2 under high ...
6
votes
6answers
9k views

Setting up Amazon Cloudwatch to get an alert when you server is down

I have an instance running on Amazon EC2 that I turned into a webserver. Now I have been looking at cloudwatch, but I do not know if it is the correct tool for the job. Basically I want to get ...
0
votes
4answers
2k views

Cant create Image of Amazon EC2 Instance (instance-store)

I've got the problem, that i need to clone a EC2 Instance but cant create an Image of my running Instance. Where is the Problem? I Hope somebody of you know the AWS and is able to help me out. http://...
1
vote
2answers
2k views

task blocked for more than 120 seconds

I'm getting a lot of stuff like this on my ec2 instance: kernel: [141720.410047] INFO: task kjournald:14019 blocked for more than 120 seconds. kernel: [141720.410205] INFO: task flush-202:112:2005 ...
0
votes
2answers
167 views

How can I use a VPN to protect an EC2 instance so that only my devs can access it

I have a dev EC2 instance and I would like to use a VPN (ideally provided by AWS) so that only my web devs could access the website on port 80 Is this What virtual private connect is for?
-1
votes
2answers
168 views

What configurations need to be set for a LAMP server for heavy traffic? [closed]

I was contracted to make a groupon-clone website for my client. It was done in PHP with MYSQL and I plan to host it on an Amazon EC2 server. My client warned me that he will be email blasting to about ...
0
votes
1answer
371 views

Few requests/sec, but choke Apache and spike CPU

We have two load balancers running HAProxy which serve requests to an application server. We've recently been getting spikes of traffic from script kiddies running vulnerability checks against our ...
3
votes
2answers
371 views

Elastic Load Balancing using a chain of domains/hosts

I've setup an elastic load balancer on EC2 which (for example) has the public DNS (A Record) of: LB-165746761.eu-west-1.elb.amazonaws.com I've then registered a domain which I want to act as my ...
9
votes
1answer
8k views

Flush processes consume too much of CPU

The Server is EC2 Instance, it stands for saving files to NAS (NFS) from HTTPD. The processes like flush-0:32 consume over %90 of CPU and load average: 65.50, 64.02, 66.59. According the graph, it's ...
0
votes
2answers
53 views

Is there a way to obtain the list of client machines which connect to an EC2 instance

We would like to monitor the list of client machines (IP addresses, login, logout times) which connect (e.g. via ssh) into a Amazon EC2 | RDS instance
2
votes
3answers
384 views

CentOS 6.1 AMI for running on EC2?

I don't seem to see any public AMI images created for CentOS 6.1. Is there a reason for that? Is it recommended I spin my own up?
1
vote
1answer
375 views

MySQL update fatal error on AWS Ubuntu server

I was just browsing the system logs on my alestic Ubuntu 10.04 AWS EC2 production server, and found this: daemon.log.1:Dec 9 22:45:42 server1 /etc/mysql/debian-start[865]: /usr/bin/mysqlcheck: Got ...
0
votes
1answer
307 views

Installing lsyncd on 64bit Amazon Ec2

I am trying to install lsyncd (http://code.google.com/p/lsyncd/) on my Amazon EC2, Amaozn Linux AMI 64bit. And during the make process I am reciving this error which I cannot decrypt. It installed ...
37
votes
6answers
45k views

How can I prevent a DDOS attack on Amazon EC2?

One of the servers I use is hosted on the Amazon EC2 cloud. Every few months we appear to have a DDOS attack on this sever. This slows the server down incredibly. After around 30 minutes, and ...
0
votes
1answer
612 views

VPN to Amazon EC2 Windows 2008 Instance .. or Other Solution?

I have a Windows 2008 Amazon EC2 instance with a public facing web site and a back office 'Admin' site. Currently the back office site is secured with username / password, but ideally I'd like to add ...
1
vote
2answers
615 views

I cannot find where lua-devel installs on

I am running Amazon EC2. I am trying to install lua-devel but I cannot find where it intalls to. sudo yum install lua-devel Returns Package lua-devel-5.1.4-4.1.7.amzn1.x86_64 already ...
0
votes
1answer
600 views

Moved mySQL to an EBS volume, now innoDB performs very slowly

Hello has anyone had a similar problem to this.. I've set up a new instance on Amazon EC2 for a client. I've also attached a 250GB EBS volume to hold the files and configured mySQL to use the EBS ...
4
votes
2answers
1k views

Linux - SSH Connection refused due to non-existence of /dev/urandom

Today one of our production machine (Amazon EC2) was down and I couldn't bring-up the instance since I can't get into SSH, connection was refused and I had no clue what to do, after sometime I was ...
2
votes
1answer
2k views

Converting Amazon EC2 ext4 EBS volume into XFS filesystem

I need to convert my Amazon EC2 ext4 filesystem into a XFS one so I could take consistent snapshots and send them to S3. I'm using custom small image of ubuntu server 10.10 with i686 architecture in ...
2
votes
3answers
2k views

Sometimes, HTTPS connection is too slow on Chrome

I have trouble with some problem using HTTPS. Sometimes, HTTPS connection is too slow only Chrome. I couldn't find any problem on server. It use load balancer with 2 web server(apache) on Amazon EC2. ...
0
votes
2answers
7k views

How to see PHP error stack trace/dump?

Currently my web application can print error when host on my local machine. When I host it on Amazon EC2 server. The error page is empty/blank. I want to see the error stack trace when run on EC2, ...
1
vote
2answers
2k views

Amazon EC2 t1.micro + nginx + php-fpm = somtimes dead slow

First something about the infrastructure: We have migrated one of our backend/admin servers to amazon. The applications on this server are only used sporadically (max. 10 parallel users). We are ...
-3
votes
1answer
74 views

How do I know if I am on Amazon EC2 account free plan [closed]

How do I know if I am on Amazon EC2 account free plan? I just opened a new account yesterday and Amazon talks about a free plan for micro instances. But I don't see an indication in the console user ...
0
votes
3answers
1k views

VPN from my server to a clients

I have an Amazon EC2 server instance running Windows Server 2008 R2. I need to setup a VPN connection between this machine and one of my clients. The purpose is that my server is going to pull data ...
3
votes
2answers
2k views

Amazon EC2 - What's the point of having Instance storage if it is non-permanent and EBS provides a permanent store?

I'm specifically looking at the Standard Large On-Demand instance which has 850 GB of instance storage. What I really don't understand is why have 850 GB of storage on the instance if that data will ...
0
votes
2answers
3k views

What is the reason for scaling Amazon EC2 by instance count rather than instance parameters?

We are looking into moving our website to Amazon EC2. The basic idea behind Amazon's cloud seems to be: "Need more RAM? You got it. Hard disk? Sure, here you go." Etc. But Amazon seems to be pushing ...
5
votes
2answers
2k views

Easiest way to show Maintenance page during EC2 instance down time

I need to perform some maintenance, which involves down-times of my EC2 production server. I would like to serve some user friendly Maintenance page meanwhile. The easiest solution, I was able to ...
0
votes
2answers
222 views

How do I restrict access to EC2 instance based on machines from a LAN

I know its possible to create a security group to prevent access from all machines, but how do I restrict this to only users from my LAN. The problem is everytime we re-boot our systems, the IP ...
2
votes
2answers
1k views

Is it possible to change the availability zone of a running EC2 instance?

Is it possible to change the zone of a running EC2 instance? I currently get "insufficient capacity" error when I try to start an EBS backed micro instance that was running 30 mins ago. I'm trying ...
2
votes
1answer
728 views

PHP's FTP isn't working on Amazon linux EC2 instance?

I set up a m1.large EC2 instance and want to use it to download logs off a cdn's server. I had the code working just fine on my ubuntu laptop but once uploaded to the server the ftp_rawlist() function ...
0
votes
1answer
180 views

Amazon EC2 instance-reboot on EBS backed instances

I received notification that many of my EC2 instances will be rebooted for scheduled maintenance. They are scheduled for an "instance-reboot," which makes sense because most of my instances are S3 ...
0
votes
1answer
6k views

Restore a terminated ec2 instance from a snapshot

I accidentally terminated an ec2 instance, but I have several snapshots of its volume. I created a new ec2 instance and I want to have an identical environment (files, installed programs) to the ...
-1
votes
1answer
813 views

Tuning JavaVM on AWS/EC2

there's some specific tuning JVM configuration for AmazonWS/EC2 building blocks (small, large...)? Somebody have suggestions for tuning JVM running on these machine profiles? Regards, And Past