Connector status
The Deployz connector row in the deployment’s Infrastructure section shows its status and when it last checked in.
While the connector is offline, the Deployments list shows Needs attention · Lost contact, and the detail page shows Lost contact with this deployment. The application may still be running. Deployz shows the last confirmed state, but it can’t check health or run actions. Deploy update, Rollback, Restart, and configuration changes are unavailable until the connector is back.
Before the connector connects
If your customer started the install but the connector hasn’t connected after 15 minutes, the Deployments list shows Setting up · Slow to connect. The setup in your customer’s AWS account may still be running, or it may have failed before the connector started. The Install link card on the detail page shows the Expected stack name, so your customer can find the stack in their AWS console. The Install link card appears only while the deployment shows Waiting for customer or Setting up before the connector has connected. After the install, the dashboard has no Install link card. There are two ways to start a new connection attempt.Your customer selects Retry connection
Who: your customer, on the install page. After 15 minutes, the install page shows Still connecting and a Retry connection button. When your customer selects it, Deployz starts a fresh attempt. The install page then shows either a new link to create the connector, or the steps to update the connector stack that’s already in their account. See Install the application.You issue a new install link
Who: you (an owner or admin), in the Deployz dashboard. Members can’t issue a new install link.- In Deployments, open the customer’s deployment.
- In the Install link card, select Issue new install link.
- In Issue a new install link?, select Issue new install link to confirm. The current link stops working, and a setup in progress with the old link fails.
- Select Copy install link, and send the link to your customer.
<date>. After that date, the link can’t start an install, and the card says the link expired. Issue a new install link to make it work again. Once the connector has connected, the link keeps working so your customer can follow the install progress.
Deployz also offers Issue new install link in the Retry install dialog when a failed first install can’t be retried because the connector is offline.
Issuing a new link gives the connector a new credential. What your customer does next depends on whether the connector stack already exists in their account:
- No connector stack yet. The link page shows the normal install steps.
- The connector stack exists. The link page shows Reconnect the existing connector and the new values. Your customer updates the existing stack, as described in the next section.
Your customer reconnects the existing connector
Who: your customer, in their AWS console. The install page shows Update the connector stack. Do not create a new one. A second stack with the same name fails to create. Your customer updates the existing stack with the newEnrollmentCode and RelayCredential from the install page, and keeps every other value as it is. Send them Update the connector stack for the steps.
When the connector reconnects, its status returns to Online, and progress continues on the install page and in your dashboard.
When a connector goes offline
A connector that was online can go offline because:- The connector stack was deleted or changed in your customer’s AWS account.
- The connector lost its credential.
- Your customer’s AWS account can no longer reach Deployz, for example because of a network change.
- Ask your customer to check that the connector stack still exists in their AWS account, and that the account can still reach Deployz over HTTPS.
- Wait for the connector to check in. When it does, Deployz marks it Online without any action from you.
- The connector stack was deleted.
- The connector stays offline after your customer confirms that the stack exists and the account can reach Deployz.
If a removal is waiting on an offline connector, see Remove a deployment.
Update the connector
Deployz occasionally publishes a newer connector. Updating it is your customer’s decision, because the connector runs in their account. When an update exists, the deployment detail page shows Connector update available. If the deployment needs the update before you can deploy the next update, it shows Connector update required before the next update instead. If an action you need isn’t supported, the detail page says This action is not supported by the currently installed Deployz connector., and updating the connector adds it. Who: you send the instructions; your customer updates the stack in their AWS console.- Copy the template URL from the alert on the detail page, if it shows one.
- Send your customer the template URL and a link to Update the connector stack. Your customer also sees an Update connector button with the same steps on their install page, after they sign in with an emailed code.
- Your customer replaces the stack’s template, keeps all existing parameter values (Use existing value), especially
RelayCredential, and submits the update.
Follow the update
Deployz reads the connector stack’s status from the connector’s check-ins. While your customer updates the stack, the detail page shows:
While the stack updates, the connector starts no new operations, so a deploy or restart you request waits until the update ends.
Deployz marks the update done only when the connector reports the new version on a stable stack. The deployment’s activity then shows Connector updated. A rolled-back or failed update shows Connector update rolled back or Connector update failed instead. A connector stack created from an older template can’t report its stack status. Until it’s updated, these alerts don’t appear for it, and Deployz recognizes the update when the connector reports its new version.
A current connector also requires a permissions boundary on every IAM role in the application stack, and limits its permissions to this deployment’s resources. A connector stack created earlier keeps its earlier, wider permissions until your customer updates it. See Security and AWS access. After your customer updates, existing deployments keep their roles and keep working. A deployment that was prepared before the boundary but not yet installed can’t install with the updated connector. Create a new deployment for that customer instead. See Fix install failures.
