How to deploy a cloud application from a template

The Multi-Cloud Orchestrator provides you a user interface to manage your infrastructure in the cloud across different cloud providers.

But sometimes, you do not want to create an infrastructure in the cloud manually step by step, but deploy it automatically following some kind of script.

Cloud Application Templates (CATs) are these scripts. They allow you to describe an infrastructure based on the TOSCA Simple Profile in YAML standard. When deploying from a CAT, you provide some input parameters to the template, that characterize your specific deployment. Then, the Orchestrator takes care of creating all the relevant infrastructure for you. The Orchestrator CATs are cloud agnostic. You can use the same CAT for deploying in AWS and Azure, for example.

Note: Sometimes you want to deploy specific Azure or AWS infrastructure. Take a look at How to deploy an ARM template readily available from the internet and How to deploy an AWS Cloudformation template readily available from the internet, respectively.

Prerequisites

Upload the CAT

  1. Go to Applications -> Templates

  2. If it is your first CAT, you will see the following screen: Templates screen before first CAT

    Otherwise, you will see a list of your CATs.

    Press the "Import cloud application template" button.

  3. In the "Import CAT" popup window, press the "Select a file" button to choose a file from your local file system. Import CAT popup

  4. After the CAT was imported, you should see it in the list of your CATs with its name and version (as specified in the CAT metadata)

    List of CATs

Note: You cannot upload two CATs that coincide in name and version number.

Deploy the CAT

  1. Select the CAT to see the list of deployments (still empty): List of Deployments for CAT

  2. Press the "New deployment" button. The "Deploy" popup asks for the input parameters of this deployment. Input parameter fields for deployment

    These input parameters depend on the specific CAT to deploy.

  3. Fill in the input parameters and press "Deploy CAT".

    You can see the new deployment below the template. Note also that the status of the deployment task is shown in the lower right corner. See deploy progress

  4. Click on the deployment name to see the resources that have been created so far.

    Deployment view

  5. Prepare yourself a coffee and wait until the deployment is finished. Or just keep it running in the background.

Additional Resources