MultiConnectMultiConnectDocs Website home
MultiConnectCloud › Website Deployments

4. Create a website

  1. On the dashboard, open your project.
  2. Press Create New Deployment, and choose the website type in Create Deployment.
  3. Go through the five steps below, pressing Next after each one. Each step is checked when you press Next, and any problem is shown on the step.
  4. On the last step, press Submit.

The Deployment guide button at the top of every step opens a panel with the zip layout and build command for the platform you picked.

Step 1: Basic Info

Field What to enter
Deployment Name How the site is listed in your project, such as marketing-site. 3 to 60 characters: letters, numbers, spaces, hyphens and underscores, starting with a letter or number. It must be unique in the project

A project can have up to 20 deployments of all types.

Step 2: Hosting Plan

Choose a plan in Hosting Plan. Plan Details shows its CPU Cores, RAM, Storage, Bandwidth, Hourly Credits and Max Upload Size. Most static sites run well on the smallest plan, and you can change the plan later. A plan that cannot be hosted right now is shown greyed out.

Your balance must cover at least one hour of the plan, or the form refuses it.

Step 3: Site Settings

Field Default What it does
Platform None Your framework. See Section 2
Build Output Directory Blank The folder in the zip that holds index.html. See Section 3
SPA fallback On Sends index.html for paths that are not files, for client-side routing
Compression On Compresses text files as they are sent
Cache Max-Age 1 year How long browsers may keep JavaScript, CSS, images and fonts
Basic auth Off Asks visitors for a username and password

Section 5 explains each one.

Step 4: Scaling & Regions

Auto Scaling has two choices:

Choice What it does
Managed (OFF) Each region runs the number of containers you set in Containers
Automatic (ON) Containers are added when average CPU or memory stays above the scale-up threshold, and removed when it falls below the scale-down threshold, always between each region's Min Containers and Max Containers

With Automatic (ON), fill in CPU Scale Up Threshold, CPU Scale Down Threshold, Memory Scale Up Threshold and Memory Scale Down Threshold, as percentages, for example 80 and 30. Each scale-down value must be below its scale-up value.

Under Regions:

  1. Press Add Region, and choose a region. Pick the one closest to your visitors.
  2. Set the containers for it. Each region needs at least 1. The maximum cannot be below the minimum, and the plan sets a limit on containers per region.
  3. Add more regions if your visitors are spread out. Mark exactly one region as primary with Set as Primary.

Minimum containers always run and are always billed. Two or more keep the site up if one becomes unhealthy. Estimated monthly cost shows the cost of what you chose.

Step 5: Build

Drag your .zip onto the box, or click it to choose the file. Then press Submit.

The zip uploads straight from your browser, with a progress bar. Then the website is created and its page opens. The first deploy takes a few minutes; follow it on the website page.