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

learn more… | top users | synonyms

10
votes
2answers
2k 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 ...
8
votes
3answers
324 views

Server AMI images don't allow a user to login multiple times

When I log into twice to a new instance of Ubuntu server built for Amazon EC2, both windows will be exactly the same. Anything I type in one is replicated in the other. I never dealt with this when I ...
8
votes
2answers
8k 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: ?
8
votes
4answers
748 views

How to remove bottom information panel in terminal window on Ubuntu Server AMI images?

The Amazon AMI images have a default information panel at the bottom of the terminal window. I would like to remove this (it disables me from being able to scroll backwards in putty). It looks like ...
7
votes
1answer
5k views

How to attach new EBS volume to Ubuntu machine on AWS?

Disclaimer: I'm probably missing something obvious, sorry in advance. I need more EBS disk space for my Ubuntu 11.04 server running on Amazon EC2, and decided to create new volume in addition to the ...
7
votes
1answer
4k 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% ...
6
votes
1answer
3k views

Should I upgrade kernel packages on EC2 instances?

On my EC2 server, when I do sudo apt-get update && sudo apt-get upgrade, I see: The following packages have been kept back: linux-ec2 linux-image-ec2 linux-image-virtual linux-virtual ...
6
votes
5answers
4k views

How can I connect to my Amazon EC2 server using a desktop client

I've already setup an Amazon EC2 instance running 10.10 and am able to connect to it using the ssh command provided by Amazon. I noticed there is a 'Terminal Server Client' and a 'Remote Desktop ...
6
votes
1answer
275 views

AWS Ubuntu Instance - User rights

I am running an instance of Ubuntu on Amazon Web Services, all working pretty dandy. I've got one little snag that i'm trying to find the answer to atm. Amazon forces you to have another user other ...
5
votes
4answers
15k 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 ...
5
votes
3answers
554 views

What are the differences between the Alestic and UEC AMI images?

I am going to be bringing up a lot of AWS EC2 instances, and cannot find out what the differences are between the images provided by Ubuntu UEC at: http://uec-images.ubuntu.com/releases/ and the ...
5
votes
2answers
1k 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 ...
5
votes
1answer
263 views

How do I optimize apt-fast with Amazon Web Services (AWS) mirrors?

I know that Amazon Web Services has hosted mirrors that I can use to update my Ubuntu machines. I know there is a tool called apt-fast that makes multiple connections to a mirror server to improve ...
5
votes
1answer
3k views

Ubuntu 12.04 on Amazon EC2: /dev/xvda1 will be checked for errors at next reboot?

I'm running the lastest Ubuntu 12.04 AMI (ami-a29943cb) from Canonical on Amazon EC2 and quite often when I log in I get the message: *** /dev/xvda1 will be checked for errors at next reboot *** I ...
4
votes
2answers
581 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 ...
4
votes
2answers
801 views

How to update a running instance on ec2 without losing data?

when i try to connect ubuntu on ec2 I get the following message New release 'natty' available. Run 'do-release-upgrade' to upgrade to it. But when i try to run this command I get this message: ...
4
votes
2answers
293 views

How do I adjust the instance size that Juju uses?

I've fired up some of the example instances of Wordpress and MySQL with Juju. A coworker has told me that the default instance size is "small". I'd like to be able to scale this to different sizes on ...
4
votes
1answer
90 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
642 views

What is the best way to secure my EC2 server in regards to the SSH?

I have a Amazon ec2 instance, and was curious on if I should change the username (the default is ubuntu) or not? Since you need a public SSH key in order to access the server, I don't think you do, ...
4
votes
1answer
170 views

Juju instances in agent-state: down after turning them off (and back on) on EC2

I turned my Juju instances off on EC2 for a while and after bringing them back online they seem to be in an odd state: juju status 2012-11-17 17:06:44,094 INFO Connecting to environment... ...
4
votes
1answer
151 views

Installing Yaws server on Ubuntu 12.04 (Using a cloud service)

I'm trying to get a Yaws web server working on a cloud service (Amazon AWS). I've compilled and installed a local copy on the server. My problem is that I can't get Yaws to run while running on either ...
4
votes
1answer
290 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 ...
4
votes
1answer
103 views

Security in Hybrid cloud

How do we ensure security while setting up a hybrid cloud? For example, if I want to use EC2 or Rackspace, how can I make sure that the connectivity between the private and the public cloud is ...
3
votes
2answers
266 views

How do I configure Mediawiki on EC2 if anonymous browsing is disabled?

So I have new MediaWiki instance install on a brand new Amazon EC2 instances. All is going swimmingly, until I have to log in via the web browser to configure it. Since I'm running on a hosted server, ...
3
votes
2answers
620 views

How does Ubuntu Cloud Guest and Amazon web services work?

Could you explain me what I can do with ubuntu cloud and amazon cloud (Amazon EC2). How are they usefull. Can I use it like a real PC or it is only like a simple cloud wich can I put some files or ...
3
votes
1answer
2k views

“Server refused our key” when logging into Ubuntu on EC2 as a different user

We created an AWS micro instance running Ubuntu 10.04, and we can putty in as the "ubuntu" user using the key pair just fine. Now I've created two new users, but when I try to putty into the instance ...
3
votes
1answer
590 views

What is the purpose of the “bootstrapping instance” in Juju?

