Technical requirements
This chapter is for advanced users who want to learn how to deploy their FastAPI applications on the cloud. If you are new to FastAPI or Python, you might want to check out the first two chapters of the book.
You can find the chapter’s code on GitHub here: https://github.com/PacktPublishing/FastAPI-Cookbook/tree/main/Chapter12.
To manage dependencies and isolate the project, set up a virtual environment in the project root folder.
For the Running FastAPI applications in Docker containers and Running the server across multiple workers recipes, we will be using Docker. Make sure to install it on your machine.