Make web, and API apps available to your Azure Stack users

As an Azure Stack cloud administrator, you can create offers that let your users (tenants) create Azure Functions and web, and API applications. By providing access to these on-demand, cloud-based apps to your users, you can save them time and resources. To set this up, you will:

  • Deploy the App Service resource provider
  • Create an offer
  • Test the offer

Deploy the App Service resource provider

  1. Prepare the Azure Stack Development Kit host. This includes deploying the SQL Server resource provider, which is required for creating some apps.
  2. Download the installer and helper scripts.
  3. Run the helper script to create required certificates.
  4. Install the App Service resource provider (it will take a couple hours to install and for all the worker roles to appear).
  5. Validate the installation.

Create an offer

As an example, you can create an offer that lets users create DNN web content management systems. It requires the SQL Server service which you already enabled by installing the SQL Server resource provider.

  1. Set a quota and name it AppServiceQuota. Select Microsoft.Web for the Namespace field.
  2. Create a plan. Name it TestAppServicePlan, select the Microsoft.SQL service, and AppService Quota quota.


    To let users create other apps, other services might be required in the plan. For example, Azure Functions requires that the plan include the Microsoft.Storage service, while Wordpress requires Microsoft.MySQL.

  3. Create an offer, name it TestAppServiceOffer and select the TestAppServicePlan plan.

Test the offer

Now that you've deployed the App Service resource provider and created an offer, you can sign in as a user, subscribe to the offer, and create an app. For this example, we'll create a DNN Platform content management system. You must first create a SQL database and then the DNN web app.

Subscribe to the offer

  1. Sign in to the Azure Stack portal (https://portal.local.azurestack.external) as a tenant.
  2. Click Get a subscription > type TestAppServiceSubscription under Display Name > Select an offer > TestAppServiceOffer > Create.

Create a SQL database

  1. Click + > Data + Storage > SQL Database.
  2. Leave the defaults for the fields, except as follows:
    • Database Name: DNNdb
    • Max Size in MB: 100
    • Subscription: TestAppServiceOffer
    • Resource Group: DNN-RG
  3. Click Login Settings, enter credentials for the database, and then click OK. You'll use these credentials later in these steps.
  4. Click SKU > select the SQL SKU that you created for the SQL Hosting Server > OK.
  5. Click Create.

Create a DNN app

  1. Click + > See all > DNN Platform preview > Create.
  2. Type DNNapp under App name and select TestAppServiceOffer under Subscription.
  3. Click Configure required settings > Create New > type an App Service plan name.
  4. Click Pricing tier > F1 Free > Select > OK.
  5. Click Database and enter the information for the SQL database you created earlier.
  6. Click Create.

In this tutorial, you learned how to:

  • Deploy the App Service resource provider
  • Create an offer
  • Test the offer

Advance to the next tutorial to learn how to: