'Alexa, ask Azure cloud to create a Linux VM'


Written by Rishabh Jain for the Apps on Azure Tech Community blog


Wouldn't it be amazing if you could create resources on Azure with just one voice command?

In this step-by-step guide, I list and explain the detailed steps for achieving this. On a high level, below is the proceedure :


  1. Write a new Alexa Skill using python sdk and run it on a Azure VM/Azure Web App/Azure function. Expose this skill using flask API/Web apps native API. (Reference : https://github.com/rishabh5j/alexa-azure-integration )
  2. Integrate the Alexa skill with python wrapper for Azure sdk, to enable provisioning resources using ARM templates. (Reference : https://github.com/rishabh5j/azure-python-arm-deployer - available at pypi to enable pip install)
  3. Create a custom Alexa skill on Alexa developer console, with custom backend endpoint API (created in step 1). We will use a custom Invocation name "azure cloud" and intents to make voice command. More on that later. (Reference steps as : https://developer.amazon.com/en-US/docs/alexa/custom-skills/steps-to-build-a-custom-skill.html )


Read the full article

0 Replies