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

learn more… | top users | synonyms

5
votes
1answer
423 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 ...
0
votes
1answer
576 views

multiple rails applications on same host name with different folders

When i ssh to amazon ec2, then pwd /home/ubuntu ls app_1 app_2 app_3 app_4 Considering i have mapped my ec2-122** address to some apps.site1.com How can i have multiple rails applications ...
1
vote
0answers
364 views

Ubuntu mailing services with Magento [closed]

I'm having some issues with sending emails out from Magento. I'm very new to Ubuntu and had been playing with it for the past 2 days. Is there anything I need to do to allow my mail to be sent out? I ...
4
votes
1answer
2k 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 ...
0
votes
1answer
88 views

How do Ubuntu updates appear on Amazon EC2?

I have Ubuntu 12.04 LTS installed in Amazon EC2 machine. Sometimes when I SSH into the machine I see a notice asking me to update some packages. Please see the screenshot image below My Question ...
0
votes
1answer
911 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 ...
3
votes
1answer
1k 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? ...
2
votes
3answers
677 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
163 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 ...
4
votes
2answers
652 views

Latest ec2 Ubuntu instance seems broken [duplicate]

Possible Duplicate: Trouble downloading updates due to “Hash sum mismatch” error I am using ec2 Ubuntu instances now for some time and never had a problem with. Today I created a new Ubuntu ...
3
votes
2answers
513 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, ...
2
votes
1answer
619 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 ...
4
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
2k 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
723 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
769 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
378 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
460 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
353 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
166 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
406 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
650 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
356 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
633 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
249 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
16k 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
891 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
711 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
441 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 ...
15
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
847 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
743 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
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
462 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
892 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
969 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
622 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
4k 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
947 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
8k 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?