The Azure Media Services team has just published a new ARM template in the azure-quickstart-templates repository to let users easily configure and deploy Orchard CMS integrated with the Azure Media Services module ready to use as a Video Portal hosted in Azure App Service Web Apps. You can find it @ https://github.com/Azure/azure-quickstart-templates/tree/master/orchard-cms-video-portal
Additionally, this template deploys a new Orchard CMS image that contains the following updates for the Azure Media Services module:
- Target the Media Encoder Standard processor and its presets for the encoding jobs (using the “Adaptive Streaming” preset by default)
- Use Azure Media Player for playback
- Update UI messages about scaling the default streaming endpoint to “Standard” or “Premium”
- Automatic configuration for Media Services/Storage account credentials based on Azure App Services Web Apps settings
- Upgrade to latest Azure Media Services .NET SDK
- Minor bug fixes and improvements
The following are the high-level steps to configure and deploy the new Orchard CMS Video Portal template:
- Open a browser, navigate to https://github.com/Azure/azure-quickstart-templates/tree/master/orchard-cms-video-portal and click “Deploy to Azure”.
- This will redirect you to the Azure Portal. Sign in with an account that has write access to an active Azure subscription and you will see the Azure quickstart template blade.
- Select the parameters in the Basics section to choose where to deploy the template (Subscription, Resource group and Location).
- In the Settings section, complete the following parameters, make sure to check the terms and conditions agreement and then click Purchase.
- App Name: This must be the unique name for your Azure App Service Web App (.azurewebsites.net).
- Db Administrator Login: This is the login name for the SQL Azure server administrator (it’s a SQL Identifier).
- Db Administrator Login Password: The password for the SQL Azure server administrator.
- Non Admin Database User Name: This is the login name for that user that will be used to connect to the Orchard CMS database (it’s a SQL Identifier).
- Non Admin Database Password: The password for the Orchard CMS database user.
- Wait until the deployment completes. You should see a new Resource Group with the following resources.
- Navigate to the Azure App Service Web App hosting your Orchard CMS instance. It should be https://%yourappnameparameter%.azurewebsites.net.
- In the Welcome to Orchard setup screen, complete all the form fields, make sure that the “Video Portal” recipe is selected and then click Finish Setup.
- Once the setup is done, you can navigate to the Admin Dashboard page at https://%yourappnameparameter%.azurewebsites.net/Admin. Open the Settings menu and click Microsoft Azure Media module. You should see that all the account credentials are already configured.
- Finally, in order to upload, encode and publish videos with the Microsoft Azure Media module, you just need to go to the Media Library, create a new folder, click Import and then select Microsoft Azure Media.