Skip to content

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

License

Notifications You must be signed in to change notification settings

bastionzero/bastionzero-cloudrun-example

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

License

Stars

Watchers

Forks