Home Design and implement third-party PaaS
Post
Cancel

Design and implement third-party PaaS

Azure support many third-party offerings and services through the Azure Marketplace. These can be deployed through the Azure portal, using ARM, or other CLI tools.

Implement Cloud Foundry as a third-party PaaS

Cloud Foundry is an open source PaaS for building, deploying and operating 12-factor applications developed in various languages and frameworks. It is a mature container-based application platform allowing you to easily deploy and manage production grade application on a platform that supports continuous delivery and horizontal scale, and support hybrid and multi-cloud scenarios.

There are two forms of Cloud Foundry available on Azure:

  1. Open source Cloud Foundry (OSS CF) is an entirely open source version of Cloud Foundry managed by the Cloud Foundry Foundation.
  2. Pivotal Cloud Foundry (PCF) is an enterprise distribution of Cloud Foundry from Pivotal Software Inc., which adds on a set of proprietary management tools and enterprise support.

Deploy Cloud Foundry on Azure

to deploy a basic Pivotal Cloud Foundry on Azure, follow these steps:

  1. Before you can create a Cloud Foundry cluster, you must create an Azure Service Principle. Follow the instructions on GitHub.
  2. In the Azure portal click on +Create a resource, search for Pivotal Cloud Foundry on Microsoft Azure and click Create.
Deploy Pivotal Cloud Foundry on Azure as a third-party PaaS

Deploy Pivotal Cloud Foundry on Azure

  1. Provide a storage account name prefix, paste your SSH public key, upload the azure credentials.json file, enter the Pivotal Network API token, choose a resource group, and location.
  2. Click OK.
  3. After the validation is done, click OK again.
  4. On the Buy blade, click Purchase.

Implement OpenShift

The OpenShift Container Platform is a PaaS offering from Red Hat built on Kubernetes. It brings together Docker and Kubernetes and provides an API to manage these services. OpenShift simplifies the process of deploying, scaling, and operating multi-tenant applications onto containers.

There are two forms of OpenShift:

  1. The open source OpenShift Origin
  2. The enterprise-grade Red Hat OpenShift Container Platform

Both are built on the same open source technologies, with the Red Hat OpenShift Container Platform offering enterprise-grade security, compliance, and container management.

The prerequisites for installing OpenShift include:

  1. Generate an SSH key pair (Public / Private), ensuring that you do not include a passphrase with the private key.
  2. Create a Key Vault to store the SSH Private Key.
  3. Create an Azure Active Directory Service Principal.
  4. Install and configure the OpenShift CLI to manage the cluster.

Prerequisites for deploying a Red Hat OpenShift Container Platform include:

  1. OpenShift Container Platform subscription eligible for use in Azure. You need to specify the Pool Id that contains your entitlements for OpenShift.
  2. Red Hat Customer Portal login credentials. You may use either an Organization ID and Activation Key, or a username and password. It is more secure to use the Organization ID and Activation Key.

Deploy a Red Hat OpenShift Container Platform

You can deploy from the Azure Marketplace templates, or using ARM templates. To deploy a Red Hat OpenShift Container Platform from the Marketplace, follow these steps:

  1. In the Azure portal click on +Create a resource, search for Red Hat OpenShift Container Platform and click Create.
Deploy a Red hat OpenShift Container Platform

Deploy a Red hat OpenShift Container Platform

  1. On the Basics blade, provide the VM Admin username, paste your SSH public key, select a resource group and location.
  2. Click OK.
  3. On the Infrastructure blade, provide an OCP cluster name prefix, select a cluster size, provide the resource group name for your key Vault, as well as the Key Vault name and its secret name you specified in the prerequisites.
  4. Click OK.
  5. On the OpenShift Container Platform Settings blade, provide an OpenShift Admin user password, enter your Red Hat subscription manager credentials, specify whether you want to configure an Azure Cloud Provider, and select your default router subdomain.
  6. Click OK.
  7.  Wait until the validation passes and click OK.
  8. Click Purchase.

Provision applications by using Azure Quickstart Templates

Azure Quickstart Templates are community contributed Azure Resource Manager templates that help you quickly provision applications and solutions with minimal effort. You can search for templates in the gallery at https://azure.microsoft.com/resources/templates

Build applications that leverage Azure Marketplace solutions and services

The Azure Marketplace is an online applications and services marketplace that enables start-ups and independent software vendors to offer their solutions to Azure customers around the world.

Pricing varies based on the product type. Pricing models include:

  • Free
  • Free Software Trial
  • BYOL – Bring your own license
  • Monthly Fee
  • Usage Based

Conclusion

This post gave a short overview of how to use third-party platforms as a Service in Azure and how to leverage the existing templates.

For more information about the 70-532 exam get the Exam Ref book from Microsoft and continue reading my blog posts. I am covering all topics needed to pass the exam. You can find an overview of all posts related to the 70-532 exam here.

This post is licensed under CC BY 4.0 by the author.

Design and Implement Azure Service Fabric apps

Design and Implement DevOps

Comments powered by Disqus.