cloud-infrastructure
Designs and runs cloud infrastructure — environments, infrastructure as code, networking and isolation, scaling, and cost. Use this to design a cloud environment, control infrastructure spend, set up environment separation, plan for scale or region failure, or review infrastructu
Install
npx skills add https://github.com/cbrock84/headcount/tree/main/plugins/technology/skills/cloud-infrastructure
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install cbrock84-headcount@llmmart
git clone https://github.com/cbrock84/headcount.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole cbrock84/headcount collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Cloud infrastructure
Cloud replaces capital cost with an operating cost that scales with carelessness. The discipline is mostly about making the environment reproducible and the spend visible.
Everything reproducible from code
Infrastructure created by hand cannot be reviewed, reproduced, or recovered. Define it as code, review it like code, and apply it through a pipeline rather than from a laptop.
The test: could you rebuild the environment from an empty account, and do you know that because you have done it? Untested reproducibility is a belief.
Console access for humans should be read-only in production by default. Write access exists for
emergencies, is time-bound, and is logged — see security:access-and-identity for the policy this
implements.
Environments that mean something
Separate environments by blast radius, not by name. Separate accounts or subscriptions give a hard boundary; separate namespaces in one account give a soft one that a misconfigured permission crosses.
Production data does not belong in lower environments. Where realistic data is needed, mask or synthesize it — a copied production database is a breach waiting for a misconfigured bucket, and it is one of the most common ways personal data escapes.
Networking and isolation
Default deny, then open what is needed. Public exposure should be a deliberate, reviewable act rather than the residue of a default.
Keep the trust boundary explicit and few: what is reachable from the internet, what is reachable between services, what reaches data stores. Most cloud incidents are not exotic — they are a storage bucket, a database, or a management interface that was reachable and should not have been.
Scaling and failure
Scale horizontally where you can and know your actual limits — the database connection ceiling, the third-party rate limit, the single-threaded component nobody remembers. Autoscaling in front of a hard downstream limit converts a slow system into an outage.
Design for the failure of a single instance and a single zone as routine. Region failure is a
business continuity decision with a real price attached, made with
operations:business-continuity-and-resilience rather than assumed by engineering.
Cost
Cost is an architectural property. Attribute spend by team and workload from the start; without tagging, cost becomes an unattributable aggregate that only ever gets addressed in a panic.
The usual large wins are unglamorous: idle non-production resources, over-provisioned instances, storage nobody deleted, and cross-zone data transfer nobody accounted for.
Sources
references/sources.md in this skill lists the outside authorities that settle the questions
here — what each one is authoritative for, and what you may do with it. Check them before
answering on anything they cover, and cite what you used. Most are free to read and not free
to reproduce; the use note on each is binding.
Tooling
Platforms: AWS, Google Cloud, Microsoft Azure, and similar; managed application platforms — Fly.io, Render, Vercel, Railway — remove most of this work and are the right answer more often than engineering pride admits.
Orchestration where you need it: Kubernetes with a managed control plane, or a container service like ECS. Kubernetes is a platform team's worth of work; adopt it when you have the team.
Infrastructure as code and secrets: Terraform, OpenTofu, Pulumi, and similar, with secrets in a
managed store rather than in the state file. it-operations:cloud-administration covers the
corporate cloud estate, which is a different problem with overlapping tools.
Never
- Make a production change by hand that is not reflected in code.
- Put production data in a lower environment unmasked.
- Autoscale a tier in front of a hard downstream limit.
- Run without cost attribution until the bill forces it.
Files (headcount)
-
references
-
sources.md 1.8 KB
# Sources — `technology:cloud-infrastructure` <!-- Generated by scripts/build-sources.py from sources/*.toml. Do not edit. --> Check these before answering on anything they cover, and cite what you used. The use note on each one is binding: most of what a professional cites is free to read and not free to reproduce. ## AWS Well-Architected Framework Amazon Web Services · global · **read and cite only — copyrighted, do not reproduce** <https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html> **Authoritative for:** What AWS itself considers a correct design on AWS, and therefore what an AWS architecture review will be graded against. ## Azure Well-Architected Framework Microsoft · global · **read and cite only — copyrighted, do not reproduce** <https://learn.microsoft.com/en-us/azure/well-architected/> **Authoritative for:** Microsoft's own normative design guidance for Azure, and the basis of its assessment tooling. ## Google Cloud Architecture Framework Google Cloud · global · **read and cite only — copyrighted, do not reproduce** <https://cloud.google.com/architecture/framework> **Authoritative for:** Google Cloud's own normative design guidance, and what its architecture reviews assess against. ## NIST SP 800-145: The NIST Definition of Cloud Computing NIST · US · public domain (US government) — quote freely <https://csrc.nist.gov/pubs/sp/800/145/final> **Authoritative for:** What counts as infrastructure, platform or software as a service, and what public, private, community and hybrid mean. Still the definition contracts and audits cite. --- Sources are maintained in `sources/` upstream, not here. If one is wrong, out of date, or missing, fix it there — this file is regenerated and an edit to it is lost.
-
-
SKILL.md 4.2 KB
--- name: cloud-infrastructure description: Designs and runs cloud infrastructure — environments, infrastructure as code, networking and isolation, scaling, and cost. Use this to design a cloud environment, control infrastructure spend, set up environment separation, plan for scale or region failure, or review infrastructure someone configured by hand. --- # Cloud infrastructure Cloud replaces capital cost with an operating cost that scales with carelessness. The discipline is mostly about making the environment reproducible and the spend visible. ## Everything reproducible from code Infrastructure created by hand cannot be reviewed, reproduced, or recovered. Define it as code, review it like code, and apply it through a pipeline rather than from a laptop. The test: could you rebuild the environment from an empty account, and do you know that because you have done it? Untested reproducibility is a belief. Console access for humans should be read-only in production by default. Write access exists for emergencies, is time-bound, and is logged — see `security:access-and-identity` for the policy this implements. ## Environments that mean something Separate environments by blast radius, not by name. Separate accounts or subscriptions give a hard boundary; separate namespaces in one account give a soft one that a misconfigured permission crosses. Production data does not belong in lower environments. Where realistic data is needed, mask or synthesize it — a copied production database is a breach waiting for a misconfigured bucket, and it is one of the most common ways personal data escapes. ## Networking and isolation Default deny, then open what is needed. Public exposure should be a deliberate, reviewable act rather than the residue of a default. Keep the trust boundary explicit and few: what is reachable from the internet, what is reachable between services, what reaches data stores. Most cloud incidents are not exotic — they are a storage bucket, a database, or a management interface that was reachable and should not have been. ## Scaling and failure Scale horizontally where you can and know your actual limits — the database connection ceiling, the third-party rate limit, the single-threaded component nobody remembers. Autoscaling in front of a hard downstream limit converts a slow system into an outage. Design for the failure of a single instance and a single zone as routine. Region failure is a business continuity decision with a real price attached, made with `operations:business-continuity-and-resilience` rather than assumed by engineering. ## Cost Cost is an architectural property. Attribute spend by team and workload from the start; without tagging, cost becomes an unattributable aggregate that only ever gets addressed in a panic. The usual large wins are unglamorous: idle non-production resources, over-provisioned instances, storage nobody deleted, and cross-zone data transfer nobody accounted for. ## Sources `references/sources.md` in this skill lists the outside authorities that settle the questions here — what each one is authoritative for, and what you may do with it. Check them before answering on anything they cover, and cite what you used. Most are free to read and not free to reproduce; the use note on each is binding. ## Tooling Platforms: AWS, Google Cloud, Microsoft Azure, and similar; managed application platforms — Fly.io, Render, Vercel, Railway — remove most of this work and are the right answer more often than engineering pride admits. Orchestration where you need it: Kubernetes with a managed control plane, or a container service like ECS. Kubernetes is a platform team's worth of work; adopt it when you have the team. Infrastructure as code and secrets: Terraform, OpenTofu, Pulumi, and similar, with secrets in a managed store rather than in the state file. `it-operations:cloud-administration` covers the corporate cloud estate, which is a different problem with overlapping tools. ## Never - Make a production change by hand that is not reflected in code. - Put production data in a lower environment unmasked. - Autoscale a tier in front of a hard downstream limit. - Run without cost attribution until the bill forces it.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.