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
votes
1answer
490 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
355 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
162 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
84 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
98 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
686 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
628 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
153 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 ...
3
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
167 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
309 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
307 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
453 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
51 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
89 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
332 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
101 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
110 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
332 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
650 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
1k 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
282 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
990 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
322 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 ...
4
votes
2answers
915 views

How can I get Wireshark with a GUI on my EC2?

I have an Amazon EC2 machine that I'd like to run Wireshark on, using X forwarding. Unfortunately, the only Wireshark packages found with $ yum search wireshark are: wireshark-devel.x86_64 ...
5
votes
3answers
8k views

How do I use my keyfile to sftp transfer data from one server to another

I cant scp, the other server only takes sftp connections. Currently, I am trying to do sftp jay@server.name.com:/files> put -r ~/ -i keyname does not work, just resolves with illegal option -- ...
0
votes
3answers
418 views

Accessing Amazon EC2 site

I am new to cloud hosting and that stuff. So I finally managed to upload a file to instance using the code below using Terminal on OS X (Mac) scp -i key.pem index.html ...
0
votes
1answer
210 views

How to add IP restrictions to my amazon ec2 instance installed with ubuntu 12

I have to add IP restrictions to my amazon EC2 instance , The reason for doing it is , I dont want to allow to do ssh from all places , it should be allowed only from my ip address. I am new to amazon ...
1
vote
2answers
559 views

Recompiling Ubuntu kernel 12.04 on EC2

I have to recompile the Ubuntu 12.04 kernel for 1000Hz and I am following the documentation available here but its for Lucid and has a specific ec2 branch. Is is possible to recompile the precise ...
2
votes
0answers
1k views

How can I pass environment variable in nginx conf?

I have nginx conf as location /static/ { alias $HOME/code/python/vlists/vlists/static/; # if asset versioning is used if ($query_string) { expires max; ...
4
votes
2answers
146 views

What can I do to give some more love and disk space to my database on Ubuntu?

I'm new to linux. I've deployed a db to ubuntu server on amazon and found out I'm low on disk space. did df (see below) - and found out that I'm 89% capacity on one file system, but less on others. ...
1
vote
0answers
86 views

Amazon EC2 Windows Server 2008 + “Instance Status Checks failed”

I have Windows Server 2008 launched on Amazon EC2 Instance. While doing some configuration I changed IP address to the private IP address of Amazon EC2 instance. As soon as I changed IP address, ...
1
vote
2answers
197 views

Is there a command to uninstall?

I am using Amazon ec2 Linux instance. I am just wondering if there is a command to uninstall? For example I used: yum install openvpn How do I do the reverse of this (uninstall)?
0
votes
1answer
110 views

Symlink in ec2 /var/www/html/

I'm having problems with EC2 in the Amazon Cloud. My steps: I have a symlink to the S3 in /var/www/html I update my code and upload the code with git aws.push in my environment (var/www/html) ...
0
votes
1answer
39 views

How could I connect to multiple clients using their SSH settings for the same service?

Say I connect to Amazon's EC2 service for multiple clients, where each client has their own ssh settings and secret keys etc. Is there a way I could swap the settings for each client? I'm on OS X.
1
vote
0answers
69 views

Vim creates strange output when navigating up or down in Amazon EC2 Ubuntu

When navigating up or down in Vim whilst ssh-ed into an Amazon EC2 Ubuntu instance, strange output appears at the bottom of the screen. -I think the right-most info (e.g. 2,0-) is indicating cursor ...
2
votes
0answers
1k views

How to copy files from Linux to Windows with RDP (Vinagre)?

I'm able to log in to my EC2 instance with Vinagre but can't figure out how to copy files from my (Ubuntu 12.04) machine to that (Windows Server 2008) slice. Some googling yielded this which ...
0
votes
1answer
4k views

Can't download .zip from a shared Dropbox?

I'm trying to download a client's data onto a Windows EC2 instance to run some specialised software that's Windows-only. (I haven't used Windows in probably 8 years so I don't remember all of its ...
2
votes
1answer
4k views

EC2 ubuntu AMI ssh password default without key

I have a problem getting past the prompt after setting my first EC2 instance. The ubuntu LTS AMI supposed has ubuntu as the default user name. I set up the instance without keypairs when asked during ...
1
vote
1answer
104 views

Create directory structure in Amazon Elastic Block Storage(EBS) and save files from Java Servlets?

I am very new to this and trying to do this the first time. I have learned that Amazon Elastic Block Storage(EBS) can be used in a similar way as a hard Disk when mounted on Amazon EC2. Now I wish to ...
0
votes
1answer
778 views

debootstrap creates blank fstab (“UNCONFIGURED FSTAB FOR BASE SYSTEM”) - how do i configure fstab for the first time?

I've been following this tutorial to create a custom amazon ec2 image. It looks like debootstrap doesn't set up the fstab anymore. When I get to the mount /proc step, it complains: warning: can't ...
1
vote
2answers
1k views

can i create a symlink from an ec2 disk to S3 bucket?

Is it possible to create a symlink from a file on the local disk of a windows machine in ec2 so that it is actually stored in an S3 bucket? MSMQ wants to write our queue to a local disk and this ...
0
votes
1answer
2k views

How to obtain public SSH key in Amazon EC2 server

I have an Amazon EC2 Windows 2008 R2 server and I've been trying to get SSH working on it. I installed FreeSSHd after having numerous problems with CygWin/OpenSSH, but now I'm not sure how to load the ...
4
votes
2answers
5k views

“Cannot allocate memory” while no process seems to be using up memory

I am not competent on server issues, any help is much appreciated. When try to start a python/django shell on a linux box, I am getting OSError: [Errno 12] Cannot allocate memory. free -m seems to ...
0
votes
1answer
3k views

Permission denied in Amazon EC2 while accessing tomcat7 folder

I am trying to copy a log file from a Amazon EC2 instance to my local machine (Windows 7). I am using WinSCP438 which is able to connect to the remote server i.e Amazon EC2 instance. I am trying to ...
0
votes
1answer
386 views

Unable to access Tomcat7 folder in Amazon EC2 via WinSCP in Windows 7

I am trying to copy a file Catalina.out from Amazon EC2 to local machine using WinSCP. I have been able to establish the connection but when I try to access the tomcat7 folder I get the error ...
0
votes
1answer
559 views

How can I copy my Tomcat Catalina.out files from Amazon EC2 to my local machine?

I want to copy my Catalina.out from my Amazon EC2 instance to my local machine. How can I do it?
4
votes
1answer
10k views

Where to find log messages in tomcat7 installed on Amazon EC2?

I have installed Tomcat 7 on an Amazon EC2 running Amazon Linux. I have installed a WAR file on tomcat and I am using java.util.logging for logging messages in my code. Now how to access those log ...