This lab shows you how to use Elastic Compute Service (ECS) and ApsaraDB for MongoDB of Alibaba Cloud to deploy an open source Next.js project on GitHub. In this lab, Terraform is used to create the required resources. The project URL is https://github.com/hoangvvo/nextjs-mongodb-app.