Re:Ask HN: Has anyone migrated off containerized infrastruct...
by lovehashbrowns on Friday August 14, 2020 @04:51AM
(#24155497)
Lucky!! With our infrastructure, deploys can take an hour or so. 10 minutes for the build, 10 minutes for the image to get built, plus the rest of the time for terraform to apply infrastructure changes across dev, staging, and prod. Only thing we do have is automated testing after every deploy so issues tend to get caught. But that's still so long for a deploy! I don't know of a good way to get it down faster.
[ Parent
| on HN ]
Re:Ask HN: Has anyone migrated off containerized infrastruct...
by jonfw on Friday August 14, 2020 @09:13AM
(#24157459)
Why is terraform deploying infrastructure for every container deployment? Can't you just rollout onto the existing infrastructure?
Also sounds like there is some lay hanging fruit available by adding some caching/layering in the build process
Re:Ask HN: Has anyone migrated off containerized infrastruct...
by lovehashbrowns on Friday August 14, 2020 @11:08AM
(#24158890)
Ah, I should have explained more. That's an hour for our ASG + EC2 deployments. The only benefit we get is easy roll backs because it always deploys a new ASG. We're switching over to Spinnaker and started with our EC2 infrastructure. I think container deployments will be faster but still, an hour for EC2 deployments!