OneCompiler

Getting capacity provider Error while running a Fargate Task

I have created an AWS Fargate task when I click on Run Task, I am getting the following error

The default capacity provider strategy for the specified cluster does not contain a capacity provider. 
Update the default capacity provider strategy to associate one or more capacity providers and try again.

Note: I have chosen all default configurations, I just need to run my simple app on Fargate

1 Answer

6 years ago by

If you want to go with a simple Fargate app, you can choose the launch type as Fargate, you can see those options by clicking the button Switch to launch type

Then you will see the Fargate option as shown in the below image

6 years ago by Karthik Divi