gcp-patterns

Design secure GCP architectures with Cloud Run, Terraform, and Workload Identity Federation.

14|3|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rnavarych/alpha-engineer --skill gcp-patterns-rnavarych
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gcp-patterns
Source: https://github.com/rnavarych/alpha-engineer/tree/main/plugins/billy-milligan/skills/shared/gcp-patterns
Command: npx skills add https://github.com/rnavarych/alpha-engineer --skill gcp-patterns-rnavarych

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides best practices and patterns for designing and implementing production-ready architectures on Google Cloud Platform, focusing on security, scalability, and cost-efficiency.

Core Features & Use Cases

  • Cloud Run Deployment: Guidance on deploying stateless services using Cloud Run with Terraform.
  • Secure Authentication: Implementing Workload Identity Federation to avoid service account key management.
  • Data Service Security: Configuring Cloud SQL and Memorystore with private IP addresses.
  • Analytics: Leveraging BigQuery for efficient data analysis.
  • Networking & Security: Utilizing Cloud Armor WAF, Secret Manager, VPC Service Controls, and IAM least privilege.
  • Use Case: When designing a new microservice architecture on GCP, use this Skill to ensure secure deployment on Cloud Run, private access to Cloud SQL, and proper IAM configurations.

Quick Start

Use the gcp-patterns skill to design a secure Cloud Run deployment with Workload Identity Federation.

Frequently Asked Questions about gcp-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy Cloud Run securely using Terraform?

To deploy Cloud Run securely with Terraform, you should implement stateless services alongside Workload Identity Federation to avoid managing service account keys and enforce least privilege IAM. This approach ensures scalable and secure infrastructure as code.

What is Workload Identity Federation in GCP and when should I use it?

Workload Identity Federation in GCP is an authentication mechanism that allows workloads to access Google Cloud services without using long-lived service account keys. You should use it to implement secure authentication and enforce least privilege access for cloud architectures.

How do I configure private IP addresses for Cloud SQL and Memorystore?

Configuring private IP addresses for Cloud SQL and Memorystore involves routing data service traffic through your VPC to avoid public internet exposure. This pattern ensures secure network access for your data services within your GCP production architecture.

What's the best way to secure GCP microservices with Cloud Armor and VPC Service Controls?

Securing GCP microservices with Cloud Armor and VPC Service Controls involves applying WAF rules at the edge and establishing security perimeters around your data services. This network security approach protects sensitive resources and mitigates unauthorized access.

Can I use BigQuery for analytics within a secure GCP architecture?

Yes, you can use BigQuery for analytics within a secure GCP architecture by leveraging VPC Service Controls to define security perimeters. This allows efficient data analysis while maintaining robust data security and isolation.

Do I need Secret Manager to implement least privilege IAM on GCP?

Yes, using Secret Manager complements least privilege IAM by securely storing and managing sensitive configuration data like API keys. Together, they ensure your Cloud Run deployments and data services maintain strict security and access controls.