This chapter details a possible system architecture to deploy our audio transcoding application and scale it. The first part explains the principles of reverse proxies and load balancers, and why and when they are needed. A practical use is shown with Traefik, a modern load balancer. The second part explains how to package a Python application inside a Docker image. Finally, the last part goes into the details of enabling HTTPS on the audio transcoding service.
The following topics will be covered in this chapter:
- Introduction to Traefik
- Packaging a service with Docker Compose
- Adding TLS support with Let's Encrypt