Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

ECS fargate capacity provider

I have create a ECS cluster and will use fargate.Now i am trying to create a capacity provider for ECS cluster.

As per documents below is sample for creating ECS CapacityProvider

{
  "Type" : "AWS::ECS::CapacityProvider",
  "Properties" : {
      "AutoScalingGroupProvider" : AutoScalingGroupProvider,
      "Name" : String,
      "Tags" : [ Tag, ... ]
    }
}


Here in above template we have to provide autoscalling group. But if i create ASG group them have to create launch configuration and provide instance type etc.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

But as per my understanding in fargate we don’t have to create EC2.And above LC and ASG will create EC2.
I am confused now how to create capacity provider in ECS fargate.

>Solution :

how to create capacity provider in ECS fargate

You don’t create it. It is automatically provided and managed by AWS. You just associate them with your cluster using DefaultCapacityProviderStrategy

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading