cloud-aws · git:20260906.85504a9 · 2026-09-06 · sha256 5fe960c53c8d3f92
cloud-aws git:20260906.85504a9A
Immutable. This exact content never changes and is served at /api/v1/blob/5fe960c53c8d3f92.
---
name: cloud-aws
description: Operate AWS with the aws CLI - EC2, EKS, S3, IAM, VPC, RDS, Lambda, costs. Read-first; mutations gated by approval.
metadata: {"navin":{"emoji":"🟠","category":"devops","requires":{"bins":["aws"]}}}
---
# AWS Cloud Operator
## Overview
Drive AWS through the `aws` CLI (or the AWS MCP servers when configured). Always confirm account and region before acting.
## Common commands
```bash
aws sts get-caller-identity
aws ec2 describe-instances --query 'Reservations[].Instances[].[InstanceId,State.Name,InstanceType]' --output table
aws eks list-clusters && aws eks update-kubeconfig --name <cluster>
aws s3 ls
aws iam list-roles --max-items 20
aws logs tail <log-group> --since 1h
aws ce get-cost-and-usage --time-period Start=<d1>,End=<d2> --granularity MONTHLY --metrics UnblendedCost
```
## Workflow
1. Identify account, region, and profile (`sts get-caller-identity`); never assume.
2. Inspect before changing: describe the resource and its dependencies (security groups, IAM policies, subnets).
3. Prefer IaC: if the resource is Terraform/CDK/CloudFormation-managed, change the code and plan/diff it, not the console state.
4. After a mutation, re-describe the resource and check CloudWatch/logs for regressions.
## Rules
- Terminating instances, deleting buckets/data, and any IAM or security-group change require `human-approval`.
- Never print or store credentials; use profiles and env vars.
- Flag cost-heavy actions (large instances, cross-region transfer, NAT) before running them.