Amazon EC2 (Elastic Compute Cloud) is a web service that allows users to rent virtual computing capacity on which they can run their applications.

learn more… | top users | synonyms (1)

3
votes
2answers
1k views

Lost sudo/su on Amazon EC2 instance

I have an Amazon EC2 instance. I can login just fine, but neither "su" nor "sudo" work now (they worked fine previously): "su" requests a password, but I login using ssh keys, and I don't think ...
2
votes
0answers
392 views

creating a VPN connection between AWS EC2 Ubuntu server and Ubuntu client

Setting up VPN server-client connection seems to be tricky. I have a sever on Amazon EC2 and would like to join it to my network at home. What is the simplest & quickest way to do it? Which ...
1
vote
2answers
9k views

How do I use a VPN on the Virtualbox Host to give access to all the Virtualbox Guest machines?

I am creating a lab setup on amazon ec2. I want to rent a 15GB Windows instance and run Virtualbox inside it. This Virtualbox will have a lab setup with multiple machines - Windwos, Linux, Solaris ...
1
vote
2answers
1k views

How to install mongodb on linux?

I'm a nuby on linux (never used it before), and I want to install mongodb on an EC2 linux instance. I still haven't found a good article which guide how to install mongodb on an EC2 linux instance, ...
5
votes
2answers
2k views

Why can't I ssh-copy-id to an EC2 instance?

I have a ubuntu Natty instance on EC2, and I can SSH into it by ssh -v -i ec2-keypair ubuntu@ubuntu@XXXX.compute-1.amazonaws.com But I'd like to set up password less sshing. So I tried these ...
5
votes
5answers
10k views

Accessing Amazon EC2 in Filezilla SFTP

I need help/guide how I can open my ssh access from a GUI or Filezilla. Here's the scenario my developer just left me with the login info to my Amazon EC2. Now I am finding difficulties in ...
2
votes
3answers
281 views

Difference between Fedora 8 and Fedora 15 filesystems

I am running Fedora on my development Amazon EC2 instances. I recently moved from Fedora 8 to Fedora 15. I noticed that when I do a "cat /etc/fstab" I see the following on my Fedora 15: ...
2
votes
2answers
704 views

Git push from windows pc to aws ec2 machine fails

I've followed the steps in this tutorial: http://cuppster.com/2011/05/12/diy-node-js-server-on-amazon-ec2 but when I came to the step "push our local code changes to the remote repository" I got an ...
4
votes
2answers
1k views

Get a fixed dns for an ec2 instance

I want to use an ec2 instance just to do work on some personal programming and text processing projects in the cloud (from an ssh terminal) rather than on a desktop. I don't always need access to the ...
3
votes
4answers
2k views

What is different between my git bash and cmd

I installed ec2 command line tools on windows this morning. When I try to run a command ec2-describe-instances in the git bash, I get this output: Exception in thread "main" ...
0
votes
1answer
476 views

failing to ssh into ec2 instance

I was following these ec2 setup instructions and when I get to the end where I need to use ssh -i path/to/myapp.pem ubuntu@XXX.compute.amazonaws.com I get the following error $ ssh -i ...
0
votes
2answers
406 views

Extra memory on EC2 [closed]

So, i'm looking at amazons high-cpu on demand instances, they have an 8 virtual core extra large high-cpu instance, but it only has 8GB of RAM. http://aws.amazon.com/ec2/instance-types/ I'm trying ...
0
votes
3answers
2k views

Amazon Linux AMI release 2010.11.1 corresponds to which RHEL version (4/5/6)?

I am using the default Amazon Linux AMI in an EC2 instance - Amazon Linux AMI release 2010.11.1. I can see that it's a Redhat based system, but after trying many tools (/etc/issues, uname -a, ...
2
votes
1answer
850 views

Is having Linux VPS same as Amazon EC2 or S3 [closed]

I am new to Amazon services so have no idea, whenever i ask some questions on forums , few recommend Amazon instead of VPS. So i want to know is having Amazon EC2 or S3 is exact replacement of VPS. i ...
0
votes
1answer
290 views

