/symmetrical-spork

Deploy service with AWS Fargate using terraform

Primary LanguageMakefile

symmetrical-spork

Deploy service with AWS Fargate using terraform

Directory layout

.
├── scripts                            # scripts to run terraform & tests
├── terraform
  - aws                                # Terraform AWS infrastructure
├── tests                              # Infrastructure tests
├── Makefile                           # Set of tasks to execute
└── README.md                          # Documentation

Proposed Infrastructure Architecture

design

  • AWS Fargate
  • AWS Application Load Balancer

The application load balancer should have an /service endpoint and /__healthcheck__ health check endpoint.

If something is missing, feel free adding it to a solution.

Objectives

The task objectives were as follows:

Deploy

TODO: Document how to run

Test the whole setup

TODO: Document how to test the setup

Note

Please do not make pull requests. Fork/Clone the repo instead and work on it.

There is no need to deploy infrastructure to AWS. Just make sure it fully valid terraform infrastructure-as-code setup and it has sufficient level of tests.