We recently ran up against an issue wherein ECS was not running new tasks on EC2 instances that have always existed in the ECS service. In this post, I’ll go over how we discovered and subsequently resolved the issue.

This post is broken down into the following sections:

  1. Prior knowledge assumed
  2. How we discovered there was an issue
  3. Commands we used to narrow down the issue
  4. The steps we took to resolve it
  5. Conclusion

Prior knowledge assumed

This post assumes some basic knowledge of:

  • AWS ECS (Elastic Container Service)
  • AWS ECS terminologies such as Services, Clusters and Tasks
  • The fact that AWS ECS…

In this post I’ll be going over some personal learnings — the dos and don’ts — about moving new and existing infrastructure into Terraform, and migrating Resources between Terraform Remotes. I’ll be focusing on cloud infrastructure, primarily Amazon Web Services (AWS) as my cloud service provider. The general concepts remain the same regardless of which provider you are working with.

Quick Overview

I recently found myself needing to migrate a mix of a partially managed Terraform stack with a bunch of unmanaged AWS services over to Terraform cloud from S3, ideally without any downtime. One of the challenges I was facing was…

Rahul Rao

Trying to make new mistakes and not repeat old ones. VP of Engineering at QuickFrame, Inc.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store