3 ms·
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 ht
by letmeinhere 2y ago
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 https://cloudinit.readthedocs.io/en/latest/index.html
- manojlds 2y agoI don't want to launch instances (and run a script to set it up etc), I want to run my script THROUGH an instance.
- nijave 2y agoI 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 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