The statuses your application's Overview shows as you move through this guide.
Before you begin
You need:- A GitHub repository with a Dockerfile that builds a production container image of your web application. Check Application requirements first, so you know your application fits.
- An AWS account you control, where you can create a CloudFormation stack that creates IAM resources. The checks are the same as for a customer. See Before you install.
The test deployment is free in Deployz, but it creates real resources in your AWS account, and AWS bills you for them until you remove the deployment. See Sizes and AWS cost.
Set up your account and application
Who: you (the vendor), in the Deployz dashboard.1
Sign up
Go to app.deployz.dev/sign-up. Enter your Name, Email, and a Password of at least 12 characters. Selecting Create account accepts the Deployz Terms of Service and Privacy Policy, which are linked below the button. Select Create account. Deployz sends a verification email to that address. You can use the dashboard before you verify it, but you need a verified email to invite teammates.Deployz creates an organization for you, named after the part of your email address before the
@, and makes you its owner. Customers see the organization name as the publisher on the install page. To change it, open Settings, edit Organization name, and select Save name.2
Connect GitHub
In the sidebar, select Applications. Under Connect your code, select Connect GitHub. On GitHub, install the Deployz GitHub App and choose the repositories Deployz can read. Deployz requests read-only access to your code.GitHub returns you to Applications, which now lists your repositories. If a repository is missing, select Manage GitHub access to grant access to it.
3
Add the application
Find your repository in the list, or search for it, and select Select. Deployz creates the application, starts analyzing the repository, and opens the application’s Overview.
4
Wait for the analysis
While the analysis runs, the Overview shows Analyzing application. It usually takes about a minute. When it finishes, the status badge shows the result:
The Overview also shows whether the application can be deployed: Deployable without code changes, Deployable after repository changes, or Not supported by Deployz. Required changes are grouped under Set in Deployz, Change in your repository, and Not supported. Until a release builds successfully, Deployable without code changes shows “Not yet confirmed by a test deployment.”For help with a result, see Fix analysis problems.
5
Review the configuration
Open the Configuration tab. It has four tabs:
- Resources: the services Deployz detected, with build and runtime settings such as the port and health check path. Any required change appears on its row.
- Size presets: the Small, Medium, and Large sizes, the default size, and the minimum allowed size.
- Variables: the environment variables Deployz detected. Decide who provides each one, and enter the values you provide.
- Settings: the application’s name, repository, and branch.
6
Create a release
Open the Releases tab and select Create release. In New release, check the suggested Version and choose a Commit from your branch. Select Create release.The release shows Building, then Ready when the build succeeds. If it shows Build failed, see Fix a failed build. Creating a release doesn’t update any deployment. For details, see Create a release.You can also skip this step. If the application has no release yet, the Start test deployment page offers Build release from commit
<commit>, which builds the first release from the commit the analysis read.Run the test deployment
Who: you, in the Deployz dashboard.1
Start the test deployment
On the application’s Overview, select Start test deployment. The Start test deployment page opens.If the Overview shows Building a release instead, wait for the build to finish. If it shows No release to test, the last build failed or no release can be deployed. Select Review failed build or View releases, and create a release that builds.
2
Fill in the details
- Customer: keep Create new customer, then enter Your name and Your email. Company (optional) can stay empty. The customer record is for your test, so use your own details.
- Application: the application to deploy.
- AWS region: the Region to install into. See AWS Regions.
- Size: the size of the deployment. Only sizes at or above the application’s minimum size are offered. See Sizes and AWS cost.
v1.0.0 is ready.3
Build the first release if needed
If the application has no built release, the page says so and offers Build release from commit
<commit>. Select it. The page shows Building release <version>… and checks the build every 10 seconds. Start test deployment becomes available when the build completes.4
Create the test deployment
Select Start test deployment. Deployment created shows the test deployment’s install link.
If a deployment check blocks the test deployment
When a deployment check fails, the page lists the check with what it found, and Start test deployment stays unavailable with Fix the issues above to continue. For example, the Required customer variables check can show Missing: followed by variable names. These are required variables set to Set by customer. A test deployment for a new customer has no customer values yet, so these variables have no value. To continue, open Configuration › Variables and change each listed variable in one of these ways:- Set it to Set by you and enter a value.
- Set it to Not needed, if your application can start without it.
Install it in your AWS account
Who: you, on the install page and in your AWS console. These are the same steps your customers follow.1
Open the install page
Select Open install link. The install page shows the Region, the release, what will be deployed, and the Estimated AWS cost.
2
Connect your AWS account
Select Connect AWS account. The AWS console opens a CloudFormation Quick Create page in a new tab. Nothing is created until you approve it there.
3
Create the stack
Sign in to the AWS account you want to use, if you aren’t already, and check that the account and Region are correct. Then create the stack. It sets up the Deployz connector in your account. Install the application describes this step in detail.
4
Follow the progress
Return to the install page. It shows each step as Deployz connects to your account, creates the network and any database, cache, and file storage, runs migrations if your application has a migration command, starts the application, checks its health, and sets up HTTPS. The application’s Overview in the dashboard shows Testing from the moment you create the test deployment until it finishes.If a step fails, the page explains what happened. See Fix install failures.
5
Open the application
When the install page shows Your application is ready, select Open application. Your application runs at its permanent address, in the form
https://d-<deployment-id>.deployz.dev.Next step
Your application is ready for customers.- Start a subscription. Your customer can confirm an install only while your organization has an active subscription. See Pricing and billing.
- Create an install link and send it to your first customer. See Share an install link.
