infra/infra/fargate
2023-10-30 22:28:38 -07:00
..
alpha.tf Moving fargate things to their own folder 2023-10-04 01:15:32 -07:00
backend.tf Moving fargate things to their own folder 2023-10-04 01:15:32 -07:00
cluster-logging.tf Moving fargate things to their own folder 2023-10-04 01:15:32 -07:00
data.tf Moving fargate things to their own folder 2023-10-04 01:15:32 -07:00
ecr.tf Moving fargate things to their own folder 2023-10-04 01:15:32 -07:00
local.tf Cleaning up roles 2023-10-06 22:30:24 -07:00
Makefile Moving fargate things to their own folder 2023-10-04 01:15:32 -07:00
nginx-role.tf Cleaning up roles 2023-10-06 22:30:24 -07:00
nginx.tf Explicity setting max percent value on nginx 2023-10-30 22:28:38 -07:00
readme.md Explicity setting max percent value on nginx 2023-10-30 22:28:38 -07:00
variables.tf Moving fargate things to their own folder 2023-10-04 01:15:32 -07:00

Fargate configuration

Blue/Green Deployments

Services such as nginx/beta ( which serves static content ) are deployed & updated using a blue green deployment method which is facilitated by allowing overflow containers to spawn and replace older containers. This is most common for nginx because we often want to update content stored in S3 however the container itself will not refresh for sometime so we can force a refresh and get content out much faster this way.

Alpha Cluster

nginx/beta

Serves static webpages through nginx container. The dockerfile is defined in $PROJECT_ROOT/docker/beta/Dockerfile.

It serves the following webpages:

  • resume.shockrah.xyz
  • shockrah.xyz
  • temper.tv