coder/examples/templates/aws-ecs-container
Mathias Fredriksson a1212014df
chore(examples): Add `login_before_ready` and `startup_script_timeout` (#5880)
2023-01-27 21:01:48 +00:00
..
README.md chore: Add icons to templates (#5368) 2022-12-09 18:47:09 +00:00
main.tf chore(examples): Add `login_before_ready` and `startup_script_timeout` (#5880) 2023-01-27 21:01:48 +00:00

README.md

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.