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

learn more… | top users | synonyms

2
votes
1answer
574 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 ...
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 ...
3
votes
1answer
3k 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?
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, ...
1
vote
1answer
685 views

Amazon EC2 : Authentication Failure after error sudo: must be setuid root

I was trying to change permission on a folder in a Amazon EBS volume mounted on a Amazon EC2 running Ubuntu EC2. When I entered the command sudo chmod -R u+rw,go-rw /mnt/my-address I go the ...
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
1answer
1k 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
743 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. ...
1
vote
1answer
363 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" ...
1
vote
1answer
397 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 ...
1
vote
1answer
348 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
163 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 ...
0
votes
1answer
360 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 ...
2
votes
2answers
632 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
336 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 ...
0
votes
1answer
1k 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 ...
3
votes
2answers
569 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 ...
1
vote
1answer
242 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 ...
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% ...
4
votes
2answers
876 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 ...
1
vote
1answer
1k 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 ...
2
votes
2answers
694 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 ...
1
vote
1answer
437 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 ...
13
votes
1answer
6k 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 ...
5
votes
3answers
827 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 ...
6
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: ...
2
votes
1answer
735 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. ...
3
votes
1answer
630 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 ...
3
votes
1answer
1k 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 ...
0
votes
1answer
454 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
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
778 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 ...
8
votes
4answers
932 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 ...
0
votes
1answer
605 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 ...
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 ...
3
votes
1answer
922 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 ...
6
votes
5answers
7k 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 ...
7
votes
1answer
9k 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 ...
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 ...
2
votes
1answer
873 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
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 ...
4
votes
1answer
110 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 ...