amazon-ec2

Ant Tasks for Amazon EC2/S3?

Does anyone know of a good library providing Ant tasks for performing operations against Amazon EC2/S3? I'd like to leverage S3 for deployment of new WAR files for my applications, and figured Ant would be a good way to keep simplify the process and keep everything consistent. Any recommendations? ...

How can I edit a file on EC2 directly from my localhost?

I have a batch script on an EC2 instance that I would like to be able to edit directly from my desktop's text editor. What is a good method of doing so easily? ...

Use EC2 to Zip S3 files

Hello all, I am trying to use EC2 to zip up some files that are stored in an S3 bucket. I have gotten as far as successfully getting SWFUpload to work with PHP and upload the files to S3. I read that the best way to zip up S3 files without incurring huge transfer costs is to use EC2 to deal with S3. After a lot of effort I managed to ge...

How can I use pem files in php's ssh2 functions

Hi, I need to connect to some Amazon EC2 instances through php's ssh2 functions to get some info and display it on my backoffice. Is there a way in ssh2 functions to do the same I do when connecting through the command line ssh? ssh -i path_to_file/key.pem host01-ec2 Thanks ...

What is the "http"/IIS capacity of an EC2 micro instance?

I want to separate the current high cpu medium instance that I have into high cpu + micro instance in order to take in more http traffic. Does anyone know how many simultaneous connections can a micro instance take in? The initial idea is to separate the db and host it from sql azure but due to some old stored procedures, I'm opting to s...

how to reserve a running amazon ec2 instance?

we have a large ec2 instance running in asia pacific region.we want to reserve that particular instance.In aws management console we see an option to purchase a reserved instance but there seems to be no option to change this instance into a reserved one.Are we missing out on something ...

Amazon EC2 Elastic Load Balancer: Does its IP ever Change?

Does the ELB's IP Ever Change once setup, or will it always access instances from the same location during its lifetime no matter what might be going on with it behind the scenes at Amazon? ...

how to recover an amazon ec2 instance with a messed up sshd configuration

when changing /etc/sshd_config I made a mistake and didn't notice that sshd wasn't running anymore when I logged out. Naturally I can not log back in because sshd is not running. Is there any other way to connect back into a amazon ec2 instance? ...

Increasing Amazon EC2 Windows AMI EBS root volume size on creation

I'm trying to setup and configure some AMIs on Amazon EC2 for some batch processing work we need to undertake. Having played around, I know that the default Windows Server AMIs with EBS backed storage are 30GB. However, I'd like to have the initial volume at 150GB. I've read around numerous articles (including this one), but it's not wor...

Using ESS on my desktop to run R in the cloud

I'm interested in experimenting with writing R code on my laptop which I then execute on an Amazon S3 machine. I want the execution to be interactive because I'm building a work flow and the data is only on my EC2 instance, not on my local machine. I could redirect X11 to put the remove ESS window on my local machine, but I've had some...

Amazon EC2 keypair recovery

Hi, I need to know of any way to access a running instance in Amazon EC2. I DON'T have the original keypair ".pem" file I DO have access to the aws management console Terminating/rebooting is not feasible the closest to my question I have found was this but I hope things have changed ever since. is there any way to download that pem...

Web access amazon ec2 instance command-line

I lost access via ssh to my amazon ec2 instance and I need to access it NOW due to a problem with my service. I was told that there is a way to access the command-line via web with a java applet but I haven't been able to find it. Is there a way to access the command-line without the .pem file? terminating/rebooting the instance is not ...

Distributed system on Amazon EC2

Hi, How do I create a cluster of computers in Amazon EC2? What are the best practices for security? Can I access other machines in the local network? Thanks! ...

Query EC2 tags from within instance

Amazon recently added the wonderful feature of tagging EC2 instances with key-value pairs to make management of large numbers of VMs a bit easier. Is there some way to query these tags in the same way as some of the other user-set data? For example: $ wget -q -O - http://169.254.169.254/latest/meta-data/placement/availability-zone us-e...

Recommendation for an EC2 Instance Stack

Our development servers are on Amazons EC2. We would ideally like the following: PHP 5.3.x Oracle Drivers mHash mCrypt Apache Does anyone have a recommendation on a good place to get a stack that would meet most of those needs with a minimum of additional configuration? ...

Download an Amazon EC2 AMI?

I would like to download a public Amazon EC2 AMI, such as this one (Ubuntu Lucid), so that I can programmatically extract its contents. How do I do this? I suspect there is an S3 address somewhere? This blog post looks like it once described this process, but the link seems to no longer work. So far I can only find explanations of ho...

How to 'warm up' EC2/EBS storage?

I have seen advice to 'warm up' EC2 to overcome a first write penalty:- Warm up data partitions - There is one drawback to using disk IO in EC2: a “first write” performance hit when initially writing to new partitions. To avoid this penalty, you can “warm up” the partition by executing a sort of throw-away command that ac...

How to refuse reserved instance that is in payment-pending status?

I have been playing with AWS console and I have requested a reserved instance. I have not had enough funds on my credit card, so the status of the reserved instance is still "payment-pending". Now I want to refuse this reserved instance and I can't find out how to do this neither in AWS console, nor by CLI tools. ...

Server bandwidth usage with rtmp streaming of video

Hi all, Quick question - I have the following setup: (1) An ec2 instance with an SWF on it - this SWF plays streaming video - i.e. is a video player like JWPlayer (2) A streaming video distribution set up via Cloudfront If I stream the the video via RTMP from Cloudfront to the SWF (which is on ec2) - would I incur charges for data tra...

Image Storage and CDN for websites

Currently I am looking to move my websites images to a storage service. I have two websites developed in PHP and ASP.NET. Using Amazon S3 service we can host all our images and videos to serve web pages. But there are some limitations using S3 service when we want to serve images. If website needs different thumbnail images with diffe...