Files
backstage/docs/deployment/flightcontrol.md
T
ModupeD 04913b7b7e Updated Sidebar and Redis Links
Signed-off-by: ModupeD <daniemu@mail.uc.edu>
2023-08-04 09:11:30 -04:00

2.5 KiB

id, title, sidebar_label, description
id title sidebar_label description
flightcontrol Deploying with Flightcontrol AWS Fargate via Flightcontrol Deploying Backstage to AWS Fargate via Flightcontrol

This guide explains how to deploy Backstage to Flightcontrol, a platform that fully automates deployments to Amazon Web Services (AWS). Flightcontrol supports git-driven and image registry deployments.

Before you begin, make sure you have a Flightcontrol account and a Github account to follow this guide.

Deployment Via Dashboard

  1. Create a new project from the Flightcontrol Dashboard

  2. Select the GitHub repo for your Backstage project

  3. Select GUI as the config type:

  4. Then, choose + Add Web Server (Fargate) under Services before entering the following server information:

Field Name Value
Build Type Custom Dockerfile
Health Check Path /catalog
Port 7007
  1. Click Create Project and complete any required steps (like linking your AWS account).

Deployment via Code

  1. Create a new project from the Flightcontrol Dashboard

  2. Select the GitHub repo for your Backstage project

  3. Select the flightcontrol.json Config Type.

{
  "$schema": "https://app.flightcontrol.dev/schema.json",
  "environments": [
    {
      "id": "backstage",
      "name": "Backstage",
      "region": "us-west-2",
      "source": {
        "branch": "main"
      },
      "services": [
        {
          "id": "backstage",
          "name": "Backstage",
          "type": "fargate",
          "buildType": "docker",
          "dockerfilePath": "Dockerfile",
          "dockerContext": ".",
          "healthCheckPath": "/catalog",
          "cpu": 0.5,
          "memory": 1,
          "domain": "backstage.yourapp.com",
          "port": 7007,
          "minInstances": 1,
          "maxInstances": 1
        }
      ]
    }
  ]
}

Databases and Redis

If you need a database or Redis for your Backstage plugins, you can easily add those to your Flightcontrol deployment. For more information, see the flightcontrol docs.

Troubleshooting