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
Choosing a release method
The three common methods trade speed against safety. The right one depends on how much a failed release would hurt.
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
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.
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
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.
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
- We review your brief and the systems you already use.
- We clarify the workflow, missing information and the work to consider first.
- The proposed scope sets out the deliverables, responsibilities and dependencies.
- 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