Files
coder/examples/templates/aws-ecs-container
Cian JohnstonandMathias Fredriksson ab9cba9396 chore: update template examples and docs to install code-server under /tmp (#6138)
Updates templates examples and docs to pass the --method standalone argument
to code-server install script, and installs code-server under /tmp/code-server.

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>

---------

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
2023-02-10 13:36:46 +00: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.