Follow the steps below to get started using Control Plane by deploying a sample application.
This quick start will demonstrate:
In this step, you will create a GVC and map it to two cloud providers in two locations.
If you are not already on the Create GVC
form, click the Create
dropdown in the upper right corner and select GVC
.
Enter a GVC name (e.g., foo-bar-gvc) and click Next (Locations)
.
Select the desired locations. For this quickstart, we'll select:
aws-eu-central-1
gcp-us-east1
Click Create
. The GVC will be created and the Info
page will be shown.
In this step, you will deploy a sample application by creating a Workload.
Click Workloads
from the left side menu. Once the form is loaded, click the New
button.
Enter a Workload name (e.g., foo-bar-workload) and click Next (Container 1)
.
In the Image
textbox, enter:
copycplnquickstarts/helloworld-go
The image cplnquickstarts/helloworld-go
is a web app written in Go.
When the Workload is navigated to, it will display the cloud provider and location in the browser.
Toggle on the Serves Traffic
switch to indicate that this Workload will be serving requests on port 8080.
At the top of the Workload form, click the Make Public
button. This will allow all inbound and outbound requests to/from the Workload.
Click the Create
button. The Workload will be created and the Info
page will be shown.
In this step, you will browse to the global endpoint URL that was generated for this Workload. This URL is automatically secured using TLS, load balanced, and DNS geo-routed to the nearest healthy location.
Workload Health
will indicate Ready
.Open
link besides the Global Endpoint
URL to launch to application in a new tab.In this step, you will launch the sample application at each Location.
Deployments
.Open
link that will launch the application at its respective location. Take note that the URL is secured using TLS.The output for each location will be similar to:
aws-eu-central-1Hello World!Provider: awsLocation: /org/ORG_NAME/location/aws-eu-central-1
gcp-us-east1Hello World!Provider: gcpLocation: /org/ORG_NAME/location/gcp-us-east1
With a minimal amount of effort, you were able to deploy an application to multiple cloud providers and locations. This Workload is now managed by Control Plane and you can easily modify any of the available options.
Click the Next
button below to learn how to configure a custom domain for your Workload.