DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Use Amazon ECS Fargate Spot with CircleCI to deploy and manage applications

3 years ago aws.amazon.com
Use Amazon ECS Fargate Spot with CircleCI to deploy and manage applications

Summary: This is a summary of an article originally published by AWS DevOps Blog. Read the full original article here →

Builders are taking advantage of low-cost, scalable compute with Amazon EC2 Spot Instances, as well as AWS Fargate Spot to build, deploy, and manage microservices or container-based workloads at a discounted price. Amazon EC2 Spot Instances let you take advantage of unused Amazon Elastic Compute Cloud (Amazon EC2) capacity at steep discounts as compared to on-demand pricing.

In order to run a task, we will demonstrate how to override the default Capacity Provider strategy with Fargate & Fargate Spot, both with a weight of 1, and to divide tasks equally among Fargate & Fargate Spot.

In order to demonstrate a cost breakdown between the tasks running on Fargate and Fargate Spot, we left the tasks running for a day.

In this blog post, we have demonstrated how to utilize CircleCI to deploy and manage ECS tasks and run applications in a cost-effective serverless approach by using Fargate Spot.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com