ECS

Elastic Container Service

Overview

ECS components consist of:

  • the top-level ECS Cluster

  • Task Definitions

  • Services

  • Cluster Instances

  • Scheduling Tasks: run once, run as service, and custom scheduler

Examples

Basic

Docker basic php website; aws cli, ecs cli; fargate deployment

Github: https://github.com/gabepublic/aws-ecs-docker-php-01

Summary:

  • Services: php website

  • Language(s): python

Docker compose; website - API - ElasticSearch; aws cli, ecs cli; EC2 deployment

Github: https://github.com/gabepublic/docker-compose-elasticsearch#test-application-by-starting-using-docker-compose

Docker hub: https://hub.docker.com/repository/docker/gabepublic/sffoodtruck-site-flask

Summary:

  • Services: basic website python flask; API python flask; ElasticSearch

  • Language(s): python; javascript

  • EC2 deployment because ElasticSearch won't start when using fargate

Copilot Deployment

ECS workshop microservices (UI and services) application

Deploying ECS workshop microservices (UI and services) application using copilot. The deployment consists of multi containers.

Last updated