Files
coder/examples/templates/ecs-container
Eric PaulsenandBen Potter 9c5b879b16 add: ECS example template (#3915)
* add: ECS example template

* fix: empty main.tf

* cleanup

* rm: cluster & compute

* set CPU & memory vars

Co-authored-by: Ben Potter <ben@coder.com>

Co-authored-by: Ben Potter <ben@coder.com>
2022-09-08 15:27:27 +00:00
..
2022-09-08 15:27:27 +00:00
2022-09-08 15:27:27 +00:00

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

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.