Introduction to Multi-Cloud

Updated 2 days ago by Copado Solutions

Overview

Multi-Cloud is a set of features that enable you to implement a DevOps process that works with different clouds such as MuleSoft or Heroku.

Multi-Cloud graph

With Multi-Cloud, you can automate your DevOps process and implement automated or scheduled deployments adding connection behaviors to the different stages in your pipeline.

Let’s take a look at some of the benefits this feature can bring to your team.

Benefits
  • Standardized DevOps process.
  • More streamlined process, as everything is under the same tool.

Requirements

To start working with Multi-Cloud, you need the following licenses and permissions:

  • The Copado User, Copado Functions and Job Engine permission sets.
  • An Admin or User license. To build the pipeline and deploy to production, you need an Admin license. If you want to commit and promote to other environments that are not production, the User license is enough.
  • A MuleSoft or Heroku account.

Flow

If you have worked with Copado for Salesforce DevOps, you will find that the Multi-Cloud flow is not that different. The overall process is the same: commit → promote → deploy.

Multi-Cloud pipeline

Let’s take a look at what these processes look like for a Multi-Cloud pipeline.

The first thing you need to do is install the extension for the cloud you are going to work with.

When you install the extension, Copado automatically creates two job templates, one for the promotion and another for the deployment. You then need to create the different environments, the project and the pipeline (please refer to the Heroku Solution Configuration Steps and MuleSoft Solution Configuration Steps articles for a step-by-step process for setting up your Heroku or MuleSoft pipeline).

This is an example Multi-Cloud pipeline:

Heroku Pipeline

Once you are done with the setup, you can start committing and moving your changes across the pipeline.

Commit

As with a Salesforce pipeline, the commit process in Multi-Cloud is based on user stories. Commits in Multi-Cloud can be done through the Copado CLI (MuleSoft and Heroku), through the UI or using an automated process. This is what a Multi-Cloud user story looks like:

Multi-Cloud user story

When you commit using the CLI, the commit is linked to the user story, and you can find the committed files on the metadata grid. Once the commit is completed, you can promote that individual user story or navigate to the Pipeline page to promote multiple user stories at once.

Metadata Selections grid

For more information about this process, review the article Commit Process in Multi-Cloud.

Promotion Template

The promotion and deployment part is handled by two job templates; one performs the promotion and the other one the deployment.

The promotion template includes a Function step that creates the promotion branch and merges the feature branches of the user stories into the promotion branch. This function, unlike the deployment function, is commonly the same for all platforms.

Promote Job Template

Deployment Template

The deployment template also includes a function step that executes the deployment and merges the promotion branch into the destination branch.

Mule Deploy Job Template

For more information about the promotion and deployment processes, review the article Deployment Process in Multi-Cloud.

Now that you know what Multi-Cloud is, go ahead and see how you can configure a MuleSoft or Heroku pipeline and start deploying your changes. To do this, review the MuleSoft Solution Configuration Steps and Heroku Solution Configuration Steps articles.


How did we do?