DevOps & cloud infrastructure agency · Clients in the US, Canada, the UK, the UAE and Australiacontact@dexecuters.comBook a 30-minute call

CI/CD · DevOps · Kubernetes · Terraform

What a 45-minute deploy costs you, and how we got one to under 3

Slow deploys are not just slow. They make releases rare, risky and done after hours. The pipeline shape that fixed it for a healthcare platform serving 70+ hospitals.

A deploy that takes 45 minutes is not a 45-minute problem.

It means releases are batched, because nobody wants to go through it twice. It means they happen after hours, because a 45-minute window in the working day is a risk. It means a bad release takes most of an hour to undo, so people avoid releasing at all. The product slows down to the speed of the deploy.

At a healthcare software company serving more than 70 hospitals, deploys took about 45 minutes and were done by hand. After the infrastructure was rewritten in Terraform, the applications moved to Docker and Kubernetes, and a CI/CD pipeline was put in front of production, a deploy took under 3 minutes.

The pipeline shape

It is not complicated. The same shape works for a single server and for a Kubernetes platform.

  1. Build and test on every push. Unit and integration tests run on every commit. A failing test stops the pipeline before anything is built, so broken code never reaches an environment.
  2. Scan before it ships. Container images and dependencies are scanned for known vulnerabilities (Trivy, in our case). The pipeline reaches the cloud through keyless access, so there are no stored credentials to leak.
  3. Staging automatically. Every merge deploys itself to staging. Nobody has to remember.
  4. Production on approval. Production waits for a person, with the diff and the test results in front of them. That one click is the only manual step.
  5. Health checks, then rollback if needed. After the release, health checks and error rates are watched for a few minutes. If they fail, one command restores the previous release.

Why it gets fast

Three things take the time out:

  • Containers are built once. The same image is promoted from staging to production, so production never rebuilds anything.
  • Infrastructure is code. Environments are identical because they come from the same Terraform, so there are no surprises to debug during the deploy.
  • Rollback is cheap. When undoing a release costs one command, people stop batching releases, and small releases are faster and safer than big ones.

What changes for the team

Releases move from monthly events to a daily habit. Fixes ship the day they are written. Nobody deploys at 9 pm. And the person who used to be the only one who could deploy gets to take a holiday.

If your deploys still mean someone logging in to a server, the free infrastructure assessment will tell you how far you are from this, and what it would take.

Next step

Start with the free assessment

Tell us about your setup or project. Within 48 hours you get a written reply: the biggest risks and savings we can see, and what we would do first. No account access needed to start.