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
2answers
64 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
119 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
351 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
102 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
113 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
416 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
833 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
352 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
1k 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
3k 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
443 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
1k 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 ...
7
votes
3answers
16k 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
449 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
281 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
623 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
163 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
96 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
284 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
125 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
40 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
72 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
5k 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
111 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
961 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
2k 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
3k 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
8k 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 ...
1
vote
1answer
3k views

Permission denied in Amazon EC2 while accessing Tomcat 7 folder

I am trying to copy a log file from an Amazon EC2 instance to my local machine (Windows 7). I am using WinSCP438, which is able to connect to the remote (Amazon EC2) server instance. I am trying to ...
0
votes
1answer
421 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
742 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?
5
votes
1answer
14k 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 ...
0
votes
1answer
820 views

Disk doesn't contain a valid partition table

I was running a m1.small instance ec2 ubuntu instance. I was running out of disk space, so I upgraded my instance to medium. When I upgraded I actually got 429.5 GB of space and after that I added 10 ...
1
vote
1answer
1k views

ec2-import-instance of VMWare vmdk of Windows OS success, but can't RDP access the new ec2 instance

I have a virtual machine for CI/build (Subversion, Jenkins) environment running Windows Server 2008 inside a VMWare server 2.0. We are migrating to AWS EC2 so using ec2-import-instance command line ...
15
votes
2answers
18k views

What is the difference between Amazon Linux and RedHat Enterprise Linux on AWS EC2?

I am very new to this and I don't even know if I should ask this question here or on Stackoverflow or ServerFault. The Question I wish to set up a EC2 instance on Amazon Web Services. My ...
0
votes
2answers
677 views

Installing pdftk on Amazon EC2 Linux Instance

I am having trouble installing pdftk on an amzn-ami-2011.09.2.x86_64-ebs (ami-953b06e1) instance. Since pdftk is not in the list of available packages I have tried to build it from source but failed ...
0
votes
1answer
308 views

sox mix nested scripts on amazon ec2 rhel linux

I'm trying to use "sox" to mix some audio files. The command works great on my Mac terminal sox -m audio.wav "| sox upload.wav -p trim 2 1 pad 6" final.wav This mixes (not concatenate) audio.wav ...
2
votes
3answers
3k views

How come cd doesn't work in my shell script?

SOLVED I'm trying to make a shell script on my Linux Amazon-EC2 server that will start my Minecraft server but the cd command says it can't find the directory or file when I try to change to the ...
1
vote
1answer
286 views

Unable to connect to thin server on ubuntu

I'm unable to connect to my webserver over the web. I've got an ec2 instance running with ubuntu 11.10 on it. It's running a thin server on port 9292. I can ssh into the ec2 box, and do curl ...
5
votes
2answers
3k views

How do I change the resolution of an Amazon EC2 Windows Machine?

(I debated between posting this here, ServerFault, and StackOverFlow. Settled for this. Hopefully it's in the right place.) We run our UI testing suite using Selenium Grid 2 with an Amazon EC2 ...
1
vote
1answer
883 views

How do I configure a Netgear FVS336g for use with Amazon VPC?

I think it should be possible to create an IPSec tunnel between a Netgear FVS336Gv2 firewall/router and AWS VPC however, I've been unable after several tries. How do I setup a connection for a Amazon ...
1
vote
1answer
300 views

Bahamut IRCD on Amazon EC2

I'm trying to run the Bahamut IRCD on my Amazon Linux AMI EC2 instance. I've opened the appropriate ports in my security group, but any attempt to telnet those ports (6667-6669) gets a "connection ...
3
votes
2answers
2k views

How to setup EC2 spot instances with elastic IP? [closed]

I would like to set up an EC2 spot instance with an elastic IP. Here's the catch: if a spot instance is interrupted and resurrected later, Is the ip reassociated to the new instance? Am I billed for ...
2
votes
2answers
6k views

Cannot RDP, Ping, etc to Amazon EC2 Instance

I've been trying to ping an Amazon EC2 Server on the Free Tier. I created a: Windows-2008-SP2-i386-Base-2012.01.12 (ami-fed396ac) Description: Microsoft Windows 2008 Datacenter 32-bit AMI ...
0
votes
1answer
492 views

Searching files in the server and searching string inside the source code

Are there software that enables you to search files or string inside your sourcecode that's on the server? The text editor I am currently using is Coda by Panic and the server I am using is Amazon ...