Elasticfox For Firefox4 Mac

I recently upgraded Firefox to version 4 on my Mac and now it seems Elasticfox no longer works. Does anyone know if and when Elasticfox will get updates for FF4 compatibility? Also, are any of you ...
2
votes
1answer
741 views

How to change the root SSH key on an EC2 instance

I have a running EC2 instance with Debian 10.04LTS that I'd like to change the root SSH key of. How do I do this, since amazon set up that key initially for me? Can I just change it the way I'd ...
2
votes
1answer
2k views

How to view contents of an EBS volume attached to an EC2 instance via Terminal?

I've setup an EC2 instance and have 2 EBS volumes attached to it. I would like to view the contents of each volume. How do I view it via the terminal (cd /somePath)? I've already have a valid SSH ...
0
votes
2answers
660 views

How to work on Python project to be run on an EC2 instance?

I just started a web project using Python/webpy. I've created an Amazon EC2 instance and now would like to work on the actual development side. Is there a way for me to open the Python files located ...
13
votes
7answers
46k views

How to install PHPMyAdmin on Linux EC2 instance?

I just finished setting up a default Linux EC2 instance and would like to install PHPMyAdmin. I already have Apache and MySQL installed but cannot seem to install PHPMyAdmin. I tried using sudo ...
5
votes
4answers
4k views

How to get Amazon EC2 instance operating system info?

I just setup an EC2 instance running Linux. Is there a way to get the version/distribution of Linux that is running on the instance via the terminal?
0
votes
1answer
2k views

Adding Webmin to Bitnami Lamp Stack

I'm running Bitnami on my free tier amazon bitnami-lampstack-3.0.6-0-linux-ubuntu-10.04-ebs (ami-aa8cf5f8) Description: BitNami Lampstack 3.0.6-0 EBS AMI Status: available Platform: Ubuntu Image ...
3
votes
3answers
13k views

How do I copy files into `/var/www` with WinSCP?

When I try to place my web files into /var/www in apache on my ec2 Ubuntu instance it is giving me an error stating that I don't have permission. Permission denied. Error code: 3 Error message from ...
5
votes
1answer
2k views

Can RackSpace cloud images be downloaded and used on a private cloud inside your local network?

I've read that for example Ubuntu Enterprise Could images can be loaded from a private cloud residing on your local network to Amazon EC2. Or you can create a image on Amazon EC2 and then download it ...
0
votes
1answer
967 views

Installing Gitosis on EC2/Ubuntu

I'm trying to get gitosis to work on my Ubuntu instance on EC2. I'm having a problem with getting the right key to work. I SSH to my server using the key provided in the AWS console: it's a public ...
1
vote
2answers
800 views

How to install Rails on an EC2 server?

I have installed Rails on my localhost, and now, I would like to install it on an Amazon EC2 server.
1
vote
3answers
2k views

x windows in a browser. ajaxterm but with X

ajaxterm is a terminal that works in a web browser is there a similar solution for x windows? if i'm in a library or on a netbook i can't use vnc, but every computer has a browser. so is there a ...
2
votes
1answer
1k views

Amazon Linux AMI: How to replace sendmail with postifx?

Apologies in advance for my nub question. Been using the Amazon EC2 Linux AMI and enjoying it. It comes configured with sendmail. I think I'd rather use postfix. I hoped replacing sendmail with ...
2
votes
2answers
4k views

EC2 volume not mounting via fstab; manual mount successful

