Migrating multi container workloads #1521
shainegordon
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've successfully migrated a number of single container applications from AWS Fargate to EC2/Kamal
Now I'm trying to plan how best to migrate multi-container workloads
Our general architecture is:
nginx as a reverse proxy
a UI framework (Nextjs or Remix) as a "BFF"
an API
the API cannot be 100% private, it's handling all the OAuth2 callbacks, and changing this will be complicated.
our current AWS architecture is
Cloudfront -> ALB -> Fargate (nginx) -> nginx handles reverse proxy on the internal docker network
nginx.conf looks like this
as I understand, I could using nginx as the service, and the the API and UI are "accessories"
This doesnt feel correct to me, because from what I can read
kamal deploy
does not include accessories (if they are already running)Lets also assume that I want to run everything on a single EC2 instance
Beta Was this translation helpful? Give feedback.
All reactions