Concepts

Services

diagram

Overview

Services allow you to deploy a application with minimal configuration. Given your application code and a Dockerfile to run it, LaunchFlow will setup a deployment pipeline including:

  1. Create a Dockerfile that can build and run your application.
  2. Add a Cloud Run service to your infra.py file. Pass it the path to the Dockerfile you created if necessary (by default, it will search for one next to your launchflow.yaml).
  3. Run lf deploy on the command line. This will prompt you to confirm the deployment, and create the following in GCP:

CLI Commands

Create a Service

1
lf deploy

Delete a Service

1
lf destroy

List Services

1
lf services list

Promote a Service

1
lf promote [FROM_ENVIRONMENT] [TO_ENVIRONMENT]

For a full list of options see the command references:

Previous
Resources