Archives for GCP Operational
Routing Logs outside of GCP
Use Case - To Route GCP Logs to external sinks ( Splunk) The only sink you can use here is pub sub. Install the logging agent to capture your application…
BigQuery Billing Exports
Daily usage and cost estimates - can be exported - on a daily basis , to BigQuery. Billing in GCP Billing costs can be exported to BigQuery for better analysis.…
stackdriver alerts – Alerting on resource non compliance in GCP
Stackdriver alerts Cloud Monitoring (aka Stackdriver) makes it possible to create custom metrics. This 'metric' doesn't just have to be something like CPU, RAM and other well known metrics. It…
Finding resources in GCP using gCloud
To quickly find all resources within a project or even a parent org, we can use asset manager and resource manager API in GCP. Passing in a Project name gcloud…
Moving Projects and Billing Accounts under an Organization
It is common to end up with projects that are NOT under a specific org. Same for the billing for those projects. In order to move them under an organization,…
Helpful gCloud Commands
At the Org Level - LIST all Enabled Org Policies gcloud beta resource-manager org-policies list --organization=blah blah > IAM Bindings at the org level gcloud organizations get-iam-policy org-id To get…
get iam policy – your gcloud friend
Anytime someone asks you - Can you show me all the administrators for this GCP org? Can you show me who are the project owners for these projects? Can you…
Palo Alto CSPM (Prisma) on GCP, AWS, Azure – demo links
This content is password protected. To view it please enter your password below: Password:
gcloud behind a corporate proxy
If you are using gcloud from behind a corporate firewall/proxy, you may encounter an SSL validation error. To disable SSL validation for google-cloud-sdk $ gcloud config set auth/disable_ssl_validation True Need…