amazon-ec2

Amazon EC2 - Can I 'associate' a kernel (aki) with a specific AMI?

I am making my own AMIs (Virtual machines on Amazon's EC2). I can't use the default kernel. I have to use one of the other provided amazon kernels. I am trying to make this AMI be really really easy to use and make sure an idiot can start it up. However there is the important step where they have to choose this kernel. Is there anyway to...

Start Amazon Elastic MapReduce Job remotely?

I'm working on a small project to get myself acquainted with the Amazon web services. I'm trying to make a simple web application; when a button is pressed a mapreduce job is launched and the output is returned on the browser. What would be the best way to do this? Also, is there a way to launch an amazon elastic mapreduce job via the co...

Moving Postgres tablespaces and tables across EC2 instance

I have postgres database running on Amazon EC2 instance. I have few tablespaces created for some monthly tables, such that each table is on individual tablespace. To get the maximum performance, I have created each tablespace on individual amazon ebs volume. I want to move some of this tables to different instance and database. I will e...

Need help starting with Amazon EC2 for a Java project

I have been googling all day for a good tutorial to help me start with a basic setup for a Java based web application on Amazon Web Services. The popular ones are outdated and the new ones are unclear. Here are a few doubts I have. Primarily I'm looking for a good "Getting started" tutorial. What to choose to create my custom AMI and w...

EC2 as a full-time VPS for Windows

I've been using Amazon EC2 for hosting a recently released website, mainly to gauge traffic demands etc. before committing to a more dedicated host. I'm currently using a small instance of Win2k8+SQL and paying about $80/month for the service. Now that the site has been up for a month I am considering more long-term VPS solutions. Howev...

remote jconsole session to ec2 box - how?

How do I turn off ssh login with pem authentication on an ubuntu ec2 instance to allow for a remote jconsole session? I am on an Ubuntu Lucid EBS-backed AMI. I tried changing the two lines below to no, but get a permission denied error: RSAAuthentication yes PubkeyAuthentication yes My ssh_d config file: # Package generated configu...

Sanity Check - Should my Public AMIs for EC2 generate new Apache SSL Certs on First Boot?

I want to offer ready-to-deploy Public Ubuntu Lucid AMIs on Amazon Web Services EC2. As these AMIs use open-source web apps, I want to pre-configure apache mod_ssl and force all traffic over https. That's easy enough. I'm interested in a sanity check: just how insecure would it be to deploy without a first run script that generates a n...

Launching a x86_64 Amazon EC2 instance with Zend?

I'm using Zend, a PHP library, to work with Amazon EC2. I have created my own image (AMI), it's a x84_64 machine (i.e. not the default i386 architecture). I want to launch it programmatically from PHP using Zend. Zend provides a 'run' method to run an AMI (cf. http://framework.zend.com/manual/en/zend.service.amazon.ec2.instance.html). H...

What are some big sites that are using Amazon EC2

I'm looking for examples of large websites that are hosted on Amazon EC2/S3/Cloudfront/etc. I worked at a company where we ran a site that did 500k unique visitors per month on EC2 running 10 instances but that's still relatively small potatoes compared to some larger sites. I know smug mug and foursquare are also hosted on EC2. What ot...

How different is an Amazon EC2 RDS DB Instance different from the normal EC2 Instance?

How different is the Amazons RDS DB Instance different from The normal EC2 Instance other than the fact that RDS DB Instance has a Database server running on it? When an EC2 Instance goes down all the data associated with it also vanishes(when you dont attach an EBS). Is this true for RDS DB Instance as well? I have already set up my d...

EC2 connection to RDS using Play framework

I have a small site I built using the Play framework that I'm trying to run on an EC2 server against an Amazon RDS instance. I can run the app on my machine against the RDS instance and everything works fine. But when I deploy it to my EC2 server it gets this error: The last packet successfully received from the server was 1,282,977,73...

How do I tell what version of Cassandra I'm running?

I just spun up a machine on EC2 running Cassandra following the instructions in the link below, but I have no idea what version it is. How do I figure this out? I know I'm missing something incredibly simple, just don't know where to look. http://wiki.apache.org/cassandra/CloudConfig ...

Amazon EC2 to S3 transfer

I wanted to backup my EC2 instance to S3. I downloaded EC2 tools from: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351. I set up environment variables to: EC2_HOME=<EC2 tools directory> EC2_PRIVATE_KEY=<path to private key generated after I created new X.509 certificate> EC2_CERT=<path to certificate I created ...

Flash not finding crossdomain.xml (Amazon S3)

Hi all, I have a flash app hosted at www.example.com that is trying to pull in assets from my Amazon S3 bucket at http://s3.example.com I have a crossdomain.xml file that is world-readable at the root level of the bucket. s3.example.com/crossdomain.xml The contents of that crossdomain.xml file are as follows: <?xml version="1...

Benefits of EBS vs. instance-store (and vice-versa)

I'm unclear as to what benefits I get from EBS vs. instance-store for my instances on Amazon EC2. If anything, it seems that EBS is way more useful (stop, start, persist + better speed) at relatively little difference in cost...? Also, is there any metric as to whether more people are using EBS now that it's available, considering it is ...

Are there any API's for Amazon Web Services PRICING?

Are there any API's that have up-to-date pricing on Amazon Web Services? Something that can be queried, for example, for the latest price S3 for a given region, or EC2, etc. thanks ...

Bulk Delete EBS Snapshots From the Command Line in Windows?

Hello! I'm trying to delete all snapshots except the X newest ones on a Windows AWS instance via the EC2 commandline API tools. I've found the following for Linux... Is it possible to do the same in Windows? ec2-describe-snapshots | sort -r -k 5 | sed 1,6d | awk '{print "Deleting snapshot: " $2}; system("ec2-delete-snapshot " $2)' ...

Error Applying Security on EC2 windows Machine

I have a grave problem. I have a folder with about 1000+ files. I need to set the permission of some of the files which i copied over the internet to the disk. Now, as I try to allow full control after letting 'Everyone' have full access, by the time it reaches certain files, i get the "Error Applying Security" pop-up window. Saying an e...

Amazon Flexible Payments...CBUISingleUsePipelineSample.php is wrong

I've downloaded the php library for amazon flexible payments. I am following the included instructions and ran CBUISingleUsePipelineSample.php, as the docs say. The instructions say "The return URL will include expiry, tokenID, status, callerReference and signature parameters." When I run that file, expiry & tokenID are missing from my...

problem pinging EC2 instance

I'm new to managing EC2 instances. I have created one, and I can run it and remotely login with Windows Remote Desktop. I can ping external servers from inside my instance, but I cannot ping the instance from my machine using its DNS public name. I guess I'm doing sth wrong with security groups. Any thoughts anybody? ...