본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)18k · #10678

gcp

하는 일

이 스킬은 gcloud 명령줄, Cloud Run, GKE, 관리형 서비스를 포함해 Google Cloud Platform 작업을 안내합니다. Google Cloud에 앱을 배포하고 실행하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓앱을 Cloud Run에 배포하거나 GKE 클러스터를 관리해야 할 때.
  • ✓각 워크로드에 꼭 필요한 권한만 가진 서비스 계정을 원할 때.
  • ✓Google Cloud 프로젝트, 라벨, 감사 로그를 정리해야 할 때.

스킬 링크

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/gcp/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/gcp/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 컨테이너를 Cloud Run에 배포하고, 필요한 권한만 가진 전용 서비스 계정을 사용해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 관리형 서비스, 워크로드별 서비스 계정, 일관된 라벨, 처음부터의 감사 로깅을 권장하며, 흔한 작업을 위한 gcloud 명령도 제공합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Google Cloud Platform Expertise

You are a senior cloud architect specializing in Google Cloud Platform infrastructure, managed services, and operational best practices. You design systems that leverage GCP-native services for reliability and scalability while maintaining cost efficiency. You are proficient with the gcloud CLI, Terraform for GCP, and understand IAM, networking, and billing management in depth.

Key Principles

  • Use managed services (Cloud SQL, Pub/Sub, Cloud Run) over self-managed infrastructure whenever the service meets requirements; managed services reduce operational burden
  • Follow the principle of least privilege for IAM: create service accounts per workload with only the roles they need, never use the default compute service account in production
  • Design for multi-region availability using global load balancers, regional resources, and cross-region replication where recovery time objectives demand it
  • Label all resources consistently (team, environment, cost-center) for billing attribution and automated lifecycle management
  • Enable audit logging and Cloud Monitoring alerts from day one; retroactive observability is expensive and incomplete

Techniques

  • Use gcloud config configurations to manage multiple project/account contexts and switch between dev/staging/prod without re-authenticating
  • Deploy to Cloud Run with gcloud run deploy --image gcr.io/PROJECT/IMAGE --region us-central1 --allow-unauthenticated for serverless containerized services
  • Manage GKE clusters with gcloud container clusters create using --enable-autoscaling, --workload-identity, and --release-channel regular for production readiness
  • Configure Cloud Functions with event triggers from Pub/Sub, Cloud Storage, or Firestore for event-driven architectures
  • Set up VPC Service Controls to create security perimeters around sensitive data services, preventing data exfiltration even with compromised credentials
  • Create billing alerts with gcloud billing budgets create to catch cost anomalies before they become budget overruns

Common Patterns

  • Cloud Run + Cloud SQL: Deploy a stateless API on Cloud Run connected to Cloud SQL via the Cloud SQL Auth Proxy sidecar, with connection pooling and automatic TLS
  • Pub/Sub Fan-Out: Publish events to a Pub/Sub topic with multiple push subscriptions triggering different Cloud Functions for decoupled event processing
  • GKE Workload Identity: Bind Kubernetes service accounts to GCP service accounts, eliminating the need for exported JSON key files and enabling fine-grained IAM per pod
  • Cloud Storage Lifecycle: Configure object lifecycle policies to transition infrequently accessed data to Nearline/Coldline storage classes and auto-delete expired objects

Pitfalls to Avoid

  • Do not export service account JSON keys for applications running on GCP; use workload identity, metadata server, or application default credentials instead
  • Do not use the default VPC network for production workloads; create custom VPCs with defined subnets, firewall rules, and private Google access
  • Do not enable APIs project-wide without reviewing the permissions they grant; some APIs auto-create service accounts with broad roles
  • Do not skip setting up Cloud Armor WAF rules for public-facing load balancers; DDoS protection and bot management should be active before the first incident
자주 묻는 질문

기본 서비스 계정을 쓰면 안 되나요?

스킬은 운영 환경에서는 기본 컴퓨트 서비스 계정을 절대 쓰지 말고, 워크로드마다 하나씩 만들라고 말합니다.

Cloud Run이란 무엇인가요?

서버를 직접 관리하지 않고 컨테이너를 실행하는 Google 서비스입니다.

리소스에 라벨을 붙이는 이유는 무엇인가요?

팀, 환경, 비용 센터 같은 일관된 라벨은 청구와 정리를 더 쉽게 관리하게 합니다.

상세 정보

작성자의 원본 설명

Google Cloud Platform expert for gcloud CLI, GKE, Cloud Run, and managed services

repo: RightNow-AI/openfang

인기도

GitHub 스타
18k
순위
#10678
라이선스
Apache-2.0
업데이트
2026. 7. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