Skip to main content
GullySystem

Application Deployment for Live Applications

Application deployment sets up a repeatable way to release new versions of a live application. It covers the build, a staging check, the release method chosen for the risk, and a tested route back.

Signs of a manual release process

  • Shipping an update means connecting to the server and copying files across
  • Releases are scheduled after hours because daytime releases are not trusted
  • A bad release can only be undone by rebuilding the previous version
  • Only two people know the order in which the steps must run

What replaces it

One defined build step

Code is built from version-controlled source in exactly the same way each time, with no files copied across by hand. Nothing is improvised.

A staging environment that matches

New versions run somewhere that behaves like production, and the release is checked there before any customer sees it. Staging mirrors live.

A release method chosen for the risk

Rolling updates, a blue-green switch or a canary to a small share of traffic are picked according to what a bad release would cost.

A rollback that has been tried

A defined route back to the previous working version is rehearsed in staging before it is ever needed. It is not assumed.

Choosing a release method

The three common methods trade speed against safety. The right one depends on how much a failed release would hurt.

Rolling update

Servers are replaced a few at a time while the rest keep serving. It needs no spare capacity, but old and new versions run side by side for a while.

Blue-green switch

A complete second copy is built and tested, then traffic moves across in one step. Going back means pointing traffic at the old copy again. It costs more while both exist.

Canary release

A small slice of real traffic meets the new version first. If error rates stay normal, the slice grows. This suits applications where a fault would be costly and hard to spot in testing.

Configuration and secrets in a release

Settings that differ between staging and production live outside the code, in the environment, as the twelve-factor approach recommends. Passwords and keys sit in a secret store, never in the repository. A release can then move between environments without a rebuild. Build, release and run are kept as separate stages, so the same built package is combined with different settings for staging and production.

Mistakes that break releases

Staging that drifts from live

A test environment on a different database version or operating system passes checks that production then fails. Differences are listed and kept small.

No health check before traffic

A new server that is up but not ready takes requests it cannot answer. A readiness check holds traffic back until the application responds properly.

Releasing code and schema together

If the new code needs a table change and the change fails, both must be undone at once. Splitting them removes that trap.

Questions for an application deployment supplier

  • Can I watch a rollback happen in staging before we go live?
  • Who is called when a release fails at night?
  • Where are the pipeline definitions stored, and who can edit them?
  • How are secrets kept out of build logs?
  • What does a release look like for a change that touches the database?

Database changes during a release

Schema changes are handled apart from the code release and are written to run safely beside the previous version during the switch. A release is not held up by a migration. Both move separately. Large changes follow an expand-and-contract pattern: add the new column, deploy code that writes to both, then remove the old column in a later release. Blue-green releases add one more caution. Orders written to the live copy during the switch may be missing from the copy you would roll back to. Teams handle this by feeding writes to both copies or by making the application read-only for the moment of cut-over.

Release day as the team lives it

A deployment process is judged on an ordinary release day. Developers, testers, the support lead and the owner each have a part. Each shows who looks at what.

Developer merges the change

The developer finishes a change and merges it. A build runs the checks automatically and reports pass or fail. A failure stops the release before anyone is bothered. The developer fixes it and tries again.

Tester approves on staging

The tester opens the staging copy and walks through the changed screens with real-looking data. Anything odd is logged with a screenshot. Approval is recorded by name. Only then is the live step allowed to start.

Support lead watches the first hour

After going live, the support lead watches incoming tickets and the error view. Calm is the aim. A spike has a clear owner, named before the release. If the change misbehaves, the previous version is restored without drama.

Review the morning after

The owner reads the release note. Then comes the overnight error summary. Anything surprising goes on a short list for the team. Lessons are written down once. The next release starts from them, not from memory.

Make an informed decision

Questions to settle before rollout.

Use a representative scenario to decide what this part of the system must show and where review is still needed.

Application Deployment for Live Applications

Who can approve or bypass a production release?

For “Application Deployment for Live Applications”, record the permitted release path and rehearse a failed change. Check who can use production credentials and how the previous working version is identified.

Background reading: GitHub: deployment environments

FAQ

Frequently asked questions

Is application deployment the same as migration?

No. Migration moves a system to new infrastructure once. Deployment is the routine by which every later version of the application reaches production.

Do we need a full pipeline if we release rarely?

It depends on the release rhythm you keep and what a failed release would cost. Rare releases carry their own risk. Scope is reviewed during scoping.

Can this work with our existing developers?

Yes. It is set up around the tools your team already uses, and your developers can run releases themselves once the handover is done.

Who owns the deployment scripts and configuration?

You do. Everything lives in your own repository. The process stays with you if the vendor changes.

What is the difference between blue-green and canary releases?

Blue-green swaps all traffic to a fresh copy at once. A canary sends only a small slice first and widens it as checks pass. Canary is gentler but needs good monitoring to judge the slice.

Can we release during working hours?

Yes, once releases are small, checked in staging and reversible. Daytime releases become routine because each one carries little risk. Teams then stop saving changes up for a risky evening.

How do you roll back when the database has changed?

The change is written so the previous code version still works with the new schema. Rolling back the code then needs no data restore. Destructive steps wait for a later release.

What happens to customer orders during a blue-green switch?

Orders placed in the final moments can land in the old copy only. The release plan either replicates writes to both copies or pauses writing for a short, announced moment. Which one fits depends on your database.

Talk to us

Tell us what you need.

Tell us what your team does today, where work gets stuck and what you want to change.

What happens after you share your requirements

  1. We review your brief and the systems you already use.
  2. We clarify the workflow, missing information and the work to consider first.
  3. The proposed scope sets out the deliverables, responsibilities and dependencies.
  4. Review the scope and commercial terms before deciding whether to proceed.

Start with your requirements

Describe your current process, the people involved and the change you need. Start with the details you know; we can clarify the rest together.

Share your requirements