I have a Micro instance running Ubuntu 10.04 x86 (AMI ami-3e02f257). It has the OS volume attached at /dev/sda1 and a second volume attached at /dev/sdf (reported as ...
12
votes
2answers
10k views

X11 forwarding from Amazon EC2 AMI

local$> echo $DISPLAY :0.0 local$> ssh -X -i PEMFILE ec2-user@AMAZONEC2_AMI [ec2-user@REMOTE_AMI ~]$ echo $DISPLAY [ec2-user@REMOTE_AMI ~]$ sudo grep X11 /etc/ssh/sshd_config ...
2
votes
2answers
977 views

How to stop adding IP from EC2 to known_hosts for ssh?

I start/stop lots of new instances as I'm learning to use Amazon EC2. Every temporary instance is added to the known_hosts file. Is this ever a problem for others who use EC2 a lot? I'd like to tell ...
0
votes
1answer
235 views

Pros and Cons of virtualized dev environment

Because I was sick and tired of installing the same dev tools for the different machines I used, I figured why not try to stick it all into an EC2 instance that I can remote desktop into from any ...
56
votes
2answers
45k views

How do i change my default shell from bash to zsh?

I want to change my shell from the default bash shell to zsh on my Amazon EC2 instances. How do I go about doing it? Thanks!
3
votes
5answers
1k views

Setting up scripts in Amazon EC2 Cloud

I am currently running a few perl and python scripts on a windows pc and would like to port over to the Amazon EC2 servers running 64-bit LINUX. The scripts are basic web scrapers that go to a ...
1
vote
2answers
245 views

Should I, and how do I, backup my database for a web application that is hosted on an Amazon EC2 server?

I set up Amazon EC2 instance using the Ubuntu server edition, and I installed the LAMP stack on it. I did up a PHP web application running on MySQL. I have tested the web application on Amazon EC2, ...
0
votes
3answers
3k views

No /etc/init.d/sshd file? (Ubuntu / EC2)

On a fresh EC2 instance running Ubuntu, I see that there's no /etc/init.d/sshd file. I tried sudo apt-get install openssh-server And it shows that openssh-server is already the newest version. How ...
2
votes
1answer
1k views

Minimal footprint ubuntu for ec2 micro instance?

I want to run a minimal footprint ubuntu on the new amazon ec2 micro instance. Is there a pre-built minimum ebs image available somewhere? I'm guessing the official ubuntu ec2 images are not minimal ...
2
votes
2answers
1k views

Using Amazon EC2 as a webserver with a specific IP address

I'm trying to create a personal/professional website within a college domain. From the university I've requested a static IP address which is directed to this website name: ...
3
votes
1answer
453 views

How do I create an ami for openSUSE in Amazon ec2?

I need to scale some services from local servers to Amazon ec2. The current production-environment is based on the latest openSUSE. In order to keep things simple, I want to run the instances in ec2 ...
1
vote
2answers
1k views

Windows Server not installing audio drivers properly

I am trying to install a dummy sound card on a Windows Server machine (in Amazon EC2 cloud) in order for one of my application to work. I'm trying to accomplish that with Virtual Audio Cable and ...
2
votes
2answers
2k views

Unable to open up port 80 on EC2 using elasticfox

I have launched an instance of EC2. Initially the security group I created did not have the port 80 open. I sshed and installed Apache etc, and now want to open port 80. I am using elasticfox. So I ...
2
votes
2answers
4k views

Mounting an Amazon EC2 instance on Mac OS X

I've got public key authentication working between my Mac OS X and an Amazon EC2 instance so that from the command-line I can just type the following and it works: ssh root@[IPAddressOfEC2Instance] ...
3
votes
3answers
1k views

How can I start X11 on a Linux system without graphics hardware?

I want to run some xulrunner based program on EC2 - it will run automatically but it needs some display as far as I understand. That probably requires X11 with some dummy screen driver. How can I do ...
3
votes
1answer
835 views

Are whole VM images backed up on Amazon EC2/S3?

I've been trying to get my head around Amazon Web Services as a VPS provider. My understanding is a EC2 instance running Windows is basically a Windows VM, very similar to renting a VPS from a more ...
3
votes
1answer
5k views

Mount EC2 instance via SSH on Mac OS X

OK I just can't figure this out. I have an EC2 instance, which I'm able to SSH into just fine with: ssh -i XXXX.pem ubuntu@XXXX.com I can even make it slick from the command line by creating a ...
1
vote
2answers
2k views

Meaning of FDSize in /proc/PID/status

I'm looking for a way to find out the open FD limit under Ubuntu machines which doesn't have the /proc/PID/limits, namely EC2 machines. I have been looking into /proc/PID/limits, and found the the ...