Member-only story

Create a Front App immediately with Next.js on Google Cloud Run

Toru Eguchi
ITNEXT
Published in
7 min readJan 2, 2021

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.

  1. Create Next.js app
  2. Dockernize Next.js app
  3. Deploy to Google Cloud Run

What you need before starting

Create Next.js app

The easiest way to create Next.js app is using create-next-app . The cli does an initial…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in ITNEXT

ITNEXT is a platform for IT developers & software engineers to share knowledge, connect, collaborate, learn and experience next-gen technologies.

Written by Toru Eguchi

I am a full-stack engineer. I have strength on frontend (React, Vue, Next.js…) and on backend (express, fastify and Ruby on Rails).

Responses (4)

Write a response