# ECS

Published articles for ECS.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Deploying Temporal Workers to Amazon ECS

DevFeed: [Deploying Temporal Workers to Amazon ECS](<https://devfeed.tech/articles/deploying-temporal-workers-to-amazon-ecs-35767.md>)

Original publisher: [Read original article](<https://temporal.io/blog/deploying-temporal-workers-to-amazon-ecs>)

Author: Ebenezer Ankrah

Published: 2026-04-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Temporal Blog](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [Amazon Elastic Container Service](<https://devfeed.tech/topics/amazon-elastic-container-service.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [AWS IAM](<https://devfeed.tech/topics/aws-iam.md>), [Dockerfile](<https://devfeed.tech/topics/dockerfile.md>), [container](<https://devfeed.tech/topics/container.md>), [health checks](<https://devfeed.tech/topics/health-checks.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>)

Tags: [amazon](<https://devfeed.tech/tags/amazon.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-image](<https://devfeed.tech/tags/docker-image.md>), [ecs](<https://devfeed.tech/tags/ecs.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [health-checks](<https://devfeed.tech/tags/health-checks.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [iam](<https://devfeed.tech/tags/iam.md>)

### AI overview

A guide to deploying Temporal Workers on Amazon ECS with Fargate. It explains container configuration, health checks, graceful shutdown, task definitions, IAM roles, secret injection through SSM Parameter Store, and outbound connectivity requirements.

### Source excerpt

A comprehensive guide to deploying Temporal Workers on Amazon ECS with Fargate. Covers container config, IAM roles, scaling, and cost-saving with Fargate Spot.

## ECS on EC2: Covering Gaps in IMDS Hardening

DevFeed: [ECS on EC2: Covering Gaps in IMDS Hardening](<https://devfeed.tech/articles/ecs-on-ec2-covering-gaps-in-imds-hardening-29187.md>)

Original publisher: [Read original article](<https://www.latacora.com/blog/2025/10/02/ecs-on-ec2-covering-gaps-in-imds-hardening/>)

Published: 2025-10-02T18:18:59Z

Content type: tutorial

Language: en

Sources: [Latacora](<https://devfeed.tech/sources/latacora.md>)

Topics: [Amazon Elastic Container Service](<https://devfeed.tech/topics/amazon-elastic-container-service.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [Security](<https://devfeed.tech/topics/security.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Credential theft](<https://devfeed.tech/topics/credential-theft.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [containers](<https://devfeed.tech/tags/containers.md>), [credential-theft](<https://devfeed.tech/tags/credential-theft.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [ec2](<https://devfeed.tech/tags/ec2.md>), [ecs](<https://devfeed.tech/tags/ecs.md>), [hardening](<https://devfeed.tech/tags/hardening.md>), [security](<https://devfeed.tech/tags/security.md>), [sensitive-data](<https://devfeed.tech/tags/sensitive-data.md>)

### AI overview

This article examines security gaps in Amazon ECS workloads running on EC2, focusing on task isolation and restricting access to the EC2 Instance Metadata Service. It discusses how weak isolation can expose credentials and sensitive data and outlines the need for more comprehensive hardening guidance.

### Source excerpt

Introduction # AWS ECS is a widely-adopted service across industries. To illustrate the scale and ubiquity of this service, over 2.4 billion Amazon Elastic Container Service tasks are launched every week (source) and over 65% of all new AWS containers customers use Amazon ECS (source). There are two primary launch types for ECS: Fargate and EC2. The choice between them depends on factors like cost, performance, operational overhead, and the variability of your workload.

## Cost Optimisation in ECS: Integrating Spot Instances at Scale

DevFeed: [Cost Optimisation in ECS: Integrating Spot Instances at Scale](<https://devfeed.tech/articles/cost-optimisation-in-ecs-integrating-spot-instances-at-scale-19717.md>)

Original publisher: [Read original article](<https://deliveroo.engineering/2025/09/12/cost-optimisation-in-ecs.html>)

Author: Aakash Singhal

Published: 2025-09-12T00:00:00Z

Content type: article

Language: en

Sources: [Deliveroo](<https://devfeed.tech/sources/deliveroo.md>)

Topics: [Amazon Elastic Container Service](<https://devfeed.tech/topics/amazon-elastic-container-service.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [Resilience](<https://devfeed.tech/topics/resilience.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [container](<https://devfeed.tech/topics/container.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [availability](<https://devfeed.tech/tags/availability.md>), [aws](<https://devfeed.tech/tags/aws.md>), [container](<https://devfeed.tech/tags/container.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cost-optimisation](<https://devfeed.tech/tags/cost-optimisation.md>), [ec2](<https://devfeed.tech/tags/ec2.md>), [ecs](<https://devfeed.tech/tags/ecs.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [load-balancer](<https://devfeed.tech/tags/load-balancer.md>), [resilience](<https://devfeed.tech/tags/resilience.md>), [scale](<https://devfeed.tech/tags/scale.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [storage](<https://devfeed.tech/tags/storage.md>)

### AI overview

Deliveroo describes how it integrated EC2 Spot Instances into Amazon ECS to reduce compute costs while maintaining service stability. The approach routes only eligible workloads to Spot capacity and uses criteria such as fast shutdown, task redundancy, statelessness, and load balancer deregistration timing.

### Source excerpt

At Deliveroo, we're always refining how we scale - especially when it comes to managing compute costs in the cloud. After optimising our Amazon ECS workloads with Reserved Instances and Savings Plans, we saw an opportunity to push further using EC2 Spot Instances, which offer up to 90% savings compared to On-Demand prices. But Spot comes with challenges: Their availability can fluctuate, and they can be terminated with just a two-minute warning. To unlock these savings without compromising service stability, we had to engineer a robust solution across infrastructure, workload qualification, and automation. The Challenge: Balancing Cost and Reliability Our ECS infrastructure initially relied entirely on On-Demand EC2 instances, provisioned through Auto Scaling Groups (ASGs) connected to ECS Capacity Providers. While reliable, this approach didn't take advantage of AWS's surplus compute capacity. We aimed to layer Spot Instances into our clusters, but selectively. Our goal was clear: route only eligible workloads to Spot capacity while ensuring no service degradation during unexpected terminations. Spot Instances: Power and Pitfalls Spot Instances provide dramatic cost reductions but introduce several operational caveats: Ephemeral by nature: AWS can terminate them at any time with a two-minute warning. Capacity variability: Availability depends on AWS's excess capacity in each AZ and can shift unpredictably. Scaling limitations: Auto Scaling may fail if the desired instance types are not currently available. To avoid introducing fragility into our stack, we established technical eligibility criteria that workloads must meet before being scheduled on Spot. Defining Spot Eligibility We formalised the following criteria to assess whether a workload could safely tolerate Spot interruptions: Fast Shutdown Support Constraint: stopTimeout must be < 120 seconds in the container definition. Reason: Ensures ECS has time to gracefully shut down the task before AWS's 2-minute te

## Bevy Entity Component System on ESP32 with Rust no\_std

DevFeed: [Bevy Entity Component System on ESP32 with Rust no\_std](<https://devfeed.tech/articles/bevy-entity-component-system-on-esp32-with-rust-no-std-13691.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/2025/04/bevy-ecs-on-esp32-with-rust-no-std/>)

Author: John Lee

Published: 2025-04-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [Bevy](<https://devfeed.tech/topics/bevy.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [ESP32](<https://devfeed.tech/topics/esp32.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [bevy](<https://devfeed.tech/tags/bevy.md>), [blog](<https://devfeed.tech/tags/blog.md>), [component](<https://devfeed.tech/tags/component.md>), [ecs](<https://devfeed.tech/tags/ecs.md>), [embedded](<https://devfeed.tech/tags/embedded.md>), [embedded-systems](<https://devfeed.tech/tags/embedded-systems.md>), [esp32](<https://devfeed.tech/tags/esp32.md>), [esp32-c3](<https://devfeed.tech/tags/esp32-c3.md>), [esp32-s3](<https://devfeed.tech/tags/esp32-s3.md>), [microcontrollers](<https://devfeed.tech/tags/microcontrollers.md>), [modular](<https://devfeed.tech/tags/modular.md>), [modularity](<https://devfeed.tech/tags/modularity.md>), [no-std](<https://devfeed.tech/tags/no-std.md>), [rust](<https://devfeed.tech/tags/rust.md>), [wasm](<https://devfeed.tech/tags/wasm.md>)

### AI overview

This tutorial demonstrates how to use Bevy ECS with Rust no_std on ESP32 devices. It explains ECS concepts and shows embedded application examples based on Conway's Game of Life and the Spooky Maze Game, with an emphasis on modular code structure and event-based peripheral integration.

### Source excerpt

Introduction# Embedded development in Rust is rapidly evolving, and one of exciting new developments is the introduction of no_std support into the Bevy Entity Component System (ECS). This improvement allows developers to leverage the powerful and modular design of Bevy ECS on resource-constrained devices like the ESP32.

## Canva incident report: API Gateway outage

DevFeed: [Canva incident report: API Gateway outage](<https://devfeed.tech/articles/canva-incident-report-api-gateway-outage-37929.md>)

Original publisher: [Read original article](<https://www.canva.dev/blog/engineering/canva-incident-report-api-gateway-outage/>)

Author: Brendan Humphreys

Published: 2024-12-20T00:00:01Z

Content type: article

Language: en

Sources: [Canva Engineering](<https://devfeed.tech/sources/canva-engineering.md>)

Topics: [incident](<https://devfeed.tech/topics/incident.md>), [Amazon API Gateway](<https://devfeed.tech/topics/amazon-api-gateway.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [Netty](<https://devfeed.tech/topics/netty.md>), [Microservices](<https://devfeed.tech/topics/microservices.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [api-gateway](<https://devfeed.tech/tags/api-gateway.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [aws](<https://devfeed.tech/tags/aws.md>), [caching](<https://devfeed.tech/tags/caching.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [ecs](<https://devfeed.tech/tags/ecs.md>), [gateway](<https://devfeed.tech/tags/gateway.md>), [incident](<https://devfeed.tech/tags/incident.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [java](<https://devfeed.tech/tags/java.md>), [latency](<https://devfeed.tech/tags/latency.md>), [locking](<https://devfeed.tech/tags/locking.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [outage](<https://devfeed.tech/tags/outage.md>), [pir](<https://devfeed.tech/tags/pir.md>), [post-incident-review](<https://devfeed.tech/tags/post-incident-review.md>), [post-mortem](<https://devfeed.tech/tags/post-mortem.md>), [rate-limiting](<https://devfeed.tech/tags/rate-limiting.md>), [report](<https://devfeed.tech/tags/report.md>), [s3](<https://devfeed.tech/tags/s3.md>)

### AI overview

Canva's incident report examines a November 12, 2024 outage that made canva.com unavailable for about 52 minutes. It attributes the outage to failures in the API Gateway cluster involving an editor deployment, a locking issue, and network latency between Cloudflare locations, and describes the incident timeline, mitigation, and prevention steps.

### Source excerpt

An incident report for the Canva outage on November 12, 2024.

## How to use Teleport Machine ID to provide database access to applications running on EKS without passwords

DevFeed: [How to use Teleport Machine ID to provide database access to applications running on EKS without passwords](<https://devfeed.tech/articles/how-to-use-teleport-machine-id-to-provide-database-access-to-applications-running-on-eks-without-passwords-29549.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/access-aws-rds-eks-teleport-machine-id/>)

Author: info@goteleport.com (Gavin Frazar)

Published: 2024-12-03T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [Amazon EKS](<https://devfeed.tech/topics/amazon-eks.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [AWS Fargate](<https://devfeed.tech/topics/aws-fargate.md>), [certificates](<https://devfeed.tech/topics/certificates.md>), [Access Control](<https://devfeed.tech/topics/access-control.md>), [Amazon Elastic Container Service](<https://devfeed.tech/topics/amazon-elastic-container-service.md>), [TLS (Transport Layer Security)](<https://devfeed.tech/topics/tls.md>), [AWS IAM](<https://devfeed.tech/topics/aws-iam.md>), [container](<https://devfeed.tech/topics/container.md>), [VPC](<https://devfeed.tech/topics/vpc.md>)

Tags: [access-control](<https://devfeed.tech/tags/access-control.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [aws-fargate](<https://devfeed.tech/tags/aws-fargate.md>), [aws-iam](<https://devfeed.tech/tags/aws-iam.md>), [certificates](<https://devfeed.tech/tags/certificates.md>), [container](<https://devfeed.tech/tags/container.md>), [ecs](<https://devfeed.tech/tags/ecs.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [passwords](<https://devfeed.tech/tags/passwords.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [secrets](<https://devfeed.tech/tags/secrets.md>), [tls](<https://devfeed.tech/tags/tls.md>), [vpc](<https://devfeed.tech/tags/vpc.md>)

### AI overview

A tutorial on deploying Temporal on Amazon EKS so it can connect to an AWS RDS PostgreSQL database without passwords or other shared secrets. It uses Teleport Machine & Workload Identity, a sidecar, short-lived X.509 certificates, PostgreSQL role provisioning, and a Teleport Database Service deployed on AWS Fargate.

### Source excerpt

Discover how to secure database access in Kubernetes workloads. Eliminate secrets, keep databases in private networks, and improve audit logging with Teleport.

## Containers on AWS: Comparing ECS and EKS

DevFeed: [Containers on AWS: Comparing ECS and EKS](<https://devfeed.tech/articles/containers-on-aws-comparing-ecs-and-eks-18005.md>)

Original publisher: [Read original article](<https://blog.guilleojeda.com/containers-on-aws-comparing-ecs-and-eks>)

Author: Guillermo Ojeda

Published: 2024-04-22T23:24:13Z

Content type: article

Language: en

Sources: [Guille Ojeda](<https://devfeed.tech/sources/guille-ojeda.md>)

Topics: [Amazon Elastic Container Service](<https://devfeed.tech/topics/amazon-elastic-container-service.md>), [Amazon Elastic Kubernetes Service](<https://devfeed.tech/topics/amazon-elastic-kubernetes-service.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Orchestration](<https://devfeed.tech/topics/orchestration.md>)

Tags: [amazon-elastic-kubernetes-service](<https://devfeed.tech/tags/amazon-elastic-kubernetes-service.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [article](<https://devfeed.tech/tags/article.md>), [aws](<https://devfeed.tech/tags/aws.md>), [container](<https://devfeed.tech/tags/container.md>), [containers](<https://devfeed.tech/tags/containers.md>), [ecs](<https://devfeed.tech/tags/ecs.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [orchestration](<https://devfeed.tech/tags/orchestration.md>)

### AI overview

This article compares Amazon Elastic Container Service (ECS) and Amazon Elastic Kubernetes Service (EKS) for running and scaling containerized applications on AWS. It introduces container orchestration, explains ECS features, components, and EC2 and Fargate launch types, and discusses factors for choosing between the services.

### Source excerpt

Containers offer a lightweight, portable, and scalable solution for running software consistently across different environments. But as the number of containers grows, managing them becomes increasingly complex. That's where container orchestration c...

## Apache Airflow on AWS ECS

DevFeed: [Apache Airflow on AWS ECS](<https://devfeed.tech/articles/apache-airflow-on-aws-ecs-19822.md>)

Original publisher: [Read original article](<https://tech.gc.com/apache-airflow-on-aws-ecs/>)

Author: GameChanger

Published: 2020-07-06T09:00:18Z

Content type: tutorial

Language: en

Sources: [GameChanger](<https://devfeed.tech/sources/gamechanger.md>)

Topics: [airflow](<https://devfeed.tech/topics/airflow.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Jenkins](<https://devfeed.tech/topics/jenkins.md>), [data](<https://devfeed.tech/topics/data.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>)

Tags: [airflow](<https://devfeed.tech/tags/airflow.md>), [aws](<https://devfeed.tech/tags/aws.md>), [containers](<https://devfeed.tech/tags/containers.md>), [data](<https://devfeed.tech/tags/data.md>), [ecs](<https://devfeed.tech/tags/ecs.md>), [jenkins](<https://devfeed.tech/tags/jenkins.md>), [jobs](<https://devfeed.tech/tags/jobs.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [pull-request](<https://devfeed.tech/tags/pull-request.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

This tutorial explains how a data team moved from Jenkins to Apache Airflow and ran Airflow and other containerized workloads on AWS ECS. It introduces ECS clusters, task definitions, services, and deployment choices including Fargate, EC2, and Kubernetes, while noting that Airflow infrastructure is straightforward but configuring the ECS operator requires substantial setup.

### Source excerpt

An overview of what AWS ECS is, how to run Apache Airflow and tasks on it for eased infrastructure maintenance, and what we've encountered so that you have an easier time getting up and running. Our data team recently made the transition in workflow systems from Jenkins to Apache Airflow. Airflow was a completely new system to us that we had no previous experience with but is the current industry standard for the sort of data-centric workflow jobs we were looking to run. While it hasn't been a perfect fit, we have been able to get a lot of benefits from it: jobs are defined in code, we've the history of each job, it goes through our normal pull request process, and everyone on the team is able to read and write jobs. Since our team is data focused, we wanted our Airflow setup to be as easy to maintain as possible, especially around infrastructure, so we have minimal distractions with high resiliency. This led us to using AWS ECS not only to run Airflow but for our bigger tasks that are already containerized. Not familiar with ECS? Or how to run Airflow or its tasks on it? Don't worry, we weren't either. This is what we've learned. What is ECS? ECS with Terraform Setting up Airflow infrastructure on ECS Setting up Airflow tasks on ECS Learnings from Airflow and ECS tl;dr Running Airflow's infrastructure on ECS is super easy but running the ECS operator needs hecka help setting up. What is ECS? ECS is AWS's Elastic Container Service, designed to let you run containers without worrying about servers. You do this by creating a cluster for your system, define task definitions for the tasks you want to run, and possibly group your tasks into services. You can also choose if you want to have your containers fully managed (ECS on Fargate), kind of managed but kind of not (ECS on EC2), or if you'd like to use Kubernetes. If all of that made sense to you, congratulations: you can skip to the next section! If you need a bit more of a breakdown, here's what you need to know: A

## Productionizing AWS ECS for production container workloads

DevFeed: [Productionizing AWS ECS for production container workloads](<https://devfeed.tech/articles/productionalizing-ecs-26524.md>)

Original publisher: [Read original article](<http://engineering.curalate.com/2018/05/16/productionalizing-ecs.html>)

Author: Anton Kropp was a Software Engineer

Published: 2018-05-16T09:45:39Z

Content type: tutorial

Language: en

Sources: [Curalate](<https://devfeed.tech/sources/curalate.md>)

Topics: [Containers](<https://devfeed.tech/topics/containers.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [containers](<https://devfeed.tech/tags/containers.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [docker](<https://devfeed.tech/tags/docker.md>), [ec2](<https://devfeed.tech/tags/ec2.md>), [ecs](<https://devfeed.tech/tags/ecs.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>)

### AI overview

This engineering article describes a company's migration from AMI-based virtual machines to AWS ECS containers and the challenges of making ECS production-ready. It covers cluster scaling, cluster image upgrades, container monitoring, cleanup of container artifacts, and remote debugging of JVM processes.

### Source excerpt

In January of last year we decided as a company to move towards containerization and began a migration to move onto AWS ECS. We pushed to move to containers, and off of AMI based VM deployments, in order to speed up our deployments, simplify our build tooling (since it only has to work on containers), get the benefits of being able to run our production code in a sandbox even locally on our dev machines (something you can't really do easily with AMI's), and lower our costs by getting more out of the resources we're already paying for. However, making ECS production ready was actually quite the challenge. In this post I'll discuss: Scaling the underlying ECS cluster Upgrading the backing cluster images Monitoring our containers Cleanup of images, container artifacts Remote debugging of our JVM processes Which is a short summary of the things we encountered and our solutions, finally making ECS a set it and forget it system. Scaling the cluster The first thing we struggled with was how to scale our cluster. ECS is a container orchestrator, analogous to Kubernetes or Rancher, but you still need to have a set of EC2 machines to run as a cluster. The machines all need to have the ECS Docker agent installed on it and ECS doesn't provide a way to automatically scale and manage your cluster for you. While this has changed recently with the announcement of Fargate, Fargate's pricing makes it cost prohibitive for organizations with a lot of containers. The general recommendation that AWS gave with ECS was to scale based on CPU reservation limit OR memory limit. There's no clear way to scale with a combination of the two, since auto scaling rules need to apply to a single CloudWatch metric or you face potential thrashing. Our first attempt on scaling was to try and scale on container placement failures. ECS logs a message when containers are unable to be placed due to constraints (not enough memory on the cluster, or not enough CPU reservation left), but there is no way to act

## How to use AWS Fargate and Lambda for long-running processes in a Serverless app

DevFeed: [How to use AWS Fargate and Lambda for long-running processes in a Serverless app](<https://devfeed.tech/articles/how-to-use-aws-fargate-and-lambda-for-long-running-processes-in-a-serverless-app-14328.md>)

Original publisher: [Read original article](<https://www.serverless.com/blog/serverless-application-for-long-running-process-fargate-lambda>)

Author: Rupak Ganguly

Published: 2018-01-11T00:00:00Z

Content type: tutorial

Language: en

Sources: [Serverless Blog](<https://devfeed.tech/sources/serverless-blog.md>)

Topics: [AWS Fargate](<https://devfeed.tech/topics/aws-fargate.md>), [Amazon Elastic Container Service](<https://devfeed.tech/topics/amazon-elastic-container-service.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Processes](<https://devfeed.tech/topics/processes.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-fargate](<https://devfeed.tech/tags/aws-fargate.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [cloud-computing](<https://devfeed.tech/tags/cloud-computing.md>), [ecs](<https://devfeed.tech/tags/ecs.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [faas](<https://devfeed.tech/tags/faas.md>), [function-as-a-service](<https://devfeed.tech/tags/function-as-a-service.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [infrastructure-as-code](<https://devfeed.tech/tags/infrastructure-as-code.md>), [processes](<https://devfeed.tech/tags/processes.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [serverless-architecture](<https://devfeed.tech/tags/serverless-architecture.md>), [serverless-framework](<https://devfeed.tech/tags/serverless-framework.md>)

### AI overview

A tutorial shows how to process a video file and extract a thumbnail using Amazon ECS with AWS Fargate and Lambda in a Serverless application.

### Source excerpt

We'll show you how to process a video file that extracts a thumbnail in Amazon ECS using Fargate and Lambda