Chapter 10: Deploying Strapi
We have been adding functionality to our API in the past few chapters and we are finally ready to deploy it to a production environment where it can see the light. In this chapter, we will learn two of the most popular strategies or methods to deploy a Strapi application. First, we will learn how to deploy the API to a Platform as a Service (PaaS). We will use the Heroku platform for this example. Next, we will learn how to deploy the API as a Docker container to AWS Fargate. By the end of this chapter, you will understand the difference between two of the most popular platforms, Heroku and AWS, and be able to deploy your code to secure, reliable platforms.
The topics we will cover in this chapter are the following:
- Deploying a Strapi app to Heroku
- Deploying a Strapi App to AWS Fargate