# Deployment

> Deployment is the process of moving a finished build from a builder's development setup into the live environment where real users and real data reach it, including hosting, configuration, secrets and release steps.

Also called: deploying, release, go-live, shipping to production, production deployment. Category: Delivery and quality. Source: https://aibuildindex.com/glossary/deployment

## In the index

- AI implementation: median $4,130, middle half $1,000 to $9,110, 268 priced briefs (https://aibuildindex.com/cost/ai-implementation)
- AI SaaS MVP: median $4,000, middle half $870 to $10,000, 7,123 priced briefs (https://aibuildindex.com/cost/ai-saas-mvp)

A system that runs on the builder's machine is not yet useful to anyone else. Deployment is the step that makes it live: the code is placed on servers or a hosting platform, connected to real data and services, given its keys and settings, and opened to users. For AI systems, deployment also covers model access, usage limits and the settings that control cost. For buyers, it is the moment the project starts delivering value, and where many projects discover the work they left out.

## How it works

A typical deployment involves:

- **Hosting.** Choosing where the system runs: a cloud provider, a hosting platform, the buyer's own servers or an automation platform.
- **Configuration.** Setting environment variables, connection details and model settings for the live environment rather than the test one.
- **Secrets.** Storing API keys and passwords securely, in accounts the buyer controls.
- **Data.** Connecting to live databases and systems, sometimes migrating existing records.
- **Release.** Moving the code live, ideally through an automated [CI/CD](https://aibuildindex.com/glossary/ci-cd) pipeline after testing in a [staging environment](https://aibuildindex.com/glossary/staging-environment).
- **Monitoring.** Turning on [observability](https://aibuildindex.com/glossary/observability) so problems are seen quickly.

Good deployments are repeatable. If releasing a change needs one builder to follow steps only they remember, every later update carries risk. Automated, documented releases let any qualified person ship a fix.

## What it means for cost

Deployment is often under-priced in early quotes. A prototype that runs in a notebook or on a builder's account can look nearly finished, while the work to host it securely, connect it to real systems and keep it running remains. Quotes for the "same" system can differ widely depending on whether this work is included. It is also a common gap in budgets for [AI implementation](https://aibuildindex.com/cost/ai-implementation).

Hosting adds [running costs](https://aibuildindex.com/glossary/running-costs) that continue after the build. Ask a builder:

- Where will this run, and whose account will it be in?
- Is deployment to our live environment included in the price?
- How will future changes be released, and by whom?
- What happens if a release goes wrong, and how quickly can it be reversed?

Before go-live, check against [production readiness](https://aibuildindex.com/glossary/production-readiness) and make sure the [handover](https://aibuildindex.com/glossary/handover) explains how to deploy again.

## Common questions

### What is the difference between deployment and launch?

Deployment is the technical act of putting a version live. Launch is the business event of opening it to users. A system can be deployed quietly for internal testing well before launch, which is a common way to reduce risk.

### Should my system be deployed in my own cloud account?

Usually yes. Running it in accounts the buyer owns keeps control of data, costs and access, and makes changing builders easier. Some managed platforms run in the provider's account by design; in that case make sure the buyer owns the platform subscription.

## Related terms

- [Staging environment](https://aibuildindex.com/glossary/staging-environment): A staging environment is a copy of the live system, set up as close to production as possible but without real users, where changes are tested and reviewed before they are released.
- [CI/CD](https://aibuildindex.com/glossary/ci-cd): CI/CD, short for continuous integration and continuous delivery, is an automated pipeline that tests every code change as it is made and prepares or releases it, so updates reach production quickly and safely.
- [Production readiness](https://aibuildindex.com/glossary/production-readiness): Production readiness is the state of a system being safe and reliable enough for real users and real data, covering security, error handling, monitoring, testing, performance and support, not just working in a demo.
- [Handover and documentation](https://aibuildindex.com/glossary/handover): Handover and documentation is the final stage of a build in which the builder transfers code, accounts, credentials and written explanations to the buyer, so the system can be run, changed and supported without them.
- [Observability](https://aibuildindex.com/glossary/observability): Observability is the ability to see what a live system is doing and why, through logs, traces and metrics, so that errors, slow responses, rising costs and poor AI outputs can be found and explained.
- [Scalability](https://aibuildindex.com/glossary/scalability): Scalability is a system's ability to handle more users, requests or data without failing, slowing badly or becoming disproportionately expensive, usually by adding resources rather than rebuilding.
