amazon-ec2

Windows Services and shutting down EC2 nodes

I've got a fairly simple Windows service running on testbed EC2 nodes right now that basically: Calls a Web Service on a machine in our local data center when the service starts (the service is set to Automatic startup, so it runs when the instance comes online). Calls another Web Service once a minute as a monitoring heartbeat. Calls ...

What tools can I use to deploy PHP code to an EC2 instance

We can bundle all files into an Amazon Machine Instance and upload it. But I'd like to see if there is a more efficient way to regularly upload source code on to test our app and constantly have the latest version up and running. Thanks! ...

Amazon Putty connect

Hello, I am trying to connect to Amazon EC2 with putty but the key provided by amazon is being rejected. I destroyed all instances and all key pairs. Then I created new ones and still the same problem. Anybody? Thanks. ...

ec2 putty connect problem

I have followed Amazon instructions to the letter and it does not work. ec2-api-tools-1.3-34128 - this is the api tools that I got from Amazon Set it up following instructions. Checked everything to make sure I follow instructions. When I try to use it, I only get: "invalid.blabla" depending on what command do I try to use. Anybody w...

How to sequence events in PHP for uploading files to amazon S3

Hi I am hoping someone can help me to understand why I am getting varied results with some PHP code I have written to upload files to S3 then call an EC2 instance to perform actions on the uploaded file. Here is the order i do things - 1) use S3 class to put file $result = s3 -> putObjectFile($uploadDIR, $bucket, $name, S3::ACL) ...

Amazon Elastic Cloud and Silverlight Deployment

We are experimenting with hosting a silverlight application on Amazons EC2. I can get it to serve up the .xap file, but I'm having some trouble with using the webservices that the silverlight application requires. Usually I would add a service reference in visual studio and enter the URL for the webservice, something like http://url.co...

How can I generate a v2 signature for Amazon EC2 using PHP?

I am wondering if anyone has successfully generated an EC2 v2 signature for there API using php. All examples/libraries I can find online are for v1 of the signature and that has been deprecated due to insecurities. An existing library that implements the signature generation would be appreciated too. ...

Is there a way to associate an elastic IP address with EC2 instance on startup?

Hi I am developing the code to start an instance of an EC2 image on Amazon Web Services, there are 2 steps 1) start the instance 2) allocate our Elastic IP address to the started instance Is there a way to carry out both of these in a single command? I will be running a .bat file to start the instance, and then when the instance is ...

FTP and EC2

I've got my EC2 instance up and running and installed vsftpd with yum install vsftpd. Now I've started the service. But unfortunately it seems like the guides end at this point. How do I actually use my ftp client to log into the ftp server? What do I input server url, username, password, and all that? Thanks in advance. ...

Alternative tools for Amazon EC2?

Amazon's official tools for interacting with EC2 are kind of clunky and a pain to deal with. I have to set up a bunch of environment variables, store separate private keys just for EC2, add extra items to my PATH, and so on. They all output tab delimited lines that are hundreds of characters long with no headings, so it's a bit of a pain...

Best way to keyword search Amazon SimpleDB using EC2 and Asp.Net?

I am wondering if anyone has any thoughts on the best way to perform keyword searches on Amazon SimpleDB from an EC2 Asp.Net application. A couple options I am considering are: 1) Add keywords to a multi-value attribute and search with a query like: select id from keywordTable where keyword ='firstword' intersection keyword='secondwo...

Fastest / best way copy data between S3 to EC2?

I have a fairly large amount of data (~30G, split into ~100 files) I'd like to transfer between S3 and EC2: when I fire up the EC2 instances I'd like to copy the data from S3 to EC2 local disks as quickly as I can, and when I'm done processing I'd like to copy the results back to S3. I'm looking for a tool that'll do a fast / parallel c...

Which cloud computing platform should I choose?

How and when do you decide which cloud service is best? EC2 offers Virtual Servers, but can be a pain in some cases, and overkill as well. Azure is great for web apps written in ASP.NET, while GAE is good for Python users, but neither offers the low level of EC2. So, how do you decide where you go? ...

Why would you not want to use Cloud Computing

Our company is considering moving from hosting our own servers to EC2 and I was wondering if this was a good idea. I have seen a lot of stuff about can cloud computing (and specifically EC2) do x, or can it do y, but my real question is why would you NOT want to use it? If you were setting up a business, what are the reasons (outside o...

Autostart a batch file on Windows

Hi, I want to create a script that will run whenever a server is turned on to do basic things like create a directory and copy a binary from an FTP server to it. I need it to run before a user logs in, as soon as the server is turned on. This will be deployed on my EC2 windows servers. Checking around (http://www.bleepingcomputer.com/t...

Should I use CouchDB or SimpleDB?

I'm creating an application that will be hosted on amazon EC2 and a lot of the data that'll be saved is more document oriented (as well as saving tweets and such related to those documents). Right now I'm at a crossroads... should I use simpleDB or couchDB? Whats the pros/cons of using either? Should I just try both for a month and dec...

Windows Azure vs Amazon EC2 vs Google App Engine

From a developer point of view which platform would you consider for a large social web application? If you could provide some details on what you consider to be the strengths of which alternative it would be great. ...

What is ec2-authorize?

I am new to EC2 and am trying to get it set up so that I can publish directly to it from VS2008. Everyone keeps mentioning using "ec2-authorize" to enable certain things, but what the heck is this? Nowhere seems to explain what it is or where it's accessed from. I tried it from a command line in the actual ec2 instance, but there's nothi...

Can HAProxy front both Web servers and SSL VPN on one IP and port?

I need a Reverse Proxy to front both Lablz Web server and SSL VPN Adito (SSL Explorer fork) by sitting on one IP/port. Failed to achieve that with Nginx. Failed to use Adito as a generic reverse HTTP proxy. Can HAProxy fall back to being a TCP proxy if it does not sense HTTP traffic? In other words can it fall back to Layer 4 if its Lay...

Amazon EC2 Metadata

We're in the process of migrating from a datacenter to Amazon. We're a small company and rather than upgrade our hardware, we've found it to be enticing to move to "the cloud." We've put together custom AMI's from scratch and are currently in process of deciding on how to configure the environments. I've been using Amazon's management c...