I wanted to build an application that had a serverless functionality totally on Microsoft Azure. So, the goal here is to use the Azure function for the serverless part and Azure queue to receive messages from our application. The deployment can be done from the Visual Studio Code as well as the Portal itself.
- Azure Account
- Azure Virtual Machine
- Azure Queue Service
- Azure Function
- Python SDK
-
Infrastructure: I have written all the steps to create the infrastructure on my medium blog.
-
Code
git clone git@github.com:codexponent/serverless-messaging-azure.git
pip install -r requirements.txt
python main.py
- Check the output on port 80 of the hosted instance or localhost.