How Deployz decides a deployment is healthy
A deployment is healthy only when the Deployz connector in your customer’s AWS account confirms that the application is running. A finished AWS setup isn’t enough. The infrastructure can be created successfully while the application inside it fails to start. The connector checks in with Deployz on a schedule and reports what it observes. Deployz accepts a release as running only when that report shows all of the following:- Every service the deployment needs, including workers, finished rolling out with its full number of running tasks, all on the same release.
- For the public web service, the load balancer reports every target as healthy.
- For the public web service, a request to the application’s public address succeeds.
The 30-minute verification window
After the install finishes in your customer’s AWS account, the application has 30 minutes to pass these checks. If the application still fails the checks after 30 minutes, the install fails. The detail page then shows Application couldn’t start when the cause is in the application, for example a failing health check or a container that doesn’t start. See Fix startup and health check failures.Statuses on the Deployments list
Each row in Deployments has one status badge. The Status filter groups these badges.
When more than one condition applies, the badge shows the most important one. A failed operation comes first, then a lost connector, then failing health checks.
A configuration change doesn’t change the badge. While Deployz applies new configuration values, the deployment keeps its Live badge. See What happens after you save.
Filter and sort the list
- All statuses, the default view, hides removed deployments. To see them, choose Removed in the Status filter. When every deployment is removed, the list says so and links to the removed ones.
- The Live filter also includes live deployments with Update available.
- The default sort puts the deployments that need you first: Failed or needs attention, then In progress, Waiting for customer, Update available, Live, and Removed last.
Deployment states and list labels
Underneath the badges, every deployment has one lifecycle state. Use this table to match the state to what the Deployments list shows.Each lifecycle state and the badge it shows on the Deployments list.
For a deployment that is installed and not being removed, a lost connector or failing health checks replace the state’s badge with the matching Needs attention badge. A failed update shows Update failed even though the state returns to Healthy or Update available, because the previous release keeps running.
What Live requires
A deployment reads Live when the connector has verified the application, as described in How Deployz decides a deployment is healthy. A successful AWS setup on its own never makes a deployment Live. A live deployment can still be serving over a temporary address while HTTPS is set up. The detail page tells you which:- Release
<version>is running and passing health checks. The application is live on an HTTPS address. - Release
<version>is running and healthy over a temporary address. A secure address is being set up. HTTPS isn’t ready yet. Deployz is setting it up, and nobody needs to act. - Release
<version>is running and healthy over a temporary address. Add a custom domain to serve it over HTTPS. Someone needs to act before the application has an HTTPS address. See Add a custom domain. - Release
<version>is running and healthy. The deployment has Update available, and a newer release is ready to deploy.
The deployment detail page
The detail page opens with one headline that answers “is it working?”. It uses the same rules as the list badge.
When a failed update leaves the previous release running, the headline adds a line such as Release
<version> is still live and unaffected. If that release’s health checks are also failing, the line reads Release <version> is still the running release, but its health checks are failing. instead.
Your application has not started says the release is configured and waiting for its first start. Select Deploy update to start it.
While a configuration change is being applied, the headline doesn’t change. Deploy update, Configuration, and the More actions items are unavailable, and the page says Other actions are available after the configuration update finishes. When the change finishes, Recent activity shows Configuration updated or Configuration update failed.
For failures and Needs attention states, the headline area becomes a recovery panel that explains what happened and who needs to act. See Find your problem.
Deployment type and billing
Under Deployment type, the detail page shows whether the deployment is a test deployment or a production deployment, and how it affects your bill:
See Pricing and billing.
Infrastructure
The Infrastructure section lists each part of the deployment, such as Application, Database, Storage, Cache, and Secure endpoint, with its status:
The Secure endpoint shows its HTTPS progress instead: Setting up, Waiting for certificate, Activating HTTPS, Ready, Failed, or Removing.
If the default HTTPS setup fails, open View components and
<n> AWS resources under the list. The Secure endpoint shows the reason and a Retry HTTPS setup button, which starts the HTTPS setup again. The button doesn’t appear when the failure belongs to a custom domain. To fix a custom domain, see Fix HTTPS and custom domain problems.
Connector status
The Deployz connector row under Infrastructure shows whether the connector is checking in:
While the connector isn’t checking in, the Infrastructure rows read Last known: followed by the last status, Running release shows Last confirmed without Verifying…, and the HTTPS active badge doesn’t appear. The row also shows when the connector last checked in. To fix an offline connector, see Reconnect or update the Deployz connector.
Customer statuses
A customer can have more than one deployment, so the Customers pages roll the deployments up. On the Customers list, each customer shows one badge per kind of status, with a count:
Removed deployments appear only when nothing else does. A customer whose deployments are all removed shows Removed. A customer with no deployments shows No deployments. The Filter by status control offers All statuses, Live, Needs attention, Waiting for customer, No live deployments, and Removed.
A customer’s detail page shows a single status for the deployment that most needs you: Needs attention, Installing, Live, Not installed, Removing, or Removed, in that order of priority.
