graphql-engine/install-manifests/azure-resource-manager
2018-11-28 16:01:40 +05:30
..
azuredeploy.json update manifests to v1.0.0-alpha31 2018-11-28 16:01:40 +05:30
azuredeploy.parameters.json add deployment guide for azure postgres and container instances (close #584) (#928) 2018-11-14 15:43:15 +05:30
README.md update azure template readme 2018-11-14 15:57:21 +05:30

Hasura GraphQL Engine on Azure

Click the button below to create a Hasura GraphQL Engine container on Azure Container Instances backed by an Azure Database for PostgreSQL Server. For a more detailed step-by-step guide on deplopying individual resources to Azure using the CLI, refer to the documentation.

Deploy to Azure Button

(The button opens Azure Portal, you might want to do a Ctrl+Click, to get it on a new tab)

Pre-requisites

  • A valid Azure Subscription (click here for a free trial).

Instructions

Once you click the button, it will take you to the Azure Portal, where you might be prompted to login first.

A custom deployment screen will show up - enter the following information, as shown in the screenshot that follows:

  • Subscription: choose an Azure subscription.
  • Resource Group: choose an existing one or create a new one.
  • Location: choose a location for the resource group (note: Azure Container Instances and Database for PostgreSQL may not be available in all locations. Click here to check availability.)
  • Name: enter a unique name for the deployment, this name is used for provisioning a DNS label for the container, so it needs to be globally unique.
  • Postgres Version: choose a version.
  • Database SKU Tier: choose the SKU tier for the PostgreSQL service.
  • Database SKU Capacity: choose the number of cores for the database.
  • Database SKU Size in MB: choose the storage size for database (in MB).
  • Administrator Login Password: enter a password for the database - minimum 8 characters, must include lowercase, uppercase and numbers.
  • URL Encoded Admin Password: if the admin password contains special characters (like #, %, $ etc.), URL encode them (like %40 for @) and enter here. If there are no special characters, just re-type the password.

Azure Portal screenshot

Once all entries are filled, agree to the terms and click the Purchase button.

The deployment will start now.

Click on the Notification Bell icon on the header bar and then click on Deployment in Progress link.

On this screen, you can see progress for various steps in the deployment.

Azure Portal deployment screen
screenshot

Once all steps are completed, click on the Outputs link on the sidebar.

Azure Portal deployment output
screenshot

The FQDN and IP address are shown in this screen. Copy the FQDN and paste it into a browser. It will open up the Hasura GraphQL Engine console.

http://hasura-graphql-engine.centralindia.azurecontainer.io

Console

Next steps