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.
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.
Get Your Active Directory ID
In the left nav, select "Azure Active Directory" and go to "Properties". Copy the "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".
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.
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.
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.
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".
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
Click "Verify & Proceed". Name your provider, select your default region, then click "Finalize/Create".
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.
Reach out to firstname.lastname@example.org and we'll try to help.