Whether using Amazon Web Services, Microsoft Azure, Google Cloud Platform, or other modern cloud platforms, the Serverless computing cloud execution model is an efficient way to deploy micro applications. This is perfect for CPaaS applications like Twilio Programmable API’s for AI, SMS, Voice, Conferencing, Proxy, and more. Microsoft recently released the first Preview version of Visual Studio 2019 for Mac. This project demonstrates how to create a new Azure Solution from scratch to be deployed as a Serverless Azure Function supporting HTTP Triggers for integrating the Twilio REST API. After coding we can test the application in macOS using Azure Emulation while connected to Twilio’s cloud platform to verify our application is working before deploying our Serverless Function to the cloud.
Twilio documentation is well regarded for being user friendly and helping developers learn how to integrate Twilio’s APIs into their applications. Sample code is shown across various tabs within the documentation supporting Node.js, Python, Java, C#, Ruby, PHP, and other languages. One tab that does not exist (and no one would ever expect it) is a tab for the Bourne-again shell.
When developing an application that connects to Twilio it is important to provide multiple paths of communication between the Twilio Cloud and the Enterprise infrastructure in the event the Enterprise in unreachable. This could be due to scheduled maintenance, network outage, or some other unforeseen event.