How to set up AWS instance automation?


Hello RC community, we want to build something like below;

They had built this app in automation way. The main thing is how to make it automate deployment on AWS (create new instance, point to subdomain).
Do you know how to build this?

(We believe this is OK under MIT license)