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

learn more… | top users | synonyms

0
votes
2answers
780 views

How to change the default user name from ubuntu to something else on EC2 AMI

How can I create a new Ubuntu AMI so that when a new instance is created the SSH credentials are copied under a different user than ubuntu (e.g. /home/administrator/.ssh/)? In short, I need to be ...
2
votes
0answers
343 views

How can I monitor cloud-init for errors, and trigger a script when it fails?

I'm using cloud-init to provision servers in AWS, and would like my servers to send an email when they're done (whether they fail or succeed). For successful cloud-init runs, the solution is trivial. ...
7
votes
2answers
1k 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 ...
1
vote
0answers
157 views

Any Ideas on a Better Browser Enabled Cloud Desktop using Ubuntu 12.04, Gnome and Amazon Web Services?

I am currently using NoMachine's NX Web Companion free product using java as well as FreeNX and an RDP for Windows to access a Gnome GUI Ubuntu 12.04 instance running on Amazon Web Services Free Tier ...
4
votes
1answer
272 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 ...
0
votes
2answers
2k views

How to give a new user permissions to call sudo without a prompt for sudo password?

I am setting up a server in Amazon EC2. I created an image from Amazon's provided images of Ubuntu x64 12 LTS. My goal is to set up a secure svn server there, where access is only possible by IP ...
1
vote
1answer
216 views

“Permission denied (publickey).” error when trying to ssh into server

I am trying to connect to a server via SSH. I am getting the following log from using the command: ssh -vvvT ubuntu@ec2-176-34-121-133.eu-west-1.compute.amazonaws.com. Please could someone help me ...
4
votes
5answers
17k views

Errors running apt-get update and apt-get install mysql-server

Since yesterday I've been trying to run apt-get update unsuccessfully in Ubuntu instances I am creating on the EC2. In specific I've been getting these errors: Ign http://security.ubuntu.com ...
1
vote
0answers
602 views

Ubuntu 12.04 failed mysql installation

I have deployed Ubuntu 12.04 on the Amazon Cloud and I am trying to install Nagios and Nconf, while following this guide. When I install the prerequisites, I get this error on installing mysql: ...
1
vote
0answers
245 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 ...
3
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 ...
5
votes
1answer
910 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 ...
1
vote
0answers
103 views

Connections to ubuntu server running on EC2

I have a ubuntu EC2 with its default settings. I'm using it for a web application that receives request from iPhone apps. I was trying to do a stress test to see how many connections could be handled ...
0
votes
1answer
391 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 ...
3
votes
1answer
790 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?
0
votes
1answer
80 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 ...
4
votes
1answer
414 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... ...
1
vote
1answer
100 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 ...
11
votes
2answers
9k 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
577 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 ...
2
votes
0answers
399 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 ...
2
votes
1answer
464 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
0answers
389 views

When uninstalling all GRUB packages for EC2 AMI build script, how do I bypass prompting?

When I try to uninstall all GRUB packages from the cloud-image version of Ubuntu I use in AWS EC2, I get an interactive prompt. I need put this all in a script under automation, so prompts need to be ...
5
votes
1answer
355 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 ...
1
vote
1answer
651 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
1k 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
3answers
13k 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?
3
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
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
717 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
597 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
347 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
317 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
5k 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
161 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
332 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
314 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 ...
18
votes
2answers
6k 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
753 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
597 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
312 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
402 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
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 ...
1
vote
0answers
120 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
223 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
494 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 ...
12
votes
1answer
11k 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
853 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
561 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
429 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 ...