docs: add flightcontrol deployment option #9725

GITHUB_PR_NUMBER: 9726
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9726

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9612
Co-authored-by: ModupeD <69601432+ModupeD@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 5fa574afcac728ec11458e9f27562ee6f9385637
This commit is contained in:
hasura-bot 2023-06-23 02:24:14 +05:30
parent 9e46fe2d55
commit 5dc4630b5e
6 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,76 @@
---
description: Deploy Hasura GraphQL Engine on Flightcontrol
keywords:
- hasura
- docs
- guide
- deployment
- flightcontrol
- postgreSQL
sidebar_position: 12
sidebar_label: Using Flightcontrol
---
import Thumbnail from '@site/src/components/Thumbnail';
# Deploying Hasura with Flightcontrol
## Introduction
This guide shows how to deploy the Hasura GraphQL Engine on [Flightcontrol](https://www.flightcontrol.dev/?ref=hasura).
## Prerequisites
To successfully follow and complete this guide, you need:
- A [Flightcontrol Account](https://www.flightcontrol.dev/?ref=docs-hasura)
- An [AWS Account](https://aws.amazon.com/)
## Deployment instructions
### Step 1: Connect Hasura
Flightcontrol needs access to a GitHub repository you own that houses
[Hasura GraphQL Engine](https://github.com/hasura/graphql-engine).
### Step 2: Configure your environment
First, select `GUI` as the config type:
<Thumbnail src="/img/deployment/flightcontrol-config-type.png" alt="flightcontol enable console" />
Then, choose `+ Add Web Server (Fargate)` under `Services` before entering the following server information:
| Field Name | Value |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Build Type | Pull from Image Registry |
| Image Repository | [Create an Image Registry on Flightcontrol](https://www.flightcontrol.dev/docs/getting-started/docker/deploying-docker-hub/?ref=hasura) and select it here |
| Image Tag | Set the Image Tag to your preferred version or latest |
| Port | `8080` |
| Health Check Path | `/healthz` |
Completed, it will look like this:
<Thumbnail src="/img/deployment/flightcontrol-web-server-creation.png" alt="flightcontol web server" />
### Step 3: Configure your database
In the database section, Set the `Env Variable Name for Connection String` in Database settings to be
`HASURA_GRAPHQL_DATABASE_URL` and choose a region:
<Thumbnail src="/img/deployment/flightcontrol-env-variable-name.png" alt="flightcontol enable console" />
### Step 4: Enable the Hasura Console
In the environment variable section, set `HASURA_GRAPHQL_ENABLE_CONSOLE` to `true`:
<Thumbnail src="/img/deployment/flightcontrol-enable-console.png" alt="flightcontol enable console" />
### Step 5: Create your project
Click `Create Project` and complete any required steps (like linking your AWS account).
## Troubleshooting
- [Flightcontrol Documentation](https://www.flightcontrol.dev/docs?ref=docs-hasura)
- [Troubleshooting](https://www.flightcontrol.dev/docs/troubleshooting?ref=docs-hasura)

View File

@ -41,3 +41,4 @@ Choose from the full list of deployment guides:
- [Deploy using Render One-click Deploy with Managed PostgreSQL](/deployment/deployment-guides/render-one-click.mdx)
- [Deploy using Nhost One-click Deploy with Managed PostgreSQL, Storage, and Auth](/deployment/deployment-guides/nhost-one-click.mdx)
- [Deploy using Koyeb Serverless Platform](/deployment/deployment-guides/koyeb.mdx)
- [Deploy using Flightcontrol on AWS Fargate](/deployment/deployment-guides/flightcontrol.mdx)

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB