Skip to main content

Deploy on Azure

1. Configure PostgreSQL#

Create and configure PostgreSQL database for storing your app related information. This database will be managed by Ignite App and required for App registration.

Setup PostgreSQL#

https://portal.azure.com/#create/Microsoft.PostgreSQLServer

img

Review & Create#

Database Credential#

Now create your DATABASE_URL as below format by using above values

postgres://{username}:{password}@{host}:{port}/{database}

Copy or save this DATABASE_URL for Azure App Registration Step

2. Create App and Get Ignite Keys in Cgignite Dashboard#


Create App#

Visit: https://dashboard.cgignite.io/#/apps

Click on button “New App”

img

Set App Name#

Provide a suitable name for your application and click on button “Create App”

img

Get Key for AWS Container Creation#

You will get the IGNIT_EDITOR_API_SECRET key, copy or save this key for later use in Azure App Registration Step.

img

Set Ignite Runtime URL#

We will setup this URL once we will finish the "deploy-on-azure".

img

3. Deploy Application Using Docker Hub Public Repository#

After the Ignite Platform team provisions your account, you may use the following "Deploy to Azure" button to get started.

You may need a Microsoft Azure account.

You will be redirected to Azure after clicking this button.

img

Below are required parameters details-

  • Subscription: Select your azure account subscription type that you want for this custom deployment. All resources in an Azure subscription are billed together.

  • Resource group: A resource group is a collection of resources that share the same lifecycle, permissions, and policies. You can select your existing resource group or can also create new one.

  • Region: Select a location for the resource group. For example, Central US. Not every resource is available in every region.

  • Location: Select a location for the storage account. For example, Central US.

  • App_Service_Plan_Name: Provide app service plan name

  • App_Service_Plan_SKU: Select the suitable Azure plan. For more information about Azure plan visit Azure Pricing Plans

  • Web_App_Name: Create a unique and suitable web application name. Your deployed application will be running with your web app name. for example, if Web_App_name is "myDemo" then application will be hosted in URL

    https://myDemo.azurewebsites.net/

  • ENV_DATABASE_URL: This URL includes protocol, user credentials, host and port. Refer to database credential

  • ENV_IGNITE_EDITOR_API_SECRET: This API key is found within the Ignite Dashboard when registering an app. Refer to Get Ignite Keys

  • ENV_DB_SSL_OPTION: If your database supports or requires SSL, it is recommended to turn this on

  • ENV_START_MODE: Select desired start mode (Required for git-based application development)

Observation 1#

If someone else is using the same web app name then during deployment, you will get error like below-

img img

Observation 2#

If there is any validation issue, you will get the status like below–

img img

Observation 3:#

Once deployment completed you will get message as below–

img

4. Finish Ignite Runtime URL#

img

  • Click Launch button on your application in the Dashboard and start execution.

    img