Re:Ask HN: Infra people in small companies, what does your i...
by tkiolp4 on Saturday November 04, 2023 @12:47PM
(#38142719)
How does a deployment look like in that setup?
[ Parent
| on HN ]
Re:Ask HN: Infra people in small companies, what does your i...
by colomofo on Saturday November 04, 2023 @01:31PM
(#38143229)
It depends how you deploy the app containers.
If you use a container orchestration service (ECS, GKE) then you use that system to upgrade container image with new app versions.
If you use autoscaling groups / managed instance groups, then you use that to replace VMs with new ones running containers with the new app image.
Using rolling updates, the load balancer drains connections to a container and then it is replaced.
Ideally this is done using your IaC system. So a deployment just involves changing the container image (app version) and applying the update.