Which object owns what
In practice:
- To change how the application is analyzed, configured, or built, open the application.
- To deploy an update, roll back, restart, change one customer’s values, or remove a deployment, open the deployment.
A deployment brings together one release of an application and one customer, in one AWS account and Region.
Application
An application is one GitHub repository connected to Deployz. Each repository can be added once per organization. The application’s page has three tabs:- Overview: the application’s status and its one next action.
- Releases: the versions Deployz has built.
- Configuration: the detected services, size presets, environment variables, and settings, on the Resources, Size presets, Variables, and Settings tabs. Remove application is on Settings.
- Runtime environment variables reach running deployments within minutes.
- Build environment variables apply to releases built after the change.
- The migration command applies to new deployments. An existing deployment keeps the command it was created with until you save a command in Deployz. Its next release deployment then uses the saved command. See Database migrations.
- Size presets apply only to new install links and new deployments.
- The container port, the health check path, and services (database, cache, and file storage) apply only to new deployments.
Release
A release is a fixed version of your application, built from one commit. You give each release a version label, such asv1.3.0. Once a release is built, it doesn’t change.
Creating a release doesn’t update any deployment. You choose when each deployment moves to a new release. See Create a release and Deploy an update.
A release can later show Unavailable when its build is no longer available. To deploy that version again, create a new release from the same commit.
Deployment
A deployment is one application running in one AWS account, in one AWS Region. A test deployment is a deployment too. “Install” is the word for a deployment’s first setup in that account. Each deployment has its own status, address, and history. A deployment runs with your application’s configuration defaults plus the customer’s overrides. Overrides are stored per customer and application, so they apply to all of that customer’s deployments of the application. See Change a customer’s configuration. You choose a deployment’s Region and size before it’s installed. You can’t change either one afterward. See Deployment status and health for what each status means.Test deployment
A test deployment is a deployment of your application in your own AWS account. It uses the same install page and AWS steps your customers use, so you can find problems before a customer does.- It’s free. Deployz doesn’t bill test deployments, but AWS bills your account for the resources it uses.
- Each application can have one test deployment at a time.
- Create install link appears on the application’s Overview after a test deployment succeeds. If you remove that test deployment before any customer deployment exists, Create install link goes away until a new test deployment succeeds. An install link you already created stays live.
- Invitations don’t need a test deployment. You can invite a customer once the application has a built release.
