Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/sidecar containers #165

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Feat/sidecar containers #165

wants to merge 1 commit into from

Conversation

DrizzlyOwl
Copy link
Contributor

@DrizzlyOwl DrizzlyOwl commented Sep 20, 2024

Sidecar containers

A sidecar is a container that runs alongside an application container in an Amazon ECS task.

This Pull Request adds support for enabling simple sidecar containers for the ECS Service.

Use Case

The most appropriate use case for this is enabling the use of nginx in front of the applications deployed in ECS. This nginx container will become the main traffic ingress point from the ALB and will have the specified container_port exposed instead. This container will effectively sit 'in front of' the main web app containers.

This means that the main web app containers do not need to ship with nginx and can simply run php-fpm and handle backend requests exclusively. It would also allow us to scale backend PHP workers separately to the nginx containers

@DrizzlyOwl DrizzlyOwl force-pushed the feat/sidecar-containers branch 2 times, most recently from a75dab5 to 10fe4aa Compare September 23, 2024 09:01
@DrizzlyOwl DrizzlyOwl force-pushed the feat/sidecar-containers branch 2 times, most recently from 0555f10 to 4478fcb Compare October 22, 2024 16:27
@DrizzlyOwl DrizzlyOwl force-pushed the feat/sidecar-containers branch from 4478fcb to 74cbcaa Compare October 22, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant