Member-only story
Create a Front App immediately with Next.js on Google Cloud Run

When you create a prototype, speed and money is super important. You need to show it to user as soon as possible with low cost.
Next.js is one of the popular frontend framework which has static generation and server side rendering with simple lambda api. Because it is easy to setup but still very flexible, it’s one of the best candidates of frontend prototype.
On the other hand, Google Cloud Run is a serverless container platform. Because it’s serverless, you don’t have to maintain infrastructure and it’s very cheap at the beginning. If your application is dockernized, you might get an efficient development experience with low cost.
So this article explains the lightning fast setup of Next.js app on Google Cloud Run. It consists of 3 steps below.
- Create Next.js app
- Dockernize Next.js app
- Deploy to Google Cloud Run
What you need before starting
- Docker Desktop
- Google Cloud Account : Please create a project
- Google Cloud SDK
Create Next.js app
The easiest way to create Next.js app is using create-next-app
. The cli does an initial…