Viz Now Administrator Guide
Version 1.2 | Published April 09, 2024 ©
Deployment Stages (AWS)
The deployment workflow starts when the user clicks the Deploy button.
Stage 1 - Initialize
First, Viz Now checks that the selected apps are available and that no resources are missing.
Stage 2 - Pre-deploy
Viz Now adopts a role in the target AWS account and performs the following actions:
-
Check and increase quota if needed. Quota is used by AWS to assess how many resources are needed (Read more here - AWS service quotas - AWS General Reference).
-
Reserve the instances to be deployed in the target region. Viz Now checks if the instance types configured are available. If not, it attempts other instance options if any alternatives are listed in the app and other regions if more are listed.
Note: Capacity reservations are handled by Viz Now and should not be interfered with during deploy (Read more here - On-Demand Capacity Reservations - Amazon Elastic Compute Cloud).
Once Viz Now successfully reserves the instances required for the deployment, it continues.
-
Share the AMIs that are needed for the deploy with the target AWS account (Read more here - Share an AMI with specific AWS accounts - Amazon Elastic Compute Cloud).
Stage 3 - Deploy
Viz Now depends on third parties to handle the deploy process. This requires the longest wait time, but should be done within 15 minutes. This party also assumes a role in the target account and runs the deployment scripts. Technologies used for the deploy are:
-
Spacelift: Spacelift Documentation
-
Terraform: Terraform by HashiCorp
-
Powershell: PowerShell Documentation - PowerShell | Microsoft Learn
-
Windows RM: Windows Remote Management - Win32 apps | Microsoft Learn
Stage 4 - Post Deploy
Viz Now gathers data from the deploy process and stores it in its database.