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

learn more… | top users | synonyms

3
votes
3answers
11k 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
1answer
2k 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
1answer
929 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
0answers
700 views

How to reinstall mysql without damaging data?

http://stuffthatspins.com/2011/01/08/ubuntu-10-x-completely-remove-and-clean-mysql-installation/ shows how to reinstall everything. I want to do something like this without reinstalling data. ...
2
votes
3answers
545 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 ...
1
vote
1answer
332 views

Where can I find the mon-* set of Amazon CloudWatch tools?

Once upon a time, based on the large quantity of websites saying that all I needed to install to administer Amazon services including CloudWatch and Auto-Scaling Groups was the "ec2-api-tools" ...
0
votes
1answer
273 views

How can I install rjags on Ubuntu AMI on EC2?

I installed the pre-built Amazon Machine Image with Rstudio Server provided by bioconductor into a free micro instance on EC2. Then I installed JAGS (Just Another Gibbs Sampler to use it via rstudio ...
3
votes
3answers
4k 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).
0
votes
1answer
155 views

Tool to fire up EC2 instance and SSH in?

It's a fairly common thing that I want to fire up a clean EC2 instance of a particular version of Ubuntu (usually lucid or precise) and then SSH in to that instance once it's up. I've got some Python ...
1
vote
1answer
314 views

Can't get juju to deploy, problem with ec2 keypair?

I wanted to give a shot at deploying a Wordpress blog with Juju. Although am very new to Juju and the Amazon EC2, and am having some troubles. I am able to bootstrap an environment like this: juju ...
0
votes
1answer
286 views

Cant access ephemeral storage on Amazon ubuntu instance

I want to utilise my ephemeral storage as mentioned in this question but I seem to be falling at the first hurdle. I can't even see /mnt: ~$ df -ah Filesystem Size Used Avail Use% Mounted on ...
17
votes
2answers
5k 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 ...
0
votes
1answer
689 views

Problem with squid on EC2

I created an instance from the canonical AMI that have ubuntu server 12.04 64bit and install squid. The only changed to the /etc/squid3/squid.conf file was: acl localhost src 127.0.0.1/32 ::1 ...
2
votes
2answers
573 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 ...
1
vote
0answers
295 views

nginx does not respond requests for rails app [closed]

I try to deploy my app to EC2 son Amazon via nginx and passenger. I did what the passenger installation comments say. But when I run my nginx and try to enter my site it does not respond even withan ...
3
votes
2answers
371 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, ...
0
votes
1answer
942 views

Ubuntu AMI with swap for micro instance

The default Ubuntu AMI does not have swap enabled, but it is not suitable for production use as the machine just crash when it is Out Of Memory. Are there existing images with swap enabled so I can ...
1
vote
0answers
115 views

How to repartition an EC2 micro instance under ubuntu 10.10? [closed]

I want to create an instance to run a webserver under EC2 using ubuntu 10.10. That's actually quite easy, but what I'd want to change how that virtual disk partitioning is made. Using the wizard they ...
1
vote
1answer
202 views

/etc/init.d Character Encoding Issue

I have a script in /etc/init.d on an EC2 image that, on machine startup, pulls in source code via SVN, builds it, and then runs it using Ant. The source code is Java. Within this code is a call to the ...
3
votes
2answers
439 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 ...
11
votes
1answer
9k 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% ...
3
votes
2answers
815 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 ...
4
votes
1answer
500 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 ...
1
vote
1answer
419 views

Sphinx initial configuration hungs at checking for CFLAGS needed

I have never had any problem installing Sphinx on Ubuntu (local and Sphinx 2.0.2). Always worked out of the box. Today I tried to install Sphinx 2.0.3 on Ubuntu 11.10 on Amazon EC2. I have started ...
2
votes
2answers
631 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
689 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. ...
5
votes
3answers
768 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
2k 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: ...
3
votes
1answer
955 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 ...
1
vote
1answer
4k views

Creating a mail server on Amazon EC2?

Does anyone know the latest AMI that has the preconfigured Postfix mail server on it, for use with a "micro" instance of Amazon EC2? I'm having trouble searching for a AMI instance using ElasticFox ...
7
votes
1answer
494 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 ...
3
votes
1answer
540 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 ...
4
votes
2answers
1k 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, ...
3
votes
1answer
3k 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 ...
0
votes
1answer
569 views

EC2 ephemeral drives missing on 11.10 AMI? (ami-21f53948)

Sorry in advance if this is the wrong place for this kind of question. I'm porting some of my EC2 application's start scripts to the 11.10 ami-21f53948 AMI, from a similar 9.10 (ami-6832d801). One ...
1
vote
1answer
1k views

How to use cpulimit on ALL cron jobs?

Using Ubuntu Server an AWS micro box, so if the cpu utilization spikes AWS will virtually kill the CPU for the box (for about 30 sec). nice doesn't solve the problem, but cpulimit does (I use it in ...
10
votes
1answer
4k 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 ...
8
votes
3answers
382 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
4answers
869 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 ...
9
votes
2answers
20k 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: ?
3
votes
1answer
672 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
845 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
3k 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 ...
6
votes
3answers
3k 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
2answers
622 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 ...
1
vote
1answer
949 views

Red5 start script not working

I have an EC2 instance running Red5 and I added the following script to the scripts that run on startup and shutdown of the server: ################# NOTE FROM DOMINICK # First Follow these ...
0
votes
1answer
407 views

apache2 is making my amazon ec2 unavailable, any ideas?

I have a web server running on a EC2 c1.medium intance. The instance is running on ubuntu, with apache2 and mysql.The ubuntu and apache version are the next; Ubuntu DISTRIB_ID=Ubuntu ...
1
vote
2answers
2k views

How to setup IPSec with Amazon EC2

How to setup an IPSec connection from my ubuntu laptop to Amazon EC2 instance? I tried setting it up using elastic IP and VPC with the following openswan configuration but it is not working. conn ...
1
vote
1answer
53 views

How do I find out what Amazon has stored?

I would like to control/recover/delete files on Amazon. How is this done?
3
votes
1answer
2k 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 ...