So I've recently played around with Juju, and I see quite a bit of potential. But there are a few things I don't exactly understand. Most notably, I'm not sure of the purpose of the "bootstrapping ...
3
votes
1answer
435 views

Is there a way to stop and restart a Juju deployment?

I would have thought that juju shutdown would move the instances in the deployment from "running" to "stopped." Instead it actually terminates all instances. Are juju deployments inherently ephemeral? ...
3
votes
1answer
184 views

How can I stop unattended-upgrades from rebooting the machine?

I just had a look at my Amazon EC2 instance and noticed I had 20 minutes exactly of downtime. I didn't know what caused it so I logged in to SSH and tried upgrading my packages, and saw that the ...
3
votes
1answer
1k views

How do I upgrade a server image inside EC2?

I setup an instance of Ubuntu on Amazon EC2 using an AMI that I had found. When I login to the server through SSH it says A newer build of the Ubuntu lucid server image is available. It is names ...
3
votes
2answers
235 views

EC2 Kernel without rpcsec_gss_krb5 mod

I'm looking into setting up NFSv4 with kerberos (via this). I believe I have everything working except I'm running kernel 3.0.0-16-virtual which doesn't seem to include rpcsec_gss_krb5. Which causes ...
3
votes
1answer
703 views

Permission denied on /dev/xvdf despite sudo?

I'm trying to get a stream off port 9999 and write to /dev/xvdf. I'm using Amazon EC2 with the Ubuntu 11.10 server image. By default I log in as 'ubuntu' which has sudo privileges. However, when I run ...
3
votes
1answer
2k views

In AWS Ubuntu AMI server refused our key while SSH login

I just have created a large-instance for ubuntu-AMI on Amazon ec2. generated a key pair & ssh open in firewall. now using puttygen i got ppk file since i am using window machine. now using publuc ...
3
votes
1answer
434 views

Create a snapshot/Backup of my Amazon Ubuntu Instance

Hi all I want to backup my amazon instance currently running on ubuntu 10.4 LTS, anyone know how to do that? I also have a Cent-OS instance which I bakup and restore by creating snapshots and images ...
2
votes
3answers
3k views

How to install dpkg-reconfigure?

I want to install dpkg-reconfigure in Ubuntu 12.04 LTS install on Amazon EC2? How to go about it?
2
votes
3answers
1k views

Run a script only at the very first boot

Is there an idiomatic way in Ubuntu to run a script only the first time a machine is booted? (EC2).
2
votes
1answer
716 views

ElasticFox on Firefox 4

How are you supposed to install the ElasticFox add-on on Firefox (4.0.1) on latest Ubuntu (11.04)? (ElasticFox is an extension for Amazon EC2 management.) Going to Tools -> Add-ons and searching for ...
2
votes
1answer
52 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
167 views

How do I configure Juju to use Amazon Web Services (AWS)?

I'd like to deploy services on AWS, how can I configure Juju to do this?
2
votes
1answer
190 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
535 views

Which user is running tomcat?

I have a Tomcat 7 server running on Amazon EC2 (OS - Ubuntu 12 LTS). How can I find out which user is running Tomcat on Amazon EC2?
2
votes
2answers
487 views

LAMP server installation stops at 79% configuring MySQL (EC2 BitNami AMI)

I have created an ubuntu 10.04 cloud server on the Amazon cloud (EC2) I am encountering a stalled LAMP install each time I try it. I've created about 5 fresh instances. Each time The installation ...
2
votes
1answer
505 views

Why am I unable to connect to my ec2 instance with Juju?

I'm using juju to boostrap and then deploy a service. I was able to create an instance before and deploy it, but after a few creations and deletions I am now unable to connect, ie run juju status. ...
2
votes
3answers
318 views

How do I start an SSH session from the Unity desktop with arguments (-i)?

Using SSH in a GNOME terminal is fine. But I want to use it in a Unity window (the location text field, ctrl+l). I need to refer to my .PEM x509 certificate for security reasons to connect to my ...
2
votes
2answers
342 views

Which package contains EC2 kernel in Ubuntu 12.04

In Lucid Lynx (10.04 LTS) I used linux-image-ec2 package which is not available any more. I need a package containing those files (or newer) vmlinuz-2.6.32-345-ec2 initrd.img-2.6.32-345-ec2 Using ...
2
votes
0answers
138 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 ...
2
votes
0answers
275 views

Unable to connect FileZilla to ubuntu ec2

I have a micro ubuntu instance on ec2. I have done a passwd to set it to simple password. I have installed vsftpd on the ec2 instance. And imported the ec2 pem file via FileZilla-Settings-SFTP, and ...
1
vote
1answer
392 views

MySQL keeps failing to install

First I clean up previous installation root@ip-10-134-10-182:~# rm -rf /var/lib/mysql root@ip-10-134-10-182:~# rm -f /var/lib/dpkg/lock root@ip-10-134-10-182:~# rm -f /var/cache/apt/archives/lock ...
1
vote
1answer
66 views

Does anyone know of a program like Elastics for Linux?

On mac I would use Elastics (http://tundrabot.com/elastics) To kind of, monitor my EC2 instances. Most important to me was that it worked across several accounts and that it allowed me to connect to a ...
1
vote
1answer
46 views

using juju with elastic block storage ( EBS )

Is there a way we can use EBS for ec2 instance with juju. And possibility of scaling the storage after the deployment, Thanks

1 2