Hacker News new | past | comments | ask | show | jobs | submit login

You ever try cloud-init?

You can specify your config in user-data when launching pretty generic AMIs. https://cloudinit.readthedocs.io/en/latest/index.html




I don't want to launch instances (and run a script to set it up etc), I want to run my script THROUGH an instance.


I made this a while back that utilizes shell script and AWS cli to spin up and cloud init to run things https://github.com/nijave/cloud-init-golden-image

For this type of use case AWS has managed services like Batch, ECS, or even auto scaling groups that can make this easier depending on what you're trying to achieve.

ECS with Fargate executors is fairly easy to run arbitrary things inside a VPC




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: