SkilVaultSign inStart free

Catalogue / cloud-iac-delivery-blueprint

cloud-iac-delivery-blueprint

Older skill: source not recordedSignedDesigns cloud infrastructure and delivery workflows with IaC, GitOps, container orchestration, observability, and SRE practices on AWS, GCP, or Azure. Use when the user asks to "set up Terraform", "design a Kubernetes deployment", "build a CI/CD pipeline", "add monitoring and alerts", or "define SLO…
---
name: cloud-iac-delivery-blueprint
description: >-
  Designs cloud infrastructure and delivery workflows with IaC, GitOps,
  container orchestration, observability, and SRE practices on AWS, GCP, or
  Azure. Use when the user asks to "set up Terraform", "design a Kubernetes
  deployment", "build a CI/CD pipeline", "add monitoring and alerts", or
  "define SLOs". Not for running applies or production deploys, writing
  application code, or managing cloud billing.
---

Connect the infrastructure to service goals

Settle the context before choosing tools:

  1. Cloud accounts, environments, and regions in play
  2. The critical user journeys the system must support
  3. Compliance obligations and recovery objectives
  4. The existing IaC and delivery conventions in the repository

Nothing state-changing happens without the user's confirmation: no applies, deploys, IAM edits, secret-store operations, or pipeline runs. Always preview the exact target and plan first.

Write infrastructure as reviewed code

| Principle | Practice | |---|---| | Declarative state | Define desired state in Terraform or OpenTofu; never hand-edit live resources | | GitOps | The repository is the source of truth; changes flow through PRs and automated delivery | | Immutability | Replace versioned servers/containers instead of patching them in place | | Modules | Package reusable building blocks; compose rather than copy | | State hygiene | Separate state files per environment (dev/stage/prod) and per region |

Automate plan in CI and keep apply as a separate, approved stage. Undocumented console edits are drift — surface and reconcile them through the repository.

Design the delivery pipeline

  • CI (every commit): lint, test, build, and security-scan.
  • CD (lower environments): automated delivery, gated by the pipeline itself.
  • Production: an explicit manual approval gate — never auto-deployed.

GitHub Actions, Cloud Build, and ArgoCD are common choices; evaluate against the project's existing tooling instead of swapping tools for their own sake.

Run containers sensibly

  • Keep containers small and stateless where possible.
  • Define resource requests and limits for every workload.
  • Use namespaces for isolation — but do not mistake a namespace for a complete

security boundary.

  • Manage manifests with Helm or Kustomize, and inspect the rendered output

before any confirmed deployment.

Make operations observable

Collect three signal types with a shared way to correlate a single request across them:

| Signal | Purpose | Typical tools | |---|---|---| | Logs | What happened, in context | Cloud Logging, ELK | | Metrics | How much, over time | Prometheus + Grafana, Cloud Monitoring | | Traces | Where time went across services | OpenTelemetry |

Choose signals that answer questions about the actual critical journeys rather than collecting everything indiscriminately.

Bake security in

  • Scan IaC and images for misconfigurations (Checkov, Trivy, or similar).
  • Keep secrets in a managed secret service or Vault — never in code, config

files, or pipeline output.

  • Grant least-privilege IAM roles, and explain any permission change before

requesting approval for it.

Practice SRE deliberately

  • SLI/SLO: define indicators and objectives for the critical user journeys,

plus any SLA commitments the business has made.

  • Error budgets: let budget consumption set release pace — a healthy budget

invites feature risk; a spent one says stabilize first.

  • Disaster recovery: document the procedure and verify an actual restore in

an approved isolated exercise.

  • Post-mortems: after incidents, run a blameless review with evidence,

corrective actions, and named owners.

Wrap up by reporting the architecture, state boundaries, delivery gates, observability coverage, security checks, and recovery gaps — clearly separating a reviewed plan from changes actually applied.

Never

  • Apply, deploy, or mutate cloud resources without the user's explicit confirmation.
  • Commit secret values anywhere, or share one Terraform state across environments.
  • Bypass the production approval gate or hide manual drift from the reviewed record.
  • Promise an SLO or recovery capability nobody has measured or tested.