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
1answer
344 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
266 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
291 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
559 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
44 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
492 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
211 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
104 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
983 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
440 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
329 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
67 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
44 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
138 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
130 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
289 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
220 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
106 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
992 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
605 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
6k 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
2k 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 ...
1
vote
2answers
6k 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
165 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
220 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
91 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. ...
5
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
516 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
448 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
323 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
157 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 ...
1
vote
0answers
96 views

How to reduce memory footprint of t1.Micro Amazon AMI? [closed]

I recently launched (several tries) Amazon Linux AMI 2012.09 because of the 1 year free tier. However, its always running out of memory. How can I reduce the initial memory footprint of this AMI?
0
votes
1answer
593 views

How to install PHP 5.3.18 on Amazon EC2?

I am googling for a while but with no luck. I am looking for quickest way of installing PHP in 5.3.x version on Amazon EC2. Could someone give me any advice?
0
votes
1answer
566 views

Code management on Amazon EC2 with SVN and IDE

I was looking for a solution to a generic issue most developers might be facing. I have a PHP Application running locally on WAMP which I wish to deploy to Amazon AWS. I currently manage version ...
1
vote
0answers
142 views

Install and setup FTP for nginx on Amazon EC2?

To install nginx and node on my Amazon EC2 I followed this guide: Installing Node.js on Amazon EC2 Now I want to get an FTP up and running and set it up so that when I connect to the FTP I ...
2
votes
1answer
2k views

Allowing multiple users SSH access to Ubuntu instance running on Amazon Web Services

It seems as if similar questions have been asked before, but the issue that I am having hasn't been raised or answered as a part of the answers provided to the other questions. So... I'm using an ...
2
votes
1answer
150 views

How do amazon EC2 instant's random DNS entry gets resolved

I am new to EC2 and please help me in understanding this better. When I created an EC2 instance it immediately got a name ec2-67-201-11-147.compute-1.amazonaws.com and I could dig them immediately. ...
1
vote
0answers
282 views

Apache2 not responding on Amazon EC2

It is my first time to use Amazon EC2 linux micro instance with OS Ubuntu 12.04 [inside the box] I noticed it did not have Apache installed by default, so I did sudo apt-get install apache2. After ...
2
votes
2answers
248 views

Cannot scp file to an EC2 instance that I can ssh to

I have two EC2 instances that were created from the same AMI, which was created from the Amazon Linux AMI. These are running mysql in a master-slave configuration. The security group ("db") is ...
0
votes
1answer
426 views

Amazon EC2 linux user accounts

I have a Linux AMI setup on EC2. The default user is ec2-user. I created a second user account on the instance. I copied the .ssh/authorized_keys file from ec2-user home directory to the new user's ...
0
votes
2answers
49 views

Disable Amazon AWS Echo to Different SSH Connections

I am on a Power Mac OSX mountain lion. I ssh into an amazon aws ec2 instance. Then I want to ssh into the same aws ec2 instance. When I do any command in one connection it is echoed in the other ...
0
votes
1answer
83 views

Cant write to directory when not logged in as root

I am switching a site over to amazon ec2 and the pages that allow a user to upload a file to a directory arent working. When Im logged in as root via ssh I can 'touch' a new file to there but not when ...
0
votes
1answer
317 views

Autostart for ubuntu server

Here is the first part of my question. Splitted it because of rule "One topic - one question". My third and main question is about configuring autostart for webserver and database. init.d scripts ...