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)

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
935 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
323 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
287 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
2k 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
59 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
131 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
125 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
247 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
203 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
34 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
100 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
860 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
556 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
5k 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
5k 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
162 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
3k 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
211 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
86 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. ...
4
votes
3answers
3k 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
482 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
439 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
301 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
154 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
80 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
95 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
556 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
531 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
133 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
142 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
264 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
224 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
407 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
48 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
80 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
313 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 ...
2
votes
1answer
99 views

User management for linux server

Here is the first part of my question. Should I set up two user accounts; one for the database and another for the web server? Or is it better to have one root user for all purposes?
1
vote
2answers
103 views

Where should I install binaries that don't come as .deb?

I'm going to run EC2 instance for dev purposes on AWS. Most likely Ubuntu (once had it on my laptop). I am Java developer, so I need JDK, Tomcat, Maven, Git and MongoDB on the server. But software in ...
1
vote
1answer
265 views

scp over ec2 ignoring a directory?

Facing a problem while using scp to download a file from AWS EC2 instance(to which I have assigned a elastic IP),scp is ignoring the my-store folder. But when i access the ec2 instance over ssh, I can ...
0
votes
0answers
517 views

Unable to connect to amazon ec2 instance over ssh

I am unable to connect to my amazon instance through ssh from a particular internet provider's connection. But I am able to traceroute to that ip from the same internet provider's connection. ssh ...
3
votes
2answers
957 views

Copying 500GB Data to EC2 Instances Local Drive

Please do not ask me why (they made me) but I have to copy 500GB data to the local drive every 200 node/instances that I am launching in EC2. For reasons beyond this post, this data must by on the ...
2
votes
0answers
240 views

Centos/Redhat XSP4 daemon

How can I install xsp to run as a daemon.I run my /etc/init.d/xsp script(see below) it stops with status message : Listening on address: 0.0.0.0 Root directory: /var/www/asptest Listening on port: ...
0
votes
2answers
841 views

.MP4 video (h.264 format) is not playing in iPhone when I host the video in Amazon EC2 instance

I have converted my source.flv video into target.mp4 (h.264 format) by using following command: ffmpeg -i source.flv -r 25 -b:a 128k -strict -2 -c:v libx264 -preset slow -s 320x240 -b:v 768k -ar ...
0
votes
2answers
2k views

Postgresql 9.2 where is the initdb located on Ubuntu

I am trying to install postgres on EC2 / EBS. I am following this article and stuck at the following step. sudo su - su postgres - /usr/pgsql-9.0/bin/initdb -D /pgdata I cant find the initdb ...
2
votes
2answers
2k views

Can't cd to directory of programs like apache or tomcat on ec2: permission denied

hi I have setup tomcat 7 through yum on an ec2 instance. I have access to the user ec2-user by default through aws from launching the ec2 instance. I am trying to simply look at my tomcat logs ...
0
votes
1answer
228 views

Remote connection to Amazon Instance (Ubuntu) from my Mac

Is it possible that I can access my Amazon Instance from my Mac? If it's possible, what configuration do i need to set from both computer? and What software do I need to run or install. I am able to ...