Consider example for creating and managing EC2 instances in ECS cluster
Since ECS tasks can be shutdown by AWS at any time, then sometimes you have to use EC2 which is not influenced by random restarts. I went through docs and couldn't find anything that was describing how to use EC2 instances inside of ECS cluster by using pulumi.
Probably useful example would be whole flow that contains creation of ec2 instances and then hooking them up to ecs.
Thanks in advance
Thanks @rejdzu
I will put something together and ping you on it :)
Hi @stack72
I have just been looking at this and managed to get it working using ecs capacity providers - https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-auto-scaling.html#asg-capacity-providers
Is this the type of example you are interested in here?
Paul
@rejdzu Is this something you're still interested in or would find useful? If so, can you respond to @stack72's question above? Thanks!