Signed-off-by: ModupeD <daniemu@mail.uc.edu>
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
-
Create a new project from the Flightcontrol Dashboard
-
Select the GitHub repo for your Backstage project
-
Select
GUIas the config type: -
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 |
- Click
Create Projectand complete any required steps (like linking your AWS account).
Deployment via Code
-
Create a new project from the Flightcontrol Dashboard
-
Select the GitHub repo for your Backstage project
-
Select the
flightcontrol.jsonConfig 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.