This tutorial details how to deploy any one of Hossted’s fully supported K8s apps from the Azure Marketplace and connect it to the Hossted Platform, so that it is ready for use:

1. Deploying the K8s App on Azure

  • Navigate to the app’s page on Azure Marketplace.
  • Click the “Get It now” button.
  • Choose “Subscription”, “Resource group”, “Region” and pick “Yes” to create new cluster. 
  • Create “AKS Cluster name” and choose the version of Kubernetes (preferably the latest).
  • Click on the “Create” button. Cluster is created in about 20-30 minutes.

Wait till the end of the deployment process.

2. Connect your cluster locally

To connect the cluster with the Hossted Platform and get the application credentials, you need to access the cluster locally. If you have local access to your cluster, skip this step and go to the “Access your application” step.

  1. 1. Upload or update Azure CLI (How to install the Azure CLI).
      Upload or update  Kubeclt (How to install kubectl ).
  2. If the command does not work, try this one:
sudo az aks install -CLI
  1. 2. Set the cluster credentials. Run three commands in your CLI.
az login
az account set --subscription (Subscription ID)
az aks get-credentials --resource-group (name of resource group)--name (cluster name) --overwrite-existing

Subscription ID as well as the CLI commands you can get in your Azure cluster by clicking on the “Connect” button.

3. Access your application

To access your deployed application and get the application credentials, connect it with the Hossted Platform.

  • Follow this link to sign up or sign in to the Hossted Platform.
  • Click on “Clusters” > “Add the first cluster”.
  • Open your CLI and run the first command. Wait for the command to execute and run the second command.
  • At your CLI, choose the “Cluster” you have installed locally > “Organization” > choose “yes” in the four following questions.
  • Get back to the platform and wait within 30-40 minutes until the installation process finishes and all the monitoring data will be collected in the platform. 
  • To access the application in the “Clusters” section > choose “cluster” > choose “your app” > click the “Access info” > copy the link and insert it in the search line > use the credentials below and sign in your application.