2 Using Azure: Azure Functions and image processing
This chapter covers
- Creating a cloud infrastructure for an application
- Exploring and creating integrated logic workflows
- Interconnecting Azure services
- Exploring a serverless architecture
Now that you have an idea of why Azure is so popular and why it’s a great choice for computing infrastructures, let’s dive into a practical example of using Azure to solve a real problem of storing images from emails and compressing them. We’ll keep it simple, but that doesn’t mean it will lack in power and application options.
NOTE This example can be done entirely with the free subscription tier in Azure. Get a new Azure account so you can access the free credits, hours, and services.
Relating knowledge to examples and implementations that are as close to real world as possible is the best way to learn a technical topic, and cloud computing with Azure is no exception. Let’s build an application that follows just that principle.
2.1 Understanding the problem
Imagine you’re working for a company that sells photography and imaging services. One of the products is a service that lets users send their images via email for an online photo album. The online albums are growing in size as images are getting bigger and bigger with modern camera technology. This in turn means that the website showing the images in the photo albums is getting slower and slower, as images get larger and more of them need to load onto the website.