Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

Repository files navigation

bastionzero-cloudrun-example

An example repo demonstrating how to use the zli and BastionZero service accounts to SSH into a Linux host from Google Cloud Run.

This repo contains an example Node.js server that uses the zli and ssh to execute an arbitrary command on a BastionZero-secured Linux host. The included Dockerfile and Terraform package this server as a Cloud Run service and create most of the required infrastructure (on GCP and BastionZero) to demo this example server.

Follow along the guide here: GUIDE.md. The document highlights specific components of this repo and provides the commands required to deploy and run this example in Cloud Run.

Note: The code provided in this repository is example code; please use this repository as a reference point to mix with your own code and custom integrations.

About

An example repo demonstrating how to use the zli and BastionZero service accounts to SSH into a Linux host from Google Cloud Run

Resources

Stars

1 star

Watchers

8 watching

Forks

Used by

Contributors

Languages