What a test deployment is
- Free. Deployz never bills a test deployment, and it doesn’t need a subscription. AWS bills the account you install into for the resources it uses. See Sizes and AWS cost.
- One per application. Each application can have one test deployment at a time. To start a new one, remove the existing test deployment first.
- Yours to configure. You choose the AWS Region and the size. Your customers choose these for their own deployments.
- The same flow your customers use. The test deployment has its own install link, opens the same install page, and creates the same Deployz connector and resources in AWS.
Before you start
You need:- An application whose analysis has finished, with no required changes open on Configuration.
- A built release. The test deployment installs your application’s newest built release. If the application doesn’t have one yet, you can start the first build from the Start test deployment page. See Create the test deployment.
- An AWS account where you can create a CloudFormation stack with IAM resources. The requirements are the same as for a customer. See Before you install.
Create the test deployment
Who: you (the vendor), in the Deployz dashboard.1
Open the application
In Applications, open your application. When it’s ready, the Overview shows Ready for a test deployment. If a test deployment exists but you haven’t connected AWS yet, it shows Test deployment waiting to start, with Continue setup.
2
Start the test deployment
Select Start test deployment. The Start test deployment page opens with your application selected.
3
Choose a customer record
In Customer, select an existing customer, or keep Create new customer and enter Your name and Your email. The customer record is for your test, so use your own details. A new customer record appears in Customers, like any other customer.
4
Choose the Region and size
Select the AWS region to install into, then the Size. The AWS region list shows only the Regions available for installs, and the Size list starts at your application’s minimum size. See AWS Regions and Sizes and AWS cost.
5
Check the deployment checks and the release
Deployz runs its deployment checks as soon as the application is selected, and shows the result on the page. It also shows which release the test deployment installs.
- If a check shows Fix before deploying, fix the issue, then return to this page.
- If the application has no built release, select Build release from commit, followed by the short commit SHA. Deployz builds the first release from the commit it analyzed, and the page follows the build. To build a different commit, select Go to Releases instead. See Create a release.
6
Create it
Select Start test deployment. The button stays unavailable until the checks pass and a release is built. The text next to it says what it’s waiting for.
Install it in your AWS account
Who: you, on the install page and in your AWS console.- Select Open install link, or select Copy install link and open it in your browser. If you’re signed in to the dashboard in that browser, the page opens without a code. Otherwise, the page asks you to sign in with your email. Enter the email on the customer record you chose, select Send code, and enter the 8-digit code Deployz sends to it.
- On the install page, select Connect AWS account. The AWS console opens in a new tab, in the Region you chose.
- Sign in to the AWS account you want to use, and create the stack.
- Return to the install page and follow the progress. When the deployment is ready, select Open application.
After the test
- If it succeeds, the application Overview shows Ready to share. Share it with an install link or an invitation.
- If it fails, the Overview shows the Test failed badge, with Test deployment failed, or Lost connection to the test deployment if Deployz lost the connection to it. Select Review failure to open the deployment and its recovery steps. See Find your problem.
Removing a passed test before you have customers
Removing the test deployment changes what the Overview offers, until you have at least one customer deployment:- If you haven’t created an install link yet, Create install link is no longer available. The Overview returns to Ready for a test deployment, and you need another successful test before you can create the link.
- An install link you already created keeps working. The Overview shows it with a warning that the link is live, and you can disable it there.
