devops-guide

Comprehensive DevOps and infrastructure guide covering Docker, Kubernetes, AWS, Terraform, CI/CD pipelines, Linux, and cloud deployment strategies. Use when setting up infrastructure, automation, or deployment systems.

16 stars

Best use case

devops-guide is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Comprehensive DevOps and infrastructure guide covering Docker, Kubernetes, AWS, Terraform, CI/CD pipelines, Linux, and cloud deployment strategies. Use when setting up infrastructure, automation, or deployment systems.

Teams using devops-guide should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/devops-guide/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/devops/devops-guide/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/devops-guide/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How devops-guide Compares

Feature / Agentdevops-guideStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Comprehensive DevOps and infrastructure guide covering Docker, Kubernetes, AWS, Terraform, CI/CD pipelines, Linux, and cloud deployment strategies. Use when setting up infrastructure, automation, or deployment systems.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# DevOps & Infrastructure Guide

Master modern DevOps practices, containerization, orchestration, and cloud platforms.

## Quick Start

### Docker Basics
```dockerfile
# Dockerfile example
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD ["node", "index.js"]
```

### Kubernetes Deployment
```yaml
# Simple K8s deployment
apiVersion: apps/v1
kind: Deployment
metadata:
  name: app-deployment
spec:
  replicas: 3
  selector:
    matchLabels:
      app: myapp
  template:
    metadata:
      labels:
        app: myapp
    spec:
      containers:
      - name: myapp
        image: myapp:1.0
        ports:
        - containerPort: 3000
```

### Terraform Infrastructure
```hcl
# AWS EC2 with Terraform
resource "aws_instance" "web" {
  ami           = "ami-0c55b159cbfafe1f0"
  instance_type = "t2.micro"

  tags = {
    Name = "web-server"
  }
}
```

## DevOps Technology Stack

### Containerization
- **Docker**: Images, containers, registry
- **Docker Compose**: Multi-container orchestration
- **Image Security**: Scanning, signing, base image selection
- **Best Practices**: Minimal images, layer caching, security

### Container Orchestration
- **Kubernetes**: Pods, Services, Deployments, StatefulSets
- **Helm**: Package management for Kubernetes
- **Service Mesh**: Istio, Linkerd for networking
- **Container Security**: RBAC, NetworkPolicies, Pod Security

### Infrastructure as Code
```hcl
# Terraform modules
module "network" {
  source = "./modules/network"
  vpc_cidr = "10.0.0.0/16"

  public_subnets = [
    "10.0.1.0/24",
    "10.0.2.0/24"
  ]
}
```

- **Terraform**: HCL, state management, modules
- **Ansible**: Agentless configuration management
- **CloudFormation**: AWS native IaC
- **Pulumi**: Infrastructure as code with programming languages

### Cloud Platforms

#### AWS
- **Compute**: EC2, ECS, EKS, Lambda
- **Storage**: S3, EBS, EFS
- **Database**: RDS, DynamoDB, ElastiCache
- **Networking**: VPC, ALB, CloudFront
- **Security**: IAM, KMS, Secrets Manager

#### Other Platforms
- **Google Cloud Platform**: Compute Engine, Cloud Run, GKE
- **Azure**: VMs, App Service, AKS
- **DigitalOcean**: Simpler alternative, good for learning

### CI/CD Pipelines

#### Popular Platforms
- **GitHub Actions**: Integrated with GitHub
- **GitLab CI**: GitLab native CI/CD
- **Jenkins**: Self-hosted, highly customizable
- **CircleCI**: Cloud-based, easy setup

```yaml
# GitHub Actions example
name: Deploy
on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Run tests
        run: npm test
      - name: Build
        run: npm run build
      - name: Deploy
        run: ./deploy.sh
```

### Monitoring & Logging

#### Monitoring
- **Prometheus**: Metrics collection
- **Grafana**: Visualization and dashboards
- **Datadog**: Cloud monitoring service
- **New Relic**: Application performance monitoring

#### Logging
- **ELK Stack**: Elasticsearch, Logstash, Kibana
- **Splunk**: Log aggregation and analysis
- **Cloudwatch**: AWS native logging

#### Alerting
- **PagerDuty**: On-call management
- **Alertmanager**: Prometheus alerting
- **Opsgenie**: Alert and incident response

### Linux Administration

#### System Management
```bash
# Common commands
systemctl start/stop/restart service-name
journalctl -u service-name                  # View logs
ps aux | grep process-name                  # Process info
top/htop                                    # System monitoring
```

- User and permission management
- Package managers (apt, yum, pacman)
- Systemd services
- Shell scripting and automation
- Network configuration

## DevOps Workflow

### Development → Production

1. **Plan**: Design infrastructure
2. **Code**: Write application and IaC
3. **Build**: Containerize, create artifacts
4. **Test**: Unit, integration, security tests
5. **Deploy**: Stage and production deployment
6. **Monitor**: Metrics, logs, alerts
7. **Optimize**: Performance tuning

