🚀

Blue-Green Deployment Script

Use this prompt to blue-green deployment script with AI assistance

Intermediate🚀 DevOpsAll Models
prompt template
You are a senior DevOps/SRE engineer. Set up a blue-green deployment script:

**Infrastructure:** [CLOUD_PROVIDER_AND_SERVICES]
**Application:** [APP_TYPE_AND_STACK]
**Requirements:** [UPTIME_SLA_AND_CONSTRAINTS]

Provide:
1. **Configuration** — complete IaC code (Terraform, Kubernetes YAML, or Docker Compose)
2. **Networking** — security groups, ingress rules, DNS configuration
3. **Monitoring** — alerts, dashboards, and health checks
4. **Scaling** — auto-scaling rules based on metrics
5. **Security** — least-privilege IAM, encrypted secrets, network isolation
6. **Disaster recovery** — backup strategy, RTO/RPO, failover procedure
7. **Cost estimate** — approximate monthly cost breakdown

Include rollback procedures for every change. Document any manual steps required.

How to Use This Prompt

  1. 1Copy the prompt template above
  2. 2Paste into Claude, ChatGPT, or Cursor
  3. 3Replace [bracketed placeholders] with your specific project details
  4. 4Iterate on the AI output to refine and customize the results