Google - Quick Start

This guide is designed to help you get started as quick as possible.

Note: Google Cloud support is currently experimental and may not yet be appropriate for production usage.

1. Create a new service

  1. Create a new service with the google-nodejs template
serverless create --template google-nodejs --path my-service
  1. Install the dependencies
cd my-service
npm install

2. Set up the credentials

Read through credentials doc to setup the credentials.

3. Update serverless.yml

Update the project and credentials in your project's serverless.yml

4. Deploy

Run the deploy command

serverless deploy

5. Invoke

Run the invoke command

serverless invoke --function first
Edit this page

Google - Quick Start

This guide is designed to help you get started as quick as possible.

Note: Google Cloud support is currently experimental and may not yet be appropriate for production usage.

1. Create a new service

  1. Create a new service with the google-nodejs template
serverless create --template google-nodejs --path my-service
  1. Install the dependencies
cd my-service
npm install

2. Set up the credentials

Read through credentials doc to setup the credentials.

3. Update serverless.yml

Update the project and credentials in your project's serverless.yml

4. Deploy

Run the deploy command

serverless deploy

5. Invoke

Run the invoke command

serverless invoke --function first