### Deployment Strategies
- **Blue-Green**: Two identical environments
- **Canary**: Gradual rollout to subset
- **Rolling**: Gradually replace old version
- **Feature Flags**: Toggle features safely

## Security Best Practices

### Container Security
- Scan images for vulnerabilities
- Run as non-root user
- Use minimal base images
- Sign images

### Infrastructure Security
- Network policies and firewalls
- Encryption in transit and at rest
- Secrets management
- IAM principle of least privilege

## Learning Resources

### Hands-On Platforms
- **Katakoda**: Interactive learning environments (archived)
- **Play with Docker**: Browser-based Docker practice
- **Linux Academy**: DevOps courses
- **A Cloud Guru**: AWS and cloud courses

### Official Documentation
- [Kubernetes Docs](https://kubernetes.io/docs/)
- [Docker Docs](https://docs.docker.com/)
- [Terraform Docs](https://www.terraform.io/docs/)
- [AWS Documentation](https://docs.aws.amazon.com/)

### Practice Projects
1. **Docker Multi-container App** - Docker Compose setup
2. **Kubernetes Deployment** - Deploy app with services
3. **Terraform Infrastructure** - Complete AWS setup
4. **CI/CD Pipeline** - Build and deploy workflow
5. **Monitoring Stack** - Prometheus + Grafana

## Next Steps

1. Learn Docker fundamentals
2. Practice Kubernetes basics
3. Choose cloud platform (AWS recommended)
4. Learn Infrastructure as Code (Terraform)
5. Set up CI/CD pipeline
6. Implement monitoring and logging
7. Master Linux administration

**Roadmap.sh Reference**: https://roadmap.sh/devops

---

**Status**: ✅ Production Ready | **SASMP**: v1.3.0 | **Bonded Agent**: 03-devops-cloud-specialist

Related Skills

devops

16
from diegosouzapw/awesome-omni-skill

[DevOps] Deploy and manage cloud infrastructure on Cloudflare (Workers, R2, D1, KV, Pages, Durable Objects, Browser Rendering), Docker containers, and Google Cloud Platform (Compute Engine, GKE, Cloud Run, App Engine, Cloud Storage). Use when deploying serverless functions to the edge, configuring edge computing solutions, managing Docker containers and images, setting up CI/CD pipelines, optimizing cloud infrastructure costs, implementing global caching strategies, working with cloud databases, or building cloud-native applications.

devops-troubleshooter

16
from diegosouzapw/awesome-omni-skill

Expert DevOps troubleshooter specializing in rapid incident response, advanced debugging, and modern observability.

devops-specialist

16
from diegosouzapw/awesome-omni-skill

DevOps 与运维专家。精通 CI/CD、容器化、编排、基础设施即代码、监控告警和自动化部署。用于构建高效、可靠的软件交付流水线和运维系统。

DevOps Practices

16
from diegosouzapw/awesome-omni-skill

Expertise in deployment automation, container orchestration, and infrastructure as code. Activates when working with "deploy", "kubernetes", "docker", "terraform", "helm", "k8s", "container", or cloud infrastructure.

devops-infrastructure

16
from diegosouzapw/awesome-omni-skill

クラウドインフラ設計・IaC実装・監視設定・コンテナオーケストレーション。AWS、GCP、Azureのリソース構築、Terraform/Pulumi、Kubernetes、Docker、Prometheus/Grafana監視。「インフラ」「クラウド」「Terraform」「Kubernetes」「監視」「Docker」に関する質問で使用。

devops-infra-github

16
from diegosouzapw/awesome-omni-skill

Expert guidance for containerization, orchestration, and CI/CD pipelines for Bun monorepo projects.

devops-engineer

16
from diegosouzapw/awesome-omni-skill

Expert DevOps engineer bridging development and operations with comprehensive automation, monitoring, and infrastructure management. Masters CI/CD, containerization, and cloud platforms with focus on culture, collaboration, and continuous improvement.

DevOps & Deployment

16
from diegosouzapw/awesome-omni-skill

Use when setting up CI/CD pipelines, containerizing applications, deploying to Kubernetes, or writing infrastructure as code. DevOps & Deployment covers GitHub Actions, Docker, Helm, and Terraform patterns.

devops-deployer

16
from diegosouzapw/awesome-omni-skill

Comprehensive DevOps and deployment workflow that orchestrates infrastructure automation, CI/CD pipelines, container orchestration, and cloud deployment. Handles everything from infrastructure as code and pipeline setup to monitoring, scaling, and disaster recovery.

devops-cloud

16
from diegosouzapw/awesome-omni-skill

Master DevOps, cloud infrastructure, containerization, CI/CD, Kubernetes, and infrastructure as code. Use when deploying applications, setting up infrastructure, or managing cloud services.

devops-agent

16
from diegosouzapw/awesome-omni-skill

Infrastructure, deployment, and operations automation

cloud-devops

16
from diegosouzapw/awesome-omni-skill

Cloud infrastructure and DevOps workflow covering AWS, Azure, GCP, Kubernetes, Terraform, CI/CD, monitoring, and cloud-native development.