Amazon Elastic Compute Cloud (EC2) is a cloud-based computing platform.

learn more… | top users | synonyms

22
votes
2answers
9k views

How do I apt-get -y dist-upgrade without a grub config prompt?

Per Make apt-get (or aptitude) run with -y but not prompt for replacement of configuration files? I did the following: ec2run ami-3c994355 --region us-east-1 -n 1 -t m1.large -z us-east-1d On the ...
2
votes
1answer
1k views

After install Google Chrome in EC2 won't open from Ubuntu Server 14.04 LTS (HVM) command line [duplicate]

I have installed Google Chrome with following command line: $ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - $ sudo sh -c 'echo "deb ...
32
votes
5answers
135k views

Adding SSH Keys to Authorized_Keys

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of the authorized_keys file for SSH. Luckily I have an SSH open, so I am still ...
13
votes
1answer
14k views

Not enough disk space '/' in AWS instance

i am running Ubuntu 11.04 instance for my Web Server on AWS cloud, now i am getting there is no disk space in / partition of my server. df -ah say this Filesystem Size Used Avail Use% ...
7
votes
4answers
4k views

How do I know what Ubuntu AMI to launch on EC2?

When I want to launch an instance of Ubuntu on EC2, how do I find the right one? There are thousands of public images that have "Ubuntu" in their name. I am only interested in running the Official ...
2
votes
0answers
2k views

VSFTPD not working

I followed instructions and other other instructions too but because it is not user-friendly, the ftp server is not working. # This option specifies the location of the RSA key to use for SSL # ...
5
votes
1answer
640 views

How to specify ec2 instance types for different services?

After I have specified a default EC2 instance type for my Juju charm, how do I override that for one of the services? For instance, the Juju tutorial deploys wordpress and mysql, and I can set the ...
12
votes
4answers
28k views

What is the default username for Amazon AMI images of Ubuntu Server?

I just launched one of the Ubuntu Server AMI's on Amazon EC2. I connect just fine, but I don't see anything to tell me the default login credentials. login as: ?
7
votes
2answers
2k views

what can be causing /etc/cron.daily/apt to hang?

Lately I've been getting a mail from the server every day, Subject Cron <root@host> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) Body ...
5
votes
5answers
10k views

vsftpd installation not working on virtual server as of 14.04

The process I have used for installing vsftpd since 12.04 no longer works. I get the error stop: Unknown instance when restarting the service. I believe this means the configuration is wrong, but I ...
4
votes
1answer
319 views

blocking all outgoing ports and its consequences

Is this the right way to block all outgoing ports? : ufw default deny outgoing But what are the consequences of doing this on amazon ec2? I'm running possibly unsafe perl scripts on my instance and ...
4
votes
2answers
2k views

Is my Amazon EC 2 running Amazon Linux or Ubuntu?

I am a little confused here. I created a Amazon EC2 instance with Ubuntu Linux 64-bit 12.04 LTS, now when I SSH into it I get the following but on Amazon Management console I get the following ...
2
votes
2answers
256 views

Tried to follow the EC2 Juju guide and it fails

I am evaluating Juju and when following the very basic tutorial https://juju.ubuntu.com/docs/getting-started.html, literally following every single instruction to a T, all I end up when trying to ...
2
votes
1answer
575 views

Blacklisting grub packages from installing

I am trying to block GRUB packages from being installed (after having purged them). The problem is virtually identical to Blacklisting packages from installing and even involves GRUB which is exactly ...
2
votes
1answer
721 views

What are the upstart events to monitor to attach/detach an EBS volume and an elastic IP at startup/shutdown?

I'm setting up an Ubuntu instance on Amazon EC2 and I'm trying to configure it so that, at startup, it automatically attaches an EBS volume and takes an elastic IP address and, at shutdown, it ...
1
vote
1answer
6k views

Yum install fails on Ubuntu EC2 instance

I'm using Ubuntu 12.04.3 on an AWS EC2 instance. This is my first time with an EC2 so it's all new to me. I'm also not the most experienced Linux guy either, so I apologize if this is a stupid ...
1
vote
1answer
236 views

Where is hadoop-ec2-env.sh in the Hadoop packages?

I'm unable to locate the file hadoop-ec2-env.sh. I've downloaded and intalled hadoop_1.0.4-1_x86_64.deb from http://mirror.olnevhost.net/pub/apache/hadoop/common/stable/ This is the most recent ...
0
votes
2answers
258 views

Can't run ntpdate on EC2

I have had some serious issues with time accuracy on my Ubuntu EC2 machines, with drifts of more than 60 seconds. A possible solution is running ntpdate or ntp, but I can't get them to work on EC2: ...