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)

1
vote
2answers
4k views

No module named yum after “yum update”

Amazon EC2 Linux AMI Python 2.7.5 yum 3.4.3 I recently did a "yum update" and I'm guessing this lead to my issues. Yum now does this: # yum There was a problem importing one of the Python modules ...
2
votes
1answer
93 views

puzzling DNS behaviour (ubuntu)

(All IPs and names have been censored, hopefully) This morning we had some connectivity problems in one of our servers. It turns out that changing our connection configuration to be IP-based (not ...
0
votes
1answer
621 views

“Permission denied (publickey)” error when ssh'ing to Amazon EC2 Debian AMI 05f3ef71

I have launched a Debian system using AMI 05f3ef71 in Amazon EC2, but I have no lock connecting to it using SSH as suggested in "Connecting to Your Linux/UNIX Instances Using SSH". I tried several ...
0
votes
1answer
147 views

SFTP on Amazon EC2 instance with Debian adding limited access users

I have a amazon EC2 instance with debian 6.0 installed. I am using SFTP via SSH to transfer fileles to my sever. But With root key all the folders from server are exposed. How can I generate different ...
2
votes
1answer
333 views

Apache james email server on EC2 (domain name mapping)

I have Amazon EC2 (windows) instance which hosts Tomcat & Apache James mail server. James works fine on EC2 locally (I have created a domain and updated etc/hosts file to mimic domain. Using ...
1
vote
1answer
844 views

Broken sudo on amazon web services ec2 linux centOS

So I had no idea of the dangers of messing with the /etc/sudoers file, and was just trying to make a simple change in there. However, I seem to have put something with incorrect syntax in there, ...
0
votes
1answer
344 views

Where to install SSL Cert

I have Bluehost hosting my landing page and a few subdomains. One of the subdomains has a A-Record that points to an Amazon EC2 instance running tomcat. I would like the tomcat application to be ...
1
vote
2answers
228 views

Linux/SSH - get EC2 instance to read local .bashrc file

I have a custom .bashrc file with color codes locally on my Linux machine running Ubuntu 12.04 for both my user and root. I connect to Amazon EC2 instances daily running the same distro and would ...
0
votes
1answer
1k views

How to point domain name to Amazon EC2 subdirectory

I'm having trouble pointing a domain name to a subdirectory on an Amazon EC2 instance. FYI - I'm not too experienced with DNS or networking ... So jumping right in ... I set up an Amazon EC2 ...
0
votes
1answer
232 views

/mnt permissions keep changing on EC2 instances

I have a few Ubuntu instances on EC2 where I use the /mnt instance storage to keep logs and other fungible stuff. In order to store user logs the /mnt directory needs to have 777 permissions: $ sudo ...
2
votes
2answers
646 views

Having bridged network for lxc containers in Amazon ec2

I am trying to setup LXC containers on top of Amazon. I am very much new to Amazon and VPC especially. In fact created VPC for the first time to experiment lxc. My Goal: My goal is to have lxc ...
2
votes
1answer
107 views

rsync via gateway ssh while defining .pem key

I need to sync my local files through a gateway to an Amazon EC2 instance that requires specifying my .pem key. I can do this as a three step like so (assuming no typos): rsync -avzh -e ssh ...
1
vote
1answer
354 views

How to login to EC2 Linux instance if sudo password is not known?

I am trying to login to my EC2 Linux instance, but someone has changed the sudo password. So I could not install or uninstall any application.
-1
votes
1answer
285 views

Peformance of Amazon EC2, what do I actually get? [closed]

I have read some articles about Amazon's Web Services and am interested in: Knowing exactly what I am getting (maybe some equivalent terms to a physical machine would be helpful) The "performance" ...
0
votes
2answers
2k views

Finding my network's public IP address range

I am referring to the following instructions to setup Amazon EC2 web services on my local machine: AWS-Security-Group I do not know how to complete the first bullet under step 6. How do I find my ...
0
votes
0answers
314 views

Reverse port forward with EC2

I have two computer behind NATs so I thought of using a free tier EC2 server as a SSH relay. Followed this simple tutorial http://www.acooke.org/cute/ReverseRem0.html which seemed pretty reasonable. ...
2
votes
2answers
670 views

What actually is Amazon EC2's 'pay per hour' for on demand instances?

I'm thinking to host my ROR website on Amazon EC2. I wont be needing a S3 as of now. But when I check the their pricing it's like Micro - $0.020 per Hour I don't get this per hour billing.My ...
0
votes
0answers
45 views

Transport Large Directory Structure to AWS EC2

I need to transport just less than 6 TB of data from one Windows Server 2008 R2 (located locally) to a second instance on a customer AWS EC2 instance. The customer configuration does not allow Device ...
1
vote
3answers
562 views

Why would a shutdown script NOT run?

I have installed a shutdown script on an Ubuntu system which doesn't get executed. It is an Amazon EC2 instance. I'm not sure it has to do with this fact just wanted to point it out. The script ...
0
votes
3answers
4k views

Port 80 not accessible Amazon ec2

I have started a Amazon EC2 instance (Linux Redhat)... And Apache as well. But when i try: http://MyPublicHostName I get no response. I have ensured that my Security Group allows access to port ...
0
votes
1answer
236 views

Amazon Cloud as a Server with alot of RAM [closed]

I need a server with very big size of RAM, so around a ~1TB, for a GIS DB, that would be not written to hard disk, because the data is irrelevant after a seconds. So i do not need a lot of disk space, ...
1
vote
3answers
117 views

Use latest version of package in bash script

The installed package libnet-amazon-ec2-perl uses v0.14.1. How do I update this package to use the latest stable release v0.22.1? When I try sudo apt-get --only-upgrade install ...
0
votes
1answer
41 views

Multiple user directories on EC2

Im trying to set up multiple user directories on EC2 running Ubuntu, but im not sure how to set it up correctly so that i can serve files in the following format: http://<ec2 ip ...
2
votes
1answer
1k views

Amazon Opsworks RDS, EC2, Rails 3, Phusion - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (Mysql2::Error)

I'm really close to having a simple Rails app deployed on Amazon Opsworks - using an EC2 instance running Phusion Passenger, and an RDS instance for the database server (it runs mySQL). The app code ...
1
vote
1answer
551 views

Creating an 'alias' or 'symlink' to a separate folder in apache

-/ |--bin |--home |--user_1 |--somefile.html |--somefile2.html |--user_2 |--differentFile.html |--var |--www |--file1.html i want the urls to be ...
1
vote
0answers
345 views

Adding a disk to an Amazon EC2 instance

I am using Amazon EC2 instance where I have low disk space [root@ip-10-59-143-73 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/xvde1 5.7G 3.3G 2.3G 60% / none ...
0
votes
1answer
3k views

Cannot find “.ssh” Folder on Mac

I am trying to build up a connection to Amazon EC2 via SSH. Sadly I cannot find the folder to put my .pem file in. When typing ~/.ssh In the terminal I get: No such file or directory I have ...
-1
votes
0answers
71 views

How to speed up mahout learning process? [closed]

I have been using a dataset with million documents as a training set. It takes a day for mahout to learn in my machine with 8GB ram, intel i5 2.50GHZ? Is there any tweak to improve the learning ...
2
votes
1answer
45 views

How to estimate compute time on EC2?

I need to generate data samples for my thesis, using some R/C++ code I've written. It can be embarrassingly parallel, and I've generalized it to run on local multicore machines without much trouble. ...
1
vote
3answers
145 views

Keep GUI app running after vncserver shutdown

I am trying to do the following: Connect through SSH to an Amazon EC2 instance Start a VNC server Connect through VNC Start a GUI application and log in Kill the VNC server but keep the GUI ...
0
votes
2answers
131 views

How to extract IP address from Amazon hostname?

I really don't know why, but Amazon Web Services provided me with some weird hostnames for my machines. Now I need to list all them with knife to use in a bash script. I'm saying that the IPs are ...
1
vote
0answers
307 views

installing redis server on an ec2 instance where postgres is installed

I have an ec2 microinstance. I have installed only my postgressql database server over there. I want to try redis for celery backend and also for some realtime value storing. I am expecting as of ...
0
votes
2answers
235 views

Unable to find source of mounted volume on AWS EC2 instance

I have an Amazon EC2 instance running Ubuntu with a mount, /mnt/resources. When I run df -h, I can see the following: /dev/sdb 414G 238G 155G 61% /mnt I can't seem to figure out ...
0
votes
1answer
35 views

On ec2 how do I use navigation shortcut keys?

Whenever I ssh to ec2 I notice that ctr+a (beginning of line), ctrl+e, and other navigation keys do not work in terminal. Is there a way to set up my ec2 terminal so that I can use these navigation ...
1
vote
0answers
109 views

Python taking too much memory on server,

I have a running EC2 instance on amazon AWS. and some time server gives me the memory maximum utilization above 97%. When i saw my server stats on newrelic That showed me the below running processes ...
1
vote
3answers
1k views

Unable to use sudo su - command

I am new in ubuntu, i am trying to run following command sudo su - Bu i am getting following message sudo: unable to open /etc/sudoers: Permission denied sudo: no valid sudoers sources found, ...
1
vote
1answer
667 views

how to correct sudo permission

I'm running AWS EC2 Micro instance and had issues getting permission to the root access with EC2-user. Followed a tutorial online and ran the following commands: sudo chgrp ec2-user /etc sudo chmod ...
0
votes
1answer
7k views

Setting correct permissions for uploading files

I have a php script that uploads a file to a directory called "uploads". The only way I can get the upload to work is if I do: chmod 777 uploads I know this isn't correct but I don't know ...
4
votes
1answer
3k views

unable to create txt record using amazon route 53

I can't add the following TXT record to my Route 53 DNS config: v=msv1 t=whatever Doing so produces the following error: The record set could not be saved because: - The Value field contains ...
2
votes
2answers
7k views

getting my domain name to point to my amazon ec2 instance

I'm trying to get my godaddy.com domain name pointed to my Amazon EC2 instance and am having some difficulty. I created a hosted zone for my domain name on route 54 and set the namesevers up as the ...
1
vote
1answer
167 views

EC2 - run a script immediately after ssh login?

I don't even know if this is possible but I thought I'd ask anyays! I'm wondering, is it possible to run a script immediately after a SSH login? My thought is to make a python script that executes ...
3
votes
2answers
4k views

Can I run Windows 7 in Amazon AWS [closed]

I'd love to be able to do some testing on blank images of a windows 7 machine, and rather than have to set up VirtualBox with Windows 7 and use snapshots etc I thought I might just use EC2 on AWS and ...
2
votes
0answers
243 views

Connect to Amazon EC2 with NFS

I'm trying to connect to my Amazon EC2 from my laptop using NFS. I've installed nfs-utils rpcbind and have the following in /etc/exports /mnt/data/myuser *(rw,async) Then load the changes exportfs ...
1
vote
0answers
92 views

Can't ssh to ec2 after using afw

I just used ufw to enable port 1337 on my Ubuntu system for the first time. After that, my instance was fine, but port 1337 was still not open, so I changed the security group from the ec2 console. ...
6
votes
3answers
4k views

Moving EBS snapshots to Glacier

I have hundreds of large EBS snapshots I need to move to Glacier. What's the best way to go about doing this?
0
votes
0answers
542 views

How can I configure FTP on an Amazon EC2 instance for use with Dreamweaver?

I'm setting up a web server on EC2 running Debian GNU/Linux 6.0. For simplicity's sake I'd like to use FTP. I realize this is insecure but I'm using Dreamweaver which doesn't support SFTP (see this ...
-1
votes
1answer
473 views

How to configure SFTP at amazon EC2 WITHOUT key file [closed]

My EC2 server running a Debian distribution: Debian GNU/Linux 6.0 I need to connect dreamweaver to an Amazon EC2 instance but it is not working with keys. I need do configure my server to work ...
1
vote
0answers
333 views

mysql remote connection on Amazon ec2 ubuntu

I installed a MySQL server in an Amazon EC2 instance. Then, I made the following changes in /etc/mysql/my.cnf: bind-address = 0.0.0.0 #skip-external-locking After restarting the server, I executed ...
0
votes
1answer
159 views

Host Interceptor gives localhost as hostname in aws

I'm trying to write my apache logs from my ec2 instances. I want the logs separated by hostname. I'm using host interceptor to get the hostname. My configuration is below. ...
0
votes
0answers
81 views

SSH into Linux box from EC2

I can't seem to ssh from my ubuntu EC2 server into my work linux box. From my work linux box, I can ssh into myself via ssh -p <my listening ssh port> <user>@<my ip> The same ...