Amazon Elastic Compute Cloud (EC2), which allows users to rent virtual computer systems, is part of Amazon Web Services.

learn more… | top users | synonyms

4
votes
1answer
3k views

Connection ec2 instance operation timeout error using ssh

After creating a new instance, I am trying to access my instance like below: ssh -i private_key.pem root@my_instance_public_domain but the operation is timing out. I have updated the private key ...
3
votes
2answers
1k views

Create and Delete Amazon EC2 Volumes using a shell script

I am using this following script which does a regular backup of volumes on Amazon AWS cloud service. It creates new snapshots of the volumes and should remove snapshots older than two days. It is ...
9
votes
4answers
33k views

VSFTPD, 553 Could not create file. - permissions?

I've set up VSFTPD on Amazon EC2, with the Amazon Linux AMI. I created a user and can now succesfully connect via ftp. However, if I try to upload something I get the error message "553 Could not ...
4
votes
3answers
416 views

Does bash have a built in caching command available (sort of like mktemp or sponge)?

I'm using the amazon ec2 command line tools, and the ec2-describe-instances tool is a little painful because of the 2-5 seconds it requires to make the request and display the output. I'm looking ...
8
votes
2answers
9k views

How can I block a range of IP addresses with an Amazon EC2 instance?

I know a certain range of IP addresses are causing problem with my server, 172.64.*.* what is the best way to block access to my Amazon EC2 instance? Is there a way to do this using security groups or ...
1
vote
1answer
648 views

What is the optimum swap size on Linux for a heavily threaded program?

I using an Amazon EC2 server small instance and by default it allows 382 threads per process. However, I wish to run 10,000 threads in a single process. Recently, I learned that this can be done by ...
1
vote
0answers
257 views

Unable to connect by FTP to a Debian AWS server (ami-aa46b4c3)

I've launched an AWS instance with the image debian-6.0-squeeze-i386-server-20110323 (ami-aa46b4c3) and I am trying to set up a FTP server. I have tried several ftp servers but nothing seems to work. ...
2
votes
2answers
2k views

What do mkfs.xfs and modprobe do when mounting an Amazon EBS instance?

I'm looking through this guide for how to add an EBS volume to an Amazon EC2 instance, and I've found this little part of instructions hard to follow: Create an XFS file system on the EBS volume ...
2
votes
1answer
1k views

How should I set up additional EBS storage on an Amazon EC2 instance?

One of my clients has three EC2 servers on the Amazon cloud, with several attached EBS devices: server 1 and server 2 are ubuntu micro instances, and server 3, the main production box, is a ubuntu ...
3
votes
3answers
345 views

Install pdflatex via SSH on Amazon EC2 instance

I need to install pdflatex on my Linux powered machine (Amazon EC2 instance, didn't decided yet which distribution would be the best so also feel free to give a hint) because I want to connect ...
5
votes
1answer
234 views

How can I find a Ubuntu package to use with Amazon EC2?

I'm looking to set up a new server on Amazon's EC2 and I wanted to use Ubuntu 11.04 is it is fairly new but not too new. I previously used 10.10 which I think is also very stable and time-tested. My ...
7
votes
1answer
10k views

Is there a way to get the Public DNS address of an instance?

I have a project wherein I need to update configuration files each time an EC2 instance is booted with the Public DNS address of the current instance. I'll be using Perl or Sed for this, so that's ...
0
votes
1answer
680 views

Can't connect remotely to server running redhat (ec2)

I created a RedHat 6.1 VM with EC2. Logged in as root, I installed (unzipped) JDK1.7 in /root/bin/jdk1.7.0 and installed (unzipped) GlassFish 3.1.1 in /root/bin/glassfish3. I set JAVA_HOME and ...
2
votes
1answer
1k views

Attempting to update Amazon Route53 using a script, but domain is not being updated

I have several Amazon EC2 instances, running Ubuntu 10.04, with which I'd like to use Amazon's Route53. I setup a script as described in Shlomo Swidler's article, but I'm still missing something. ...