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
240 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
598 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
154 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
92 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
224 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
117 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
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
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
107 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
877 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
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
7k 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
404 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
649 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
12k 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
740 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 ...
14
votes
2answers
15k 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
1answer
605 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
293 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
269 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
817 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
286 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
1answer
5k 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
444 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 ...
3
votes
1answer
686 views

using ZFS and local hard drives as a cache for a remote iSCSI SAN

This is purely theoretical idea, i dont plan on doing this any time soon, but could you use Local hard drives as a kind of Cache to remote drives stored on Amazon EC2, shared to a user via iSCSI? The ...
1
vote
2answers
1k views

How Does One Connect to an Amazon EC2 Ubuntu Instance from Windows 7?

I would like to use VNC or similar to connect to my Ubuntu 11.10 EC2 instance similar to the way one logs into a windows server using remote desktop and while I've installed Xorg, I've not been able ...
0
votes
2answers
878 views

Amazon EC2 and eventmachine encryption issues

I'm testing out an Amazon EC2 instance (Amazon Linux AMI 2011.09, EBS boot, 32-bit architecture with Amazon EC2 AMI Tools.) to see if it'll serve my purposes. I've written a small backend in Ruby ...
0
votes
2answers
662 views

Nginx hangs on SSL

I'm running Nginx on an Amazon EC2 micro instance, with some some backend node processes and mongodb. Recently, I had about 5k hits in about 40 hours, and after a little while,the SSL site hung on ...
0
votes
1answer
1k views

Unable to create filesystem on new partition - Amazon EC2 instance

I created a new partition /dev/xvda1p1 on linux amazon ami. After that i am unable to create a filesystem. What is the issue? # fdisk -l Disk /dev/xvda1: 8589 MB, 8589934592 bytes 255 heads, 63 ...
2
votes
1answer
556 views

Amazon EC2 (Linux) + RDS (MySQL) + PHP + pdflatex = LaTeX to PDF online

I would like to have a website capable of converting LaTeX documents to PDF online. So for example user types in some raw LaTeX (document), I'm saving it into my MySQL database and I'm able to convert ...
5
votes
1answer
12k views

How can I open listen ports on an Amazon EC2 instance?

I'm using Amazon EC2 micro instance with Ubuntu 11.04 on it (official AMI by Canonical). I have created a new security group for this instance: Inbound: 22 (SSH) 0.0.0.0/0 80 (HTTP) 0.0.0.0/0 ...
8
votes
1answer
9k views

What's a good way to install “build essentials” (all common useful commands) on a blank EC2 Linux server?

I want to get some "build essentials" (like gcc, make, etc.) on an empty micro Linux box. Seems inefficient to spend my time trying to try installing one thing, then realize I need gcc, then realize ...
1
vote
1answer
844 views

Is there a good way to give ec2-user admin credentials on EC2? I'm sudoing too often

Disclaimer: I'm only decent with EC2 and Unix commands / Linux administration. Question: How do you give ec2-user the same permissions as root? I'm tired of sudoing. Why? I found out that you have ...
3
votes
6answers
10k views

What can cause a MAC Address to change?

I would like a summary of common scenarios that can cause a MAC address to change? Does hopping on a new network give you a new MAC? Does installing a new network device (e.g. WiFi card) cause a ...
3
votes
3answers
1k views

Lost sudo/su on Amazon EC2 instance

I have an Amazon EC2 instance. I can login just fine, but neither "su" nor "sudo" work now (they worked fine previously): "su" requests a password, but I login using ssh keys, and I don't think ...
2
votes
0answers
400 views

creating a VPN connection between AWS EC2 Ubuntu server and Ubuntu client

Setting up VPN server-client connection seems to be tricky. I have a sever on Amazon EC2 and would like to join it to my network at home. What is the simplest & quickest way to do it? Which ...
2
votes
2answers
10k views

How do I use a VPN on the Virtualbox Host to give access to all the Virtualbox Guest machines?

I am creating a lab setup on amazon ec2. I want to rent a 15GB Windows instance and run Virtualbox inside it. This Virtualbox will have a lab setup with multiple machines - Windwos, Linux, Solaris ...
1
vote
2answers
1k views

How to install mongodb on linux?

I'm a nuby on linux (never used it before), and I want to install mongodb on an EC2 linux instance. I still haven't found a good article which guide how to install mongodb on an EC2 linux instance, ...
6
votes
2answers
3k views

Why can't I ssh-copy-id to an EC2 instance?

I have a ubuntu Natty instance on EC2, and I can SSH into it by ssh -v -i ec2-keypair ubuntu@ubuntu@XXXX.compute-1.amazonaws.com But I'd like to set up password less sshing. So I tried these ...
6
votes
5answers
12k views

Accessing Amazon EC2 in Filezilla SFTP

I need help/guide how I can open my ssh access from a GUI or Filezilla. Here's the scenario my developer just left me with the login info to my Amazon EC2. Now I am finding difficulties in ...