跳到正文
Skillpedia
部署与云(DevOps)33k · #8751

devops-iac-engineer

它能做什么

这个技能提供基础设施即代码、云平台、部署流水线和监控方面的指导。适合运营服务器和云系统的 DevOps 人员和开发者。

适用场景

  • ✓你想用 Terraform 等代码文件描述云服务器和网络的时候。
  • ✓你要使用 Kubernetes 或部署流水线设置容器的时候。
  • ✓你需要对运行中系统的监控、日志或安全提出建议的时候。

技能链接

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/devops-iac-engineer/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/devops-iac-engineer/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我用 Terraform 代码描述我的云环境,以便我能可靠地重建它。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能作为指南,提供 Terraform、Kubernetes、云平台、流水线、可观测性和安全方面的参考说明,并在需要时提供现成的模板。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

DevOps IaC Engineer

This Skill helps DevOps teams design, implement, and maintain cloud infrastructure using Infrastructure as Code principles. Use this when building cloud architectures, deploying containerized applications, setting up CI/CD pipelines, or implementing observability and security practices.

Quick Navigation

  • Terraform & IaC: See terraform.md for Terraform best practices and patterns
  • Kubernetes & Containers: See kubernetes.md for container orchestration
  • Cloud Platforms: See cloud_platforms.md for AWS, Azure, GCP guidance
  • CI/CD Pipelines: See cicd.md for pipeline design and GitOps
  • Observability: See observability.md for monitoring and logging
  • Security: See security.md for DevSecOps practices
  • Templates & Tools: See templates.md for ready-to-use templates

Core Principles

Key DevOps Terminology (Consistent Throughout)

  • Infrastructure as Code (IaC): Managing infrastructure through declarative code files
  • GitOps: Using Git as the single source of truth for infrastructure and applications
  • Immutable Infrastructure: Infrastructure components that are replaced rather than modified
  • Service Mesh: Infrastructure layer for service-to-service communication
  • Observability: Ability to understand system state from external outputs (logs, metrics, traces)
  • SLI/SLO/SLA: Service Level Indicators/Objectives/Agreements for reliability
  • RTO/RPO: Recovery Time Objective/Recovery Point Objective for disaster recovery

Workflow: Infrastructure Implementation

When implementing infrastructure, follow this structured approach:

  1. Understand Requirements

    • What is the business need? (new application, migration, scaling, compliance)
    • What are the scale requirements? (traffic, data, geographic distribution)
    • What are the constraints? (budget, timeline, regulatory)
    • What are the dependencies? (existing systems, data sources)
  2. Design Architecture

    • Choose appropriate cloud platform(s) and services
    • Design for high availability and fault tolerance
    • Plan network topology and security boundaries
    • Identify data flows and storage requirements
    • Document architecture with diagrams
  3. Select IaC Tools

    • Terraform for multi-cloud infrastructure provisioning
    • Kubernetes manifests/Helm for container orchestration
    • CI/CD tool selection based on team and requirements
    • Configuration management tools if needed
  4. Implement Infrastructure

    • Create modular, reusable IaC code
    • Follow security best practices (see security.md)
    • Implement proper state management and versioning
    • Use consistent naming and tagging conventions
    • Document code and create README files
  5. Set Up Observability

    • Define SLIs and SLOs for critical services
    • Implement logging, metrics, and tracing
    • Create dashboards and alerts
    • Set up log aggregation and analysis
    • Plan on-call rotation and runbooks
  6. Implement CI/CD

    • Design deployment pipeline stages
    • Implement automated testing (unit, integration, e2e)
    • Set up GitOps workflows
    • Configure deployment strategies (blue/green, canary)
    • Implement rollback procedures
  7. Test & Validate

    • Run infrastructure tests (security, compliance, cost)
    • Perform disaster recovery drills
    • Load testing and performance validation
    • Security scanning and penetration testing
    • Document test results and improvements
  8. Deploy & Monitor

    • Execute phased rollout
    • Monitor metrics and logs closely
    • Validate against SLOs
    • Document runbooks and troubleshooting guides
    • Conduct post-deployment review

Decision Framework: Tool Selection

Multi-Cloud Requirements → Terraform or Pulumi AWS-Only → Terraform, AWS CDK, or CloudFormation Container Orchestration → Kubernetes (EKS, GKE, AKS) Simple Container Deployment → ECS, Cloud Run, or App Service Configuration Management → Ansible or cloud-native solutions GitOps Workflows → ArgoCD or Flux CI/CD Pipelines → GitHub Actions, GitLab CI, or Jenkins

Common Challenges & Solutions

Problem: Infrastructure drift between code and reality Solution: Implement automated drift detection, use terraform p

常见问题

什么是基础设施即代码?

它指用文件描述服务器和云资源,使其每次都能以相同的方式被创建和修改。

它涵盖哪些云服务商?

这个技能提到了 AWS、Azure 和 Google Cloud 的指导。

它包括模板吗?

包括,它列出了适用于常见配置的现成模板。

详情

作者的原始描述

Implements infrastructure as code using Terraform, Kubernetes, and cloud platforms. Designs scalable architectures, CI/CD pipelines, and observability solutions. Provides security-first DevOps practices and site reliability engineering guidance.

repo: davila7/claude-code-templates

热度

GitHub 星标
33k
排名
#8751
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能