Skip to content

Commit

Permalink
Merge pull request kaytu-io#273 from kaytu-io/fix-gcp-document
Browse files Browse the repository at this point in the history
fix: add document for gcp usage
  • Loading branch information
artaasadi authored Jul 5, 2024
2 parents 7c3e4b3 + 042e630 commit b882add
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/how-to-gcp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
This document explains how to optimize gcp compute instances

## 1. Have the following Software Installed

1. Kaytu CLI


## 2. Login to kaytu CLI
`kaytu login`

Install CLI plugin:

kaytu plugin install gcp


## 4. Create a Service Account

Create a service account with the following roles:
1. Cloud Billing
2. Compute Engine

## 5. Create Key and store credentials file

## 6. Export credentials file path

Export credentials file path in the environment variable

export GOOGLE_APPLICATION_CREDENTIALS="/path/to/credentials.json"

## 7. Run optimization Check

> kaytu optimize compute-instance

0 comments on commit b882add

Please sign in to comment.