How to fire EC2 instances and upload/run a startup script on each of them?
I want to automate the launch of a set of Linux EC2 instances. Basically, I want to write a script/program that would : Instantiate N occurrences of a given AMI of mine. For each started instance, it would upload a customized script and let the script run into the instance. Using VMWare, I would typically do that using vmrun or the Vix SDK. What are the options in Amazon AWS/EC2? The answer depends a bit on what AMI you are running as the features provided are entirely AMI dependent. The Amazon Linux AMIS and the official Ubuntu AMIs have the cloud-init package installed. This has a number of