Skip to main content
Version: 0.10.x

GCP GCS

GCS Exporter

Lunar aims to provide its users with comprehensive diagnosis and research, empowering them to make informed remediations and ensuring the system performs as expected.

Exporter Configuration

Set up a new GCS bucket and grant the Compute Engine default service account (or any service account bound to VM hosting Lunar) write access to it.

In Google Cloud Storage access settings and enable interoperability.

Create access key for Compute Engine default service account (or any service account bound to VM hosting Lunar). Google will create access id and access key analogous to AWS.

When running Lunar on hosting machine, pass AWS credentials either as environment variables or as AWS credentials file, for example:

-v $(pwd)/credentials:/home/lunar/.aws/credentials:ro

Exporters definition in policies file should include google GCS endpoint:

exporters:
s3:
bucket_name: "[bucket_name]"
region: "[bucket_region]"
endpoint: "storage.googleapis.com"