jhkchan
- 404 skills
- 0 followers
- last week last updated
- ▌ Cloudformation Stackset Deployer · jhkchan bundleProvisions AWS CloudFormation StackSets with production defaults: StackSet creation (template, parameters, capabilities), permission model (SELF_MANAGED admin+execution roles vs SERVICE_MANAGED with Organizations trusted access), deployment targets (OUs, accounts, regions), operation preferences (failure tolerance, max concurrent accounts/regions), drift detection per instance and StackSet-level, StackSet vs nested stacks, managed execution, CloudFormation IaC generator. Emits a READY_TO_DEPLOY checklist. Use when deploying a template across many accounts and/or regions, choosing self vs service-managed, scoping OU targets, tuning blast radius, or enabling drift detection. Triggers: create stackset, cloudformation stackset, service-managed stackset, self-managed stackset, StackSet Organizations, stackset drift detection, IaC generator.
- ▌ Cloudfront Distribution Deployer · jhkchan bundleProvisions production-grade CloudFront distributions with secure defaults: Origin Access Control (OAC) for S3 origins (replaces legacy OAI), custom origin HTTPS with origin protocol policy, TLS 1.2 minimum with ACM certificates (must be in us-east-1), WAFv2 Web ACL association, managed cache and origin-request policies, origin group failover (active-active or active-passive), geo restriction allowlist/blocklist, Lambda@Edge vs CloudFront Functions selection, price class, S3 access logging, response headers policy for security headers, and latest features (KeyValueStore, continuous deployment staging). Emits a deployment plan with a READY_TO_DEPLOY checklist. Use when provisioning a new distribution, configuring OAC on S3 origins, attaching WAF at the edge, planning multi-origin failover, or hardening a CDN before production.
- ▌ Cloudfront Invalidation Operator · jhkchan bundleOperates CloudFront cache invalidation workflows — invalidation creation with path patterns (/* all, /images/* directory, /images/*.css wildcard, single-path), invalidation cost tiering (first 1,000 paths/month free then $0.005 per path), cache-busting strategy (invalidation vs versioned filenames), invalidation status polling (InvalidationStatus: InProgress→Completed), bulk invalidation patterns, continuous deployment staging invalidation, and diagnostic loops (get-invalidation, list-invalidations). Runs deterministic pre-checks (distribution Deployed, caller has cloudfront:CreateInvalidation, path count under free tier, path syntax valid) behind a CONFIRM gate and emits a READY, BLOCKED, or COMPLETED verdict. Use when creating invalidations, waiting for completion, choosing invalidation vs cache-busting, or diagnosing invalidation cost.
- ▌ Cloudhsm Cluster Posture Auditor · jhkchan bundleAudits AWS CloudHSM clusters for high-availability posture (HSM count and cross-AZ distribution), backup/restore readiness (retention policy, backup recency, restorability), PKCS#11 user management (default CO password, quorum), cluster initialization (certificate signing chain), and subnet/ security-group network exposure. Emits a deterministic verdict (SINGLE_AZ | NO_BACKUP | CONFIG_GAP | OK) per cluster with enumerated findings and specific remediation. Use when reviewing CloudHSM cluster configuration, checking HA readiness, validating backup posture, auditing PKCS#11 user hygiene, or hardening HSM security before production deployment.
- ▌ Codeartifact Repository Deployer · jhkchan bundleProvisions AWS CodeArtifact repositories: domain creation, repository creation across package formats (npm, pip, maven, nuget, cargo, rubygems, generic, swift), upstream repositories (public: npmjs, pypi, maven-central, nuget-org), external connections, package ingestion via copy-package, cross-account domain sharing via RAM, repository IAM policies (read/write/consume), codeartifact login CLI for npm/pip/maven, package versions, and lifecycle policies. Emits a READY_TO_DEPLOY checklist with every prerequisite verified. Use when creating a CodeArtifact domain or repository, configuring upstreams, sharing a domain across accounts, or wiring a package build to CodeArtifact. Triggers: codeartifact domain, codeartifact repository, npm pip maven nuget cargo rubygems swift repository, codeartifact upstream, codeartifact external connection, codeartifact login, codeartifact copy-package, codeartifact domain sharing, RAM codeartifact, codeartifact IAM policy.
- ▌ Config Recorder Coverage Auditor · jhkchan bundleAudits AWS Config posture across all four coverage layers — configuration recorder (existence, status, resource-type scope), delivery channel (S3 delivery health, bucket accessibility), Config rules (deployed count, rule type), and conformance packs (deployment status). Detects silent coverage gaps: allSupported=false losing new resource types, includeGlobalResourceTypes false in every region (global resources never recorded), delivery channel FAILURE status (deleted bucket or missing bucket policy), and custom Lambda rules whose Lambda was deleted (rule frozen, no evaluations). Emits a deterministic verdict per region: INCOMPLETE_COVERAGE | NO_RULES | DELIVERY_GAP | CONFIG_GAP | OK. Use when checking Config recorder coverage, validating delivery-channel health, auditing conformance-pack deployment, or verifying multi-region Config completeness.
- ▌ Config Rule Compliance Automator · jhkchan bundleDesigns and deploys AWS Config rule compliance automation across an AWS estate. Selects from 80+ managed rules or designs custom Lambda rules, wires SSM Automation remediation with trigger semantics, deploys conformance packs for CIS/PCI/NIST via CloudFormation StackSets, configures multi-account visibility via Config Aggregator, implements organizational config rules, deploys custom policy rules (Git-based via CodeCommit), sets up SNS compliance notifications, and detects configuration drift. Emits AUTOMATION_DEPLOYED or REVIEW_REQUIRED.
- ▌ Cost Anomaly Detection Automator · jhkchan bundleDesigns and implements automated AWS Cost Anomaly Detection workflows spanning Cost Anomaly Monitor creation (service-level, linked account, dimension-based monitor), anomaly alert subscription (SNS topic, email recipient, Lambda webhook), severity-based anomaly routing (Critical = page on-call, High = notify channel, Low = log to dashboard), auto-remediation Lambda functions (tag untagged resources, right-size over-provisioned instances, shutdown non-production environments after-hours), AWS Budgets integration for hard spend limits with threshold alerts, Cost Explorer anomaly analysis for deep-dive on detected anomalies, multi-account coverage via Organizations Payer monitor, Slack and Microsoft Teams webhook notifications, anomaly feedback submission (true positive versus false positive) to improve ML model accuracy, and historical baseline establishment using contribution analysis. Emits AUTOMATION_DEPLOYED with a fully wired monitor-alert- remediation pipeline or REVIEW_REQUIRED with the specific...
- ▌ Firehose Delivery Stream Auditor · jhkchan bundleAudits Amazon Kinesis Data Firehose (firehose) delivery streams for encryption-at-rest gaps (explicit NoEncryption, missing CMK, or absent EncryptionConfiguration defaulting to bucket policy), S3-destination BufferingHints quota violations, Lambda transformation backup/DLQ posture, CloudWatch error-logging silence (LoggingConfig disabled or absent — transformation failures become invisible), source-backup absence under dynamic partitioning (silent data-loss vector), and dynamic-partitioning structural integrity (metadata extraction wiring, ExtendedS3 requirement, RetryDuration=0 trap). Emits a deterministic first-fail-wins verdict (NO_ENCRYPTION | CONFIG_GAP | OK) per delivery stream with enumerated findings and CLI remediation. Use when reviewing Firehose delivery streams, validating SSE-KMS CMK coverage, auditing Lambda transformation resilience, checking dynamic-partitioning source backup, or hardening stream posture before production deployment.
- ▌ Lambda Invocation Troubleshooter · jhkchan bundleDiagnoses AWS Lambda invocation failures through an eight-category diagnostic tree: TaskTimeoutException (timeout config vs slow downstream), Runtime.ExitError out-of-memory (MaxMemoryUsed vs MemorySize; CPU scales with memory), cold-start init latency (SnapStart, provisioned concurrency), AccessDenied from execution role (CloudTrail, simulate-principal-policy), VPC connectivity (NAT Gateway, VPC endpoint, SG), environment variable KMS decrypt errors and unset variables, invocation-type mismatch (sync caller timeout vs async retry / DLQ / destination), and ECR container image pull errors (image URI, repo policy, size). Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_FOUND, NEED_MORE_INFO, or ESCALATE.
- ▌ S3 Intelligent Tiering Optimizer · jhkchan bundleOptimises S3 storage cost with Intelligent-Tiering: enables bucket-level IntelligentTieringConfiguration, tunes the Archive Access (90-day) and Deep Archive Access (180-day) tiers, models the $0.0025 per-1,000-objects monitoring fee, and emits a deterministic verdict (OPTIMIZED | OPPORTUNITY_FOUND | ALREADY_OPTIMAL) per bucket with the exact put-bucket-intelligent-tiering-configuration payload and a net dollar savings estimate. Use when deciding whether to enable Intelligent-Tiering on a bucket with unknown or mixed access patterns, when the monitoring fee might exceed the saving on small objects (<128 KB), when predictable access patterns make lifecycle rules cheaper, or when archive-tier timing needs tuning.
- ▌ Shield Advanced Coverage Auditor · jhkchan bundleAudits AWS Shield Advanced coverage posture — protected-resource coverage (CloudFront/Route 53 auto-protection, ALB/NLB/CLB/EIP/EC2 explicit protection), DDoS Response Team (DRT) role and log-bucket access, health-based detection per protection, proactive engagement and emergency contact list, and WAF Web ACL integration for L7 mitigation. Emits a deterministic verdict (UNPROTECTED | NO_DRT_ACCESS | CONFIG_GAP | OK) with enumerated findings and specific remediation. Use when reviewing Shield Advanced coverage, checking which internet-facing resources are protected, validating DRT access, auditing health-based detection, or hardening DDoS posture before a launch or after an incident.
- ▌ Stepfunctions Map State Deployer · jhkchan bundleDeploys AWS Step Functions Map state configurations with production defaults: Inline Map (synchronous, max 5000 items, shares parent execution context), Distributed Map (async, max 10000 items via child executions), Map state configuration (ItemsPath, MaxConcurrencyPath, MaxItemsPath, ItemBatchSize, ItemBatcher), ItemProcessor vs Iterator (ItemProcessor is current), batch processing with ItemBatchSize/ItemBatcher for throughput, Distributed Map with S3 input (CSV/JSON/JSONL from S3 via ReaderConfig), child execution quota, ResultSelector/ResultPath, error handling (Retry/Catch per iteration), Parallel state vs Map state (fan-out vs iteration), cost model (Inline = no extra cost, Distributed = child execution cost), and Timestream/Firehose as input source. Emits a READY_TO_DEPLOY checklist with. Triggers: step functions map state, inline map, distributed map, itemprocessor, itembatchsize, maxconcurrency, step functions batch processing, distributed map s3, step functions fan-out, map state error handling.
- ▌ Wellarchitected Workload Auditor · jhkchan bundleAudits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.
- ▌ Backup Vault Compliance Automator · jhkchan bundleDesigns and implements AWS Backup vault compliance automation workflows. Enforces vault policies (deny non-encrypted backups), validates vault lock compliance (governance vs compliance mode), automates backup report generation (daily compliance summary), verifies recovery point encryption, audits backup plan coverage (identifies resources without backup plans), validates cross-region backup replication, checks backup frequency compliance (daily for production), enforces retention policy, manages Vault Lock cool-off periods, deploys multi-account compliance via AWS Organizations, and wires Config rules for continuous backup compliance detection. Emits AUTOMATION_DEPLOYED with deployment templates or REVIEW_REQUIRED with the specific gap. Use when enforcing backup vault security, auditing backup coverage, deploying Vault Lock, verifying cross-region replication, or building Config-based backup compliance monitoring.
- ▌ Cloudfront Keyvaluestore Deployer · jhkchan bundleProvisions CloudFront KeyValueStore (KVS) with production defaults: KVS creation and key-value pair management, CloudFront Functions integration (read KVS data at the edge without redeploy), A/B testing request routing via KVS, feature flag toggles at the edge, IP allowlists and blocklists, URL redirects and rewrites driven by KVS, KVS size limits (1 MB max store, key/value constraints), KVS propagation and eventual consistency model, and the latest CloudFront Functions KVS API (cloudfront-js-2.0 with cf.openKvs). Emits a READY_TO_DEPLOY checklist with verification commands. Use when provisioning a CloudFront KeyValueStore, integrating CloudFront Functions with KVS for edge-side routing, implementing A/B testing or feature flags at the CDN edge, or building IP allowlist logic. Triggers: create CloudFront KeyValueStore, KVS CloudFront Functions, edge A/B testing, feature flags KVS, IP allowlist KVS, cf.openKvs, cloudfront-js-2.0.
- ▌ Cloudwatch Logs Retention Auditor · jhkchan bundleAudits CloudWatch Logs log groups for Never-expire retention (silent infinite-cost accumulation), missing SSE-KMS customer-managed-key (CMK) encryption, excessive-retention × volume cost exposure, subscription filter fan-out (Lambda/Kinesis/Cross-account destination), missing metric filters, and absent CloudWatch Logs Anomaly Detectors. Emits a deterministic first-fail-wins verdict (NO_RETENTION | NO_ENCRYPTION | COST_RISK | CONFIG_GAP | OK) per log group with enumerated findings and CLI remediation. Use when reviewing CloudWatch Logs posture, auditing log group retention, validating KMS CMK encryption, hunting for runaway cost on Never-expire groups, checking metric-filter / anomaly-detector observability coverage, or hardening log-group posture before compliance review.
- ▌ Cloudwatch Metric Stream Deployer · jhkchan bundleDeploys Amazon CloudWatch Metric Streams with production defaults: stream creation (name, output format), Kinesis Data Firehose ARN configuration, metric namespace filter (include/exclude filter), statistics (Average, Sum, SampleCount, Min, Max, p99, etc.), output format (JSON or OpenTelemetry), Firehose to S3 delivery pipeline, CloudWatch to Kinesis Data Firehose to S3 continuous export, cross-account metric streaming, cost-per-metric-stream pricing awareness, CloudWatch API (PutMetricStream, GetMetricStream, DeleteMetricStream, ListMetricStreams), stream statistics auto- aggregation, IAM role permissions (cloudwatch.amazonaws.com service principal writing to Firehose, Firehose writing to S3 with KMS), Firehose buffering latency (1-5 minute delivery delay). Triggers: create cloudwatch metric stream, metric stream firehose, cloudwatch to s3 metrics, metric stream namespace filter, metric stream opentelemetry, metric stream json, cloudwatch export metrics, metric stream cost, replace getmetricdata polling.
- ▌ Cloudwatch Metrics Troubleshooter · jhkchan bundleDiagnoses missing or unexpected AWS CloudWatch metrics. Covers metric not appearing (wrong namespace, wrong dimensions, resource not emitting), metric value unexpected (wrong statistic, wrong period, metric math error), INSUFFICIENT_DATA alarms (metric exists but sparse data points), custom metrics not arriving (CloudWatch agent config, PutMetricData errors, EMF parsing failures), Container Insights not working (EKS/ECS agent not installed), and CloudWatch RUM not collecting (app config wrong). Emits ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE with evidence from get-metric-statistics, list-metrics, CloudWatch agent logs, and EMF validation. Use when a metric is absent, an alarm is stuck in INSUFFICIENT_DATA, custom metrics are not arriving, or Container Insights shows no data.
- ▌ Ecs Cluster Autoscaling Optimizer · jhkchan bundleOptimises Amazon ECS cluster autoscaling across eleven dimensions: capacity provider strategy (spot vs on-demand weight and base — the spot base + on-demand burst pattern), managed EC2 capacity provider auto-scaling (replaces the legacy Cluster Autoscaler / cluster-autoscaler project with native ECS managed scaling), target tracking metric selection (ECSServiceAverageCPUUtilization vs ECSServiceAverageMemoryUtilization vs ALB RequestCountPerTarget), scale-in cooldown tuning (default 300 s is too long for spiky workloads), bin-packing efficiency (detecting empty hosts and stranded resources), Fargate capacity provider (no capacity planning needed for serverless tasks), EC2 instance warm-up time (AMI boot + container agent registration delay), drain instance lifecycle (DRAINING to DEPROVISIONING state management for graceful task migration), desired count vs running count gap analysis (detecting stuck or pending tasks), task placement strategy (spread vs binpack vs random for optimal host utilization), and...
- ▌ Firehose Delivery Stream Deployer · jhkchan bundleProvisions Kinesis Data Firehose delivery streams with production defaults: source selection (Direct PUT, Kinesis Data Stream, Amazon MSK, CloudWatch Logs), Lambda transformation for ETL, format conversion (Parquet/ORC/JSON via dynamic schema), S3 destination (prefix patterns, error prefix, buffering hints), OpenSearch destination, HTTP endpoint destination (Splunk/custom), Redshift destination (COPY via S3 staging), backup configuration, retry and duration settings, CloudWatch logging, and server-side encryption (KMS). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Firehose delivery stream, configuring S3/OpenSearch/Redshift/HTTP destinations, setting up Lambda transformation, or enabling Parquet format conversion. Triggers: create firehose delivery stream, firehose s3 destination, firehose lambda transformation, firehose parquet conversion, firehose opensearch destination, firehose redshift destination, firehose splunk http endpoint, firehose buffering hints.
- ▌ Guardduty Finding Severity Triage · jhkchan bundleClassifies Amazon GuardDuty findings into a context-aware triage severity (CRITICAL | HIGH | MEDIUM | LOW | LIKELY_FALSE_POSITIVE) by overlaying finding-type threat taxonomy, false-positive signals, aggregation counts, and resource criticality on top of GuardDuty's numeric severity. Detects authorized-scanner port sweeps, Tor traffic to public services, known-safe DNS domains, and AWS service-linked role activity as false-positives. Provides per-verdict incident-response remediation steps. Use when triaging GuardDuty findings (JSON or structured text) for SOC prioritization, false-positive filtering, or escalation decisions.
- ▌ Inspector2 Finding Troubleshooter · jhkchan bundleDiagnoses Amazon Inspector v2 vulnerability findings through a finding-type-driven diagnostic tree covering network reachability (unreachable ports, unintended IGW exposure, SG/NAU cascade), package vulnerability (CVE in OS packages, language ecosystems npm/pip/gem/go, Lambda layers, ECR container images), and code vulnerability (Lambda code scanning for injection, hardcoded secrets, path traversal). Walks severity (Critical/High/Medium/Low) to remediation per type (patch packages via SSM Patch Manager, fix code, restrict security groups, rebuild ECR images, update Lambda layers), integrates SBOM export, Lambda layer scanning, ECR image scanning, and the latest Inspector code scanning for Lambda and SBOM export features. Emits ROOT_CAUSE_FOUND with the specific finding type, vulnerable artifact, and remediation path. Use when an Inspector finding fires, a CVE is reported on EC2/ECR/Lambda, network reachability is flagged, SBOM export shows vulnerable packages, or Lambda code scanning reports a code vuln.
- ▌ Macie Data Classification Auditor · jhkchan bundleAudits Amazon Macie data-classification posture — classification job coverage and status, automated sensitive data discovery (ASDD) enablement, sensitive data finding triage state (PII / credentials / financial), custom data identifiers, bucket_allow_list scope, findings auto-archive filters, and Security Hub export integration. Emits a deterministic verdict (NO_CLASSIFICATION | UNTRIAGED_FINDINGS | CONFIG_GAP | OK) per account scope with enumerated findings and specific CLI remediation. Use when reviewing Macie classification coverage, triaging sensitive data discoveries, validating allow-list scope, checking Security Hub integration, or auditing sensitive-data discovery posture before a compliance review.
- ▌ Opensearch Cluster Troubleshooter · jhkchan bundleDiagnoses Amazon OpenSearch Service cluster incidents across eleven failure categories: ClusterBlockException from disk watermark breach (85% flood-stage read-only block, 90% / 95% allocation freeze), JVM heap pressure above 75% triggering old-gen GC storms and OutOfMemoryError, thread-pool rejections on the search and write queues, shard allocation failures and unassigned shards, cluster yellow / red status, split-brain from lost quorum, slow-log analysis for heavy queries and mapping explosion (too many fields), circuit breaker errors (parent, fielddata, request), index deletion during snapshot, cold-node to hot-node migration failures, and version upgrade rollback scenarios. Walks symptoms to a verified root cause with evidence-backed probes and emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ S3 Transfer Acceleration Operator · jhkchan bundleOperates S3 Transfer Acceleration workflows — enable/disable acceleration per bucket (put-bucket-accelerate-configuration), cost analysis by source region ($0.004-0.025/GB depending on edge location), speed comparison tool (CloudFront edge vs direct S3 endpoint), multipart upload with acceleration endpoints (<bucket>.s3-accelerate.amazonaws.com), checksum verification (CRC32C, SHA-256) on accelerated uploads, S3 multipart copy between accelerated buckets, Direct Connect comparison, and diagnostic loops (get-bucket-accelerate-configuration, CloudWatch BytesUploaded). Runs deterministic pre-checks (bucket exists, not a directory bucket, caller has s3:PutAccelerateConfiguration, region supports acceleration, cost acknowledgment) behind a CONFIRM gate and emits a READY, BLOCKED, or COMPLETED verdict. Use when enabling/disabling acceleration, comparing transfer speeds, planning multipart uploads over acceleration, or diagnosing slow transfers.
- ▌ Sagemaker Model Registry Operator · jhkchan bundleOperates SageMaker Model Registry lifecycles safely — creates model package groups; registers versioned model packages (model artifacts, inference images, metrics, approval status); drives the manual approval workflow (PendingManualApproval to Approved or Rejected); manages model package versions within a group; and distinguishes group-registered from standalone packages. Covers SageMaker Model Cards (auto-populated from packages), the Model Dashboard, and Model Registry with SageMaker Projects for CI/CD model deployment. Runs deterministic pre-checks (artifact accessibility, image availability, metrics S3 reachability, IAM, approval-state legality), emits the exact create-model-package / update-model-package CLI behind a CONFIRM gate, and verifies registry state. Emits READY | BLOCKED | COMPLETED. Use when registering a model, approving for production, listing versions, adopting Model Cards, or wiring Model Registry with SageMaker Projects.
- ▌ Guardduty Finding Automator · jhkchan bundleDesigns and implements automated response workflows for Amazon GuardDuty findings. Wires EventBridge rules to severity-based routing (Critical/High auto-isolate, Medium notify, Low log), Lambda remediation functions (isolate EC2 via security group swap, revoke IAM access keys, block source IPs in WAF, update security groups), SNS notifications with full finding context, Security Hub integration via BatchImportFindings, and multi-account coverage through Organizations delegated administrator. Covers suppression rules (create-filter) for known false positives, finding archive workflows, CloudTrail correlation for TTP chaining, auto-enable GuardDuty in new accounts via Lambda on CreateAccount, and custom threat intel upload (ThreatIntelSet / IPSet). Emits AUTOMATION_DEPLOYED with the full EventBridge+Lambda+SNS pipeline or REVIEW_REQUIRED with the specific gap. Use when building automated GuardDuty response, severity-based auto-remediation, multi-account GuardDuty automation, or integrating GuardDuty with...
- ▌ Iam Least Privilege Advisor · jhkchan bundleAnalyzes AWS IAM policies to identify over-permissive grants — wildcard actions, wildcard resources, privilege-escalation actions (PassRole, AssumeRole), inverse wildcards (NotAction/NotResource), and condition-key bypasses — then provides least-privilege remediation. Use when reviewing IAM policies, checking for wildcard or escalation permissions, auditing role or user privileges, or tightening access control scope.
- ▌ Incident Response Automator · jhkchan bundleDesigns automated AWS incident response workflows across detection (GuardDuty, Security Hub, CloudWatch alarms, EventBridge, AWS Health) and response patterns (EC2 quarantine SG, IAM credential revocation, EBS forensic snapshot, memory capture via SSM, WAF/NACL IP block, secret rotation, session revoke), notification (SNS/Slack/Teams via Lambda, on-call paging), and recovery (restore from backup, clean AMI redeploy). Orchestrates via EventBridge rule (GuardDuty severity >= 7) to Step Functions state machine (isolate, snapshot, notify, human approval, recover), SSM Automation documents (AWS-IsolateEC2Instance, AWS-DisableIAMUserAccessKey, AWS-RevokeSession), and Systems Manager Incident Manager. Enforces safety: kill-switch required, isolated-account testing, manual override, full CloudTrail + Step Functions audit. Emits verdict AUTOMATED with response plan or MANUAL_STEP_REQUIRED with gap. Use when designing IR playbooks or wiring GuardDuty/Security Hub to remediation.
- ▌ Keyspaces Keyspace Deployer · jhkchan bundleProvisions Amazon Keyspaces (Cassandra-compatible) keyspaces and tables with production defaults: keyspace creation (create-keyspace), table creation (create-table) with partition key, clustering key, and regular columns, capacity mode selection (on-demand vs provisioned with auto- scaling), point-in-time recovery (PITR), TTL (time-to-live), encryption at rest with KMS, client-side encryption via KMS envelope encryption, schema management through CQL, VPC endpoints for private access, CloudWatch metrics (ConsumedWriteCapacityUnits, ConsumedReadCapacityUnits), and the RU-based cost model. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Keyspace, creating a Cassandra table, configuring on-demand or provisioned capacity, enabling PITR, setting. Triggers: create keyspace, create cassandra table, amazon keyspaces, on-demand capacity, provisioned autoscaling, point-in-time recovery, cassandra CQL, partition key, clustering key, keyspace VPC endpoint, client-side encryption KMS.
- ▌ Lambda Cold Start Optimizer · jhkchan bundleOptimises AWS Lambda cold-start latency across seven dimensions: memory allocation vs initialization time (Power Tuning latency-optimal memory), provisioned concurrency (allocation sizing and autoscaling for latency-critical paths), SnapStart (Java only — init snapshot eliminates 1-3 s of init), init phase optimization (lazy initialization, global-scope connection pooling), VPC cold start penalty (hyperplane ENI elimination since 2019), runtime selection (compiled vs interpreted, ARM64 Graviton), and deployment package size reduction (Layers, Proguarded JARs, slim ZIPs). Covers EFS mount latency, runtime deprecation impact, X-Ray overhead, and CloudWatch Lambda Insights init-duration telemetry. Emits OPTIMIZED when cold-start p95 < SLO and all init-phase levers applied, or FURTHER_OPTIMIZATION_AVAILABLE with the highest-leverage remaining lever.
- ▌ Lightsail Instance Deployer · jhkchan bundleProvisions production-grade Amazon Lightsail instances with secure defaults: blueprint selection (OS-only vs app+OS bundle), bundle (plan) sizing for CPU/RAM/SSD/transfer, static IP attachment, DNS via Lightsail DNS zones, VPC peering to the default EC2-VPC for private access to RDS/ElastiCache, automatic and manual snapshots, Lightsail load balancers (Layer 4 with TLS), container services, Lightsail distributions (CloudFront-backed CDN), and multi-AZ managed databases. Emits a deployment plan with a READY_TO_DEPLOY checklist. Use when provisioning a new Lightsail instance, attaching a static IP, configuring a DNS zone, peering to EC2-VPC for private resource access, setting up snapshots, deploying a Lightsail load balancer, creating a container service, fronting an instance with a distribution, or provisioning a multi-AZ Lightsail database.
- ▌ Managed Blockchain Deployer · jhkchan bundleProvisions AWS Managed Blockchain with production defaults: Hyperledger Fabric network creation (edition Starter vs Standard, framework version, voting policy), member creation (admin certificate, CA), peer node creation (instance type, Availability Zone, CloudWatch log config), CA enrollment, channel creation, chaincode lifecycle (install/instantiate 1.4, approve/commit 2.x). Covers the separate Managed Blockchain Ethereum nodes (public mainnet/testnet) and the serverless Managed Blockchain Query API for on-chain reads (Ethereum, Bitcoin balances, transactions, contracts). Emits a READY_TO_DEPLOY checklist. Use when creating a Fabric network, adding consortium members, deploying peer nodes, installing chaincode, provisioning Ethereum nodes, or querying blockchain data. Triggers: create Managed Blockchain network, Hyperledger Fabric AWS, blockchain member, peer node, chaincode, certificate authority, Managed Blockchain Query, Ethereum node AWS.
- ▌ Neptune DB Cluster Deployer · jhkchan bundleProvisions Amazon Neptune DB clusters (graph database) with production defaults: cluster creation (instance type, cluster size, reader replicas), VPC networking (DB subnet group across >=3 AZs, security groups on port 8182), encryption (KMS at creation — immutable), auto-failover (Multi-AZ with reader promotion), parameter groups (neptune_enforce_ssl, neptune_query_timeout), IAM database auth, loading data (bulk load from S3 via the Neptune Loader), querying (Gremlin, SPARQL, openCypher), Neptune Streams, snapshot/restore, and the Neptune Analytics boundary. Emits a READY_TO_DEPLOY checklist. Use when creating a Neptune DB cluster, sizing writer/reader instances, designing a Multi-AZ graph topology, hardening TLS/IAM, loading graph data from S3, or choosing between Neptune DB and Neptune Analytics. Triggers: create Neptune, provision graph database, Neptune cluster, Gremlin, SPARQL, openCypher, Neptune bulk load, Neptune Streams, neptune_enforce_ssl, Neptune Multi-AZ.
- ▌ Ram Resource Share Deployer · jhkchan bundleProvisions AWS RAM (Resource Access Manager) resource shares with correct production defaults: resource type selection (Subnet, Transit Gateway, License Manager, Dedicated Host, Capacity Reservation, Route53 Resolver rules, Image Builder components/images), principal association (account IDs, OU ARNs, organization ARN), permission association (AWS managed and customer-managed permissions), resource share vs VPC peering decision, allow-external-principals control, resource share status and promotion. Emits a READY_TO_DEPLOY checklist. Use when creating a RAM resource share, sharing subnets across accounts, sharing a Transit Gateway, sharing Route53 Resolver rules, sharing Dedicated Hosts or Capacity Reservations, sharing with an entire Organization or OU, or associating managed permissions. Triggers: create RAM resource share, share subnet, share transit gateway, RAM principals, RAM permission association, share Route53 Resolver rules, RAM organization share, customer-managed permissions.
- ▌ Rds Backup Restore Operator · jhkchan bundleOperates RDS and Aurora backup and restore workflows safely — automated backup window configuration, manual snapshots for pre-maintenance safety, cross-region and cross-account snapshot copy, point-in-time restore (PITR), Aurora Backtrack for in-place rewind, S3 export/import, and full post- restore verification. Runs deterministic pre-checks (subnet group, security group, option group, KMS key, instance status), executes the operation behind a CONFIRM gate, and emits a verdict (READY | BLOCKED | COMPLETED) per operation with the exact CLI sequence, expected side-effects (new instance endpoint, connection-string updates), and verification commands. Use when configuring RDS backup retention, creating pre-migration snapshots, restoring to a point in time, backtracking an Aurora cluster, exporting a snapshot to S3, or recovering from a bad change.
- ▌ Rds Failover Troubleshooter · jhkchan bundleDiagnoses RDS and Aurora failover issues through a thirteen-category diagnostic tree: Multi-AZ failover not triggering (health check threshold too conservative), failover taking too long (DNS propagation, recovery mode full), Aurora writer endpoint not redirecting (application using instance endpoint instead of cluster endpoint), read replica promotion failures (network connectivity, storage), storage-full preventing failover (allocated storage exhausted), parameter group mismatch between primary and standby, option group conflicts preventing standby from taking over, Aurora cluster endpoint type confusion (writer vs reader vs custom vs instance), failover priority tier misconfiguration (tier 0 vs tier 1 not set on the intended promotion target), Aurora Global DB failover (managed vs unmanaged), RDS Proxy failover behavior (connection pool not draining), application connection string not using cluster endpoint, and CloudWatch failover event gaps. Walks symptoms to a verified root cause with...
- ▌ S3 Glacier Restore Operator · jhkchan bundleOperates S3 Glacier restore workflows — initiates object restores from Flexible Retrieval tiers (Expedited 1-5 min, Standard 3-5 hr, Bulk 5-12 hr) and from Deep Archive (12-48 hr; Bulk 12 hr), provisions Expedited capacity to guarantee throughput, manages in-place restore vs copy-to-other-tier strategies, performs bulk restores via S3 Batch Operations (manifest + role + report), checks restore status via head-object Restore field and restore-object waiters, integrates with lifecycle policies (Transition + NoncurrentVersionTransition), and operates latest features (S3 Glacier Instant Retrieval for ms-latency access on cold data, Deep Archive bulk restore cost-tier). Emits a deterministic execution plan with pre-checks, CONFIRM gate, and post-verification. Use when restoring a single object, a prefix, or a manifest of thousands of objects from Glacier; provisioning Expedited capacity; running a DR restore drill; or diagnosing a stalled restore job.
- ▌ S3 Version Cleanup Operator · jhkchan bundleOperates S3 version cleanup for cost optimization and compliance — NoncurrentVersionExpiration, NoncurrentVersionTransition, NewerNoncurrentVersions, AbortIncompleteMultipartUpload lifecycle rules, S3 Batch Operations for immediate version delete, Object Lock (Compliance vs Governance mode) and legal-hold handling, versioning-state pre-checks (Enabled vs Suspended), Storage Lens impact estimation, and post-apply verification. Runs deterministic pre-checks (versioning enabled, Object Lock mode and retention, legal holds, existing lifecycle rule conflicts, BucketKeyEnabled for cost), executes the operation behind a CONFIRM gate, and emits a verdict (READY | BLOCKED | COMPLETED) per bucket with the exact CLI/JSON sequence, estimated monthly savings, and verification commands. Use when auditing noncurrent version accumulation, configuring version cleanup lifecycle rules, planning immediate cleanup via Batch Operations, handling Object Lock retention, or estimating S3 version cleanup savings.
- ▌ Sagemaker Endpoint Deployer · jhkchan bundleProvisions SageMaker real-time, serverless, and asynchronous inference endpoints with production defaults: model creation (S3 artifact, container image), endpoint config (instance type, count, variant, weights), endpoint creation, auto-scaling on InvocationsPerInstance, data capture, model monitor (data quality, model quality, bias drift), A/B testing (weighted variants), shadow testing, Serverless Inference, Asynchronous Inference, and JumpStart foundation model deployment. Emits a READY_TO_DEPLOY checklist with verification commands. Use when deploying a SageMaker endpoint, configuring auto-scaling, enabling data capture and model monitoring, setting up A/B or shadow variants, or deploying JumpStart foundation models. Triggers: create SageMaker endpoint, deploy model, real-time inference, serverless inference, async inference, A/B test, shadow deployment, data capture, model monitor, JumpStart.
- ▌ Sagemaker Pipeline Deployer · jhkchan bundleDefines Amazon SageMaker Pipelines for ML workflows with production defaults: step collection (ProcessingStep with sklearn/Spark container, TrainingStep with built-in or custom algorithm, TuningStep for hyperparameter optimization, CreateModelStep registering model artifacts, ConditionStep branching on metrics, TransformStep for batch inference, RegisterModelStep integrating with the Model Registry), StartPipelineExecution, parameter passing between steps via Properties, caching configuration (per-step cache key), parallelism configuration (ParallelismConfiguration), Pipeline as Code (SageMaker Python SDK vs JSON definition), and EventBridge-driven automated triggers. Emits a READY_TO_DEPLOY. Triggers: create sagemaker pipeline, sagemaker pipeline steps, sagemaker pipeline caching, sagemaker tuning step, sagemaker model register step, sagemaker condition step, sagemaker transform step, start pipeline execution, sagemaker pipeline parallelism, sagemaker pipeline eventbridge, sagemaker pipeline as code.
- ▌ Sns Delivery Troubleshooter · jhkchan bundleDiagnoses SNS delivery failures through a twelve-category diagnostic tree: HTTP/HTTPS endpoint delivery (subscription confirmation pending, signature verification failure, 4xx/5xx retry policy with 4 immediate + delayed retries), Lambda subscription failures (async invocation errors, DLQ routing), SQS subscription issues (message size cap, redrive policy), email bounce/complaint, platform endpoint (mobile push) disabled, subscription filter policy JSON scope mismatch, message attribute preservation, FIFO topic vs standard topic delivery ordering, cross-region delivery, CloudWatch delivery metrics (NumberOfNotificationsDelivered / Failed), and DLQ for SNS. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Ssm Patch Baseline Deployer · jhkchan bundleProvisions SSM Patch Baselines with secure patch-management defaults — baseline creation (OS, product, classification, severity), approval rules (auto-approve after N days, compliance level), patch groups (tag-based targeting), default vs custom baseline selection, maintenance window integration, and custom repositories for Amazon Linux 2023, RHEL, Ubuntu, Windows, macOS. Runs pre-checks (OS validity, product-OS matching, Patch Group tag key, instance role AmazonSSMManagedInstanceCore, IAM permissions, maintenance window task document), emits create-patch-baseline, register-patch-baseline -for-patch-group, register-task-with-maintenance-window CLIs behind a CONFIRM gate, verifies via describe-patch-baseline. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when creating patch baselines, configuring approval rules, targeting patch groups, or integrating with maintenance windows.
- ▌ Vpclattice Service Deployer · jhkchan bundleProvisions Amazon VPC Lattice services with production defaults: service network creation (top-level routing plane), service (HTTP/gRPC), target group (instance/IP/Lambda/ALB), listener rules (path-based, header-based, method-based routing), IAM auth policy (service-level not rule-level), resource-based service policy, target group health checks (determines routing eligibility), cross-account service access, custom domain name mapping, service network VPC association, traffic splitting for canary deployments, access log delivery to CloudWatch/S3, and pricing per GB processed. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a VPC Lattice service network, configuring. Triggers: create vpc lattice service network, vpc lattice target group, vpc lattice listener rule, vpc lattice auth policy, vpc lattice traffic splitting, vpc lattice custom domain, vpc lattice service network vpc association, vpc lattice cross-account access, vpc lattice access logs, vpc lattice health check.
- ▌ Apigateway HTTP API Deployer · jhkchan bundleProvisions production-grade API Gateway HTTP APIs (v2) with routes (ANY, GET, POST, {proxy+} greedy), integration targets (Lambda proxy AWS_PROXY, HTTP proxy, VPC link private integration, Step Functions START_EXECUTION, SQS SendMessage, Kinesis PutRecord), JWT authorizer backed by OpenID Connect / Cognito issuer, CORS configuration with preflight handling, JSON access logging to CloudWatch with $context variables, stage auto-deploy for continuous deployment, custom domain via ACM with API mapping, and WAFv2 REGIONAL Web ACL association. Emits a READY_TO_DEPLOY checklist and ordered aws apigatewayv2 commands. Use when provisioning an HTTP API, configuring JWT/OIDC authorizers, setting up CORS, integrating Step Functions / SQS / Kinesis from HTTP API, deploying VPC link private integrations, or enabling auto-deploy stages.
- ▌ Backup Cross Region Operator · jhkchan bundleOperates AWS Backup cross-region and cross-account operations — adds cross-region copy rules to backup plans (destination region, KMS, lifecycle), configures cross-account copy via AWS Organizations backup policies, restores from cross-region recovery points (destination IAM, vault, KMS), deploys DR vault locks, and operates the latest features (continuous backups cross-region, Backup Vault Lock cross-region, cross-account restore with external key). Runs deterministic pre-checks (destination vault + KMS, source role grants backup:CopyIntoBackupVault, accounts in same org, recovery point COMPLETED, region opt-in), emits the exact backup:create-backup-plan / start-copy-job / start-restore-job CLI behind a CONFIRM gate, and verifies state post-apply. Emits a verdict (READY | BLOCKED | COMPLETED). Use when adding a DR copy rule, running cross-region restore drills, configuring cross-account backup, locking DR vaults, or enabling continuous cross-region backups.
- ▌ Bedrock Model Cost Optimizer · jhkchan bundleOptimises Amazon Bedrock inference cost across seven dimensions: model selection (Claude Haiku is ~60x cheaper per token than Opus; Nova Micro cheaper still; route simple queries to cheapest capable model), token usage analysis (output tokens cost 3-5x more than input), prompt caching (cache repeated system prompts to reduce input cost by up to 90%; TTL 5 min default, 1 hr max), batch inference (50% discount vs on-demand for non-latency-sensitive workloads), response length control (max_tokens, stop sequences, structured output), fine-tuning vs few-shot trade-off (fine-tune once then serve on cheaper base vs per-call in-context examples), and Guardrails / Knowledge Base overhead (Guardrails charges per processed token; KB adds vector store cost). Reads CloudWatch Bedrock metrics (InputTokenCount, OutputTokenCount, InvocationCount) and Cost Explorer. Emits OPTIMIZED or FURTHER_OPTIMIZATION_AVAILABLE. Use when reviewing Bedrock spend, planning model downgrades, evaluating prompt caching, or running a GenAI ...
- ▌ Client Vpn Endpoint Deployer · jhkchan bundleProvisions AWS Client VPN endpoints with production defaults: mutual TLS certificate auth via ACM, Active Directory and SAML federation, authorization rules (network CIDR + group access, first-match ordering), route table target subnet associations, DNS custom servers, connection logging to CloudWatch, split-tunnel vs full-tunnel, transport protocol (UDP/TCP), port selection, security group for target resources, self-service portal, session duration, and CloudWatch metrics (ActiveConnections, AuthenticationFailures). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Client VPN endpoint, configuring authorization rules, setting up mutual TLS, enabling SAML federation, or associating subnets. Triggers: create client vpn endpoint, client vpn authorization rule, client vpn mutual tls, client vpn saml, client vpn split tunnel, client vpn dns, client vpn connection logging, client vpn self-service portal.
- ▌ Cloudtrail Org Trail Auditor · jhkchan bundleAudits AWS CloudTrail organization trails for full-org coverage, multi-region logging, KMS encryption (SSE-KMS) of log delivery, log-file validation (digest integrity), CloudWatch Logs delivery, CloudTrail Insights enablement, and log retention posture. Emits a deterministic verdict (NO_ORG_TRAIL | NO_ENCRYPTION | NO_VALIDATION | NO_INSIGHTS | CONFIG_GAP | OK) per trail with enumerated findings and CLI remediation. Use when reviewing CloudTrail trail configurations, checking org-wide audit coverage, validating log integrity, confirming KMS encryption, verifying CloudTrail Insights, or hardening forensic-readiness posture before compliance assessment.
- ▌ Codeartifact Domain Deployer · jhkchan bundleProvisions AWS CodeArtifact domains with production defaults: domain creation (create-domain), repository creation within a domain (create-repository), upstream repository configuration (npm, pip, maven, nuget), external connection cascade (npmjs.com, pypi.org, mavencentral, nuget.org), package ingest via publish/copy-package, package consumption via authorization token (aws codeartifact login, 12-hour expiry), repository policy (cross-account read/write), domain owner vs repository admin separation, asset retention and lifecycle policy, package version immutability, VPC interface endpoint for private access, KMS encryption (customer managed key), CloudWatch metrics. Triggers: codeartifact domain, codeartifact external connection, codeartifact upstream cascade, codeartifact login, codeartifact authorization token, codeartifact VPC endpoint, codeartifact KMS encryption, codeartifact repository policy, codeartifact lifecycle policy, codeartifact package immutability, codeartifact cross-account.
- ▌ Controltower Control Auditor · jhkchan bundleAudits AWS Control Tower landing-zone state, enabled controls (preventive, detective, proactive), guardrail enforcement integrity, and account-factory baseline health. Detects landing-zone drift, disabled mandatory controls, SCP and Config-Rule modifications, missing execution roles, and Config recorder gaps. Emits a deterministic verdict (DRIFT | DISABLED_CONTROL | CONFIG_GAP | OK) per OU or landing zone with enumerated findings and CLI remediation. Use when reviewing Control Tower posture, checking guardrail enforcement, auditing landing-zone drift, validating control enablement, or inspecting account-factory baselines before governance reviews.
- ▌ Dlm Lifecycle Policy Auditor · jhkchan bundleAudits AWS Data Lifecycle Manager (DLM) EBS snapshot lifecycle policies for coverage gaps and silent-failure modes: disabled policies, empty tag/resource targets, invalid Cron schedules, weak or missing retention rules, absent cross-region copy (DR gap), CopyTags metadata loss, per-volume snapshot quota risk, and the DLM service-role breakage that silently halts backups. Emits a deterministic verdict (NO_POLICY | MISCONFIGURED | CONFIG_GAP | OK) per policy or workload with enumerated findings and specific CLI remediation. Use when reviewing DLM EBS snapshot policies, checking backup coverage, validating retention/DR posture, or diagnosing why snapshots stopped appearing.
- ▌ Dms Replication Task Auditor · jhkchan bundleAudits AWS DMS replication tasks for SSL/TLS gaps on source and target endpoints, missing CDC and task logging, replication instance exposure (public accessibility, single-AZ, missing KMS), endpoint encryption configuration, and task settings integrity (validation, recovery checkpointing, deletion protection). Emits a deterministic verdict (NO_TLS | NO_LOGGING | CONFIG_GAP | OK) per task with enumerated findings and specific CLI remediation. Use when reviewing DMS replication tasks, checking migration endpoint SSL/TLS, validating CDC logging posture, auditing replication instance configuration, or hardening database migration security before production cutover.
- ▌ Ec2 Launch Template Deployer · jhkchan bundleProvisions EC2 Launch Templates with production defaults: AMI and architecture validation (x86_64 / arm64 Graviton), instance type, key pair, security groups, IAM instance profile, user data (base64), block device mapping (EBS gp3 volume type/size/IOPS, instance store), network interfaces (subnet, public IP, primary IPv6), IMDSv2 (HttpTokens=required, hop limit), tag specs (instance, volume, ENI), capacity-reservation targeting (CapacityReservationSpecification: open|targeted|none), CPU options, license specs. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating or versioning a launch template, requiring IMDSv2, targeting Graviton types, configuring block devices, or binding a Capacity Reservation. Triggers: create launch template, EC2 launch template version, IMDSv2 required, Graviton launch template, block device mapping, capacity reservation targeting.
- ▌ Ecr Push Pull Troubleshooter · jhkchan bundleDiagnoses Amazon ECR push and pull failures through a fourteen-category diagnostic tree: authentication (docker login token expiry, IAM ecr:GetAuthorizationToken), repository policy vs IAM policy precedence, lifecycle policy prematurely deleting images, image size limit (10 GB), cross-region replication lag, KMS encryption key access denied, registry alias confusion (public vs private), scan-on-push findings blocking deployment, image tag immutability conflicts, docker manifest errors, pull-through cache misconfiguration, Fargate/ECS platform version vs image architecture mismatch (arm64 vs x86_64), layer download failures, and throttling. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Eks Nodegroup Troubleshooter · jhkchan bundleDiagnoses Amazon EKS managed node group issues through a node-state- driven diagnostic tree: nodes stuck NotReady (kubelet errors, container runtime crash, AMI version mismatch), taints blocking pod placement, ASG launch failures (InsufficientInstanceCapacity, launch template misconfig), VPC CNI IP exhaustion (warm ENI pool, prefix delegation, subnet CIDR too small), node group scaling failures, pod scheduling failures (insufficient CPU/memory), kubelet pressure (DiskPressure, MemoryPressure, PIDPressure), container runtime issues (containerd vs dockerd), node IAM role missing permissions (ECR pull, SSM, CloudWatch), security group misconfiguration, ECR image pull from worker nodes, and custom AMI bootstrap script errors. Combines AWS API (describe-nodegroup, describe-auto-scaling-groups) with kubectl (get nodes, describe node, get pods) to a verified root cause. Emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Elasticache Cluster Deployer · jhkchan bundleProvisions Amazon ElastiCache clusters with production defaults: Redis OSS self-designed clusters vs cluster mode enabled (shards and replicas), Memcached clusters, replication groups (primary + read replicas), multi-AZ with automatic failover, node type sizing, subnet group creation, security groups, parameter groups, at-rest encryption (KMS), in-transit encryption (TLS), Redis AUTH tokens, Redis shard/slot mapping, backup and snapshot management (automated + manual), Global Datastore (cross-region replication), auto-scaling, and online cluster resizing (scale up/down with use-online-resharding). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an ElastiCache cluster, setting up Redis replication groups, enabling multi-AZ. Triggers: create elasticache cluster, redis replication group, cluster mode enabled, elasticache multi-az failover, elasticache encryption kms tls, redis auth token, elasticache global datastore, online resharding, elasticache auto scaling, memcached...
- ▌ Grafana Data Source Deployer · jhkchan bundleProvisions Amazon Managed Grafana workspaces with production defaults: workspace creation, SAML/SSO authentication, data source configuration (CloudWatch, Prometheus/AMP, Athena, Timestream, OpenSearch, X-Ray), IAM role for data source access (workspace role with per-service read permissions), workspace API key, dashboard provisioning (import/export JSON), user/group management, workspace endpoint, plugin management, organization units, notification channels, version control integration, and Grafana Enterprise features. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Grafana workspace, configuring data sources, setting up SAML SSO, provisioning dashboards, or managing workspace permissions. Triggers: create grafana workspace, grafana data source cloudwatch, grafana prometheus data source, grafana athena data source, grafana saml sso, grafana workspace api key, grafana dashboard provisioning, grafana iam role.
- ▌ Inspector2 Coverage Operator · jhkchan bundleOperates Amazon Inspector v2 coverage across an AWS Organization or single account — enables / disables Inspector per account and region, manages EC2 coverage (SSM agent, deep inspection), ECR coverage (image scanning, rescan on push), Lambda coverage (code scanning, dependencies), surfaces coverage gaps (uncovered resources, SSM-missing instances, disabled regions), configures delegated admin for org-wide coverage, and operates the latest capabilities (Lambda code vulnerability scanning, SBOM export, EC2 deep inspection, ECR enhanced scan). Runs deterministic pre-checks (delegated admin, members, region activation, SSM online, ECR config, Lambda eligibility), emits the exact inspector2:Enable / Disable / UpdateOrganizationConfiguration CLI behind a CONFIRM gate, and verifies coverage post-apply. Emits a verdict (READY | BLOCKED | COMPLETED). Use when enabling Inspector, diagnosing coverage gaps, configuring delegated admin, exporting SBOMs, or rolling out Lambda code scanning.
- ▌ Kafka Connect Troubleshooter · jhkchan bundleDiagnoses Kafka Connect and Amazon MSK Connect issues through a nine-category diagnostic tree — task FAILED status (task exceptions), worker rebalance storms (consumer group coordinator churn), source connector lag (LagMax, offset not advancing), sink connector errors (DLQ config, retry exhaustion), schema registry connectivity (Avro/JSON/Protobuf, Confluent, Glue Schema Registry), IAM auth for MSK (kafka-cluster principal), plugin or connector class not found (custom plugin, Debezium), config errors (wrong topics, bootstrap servers, converter mismatch), and Single Message Transforms (SMT chain, Cast, ExtractTopic). Reads describe-connector or REST API status, CloudWatch logs (/aws/kafkaconnect/), and MSK describe-cluster for bootstrap and IAM validation. Emits ROOT_CAUSE_FOUND with the failing probe, NEED_MORE_INFO when a probe requires operator input, or ESCALATE for AWS-side incidents. Use when a connector shows FAILED, task FAILED, source lag grows, sink DLQ fills, or a plugin will not start.
- ▌ Kafka Msk Lag Troubleshooter · jhkchan bundleDiagnoses Amazon MSK consumer lag through a ten-category diagnostic tree: consumer-group lag (RecordsLagMax) vs consumer processing rate, partition skew / hot-key imbalance, broker CPU/disk/network saturation, under-replicated partitions and ISR shrink/expansion, ZooKeeper session expiry, consumer fetch.min.bytes / fetch.max.wait.ms micro-batch tuning, producer acks / batch.size / compression.type throughput, topic partition count vs consumer parallelism, MSK Connect source/sink connector lag, MSK Serverless vs Provisioned partition throughput throttling (ConsumedReadThroughput, BytesPerSec), and rebalance storms from missing static membership. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Lambda Function Url Deployer · jhkchan bundleProvisions AWS Lambda Function URLs with production defaults: auth mode (AWS_IAM vs NONE), CORS configuration (allowOrigins, allowMethods, allowHeaders, exposeHeaders, maxAgeSeconds), invoke mode (BUFFERED vs RESPONSE_STREAM), 15-second timeout limit for function URL invocations, dual-stack IPv4/IPv6 endpoints, $LATEST alias constraint (cannot attach to a custom alias without UpdateFunctionUrl), CloudWatch metrics (UrlRequests, Url4xx, Url5xx, UrlLatency), cold start impact on first-byte latency, custom domain via CloudFront + Lambda URL, and pricing parity with standard Lambda invocations. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Lambda function URL, configuring CORS on a function URL, enabling response streaming, setting up IAM-authenticated function. Triggers: create lambda function url, configure cors on function url, enable response streaming lambda, lambda function url iam auth, lambda url cloudfront custom domain, lambda function url buffered vs...
- ▌ Lightsail Container Deployer · jhkchan bundleProvisions Amazon Lightsail Container Services with production defaults: container service creation (power scale nano/micro/small/ medium/large/xlarge), deployment (container image from ECR or public registry), public endpoint (HTTPS domain, health check path), ECR private registry auth (access key and secret), environment variables, secrets via Lightsail container parameters, scale (number of nodes), container port mapping, managed TLS certificate, custom domain via DNS CNAME, CloudWatch Logs integration, and cost predictability (all-inclusive pricing). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Lightsail container service, deploying a container, configuring ECR private auth, setting up a public endpoint, or managing scale. Triggers: create lightsail container, deploy container service, lightsail power scale, lightsail ECR auth, container public endpoint, lightsail environment variables, lightsail secrets, lightsail custom domain, lightsail managed TLS.
- ▌ Opensearch Alerting Deployer · jhkchan bundleProvisions Amazon OpenSearch Service alerting configurations with production defaults: monitor creation (query monitor vs cluster metrics monitor vs per-document monitor), trigger conditions (threshold, anomaly detection with Random Cut Forest), actions (Slack webhook, Amazon SNS, custom webhook, Amazon Chime), destination configuration and validation, notification message templating (Mustache), alert history, acknowledge alert workflow, per-query monitor scheduling (cron vs interval), per-cluster metrics monitor (CPU, JVM heap, disk usage), per-document monitor for extracted query results, alerting. Triggers: create OpenSearch monitor, OpenSearch alerting trigger, OpenSearch anomaly detection alert, OpenSearch alert destination, OpenSearch SNS notification, OpenSearch Slack webhook alert, OpenSearch per-query monitor, OpenSearch cluster metrics monitor, OpenSearch per-document monitor, OpenSearch alert severity, OpenSearch acknowledge alert, OpenSearch alerting dashboard, OpenSearch monitor cron schedule.
- ▌ Rds Parameter Group Deployer · jhkchan bundleProvisions RDS DB parameter groups with correct production defaults: family selection (postgres15, mysql8.0, aurora-postgresql15), static vs dynamic parameters (static requires DB instance reboot), ApplyMethod (immediate vs pending-reboot), PostgreSQL tuning (max_connections, shared_buffers, work_mem, wal_buffers, checkpoint_completion_target), MySQL tuning (innodb_buffer_pool_size, max_connections, slow_query_log), Aurora-specific parameters, Aurora Serverless v2 capacity parameters, and parameter group association with DB instances and clusters. Emits a READY_TO_DEPLOY checklist. Use when creating a DB parameter group, tuning PostgreSQL/MySQL parameters, configuring Aurora Serverless v2, or associating a parameter group with a DB instance. Triggers: create RDS parameter group, DB parameter group family, postgres parameter group, mysql parameter group, Aurora parameter group, static vs dynamic parameters, shared_buffers, innodb_buffer_pool_size, max_connections, ApplyMethod, pending-reboot.
- ▌ Redshift Serverless Deployer · jhkchan bundleDeploys Amazon Redshift Serverless with production-grade configuration: namespace creation (DB name, admin credentials, KMS encryption, IAM roles, VPC security groups), workgroup creation (base capacity RPU, subnet group, public access, enhanced VPC routing), usage limits (daily/monthly RPU caps, cost controls), Data API for query execution without persistent connections, query editor v2, scheduled and cross-Region snapshots for DR, and latest features (cross-Region snapshot copy, cost controls with usage thresholds, Secrets Manager integration, zero-ETL). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when creating a Redshift Serverless namespace or workgroup, validating a configuration, or generating deployment CLI and IaC templates. Triggers: Redshift Serverless, serverless data warehouse, RPU capacity, namespace, workgroup, Data API, cross-Region snapshots, usage limits, cost controls, query editor v2.
- ▌ Rolesanywhere Trust Deployer · jhkchan bundleProvisions IAM Roles Anywhere trust infrastructure with production defaults: trust anchor creation (binding an external certificate authority to AWS IAM), profile creation (mapping external certificates to IAM roles via role ARNs and role-passthrough), session policy attachment, credential helper configuration (AWS signing helper for certificate-based authentication), external CA (PKI) integration, role assumption workflow (exchange X.509 certificate for STS temporary credentials), session duration, managed-policy vs inline-policy selection, temporary credentials (access key / secret / session token), CloudTrail audit (AssumeRoot events), and revocation configuration (CRL/OCSP). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Roles Anywhere trust. Triggers: create roles anywhere trust anchor, iam roles anywhere profile, credential helper, certificate based authentication aws, external ca aws, exchange cert for sts, roles anywhere session policy, roles anywhere revocation.
- ▌ S3 Batch Operations Operator · jhkchan bundleOperates S3 Batch Operations at scale — job creation across operation types (copy, replace tag, restore from Glacier, replicate, invoke Lambda, put ACL, put object lock retention, put legal hold), manifest formats (S3 inventory report or CSV), completion reports, job priority and rate control (RequestsPerSecond), IAM permissions (batchoperations:* plus operation-specific grants), Lambda invoke for custom per-object processing, bulk storage class transition, bulk ACL fix, bulk replication backfill, bulk decrypt + re-encrypt with new KMS key, S3 Tables Batch Operations, and large-job handling for billion-object manifests. Runs deterministic pre-checks (manifest readability, report bucket writability, IAM chain, KMS decrypt/encrypt, Lambda invoke, rate-control) behind a CONFIRM gate and emits READY, BLOCKED, or COMPLETED per job. Use when running bulk object transformations, restoring Glacier archives at scale, backfilling replication, rotating KMS keys, or invoking a custom Lambda across billions of objects.
- ▌ S3 Directory Bucket Deployer · jhkchan bundleProvisions S3 Express One Zone directory buckets and S3 Tables table buckets with production defaults: directory bucket name format (base-name--az-id--x-s3), Availability Zone ID targeting, zone affinity for co-located compute (EC2/ECS/EKS in the same AZ for single-digit- millisecond latency), S3 Express One Zone pricing characteristics (lowest latency, highest requests/sec), table buckets for Apache Iceberg via S3 Tables, and the hard limitations (no cross-region replication, no versioning, no Object Lock, no Transfer Acceleration). Emits READY_TO_DEPLOY / PREREQUISITES_MISSING with every item verified and copy-pasteable s3api / s3tables / ec2 commands. Use when deploying S3 Express One Zone for latency-sensitive or high-throughput workloads. Triggers: S3 directory bucket, S3 Express One Zone, AZ ID bucket, table bucket, S3 Tables, zone-affinity compute, Iceberg on S3, directory bucket name format.
- ▌ Service Quotas Usage Auditor · jhkchan bundleAudits AWS Service Quotas — quota utilization per service, approaching limits (>=80%), CloudWatch alarm coverage on AWS/Usage metrics, applied vs default quota drift, adjustable quotas stuck at default with rising usage, denied or stale quota increase requests, and non-trackable quotas lacking a UsageMetric. Emits a deterministic verdict (APPROACHING_LIMIT | NO_ALARM | CONFIG_GAP | OK) per quota with enumerated findings and CLI remediation. Use when reviewing quota utilization, checking for approaching service limits, auditing quota increase request history, or validating CloudWatch alarm coverage.
- ▌ Ssm Managed Instance Auditor · jhkchan bundleAudits AWS Systems Manager (SSM) managed instances across six dimensions — instance coverage (SSM Agent reachable + IAM profile attached), association compliance, patch baseline adherence, Session Manager vs SSH exposure, inventory collection, and Run Command posture — then emits a deterministic verdict (UNMANAGED | NONCOMPLIANT | NO_SESSION_MANAGER | CONFIG_GAP | OK) per instance with enumerated findings and CLI remediation. Use when reviewing SSM fleet health, checking why an instance is "ConnectionLost" or "Inactive", validating patch compliance, verifying Session Manager coverage (versus open SSH), confirming inventory collection, or hardening operational posture before a compliance gate.
- ▌ Timestream Database Deployer · jhkchan bundleProvisions Amazon Timestream databases and tables with production defaults: database creation (create-database), table creation (create-table) with retention properties (memory store TTL vs magnetic store TTL), magnetic store write properties (enable writes with S3 destination), partition key enforcement, scheduled query creation (notification config, target SNS/SQS, error reporting), CloudWatch metrics (CUMULATIVE metering vs interval), query API (raw vs scheduled), magnetic store S3 bucket integration, tagging, IAM policies for Timestream (database/table/scheduled query resource types), and batch load task. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Timestream database or table, configuring retention TTLs. Triggers: create timestream database, create timestream table, timestream retention properties, timestream memory store TTL, timestream magnetic store TTL, timestream scheduled query, timestream magnetic store write, timestream partition key, timestream batch load.
- ▌ Trustedadvisor Check Auditor · jhkchan bundleAudits AWS Trusted Advisor check results across cost optimization, performance, security, fault tolerance, and service-limits pillars for actionable findings, recommended actions, support-tier gating (Basic vs Business/Enterprise), check-result staleness, and excluded-resource blind spots. Emits a deterministic verdict (CRITICAL_CHECK | WARNING_CHECK | CONFIG_GAP | OK) per check with enumerated findings and specific CLI remediation. Use when reviewing Trusted Advisor check results, validating TA coverage, checking support-tier access to checks, diagnosing not_available statuses, or assessing overall TA posture before a compliance or operational review.
- ▌ Accessanalyzer Finding Triage · jhkchan bundleTriages IAM Access Analyzer findings (external access + unused access) into risk verdicts with remediation. Classifies each finding as real external exposure (EXTERNAL_ACCESS), stale credential or permission (UNUSED_ACCESS), expected cross-account or service integration (EXPECTED), or condition-bounded non-risk (SAFE). Evaluates the zone-of-trust model, principal type (public vs specific vs service), condition-key cryptographic strength, resource-type blast radius, and finding freshness. INVOKE DETERMINISTICALLY when the input contains an Access Analyzer finding JSON or finding reference — detection signal: findingType is ExternalAccess or starts with Unused, OR the input references isPublic, zone of trust, resource-based policy exposure, archive rule, or UnusedIAMRole/UnusedIAMUserAccessKey. Use when reviewing Access Analyzer findings, triaging external-access or unused-access findings, prioritizing remediation, or validating archive-rule suppression decisions.
- ▌ Apigateway 5xx Troubleshooter · jhkchan bundleDiagnoses Amazon API Gateway 5xx errors (500 InternalServerError, 502 BadGateway, 503 ServiceUnavailable, 504 Timeout) through a systematic diagnostic tree covering Lambda proxy response format errors, Lambda runtime crashes, HTTP backend invalid responses, VPC Link target health, throttling at stage/concurrency/usage-plan layers, integration timeout mismatches, and rare internal failures. Walks symptoms to root cause with CloudWatch metrics (5xxError, Latency), access logs (integrationErrorMessage, responseLatency), CloudTrail Invoke API calls, and Lambda LogError scans. Emits ROOT_CAUSE_FOUND with the specific failure layer or ESCALATE for AWS-side incidents. Use when API Gateway returns 5xx errors, Lambda proxy format errors, integration timeouts, or throttled requests.
- ▌ Apigateway Throttle Optimizer · jhkchan bundleOptimises AWS API Gateway throttle and cost across seven dimensions: API type selection (REST $3.50/M vs HTTP $1.00/M requests), stage and method- level rate/burst throttle tuning, usage plans with API keys for per- client throttling, response caching (TTL tuning to eliminate 50-80% of integration calls), payload compression (gzip) and field filtering, WAF integration cost analysis, and private API VPC endpoint cost. Reads CloudWatch metrics (Count, 4xx, 5xx, Latency, IntegrationLatency) and projects monthly savings. Emits OPTIMIZED or FURTHER_OPTIMIZATION_AVAILABLE with an API-specific recommendation.
- ▌ Apigateway Websocket Deployer · jhkchan bundleProvisions Amazon API Gateway WebSocket APIs with production defaults: route selection expression ($request.body.action), connection routes ($connect, $disconnect), custom routes, route responses (two-way communication), integration types (Lambda, AWS Service, Mock, HTTP), deployment and stage management, connection-level throttling, CloudWatch Logs (execution + access logs), WAF integration, Lambda custom authorizers, backend connection management (DynamoDB ConnectionId table), ping/pong keepalive, cross-account backend invocation, and 128 KB message size limit. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a WebSocket API, configuring route selection, managing WebSocket connections, setting up Lambda authorizers for WebSocket, deploying a. Triggers: create websocket api, configure route selection expression, websocket connection management, lambda authorizer websocket, websocket deployment stage, bidirectional communication api gateway, websocket ping pong keepalive.
- ▌ Appconfig Deployment Operator · jhkchan bundleOperates AWS AppConfig deployment lifecycles safely — creates applications, environments, and configuration profiles (freeform and feature-flag); defines deployment strategies (linear or all-at-once, growth factor, deployment duration, bake time); starts, monitors, and completes deployments; rolls back on CloudWatch alarm; and integrates AppConfig Lambda extensions for runtime feature flags and dynamic configuration. Runs deterministic pre-checks (application / environment existence, profile schema validity, strategy sanity, alarm health, IAM), emits the exact start-deployment / stop-deployment / rollback CLI behind a CONFIRM gate, and verifies state transitions. Emits READY | BLOCKED | COMPLETED. Use when launching a staged AppConfig deployment, wiring rollback alarms, switching strategies, adopting AppConfig Lambda extensions for live feature flags, integrating AppConfig with CodeDeploy, or diagnosing a deployment stuck in DEPLOYING / ROLLING_BACK / TERMINATED.
- ▌ Certificate Renewal Automator · jhkchan bundleDesigns and implements ACM certificate renewal automation pipelines. Detects expiring certificates via CloudWatch alarms on DaysToExpiry, wires EventBridge scheduled rules for daily cert scans, deploys Lambda functions that request new certificates, validate DNS via Route 53 CNAME records, update ALB/NLB listeners, rotate API Gateway custom domain certificates, and update CloudFront distributions. Covers private CA (ACM PCA) lifecycle, cross-account cert sharing via IAM, SNI verification, wildcard vs SAN renewal, exported-private-key manual renewal, and CloudTrail audit. Emits AUTOMATION_DEPLOYED with a full IaC template or REVIEW_REQUIRED with the specific gap.
- ▌ Clb To Alb Migration Operator · jhkchan bundleOperates Classic Load Balancer (CLB) to Application Load Balancer (ALB) migrations end-to-end — pre-migration feature assessment (proxy protocol vs X-Forwarded-For, sticky sessions, SSL termination, connection draining vs deregistration delay), ALB target group creation mapping each CLB backend port/protocol, listener migration with path/host-based routing, deregistration delay tuning, SSL/TLS certificate migration (ACM or IAM), DNS cutover (Route 53 weighted canary vs direct swap), rollback strategy, and latest-feature coverage (ALB with Lambda targets, ALB with OIDC via Cognito, ALB WAF). Runs deterministic pre-checks (CLB scheme matches ALB, subnet count >= 2, no TCP passthrough listener, SSL cert resolvable, health check path reachable) behind a CONFIRM gate and emits READY, BLOCKED, or COMPLETED per migration. Use when planning a CLB-to-ALB migration, validating feature parity, cutting over traffic, or rolling back.
- ▌ Cloudfront 502 Troubleshooter · jhkchan bundleDiagnoses CloudFront 502 and 504 errors via a fourteen-layer decision tree covering origin connection timeouts to ALB/NLB/S3 custom origins, SSL/TLS protocol and cipher mismatch between CloudFront and the origin, origin response too large, custom origin header validation failure, Lambda@Edge function runtime errors, S3 origin access control (OAC) misconfiguration, multi-origin failover, geographic restriction blocking, field-level encryption errors, response timeout (504), origin shield routing, distribution deployment state, and cached error responses where a Custom Error Response with high TTL hides a transient origin failure. Walks x-edge-result-type and x-cache headers, origin probe results, and distribution config to a verified root cause. Emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA with the specific failure layer and the probe output that confirms it.
- ▌ Cloudtrail Gap Troubleshooter · jhkchan bundleDiagnoses AWS CloudTrail logging gaps and missing events. Covers events missing because data events (S3/Lambda/DynamoDB) were never configured, multi-region scope mismatches, trails that report IsLogging true but never deliver (S3 bucket policy missing bucket-owner-full-control, KMS key policy missing the cloudtrail principal, explicit deny), silently stopped trails (inadvertent stop-logging, IaC that omitted start-logging), delayed delivery beyond the 5-15 minute window, CloudTrail Insights not firing (selectors missing, baseline not elapsed), and org trails that miss specific member accounts (member shadow trail stopped, delegated-admin confusion, member left org). Emits a deterministic verdict (ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE) with evidence from describe-trails, get-trail-status, get-event-selectors, lookup-events, list-insights-selectors, and get-bucket-policy. Use when a trail is silent, events are missing, Insights is not firing, or a member account is not being logged by the org trail.
- ▌ Cloudwatch Dashboard Deployer · jhkchan bundleProvisions CloudWatch dashboards with widget layouts, metric selections, and sharing models. Covers dashboard JSON (widgets, layout), metric widgets (namespace/metric/dimensions/statistics), log insights widgets (query syntax), alarm widgets, text widgets, metric math expressions, custom metrics (CloudWatch agent, PutMetricData, EMF), cross-account shared dashboards, snapshot sharing, dashboard variables ($INSTANCE_ID), SLO/operational/ executive dashboards, Metric Explorer, and Application Signals auto-discovery. Runs pre-checks (namespace availability, metric publishing, IAM, cross-account role), emits put-dashboard CLI behind a CONFIRM gate, and verifies widget rendering. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when creating operational, SLO, executive, cross-account, log insights, or metric math dashboards.
- ▌ Codecommit Repository Auditor · jhkchan bundleAudits AWS CodeCommit repositories for approval-rule-template coverage, customer-managed KMS encryption, default-branch deletion protection (IAM enforced, not native), notification-rule alerting, and the CodeCommit service-wide deprecation/maintenance mode risk. Emits a deterministic verdict (NO_APPROVAL_RULE | NO_ENCRYPTION | CONFIG_GAP | DEPRECATION_RISK | OK) per repository with enumerated findings and specific CLI remediation. Use when reviewing CodeCommit repositories, checking pull request review enforcement, validating encryption-key control, auditing branch protection, or assessing migration urgency due to service deprecation.
- ▌ Codepipeline Pipeline Auditor · jhkchan bundleAudits AWS CodePipeline pipelines for artifact-store encryption (KMS CMK presence), cross-account or over-permissive action roles, disabled stage transitions, source-action credential posture (GitHub v1 OAuth vs CodeStar Connection), and manual-approval gate coverage. Emits a deterministic verdict (NO_ENCRYPTION | OVERPERMISSIVE_ROLE | DISABLED_STAGE | CONFIG_GAP | OK) per pipeline with enumerated findings and CLI remediation. Use when reviewing pipeline definitions, checking for unencrypted artifact buckets, validating cross-account deployment roles, detecting disabled stages, auditing source credential strength, or verifying production approval gates.
- ▌ Cognito Idp User Pool Auditor · jhkchan bundleAudits Amazon Cognito user pools for security posture — MFA enforcement, password policy strength, app-client auth-flow safety (SRP vs password vs admin), OAuth flow exposure (implicit vs code+PKCE), token validity, PreventUserExistenceErrors, Advanced Security Features mode, account recovery, and deletion protection — then provides specific remediation. Use when reviewing a Cognito user pool configuration, auditing app-client auth flows, checking MFA enforcement, validating OAuth settings, or hardening an identity provider before production. Triggers: Cognito, user pool, identity provider, IdP, MFA, MfaConfiguration, password policy, app client, ExplicitAuthFlows, USER_SRP_AUTH, USER_PASSWORD_AUTH, ADMIN_NO_SRP_AUTH, ALLOW_ADMIN_USER_PASSWORD_AUTH, OAuth, implicit flow, code flow, PKCE, PreventUserExistenceErrors, AdvancedSecurityMode, token revocation, RefreshTokenValidity, account takeover, user enumeration, hosted UI, Cognito domain, cognito-idp.
- ▌ Cur Cost Usage Report Auditor · jhkchan bundleAudits AWS Cost and Usage Report (CUR) configurations for coverage gaps, data staleness, report-version drift, missing Athena integration, disabled S3 bucket versioning, and time-horizon limits. Emits a deterministic verdict (NO_CUR | STALE | CONFIG_GAP | OK) per report definition or payer account. Use when reviewing CUR health, checking whether Athena cost queries are wired, validating hourly refresh cadence, or auditing FinOps data pipeline posture before a cost-optimization initiative.
- ▌ Dataexchange Dataset Deployer · jhkchan bundleDeploys AWS Data Exchange data sets with production defaults: subscription creation (data product from providers), asset export to S3, revision auto-export (EventBridge triggered on new data revision), data set entitlement (share with specific AWS accounts — entitlement is the sharing mechanism, NOT IAM), job creation (export jobs, import jobs), asset structure (S3 objects, DynamoDB tables, REST API assets), Lake Formation integration for governed data access, auto-export to S3 for BI tool consumption, revision lifecycle (create revision, add assets, finalize, publish), CloudWatch monitoring for job status and data freshness. Emits a READY_TO_DEPLOY checklist with verification commands. Use when subscribing. Triggers: create data exchange subscription, data exchange asset export, data exchange revision auto-export, data exchange entitlement, data exchange export job, data exchange import job, data exchange lake formation, data exchange API asset, data exchange revision lifecycle, data exchange S3...
- ▌ Dynamodb Autoscaling Deployer · jhkchan bundleProvisions DynamoDB auto-scaling with production defaults: target tracking for table (read/write capacity), target tracking for GSI (read/write capacity), auto-scaling role (application-autoscaling service-linked role), on-demand vs provisioned with auto-scaling decision, throttle metrics, scaling policy configuration (target utilization, scale-in cooldown, scale-out cooldown), CloudWatch alarms for throttling, latest DynamoDB on-demand vs provisioned capacity mode auto-switching. Emits a READY_TO_DEPLOY checklist with verification commands. Use when configuring DynamoDB auto- scaling for a table or GSI, setting up target tracking policies, choosing between on-demand and provisioned with auto-scaling, or monitoring throttle metrics. Triggers: dynamodb autoscaling, dynamodb target tracking, dynamodb capacity auto-scaling, gsi autoscaling, provisioned capacity autoscaling, dynamodb throttling, application autoscaling dynamodb, dynamodb on-demand vs provisioned.
- ▌ Dynamodb Throttling Optimizer · jhkchan bundleOptimises DynamoDB throttling prevention across eight dimensions: partition key design (hot partition detection via CloudWatch ThrottledRequests), burst capacity utilization (300-second burst bucket understanding), adaptive capacity (automatic redistribution, not a design substitute), GSI partition key distribution (hot GSI backpressure), write capacity mode (provisioned vs on-demand for bursty writes), batch write API (BatchWriteItem for 16x throughput), exponential backoff with jitter (ProvisionedThroughputExceededException handling), and write sharding (random suffix for high-cardinality hot keys). Covers conditional writes for idempotency, TTL for data lifecycle, partition splitting, and throttling root cause analysis via CloudTrail.
- ▌ Greengrass Component Deployer · jhkchan bundleDeploys AWS IoT Greengrass v2 components with production defaults: component recipe YAML (lifecycle hooks: install, startup, shutdown), component versioning (semantic versioning, bump on recipe change), artifact storage (S3 bucket + presigned URLs), component dependencies (HARD vs SOFT dependency types), deployment to thing group (not individual devices), configuration merge (runtime parameters for per-device customization), IoT role alias for Secrets Manager access, Lambda functions as components (aws.lambda component dependency), Docker containers as components (aws.greengrass.DockerApplicationManager + aws.docker.Login), local volume mounts (docker volume / bind mount), cloud-based deployment vs local. Triggers: create greengrass component, deploy greengrass component, greengrass recipe yaml, greengrass deployment thing group, greengrass configuration merge, greengrass lambda component, greengrass docker component, greengrass secret manager, greengrass core device setup, greengrass component version.
- ▌ Iam Permission Troubleshooter · jhkchan bundleDiagnoses AWS IAM AccessDenied, ExplicitDeny, Client.UnauthorizedOperation, and NotAuthorized sts:AssumeRole errors via a systematic policy-evaluation decision tree — Organisation SCP, resource-based, identity-based, permissions boundary, and session policy layers — and pinpoints the specific policy statement that denied the request. Emits a deterministic verdict (ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE) with the failing evaluation path and the exact policy edit. Use when an AWS API call returns AccessDenied, when sts:AssumeRole fails, when a Lambda/EC2/ECS task cannot reach a cross-account resource, when a new SCP or permissions boundary silently breaks a workload, or when iam simulate-principal-policy returns an unexpected implicit deny.
- ▌ Lambda Timeout Troubleshooter · jhkchan bundleDiagnoses AWS Lambda TaskTimeoutException through a focused timeout decision tree: configured timeout vs observed Duration, init-phase (cold-start) timeout vs invoke-phase timeout, SDK retry storms with exponential backoff multiplier, HTTP client missing connect timeouts, database connection overhead without RDS Proxy, VPC ENI attachment delay (hyperplane-eliminated cold start), EFS mount latency, Step Functions task timeout vs Lambda Timeout mismatch, API Gateway 504 vs async Lambda 202, provisioned concurrency init-phase timeout, OOM-before-timeout masking, child-process fork overhead, and p99/p99.9 Duration analysis with X-Ray trace bottleneck identification. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Macie Data Discovery Operator · jhkchan bundleOperates Amazon Macie data discovery lifecycle — enables Macie (org-level delegated admin), creates classification jobs (one-time vs scheduled, S3 scope), configures managed data identifiers (PII, financial, credentials), creates custom data identifiers (Regex patterns), manages findings (policy:IAMUser/S3, sensitiveData:S3Object), configures suppression rules, enables automated ML-based discovery, integrates with Security Hub, wires Lambda / Step Functions for auto-remediation. Runs deterministic pre-checks (Macie enabled, delegated admin, S3 scope, IAM), emits exact CLI behind a CONFIRM gate, verifies post-apply state. Emits a verdict (READY | BLOCKED | COMPLETED) per operation. Use when enabling Macie, creating classification jobs, writing custom regex identifiers, suppressing findings, forwarding to Security Hub, or building PII auto-remediation. Triggers: enable Macie, delegated admin, classification job, custom data identifier, Macie findings, Security Hub, automated discovery, remediation Lambda.
- ▌ Nat Gateway Traffic Optimizer · jhkchan bundleOptimises NAT Gateway cost through traffic analysis (BytesOutToDestination vs BytesInFromDestination), VPC endpoint elimination of NAT traffic (S3 Gateway Endpoint, DynamoDB Gateway Endpoint, Interface Endpoints for SSM/STS/ECR/SQS), NAT Gateway vs NAT Instance cost comparison, single NAT Gateway consolidation for non-production environments, subnet routing optimization to avoid double-NAT, S3 Gateway Endpoint as a free persistent route, PrivateLink for SaaS API traffic, CloudFront-to-origin via VPC endpoint, cross-AZ data transfer cost analysis, and the $0.045/hr hourly + $0.045/GB per-GB pricing model. Uses VPC Flow Logs and CloudWatch to quantify per-service NAT traffic, compute VPC endpoint break-even thresholds, and project monthly savings. Emits OPTIMIZED when all dimensions pass, or FURTHER_OPTIMIZATION_AVAILABLE when a concrete endpoint-creation, topology-consolidation, or NAT Instance substitution opportunity exists with a dollar savings estimate.
- ▌ Network Firewall Rule Auditor · jhkchan bundleAudits AWS Network Firewall configurations for permissive stateful and stateless rules, missing TLS inspection, firewall-subnet routing gaps that bypass inspection, rule-group evaluation-order shadowing, and logging blind spots. Emits a deterministic verdict (PERMISSIVE_RULE | NO_TLS_INSPECTION | ROUTING_GAP | CONFIG_GAP | OK) per firewall with enumerated findings and specific CLI remediation. Use when reviewing Network Firewall policies, checking for wildcard pass rules, validating TLS inspection coverage, auditing firewall route tables, or verifying rule-group evaluation order before production deployment.
- ▌ Opensearch Migration Operator · jhkchan bundleOperates Elasticsearch to OpenSearch migration workflows safely — version compatibility assessment (ES 5.x/6.x/7.x to OpenSearch 1.x/2.x), index migration via snapshot/restore to S3 repository and reindex-from-remote, plugin compatibility (remove ES-only plugins before migration), client compatibility (OpenSearch client vs ES client, compatibility mode), _search API compatibility mode, cluster migration path (in-place upgrade vs new cluster + reindex), snapshot repository setup (S3 repository plugin), downtime planning (blue/green strategy), and OpenSearch 2.x features (neural search, vector DB, flow frameworks). Runs deterministic pre-checks (version compatibility, plugin inventory, snapshot repository health, index mapping compatibility), executes behind a CONFIRM gate, and emits READY, BLOCKED, or COMPLETED per operation with the exact CLI and API sequence. Use for ES-to-OpenSearch migration planning, snapshot repository setup, index reindex, or post-migration verification.
- ▌ Organizations Policy Deployer · jhkchan bundleDeploys AWS Organizations policy artifacts with production defaults: Service Control Policy (SCP) creation (JSON policy via create-policy), attachment to root/OU/account (attach-policy), SCP inheritance (intersection of parent and child SCPs along the OU tree), SCP effect (Allow list strategy requiring FullAWSAccess + Deny list strategy), the FullAWSAccess managed policy (required on every entity by default), SCP evaluation (explicit Deny wins; intersection applies at every level), tag policy integration, backup policy integration, AI services opt-out policy, multi-OU deployment, policy simulation (simulate-custom-policy), SCP exceptions (break-glass accounts), CloudTrail logging for SCP-denied actions, and Organizations delegated administrator. Emits a READY_TO_DEPLOY checklist with verification. Triggers: create scp, attach scp, organizations policy, scp inheritance, allow list scp, deny list scp, fullawsaccess managed policy, scp simulation, break-glass account, organizations delegated administrator.
- ▌ Personalize Campaign Deployer · jhkchan bundleDeploys Amazon Personalize recommendation pipelines with production defaults: dataset group creation (CUSTOM or DOMAIN), dataset types (Interactions, Users, Items), Avro-like JSON schema, bulk import from S3 and incremental events via PutEvents, solution creation with recipe selection (User-Personalization, SIMS, Popularity- Counting), solution version training (HPO vs manual), campaign creation with minProvisionedTPS, event tracker for real-time updates, batch inference jobs, recommender creation for DOMAIN groups, filter creation, campaign offline metrics, and AutoTraining. Emits a READY_TO_DEPLOY checklist with verification commands. Use when building a recommendation system, training a Personalize solution. Triggers: create personalize dataset group, personalize schema, personalize solution, personalize recipe, personalize campaign, personalize minProvisionedTPS, personalize event tracker, personalize put events, personalize batch inference, personalize recommender, personalize filter, personalize HPO.