examples icon indicating copy to clipboard operation
examples copied to clipboard

Consider example for creating and managing EC2 instances in ECS cluster

Open rejdzu opened this issue 5 years ago • 3 comments

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

rejdzu avatar Mar 11 '20 15:03 rejdzu

Thanks @rejdzu

I will put something together and ping you on it :)

stack72 avatar Mar 11 '20 15:03 stack72

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

stack72 avatar May 03 '20 15:05 stack72

@rejdzu Is this something you're still interested in or would find useful? If so, can you respond to @stack72's question above? Thanks!

scottslowe avatar Nov 03 '22 18:11 scottslowe