Project – image resizing with Azure Functions
In this project, we will resize every image that is uploaded to Azure Blob Storage. The architecture diagram is as follows:
Figure 4.3 – Image resizing with Azure Functions
This is how the process will work:
- Image Upload: An image is uploaded to the Azure Blob Storage container.
- Image Processor: Each upload triggers an Azure function.
- Resized Images: The image processor will fetch the image file based on the trigger event, resize it to a standard size, and then upload it to another Blob Storage container.
- Then, the function will update the details of both the original image and the resized image in a Cosmos DB NoSQL database.
This project with its design, setup instructions, and code is available at the GitHub link: https://github.com/PacktPublishing/Architecting-Cloud-Native-Serverless-Solutions/tree/main/chapter-4.
This concludes our chapter on Azure serverless...