Contents

Microsoft Azure

To deploy apps to Azure using Nanobox, you first need to create a Microsoft Azure account. In your Azure Portal, click on "More Services" at the bottom of the left nav and filter for "Subscriptions". Click on your Subscription ID.

Azure Subscription ID

Copy and store your Subscription ID. You're going to need it later.

Register Resource Providers

Inside your Subscription ID options, filter for and select "Resource providers". Register "Microsoft.Compute", "Microsoft.Network", and "Microsoft.Storage" by clicking on the "Register" button to the right of each option. These are the resources necessary for Nanobox to build and provision your application on Azure.

Select Azure Resource Providers

Get Your Active Directory ID

In the left nav, select "Azure Active Directory" and go to "Properties". Copy the "Directory ID".

Active Directory ID

Copy and store your Active Directory ID. You're going to need it later.

Create a New Application Registration

Still inside Azure Active Directory, select "App Registrations" and create a new app registration. An "App Registration" is essentially an API integration. You're giving Nanobox access to your Azure resources through a registered "app".

Create New App Registration

Enter the required information:

Name - This can be whatever you'd like.
Application type - Web app / API
Sign-on URL - This isn't used by Nanobox, so put whatever you'd like.

App Registration Credentials

After saving your new app registration, Copy and store your Application ID. You're going to need it later. Click on your new app registration in your list of registered apps, then select "Keys". Provide a key description and expiration, then save.

Key Details

Copy and store the key value. You won't be able to retrieve it after you navigate away from this section and you're going to need it later.

Key Value

Create a New Provider Account

In your Nanobox dashboard, go to Account Admin > Hosting Accounts and add a new account. Select Azure and click "Proceed".

Add a New Azure Provider

Enter the required credentials.

Subscription ID - Azure Subscription ID
Tenant ID - Azure Active Directory ID
Application ID - Azure Application ID
Authentication Key - Azure Application Registration Key Value
Cloud Environment - Should be set to default

Enter Azure Auth Credentials

Click "Verify & Proceed". Name your provider, select your default region, then click "Finalize/Create".

Name Your Provider & Select a Default Region

Launch a New App

Go to the home page of your Nanobox dashboard and click the "Launch New App" button. Select your Azure provider from the dropdown and choose the region in which you'd like to deploy your app.

Select your Azure provider

Confirm and click "Let's Go!" Nanobox will order an server on Azure under your account, provision the Nanobox platform components, and prepare for your first deploy.

Reach out to help@nanobox.io and we'll try to help.