I’m currently deploying a small C# console application to 200 Amazon EC2 instances. Whenever the code gets updated, what I’m now doing is terminate all the instances, compile the code and copy the executable file to the previous AMI image and then create 200 instances again from the new AMI images. I think this is indeed very inefficient and I want to find a better way of doing it. How can I deploy the application to these EC2 instances quickly?
I’m currently deploying a small C# console application to 200 Amazon EC2 instances. Whenever
Share
You may want to look into using a Platform-as-a-Service solution. A PaaS would allow you to submit the compiled application to the PaaS and let it start the machines and set your code up on them. A PaaS would also give you additional features like monitoring, cross-cloud support and updating the application on the fly.
There are a several PaaS vendors mentioned here: Looking for PaaS providers recommendations
Disclaimer: I work for Cloudify, an open-source PaaS.