Aws-cdk: [ecs] Fargate Spot Instances

Created on 17 Jan 2020  路  8Comments  路  Source: aws/aws-cdk

We would like to be able to launch Fargate instances with the capacity provider FARGATE_SPOT. This is currently available via the AWS CLI.

Use Case

The cost benefit to this is pretty obvious!

Proposed Solution

Other

CLI: https://aws.amazon.com/blogs/aws/aws-fargate-spot-now-generally-available/

  • [ ] :wave: I may be able to implement this feature request
  • [ ] :warning: This feature might incur a breaking change

This is a :rocket: Feature Request

@aws-cdaws-ecs efformedium feature-request p2

Most helpful comment

Should be supported as of Oct 26

AWS Fargate Spot for Amazon ECS is now supported in AWS CloudFormation
https://aws.amazon.com/about-aws/whats-new/2020/10/aws-fargate-spot-for-amazon-ecs-now-supported-in-aws-cloudformation

All 8 comments

Just found the dependency on: #5471

Any updates?

@XBeg9 Fargate Spot instances are not yet supported in CloudFormation. Once they're supported in CFN, we'll look to determine the scope of work involved in the CDK.

@pkandasamy91 any ideas how we can create ecs.Cluster with Networking Only, so those 2 FARGATE providers will get populated automatically? Thanks

Any updates here? Will be great to do a Fargate spot tasks cluster using CDK.

Couldn't a custom resource, backed by lambda, be used to create this?

Isn't this supported in CloudFormation now? Both at the cluster level for a default provider, and at the service level with CapacityProviderStrategyItem?

Should be supported as of Oct 26

AWS Fargate Spot for Amazon ECS is now supported in AWS CloudFormation
https://aws.amazon.com/about-aws/whats-new/2020/10/aws-fargate-spot-for-amazon-ecs-now-supported-in-aws-cloudformation

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ababra picture ababra  路  3Comments

NukaCody picture NukaCody  路  3Comments

eladb picture eladb  路  3Comments

slipdexic picture slipdexic  路  3Comments

eladb picture eladb  路  3Comments