AGENT SKILL
blue-green
Blue-green deployment patterns
- License 许可
- MIT
- 所属仓库
- NeuralBlitz/Mito
- 最近更新
- 2026-11-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- blue-green
- license
- MIT
- metadata
- { "audience": "devops-engineer, platform-engineer", "category": "devops" }
- description
- Blue-green deployment patterns
- compatibility
- opencode
03 SKILL.md 正文
What I do
- Design and implement blue-green deployment architectures
- Manage environment switching and traffic routing
- Create automated rollback procedures
- Build deployment automation pipelines
- Monitor environment health during transitions
- Coordinate database and state changes across environments
When to use me
- When deploying applications requiring zero downtime
- When you need quick rollback capabilities
- When testing in production-equivalent environments
- When managing stateful applications with complex data requirements
- When implementing disaster recovery strategies
- When performing infrastructure migrations
Key Concepts
Environment Setup
# Terraform example for blue-green infrastructure
resource "aws_lb" "main" {
name = "main-lb"
load_balancer_type = "application"
subnets = aws_subnet.public[*].id
}
resource "aws_lb_target_group" "blue" {
name = "blue-tg"
port = 80
protocol = "HTTP"
vpc_id = aws_vpc.main.id
}
resource "aws_lb_target_group" "green" {
name = "green-tg"
port = 80
protocol = "HTTP"
vpc_id = aws_vpc.main.id
}
Deployment Workflow
- Deploy new version to inactive environment (green)
- Verify green environment passes health checks
- Route traffic from blue to green
- Monitor green environment under production load
- Keep blue environment running for rollback
- Decommission old environment after verification
Key Patterns
- Immutable Infrastructure: Recreate environments from scratch each deployment
- Feature Flags: Toggle features independently of deployments
- Database Migrations: Use backward-compatible schemas
- Connection Draining: Gracefully move connections during switch
- Canary Analysis: Start with small traffic percentage before full switch
04 同仓库更多 Skills
wireless-communications
Wireless systems, mobile networks, and 5G/6G
★ 0
websockets
WebSocket implementation and best practices
★ 0
vulnerability-auditing
Vulnerability assessment and auditing
★ 0
vulnerability-assessment
Finding and assessing security vulnerabilities
★ 0
vlsi-design
Very-Large-Scale Integration circuit design and semiconductor engineering
★ 0
unsupervised
Unsupervised learning concepts
★ 0