OpsCanvas
  • Welcome to OpsCanvas Knowledge Portal
  • Designer
    • Introduction
    • Quickstart
      • Create an App Diagram
        • Tutorial
      • Deploy Application
        • Tutorial
      • Create Deploy Target
    • How To
      • Find environment info
      • Access your infrastructure
      • Helpful kubectl commands
      • Update a service
      • CloudWatch Logs
    • Application Glossary
  • Frequently Asked Questions
  • Open Source Software
Powered by GitBook
On this page
  • Configure deployment
  • Set environment metadata
  • Set health check endpoints
  • Deploy
  • Monitor deploy logs

Was this helpful?

  1. Designer
  2. Quickstart
  3. Deploy Application

Tutorial

Deploy the Todo app diagram into your cloud.

PreviousDeploy ApplicationNextCreate Deploy Target

Last updated 1 year ago

Was this helpful?

App source code here: .

Configure deployment

From the application diagram, click deploy in the upper right.

Set environment metadata

Set health check endpoints

Private services are deployed as pods to the Kubernetes cluster provisioned by OpsCanvas. K8s calls health end-points in pods to ensure that they have started successfully. To configure these endpoints slide open the Todo API tray and update the values startup_path, liveness_path and readiness_path. The values in the screenshot below MUST match exactly

  • startup_path: /_/start

  • liveness_path: /_/live

  • readiness_path: /_/ready

NOTE: At this time this configuration change must be made each time you deploy the Todo API private service.

Deploy

Save and continue:

Accept Ts & Cs:

Monitor deploy logs

Deployments can take a while up to 40 minutes, during that time you will see output from the IaC operators as your environment is provisioned.

After the application is deployed successfully you can visit the OpenAPI documentation generated for the service at:

https://<app name>-<env name>/<org-name>.opscanvas.io/todo-api

Where:

  • org-name is the name of the organization you are currently logged into

The values in the screenshot below are for reference and can be changed however you see fit. In order to deploy to a cloud, you will need to .

app-name is the name you

env-name is the name you

create a deploy target
gave the environment
https://gitlab.com/opscanvas-public/todo
gave the drawing
enter deployment configuration
environment metadata
save and continue
deploy now
your organization