Files
coder/examples/templates/aws-ecs-container
Muhammad Atif AliandBen 264093a874 chore: add agent metadata to example templates (#7044)
* add `display_name`

* fix typos and `terraform validate`

* update display_name

* Add agent metadata

* add % to cpu usage

* update disk usage check script

* remove metadata from containers and pods workspaces

* removes disk metadata from container workspaces

---------

Co-authored-by: Ben <me@bpmct.net>
2023-04-12 12:05:16 -05:00
..

name, description, tags, icon
name description tags icon
Develop in an ECS-hosted container Get started with Linux development on AWS ECS.
cloud
aws
/icon/aws.png

aws-ecs

This is a sample template for running a Coder workspace on ECS. It assumes there is a pre-existing ECS cluster with EC2-based compute to host the workspace.

Architecture

This workspace is built using the following AWS resources:

  • Task definition - the container definition, includes the image, command, volume(s)
  • ECS service - manages the task definition

code-server

code-server is installed via the startup_script argument in the coder_agent resource block. The coder_app resource is defined to access code-server through the dashboard UI over localhost:13337.