jhkchan
- 404 skills
- 0 followers
- last week last updated
- ▌ Securityhub Remediation Automator · jhkchan bundleDesigns automated remediation workflows for AWS Security Hub findings using EventBridge rules, SSM Automation runbooks, and Lambda remediation functions. Routes findings by severity (Critical/High auto-remediate, Medium/Low notify-only), maps finding types to runbooks or custom Lambda fixers, manages workflow status updates (NEW to NOTIFIED to RESOLVED via batch-update-findings), configures suppression rules with expiration, deploys Security Hub insights for tracking, enables control standards (FSBP, CIS, PCI DSS), integrates with Systems Manager Incident Manager for critical escalation, and orchestrates multi-account remediation via Organizations delegation. Emits AUTOMATION_DEPLOYED or REVIEW_REQUIRED with the specific gap.
- ▌ Transfer Family Workflow Deployer · jhkchan bundleProvisions AWS Transfer Family servers and managed workflows with production defaults: SFTP/FTPS/FTP protocol, identity provider (service-managed, AWS Directory Service, custom Lambda), endpoint type (PUBLIC, VPC, VPC_ENDPOINT), security groups and subnets, Route 53 hosted zone DNS, user home directory mapping (logical vs physical), S3 access via IAM role and session policy for per-user scoping, AS2 connectors for trading partner exchange, Managed Workflow with Step Functions for file processing, structured JSON logging, server host key, trusted host keys. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Transfer Family SFTP server, configuring custom Lambda authentication, setting up VPC endpoint for private SFTP, or deploying managed workflows. Triggers: create transfer family sftp server, transfer family custom lambda identity, transfer family vpc endpoint, transfer family managed workflow, transfer family as2 connector, sftp user session policy.
- ▌ Apigateway Resource Policy Auditor · jhkchan bundleAudits AWS API Gateway REST/HTTP APIs for unauthenticated public methods (authorizationType NONE), API-key-as-auth misconceptions, cross-account resource policy grants, missing usage plans and rate limiting, and absent WAF Web ACL associations. Emits a deterministic verdict (PUBLIC_NO_AUTH | NO_RATE_LIMIT | CONFIG_GAP | OK) per API with enumerated findings and CLI remediation. Use when reviewing API Gateway security posture, checking for open methods, validating rate-limiting coverage, auditing resource policies for cross-account exposure, or verifying WAF protection before production.
- ▌ Batch Compute Environment Deployer · jhkchan bundleProvisions AWS Batch compute environments, job queues, and job definitions with production defaults: EC2 vs Fargate vs EKS compute environment types, launch template integration, allocation strategy (BEST_FIT, BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED), instance types and role, min/max/desired vCPUs, subnets and security groups, job queue with priority levels, job definition (container image, vCPU/memory, resources, env vars, mount points), job dependencies (sequential, N-ary), array jobs, CloudWatch metrics (CPUPct, MemoryPct, RUNNABLE), spot instance integration, Fargate platform version. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Batch compute environment, setting up a job queue, registering a job definition, configuring spot instances for Batch, or running array jobs with dependencies. Triggers: batch compute environment, job queue, job definition, allocation strategy, spot capacity, batch fargate, array jobs, job dependencies.
- ▌ Bedrock Guardrail Coverage Auditor · jhkchan bundleAudits Amazon Bedrock Guardrails configurations for model coverage gaps, weak or disabled content filters (hate, insult, sexual, violence), missing or low-threshold contextual grounding, absent denied topics and word filters, DRAFT-vs-READY enforcement status, and per-application bypass risk. Emits a deterministic verdict (NO_GUARDRAIL | INCOMPLETE_COVERAGE | WEAK_FILTER | CONFIG_GAP | OK) per guardrail or Bedrock deployment with enumerated findings and specific remediation. Use when reviewing Bedrock Guardrails, checking which models are protected, validating content-filter strength, auditing grounding thresholds, or hardening generative AI safety posture before production deployment.
- ▌ Compute Optimizer Findings Auditor · jhkchan bundleAudits AWS Compute Optimizer findings for EC2, EBS, Lambda, Auto Scaling Group, and ECS resources — classifies overprovisioned (underutilized) waste, underprovisioned (performance-risk) findings, and low-confidence recommendations (inferred memory, high performanceRisk, stale data) into a deterministic verdict with per-finding risk and CLI remediation. Emits UNDERUTILIZED | NOT_OPTIMIZED | OK per resource. Use when reviewing Compute Optimizer recommendations, triaging right-sizing findings, validating finding confidence before acting, or auditing cost-optimization posture.
- ▌ Dynamodb Throttling Troubleshooter · jhkchan bundleDiagnoses DynamoDB ProvisionedThroughputExceededException and throttle events via a symptom-to-cause decision tree covering read throttling, write throttling, GSI hot-key throttling, burst capacity exhaustion, and adaptive capacity lag. Walks CloudWatch consumed vs provisioned capacity units, per-GSI metrics, partition key distribution, scan vs query patterns, and BatchGetItem/BatchWriteItem limits. Emits a deterministic verdict (ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE) with the specific throttle type and evidence from ConsumedReadCapacityUnits, ConsumedWriteCapacityUnits, ThrottledRequests, and ReturnConsumedCapacity. Use when DynamoDB returns throttle errors, CloudWatch shows ThrottledRequests > 0, or an application sees intermittent ProvisionedThroughputExceededException.
- ▌ Lakeformation Permissions Deployer · jhkchan bundleDeploys AWS Lake Formation permissions with production-grade config: LF-tag based access control (tag keys and values, tag-based grants on databases, tables, columns), database and table permissions (DESCRIBE, SELECT, INSERT, DROP, ALTER), column-level security (column grant and deny, data cells filter for row and column filtering), data lake admin registration (IAM principals), resource links (cross-database table references), external data filtering, and latest features (Lake Formation with IAM Identity Center, LF-tags with Amazon DataZone, hybrid access mode, Governed Tables). Emits a READY_TO_DEPLOY checklist. Use when granting Lake Formation permissions, setting up LF-tag based access control, configuring column-level security, registering a data lake admin, or creating resource links. Triggers: Lake Formation, LF-tags, LF-tag based access control, data lake permissions, column-level security, data cells filter, resource links, IAM Identity Center, DataZone, data lake admin.
- ▌ Lambda Runtime Deprecation Auditor · jhkchan bundleAudits AWS Lambda functions for deprecated/EOL runtimes (python3.9, nodejs16.x, etc.), over-permissioned execution roles (admin wildcards, privilege-escalation actions), public function URL exposure (AuthType NONE), and observability config gaps (missing X-Ray tracing, missing DLQ, log retention). Emits a deterministic verdict (DEPRECATED_RUNTIME | OVERPERMISSIVE | PUBLIC_EXPOSURE | CONFIG_GAP | OK) per function with enumerated findings and CLI remediation. Use when reviewing Lambda functions, checking runtime deprecation status, auditing execution-role scope, validating function-URL exposure, or hardening Lambda posture before production deployment.
- ▌ Multi Account Governance Automator · jhkchan bundleDesigns AWS multi-account governance automation spanning Organizations (OU hierarchy, account creation, SCP guardrail/throttle/deny strategies), Control Tower (landing zone, preventive + detective guardrails, Account Factory Factory), delegated administration (audit + log-archive accounts, GuardDuty/Security Hub/Config delegated admin), AWS Config multi-account aggregator, CloudTrail organization trail, Security Hub aggregator, IAM Identity Center (permission sets, SSO across accounts), account vending machine (Control Tower Account Factory or Service Catalog + Lambda baseline-stack), AWS Resource Explorer (cross-account search index), and RAM cross-account resource sharing. Emits AUTOMATED with deployment plan or MANUAL_STEP_REQUIRED with the specific gap (e.g., root email + billing alarm + SCP inheritance order). Use when standing up or hardening a multi-account AWS organization.
- ▌ Opensearch Snapshot Troubleshooter · jhkchan bundleDiagnoses Amazon OpenSearch Service snapshot failures through a thirteen-category diagnostic tree: S3 repository registration errors (PUT _snapshot), repository verification failure, IAM role missing s3:PutObject / s3:ListBucket / s3:GetObject on the snapshot bucket, snapshot stuck or timeout (unassigned shards, cluster red), restore into a different domain (engine-version mismatch — restore requires same version or higher), index alias conflict during restore, snapshot to UltraWarm / Cold storage, S3 bucket lifecycle policy deleting snapshot blobs, cross-region async replication stalls, shard allocation throttling during restore, snapshot manifest corruption, concurrent snapshot limit (one per repository — ConcurrentSnapshotExecutionException), and Cost and Usage Report / audit-log snapshot configuration. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Securityhub Finding Troubleshooter · jhkchan bundleDiagnoses and resolves AWS Security Hub findings through a standard-driven decision tree covering CIS AWS Foundations Benchmark, PCI DSS 3.2.1, AWS Foundational Security Best Practices (FSBP), and NIST 800-53. Walks each finding through its lifecycle (New, Notified, Suppressed, Resolved) and severity (Critical, High, Medium, Low) to the failed control, then to the per-service remediation (S3 BPA, IAM password policy, EC2 IMDSv2, KMS rotation, CloudTrail data events, Config conformance). Identifies findings stuck in Resolved-but-still-failing, NOT_AVAILABLE with StatusReasons, multi-account aggregation gaps, and standards disabled mid-audit. Configures custom actions (EventBridge rule to Lambda) for auto-remediation, manages enabled-standards, and applies Automation Rules and custom controls. Emits ROOT_CAUSE_FOUND with the specific control failure, NEED_MORE_INFO, or ESCALATE. Use when triaging a Security Hub finding, diagnosing a control that will not resolve, or designing a remediation runbook.
- ▌ Service Catalog Portfolio Deployer · jhkchan bundleProvisions AWS Service Catalog portfolios and products with production-safe defaults: portfolio creation (DisplayName, ProviderName, description), product creation from CloudFormation templates (CLOUDFORMATION_TEMPLATE, semantic versions, provisioning artifacts), constraints (LAUNCH stack/template-based roles, STACK_UPDATE, TAG_UPDATE, NOTIFICATION), launch paths (local + shared via Organizations), portfolio sharing (org, account, OU), TagOptions (key-value pairs applied to launched products), and latest primitives (Terraform Open Source, Service App Registry, Terraform Cloud). Emits READY_TO_DEPLOY / PREREQUISITES_MISSING with verified portfolios, products, constraints, and copy-pasteable servicecatalog + iam + sns commands. Use when provisioning Service Catalog for self-service launchpad, governance-gated distribution, or cross-account template distribution. Triggers: Service Catalog, portfolio, product, launch constraint, TagOptions, organizational sharing, self-service launchpad.
- ▌ Ssm Session Manager Troubleshooter · jhkchan bundleDiagnoses AWS Systems Manager (SSM) Session Manager failures via a systematic 7-symptom decision tree: target instance not reachable (SSM agent not running, not managed, wrong region), session fails to start (IAM role missing ssm:StartSession, session-manager console permission not attached), port forwarding fails (local port in use, SSH config conflict), shell access fails (SSM agent version too old, shell not configured), VPC connectivity issues (SSM endpoints not configured for private instances), session disconnects (network timeout, idle disconnect), and latest features (Session Manager with key pairs, cross-account sessions). Maps each symptom to root cause via diagnostic commands and specific fixes. Emits ROOT_CAUSE_FOUND with a fix plan, NEED_MORE_INFO with the next diagnostic, or ESCALATE with the escalation path. Use when a Session Manager session fails to start, drops mid-session, cannot port-forward, or shell access errors out.
- ▌ Stepfunctions Statemachine Auditor · jhkchan bundleAudits AWS Step Functions state machines for execution logging coverage (level ALL + includeExecutionData), X-Ray tracing enablement (including the Express-workflow no-op trap), execution-role blast radius (wildcard actions, states:StartExecution chaining, iam:PassRole), and ASL definition validation (missing Catch/Retry on fallible Tasks, missing TimeoutSeconds, unreachable states, cyclic references without exit). Emits a deterministic verdict (NO_LOGGING | NO_TRACING | OVERPERMISSIVE_ROLE | CONFIG_GAP | OK) per state machine with enumerated findings and specific remediation. Use when reviewing Step Functions state machines, checking logging coverage, validating X-Ray tracing, auditing execution-role scope, validating ASL definitions, or hardening state machine observability and security posture before production deployment.
- ▌ Vpc Endpoint Policy Troubleshooter · jhkchan bundleDiagnoses Amazon VPC endpoint policy and connectivity failures across interface endpoints (PrivateLink), Gateway endpoints (S3/DynamoDB), and endpoint services (NLB-backed). Covers endpoint policy evaluation (default vs custom), security group on interface endpoint ENIs (inbound from client subnet on service port), DNS resolution (private DNS, private hosted zone), cross-account access (resource policy plus IAM), Gateway endpoint routing (must be in route table), endpoint service timeouts, and policy JSON syntax errors. Emits ROOT_CAUSE_IDENTIFIED with remediation commands, or INSUFFICIENT_DATA when more diagnostics are needed. Use when troubleshooting endpoint connection failures, PrivateLink timeouts, endpoint policy access denied, S3 or DynamoDB Gateway routing, endpoint DNS resolution, or cross-account PrivateLink. Triggers - vpc endpoint failure, privatelink timeout, endpoint policy denied, gateway endpoint route, endpoint dns, cross-account endpoint, nlb endpoint service.
- ▌ Alb Unhealthy Target Troubleshooter · jhkchan bundleDiagnoses ALB target health check failures through a ten-category diagnostic tree: health check path misconfiguration (wrong path, non-200 response), port mismatch (target port vs health check port), protocol mismatch (HTTP vs HTTPS, HTTP/1.0 vs HTTP/1.1 expectations), deregistration delay stranding targets, security group rules blocking ALB health checker IPs, Lambda target group async failures, weighted target group routing, deregistration timeout, health check threshold/interval tuning, slow start mode, and target group attributes (stickiness, proxy protocol, preserve client IP). Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Athena Query Failure Troubleshooter · jhkchan bundleDiagnoses Amazon Athena query failures through a thirteen-category diagnostic tree: S3 bucket access denied (Glue Data Catalog vs S3 data bucket permissions), SerDe mismatch (OpenCSVSerDe vs LazySimpleSerDe vs ParquetHiveSerDe), column type mismatch (STRING vs INT vs DOUBLE), partition projection errors, incorrect table location, stale Glue Catalog partitions (MSCK REPAIR), CTAS (CREATE TABLE AS) destination bucket permissions, workgroup output location, service query timeout (30-min limit), data format inference errors, SerDe property misconfiguration (quoteChar, escapeChar, separatorChar), ARRAY/STRUCT nested type issues, and date format parsing. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Cloudformation Drift Troubleshooter · jhkchan bundleDiagnoses AWS CloudFormation stack drift — resources whose actual configuration diverged from the template because they were changed, deleted, or added outside CloudFormation. Walks detect-stack-drift, describe-stack-drift-detection-status, and describe-stack-resource-drifts to classify each drift as MODIFIED (property changed outside CFN), DELETED (resource deleted outside CFN), or ADDITION (new resource not in stack). Maps drift impact on stack updates and recommends a resolution strategy: import existing resources (import-resources), drift reset (update to match drift), or revert the resource to match template. Covers drift prevention via IAM policy with aws:CalledViaFirst, CloudFormation Hooks, and Conformance Packs. Handles nested stack drift and CDK drift. Emits ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE. Use when a stack reports DRIFTED, an UPDATE_FAILED cites drift as the cause, an operator needs to import out-of-band resources, or a compliance pack flags stack drift.
- ▌ Cloudformation Stack Troubleshooter · jhkchan bundleDiagnoses AWS CloudFormation stack failures across the lifecycle. Covers CREATE_FAILED (IAM permission denied, service limit exceeded, resource already exists, invalid property), UPDATE_FAILED (Replacement required, immutable property change, rollback in progress), DELETE_FAILED (dependent resources, S3 bucket not empty, DeletionPolicy: Retain), ROLLBACK_FAILED (stack stuck in ROLLBACK_COMPLETE, requires delete + recreate), UPDATE_ROLLBACK_FAILED (nested stack cannot roll back). Walks describe-stack-events ResourceStatusReason, describe-stacks, describe-change-set, drift detection. Common: cfn-lint validation, DependsOn cycle, missing CAPABILITY_IAM, Replacement: true in ChangeSet, CreationPolicy signal timeout. Emits ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE. Use when a CloudFormation stack fails to create, update, delete, or roll back, or is stuck in ROLLBACK_COMPLETE / UPDATE_ROLLBACK_FAILED.
- ▌ Codedeploy Deployment Group Auditor · jhkchan bundleAudits AWS CodeDeploy deployment groups for auto-rollback enablement, CloudWatch alarm monitoring, deployment-config risk (AllAtATime, custom minimum-healthy-hosts of zero), and blue/green termination posture (immediate termination, no traffic control). Emits a deterministic verdict (NO_ROLLBACK | NO_ALARMS | CONFIG_GAP | OK) per deployment group with enumerated findings and CLI remediation. Use when reviewing CodeDeploy deployment groups, validating rollback configuration, checking alarm coverage, auditing deployment strategy, or hardening blue/green termination before production deployment.
- ▌ Codepipeline Failure Troubleshooter · jhkchan bundleDiagnoses AWS CodePipeline execution failures across source, build, deploy, and approval stages. Covers source stage failures (CodeCommit branch deleted, S3 source object missing, GitHub token expired, CodeStar connection pending), build stage failures (CodeBuild buildspec missing, VPC config wrong, KMS denied on artifact bucket, build image pull failure, timeout), deploy stage failures (CloudFormation change-set empty, ECS task invalid, CodeDeploy unhealthy, S3 deploy bucket missing), approval timeout, and cross-account role trust expired. Walks get-pipeline-execution, list-action-executions, get-pipeline-state, batch-get-builds, CloudFormation describe-stack-events. Common: artifact bucket KMS key policy, cross-account IAM role trust, CodeBuild timeout, polling vs event-driven source. Emits ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE. Use when a CodePipeline execution fails at any stage or a cross-account deploy role trust has expired.
- ▌ Firewall Manager Compliance Auditor · jhkchan bundleAudits AWS Firewall Manager (FMS) policies across WAF, Shield Advanced, VPC Security Groups, Network Firewall, DNS Firewall, and third-party firewalls — evaluates policy state (READY vs NOT_READY), resource-tag scope coverage gaps, RemediationEnabled posture (enforce vs detect-only), PolicyType currency (WAFV2 vs legacy WAF), IncludeMap/ExcludeMap account/OU coverage, ResourceTypeLists completeness, and live NonCompliantResourceCount. Emits a deterministic verdict (NONCOMPLIANT | INCOMPLETE_COVERAGE | CONFIG_GAP | OK) per policy with enumerated findings and specific CLI remediation. Use when reviewing FMS policy coverage, checking WAF/SG/Shield policy scope, auditing resource-tag enforcement, validating remediation posture, or hardening FMS. Triggers: Firewall Manager, FMS, policy compliance, WAF policy, Shield Advanced policy, Security Group policy, Network Firewall policy, DNS Firewall policy, RemediationEnabled, PolicyState, NOT_READY, ResourceTags scope, IncludeMap, ExcludeMap, NonCompliantResourceCount.
- ▌ Inspector2 Coverage Finding Auditor · jhkchan bundleAudits Amazon Inspector2 coverage gaps and finding severity to determine whether EC2 instances, ECR repositories, and Lambda functions are effectively scanned and free of exploitable vulnerabilities or misconfigurations. Classifies each resource into a single CRITICAL / HIGH / MEDIUM / LOW / COVERED verdict by reasoning over Inspector2 enablement state, per-resource coverage status (SSM-agent dependency for EC2, scanOnPush for ECR, Lambda code-scanning opt-in), network-reachability amplification of CVEs, finding lifecycle (OPEN vs SUPPRESSED), and resource criticality tier (production vs non-prod). Use when reviewing Inspector2 findings, checking scan coverage, auditing vulnerability posture before production deployment, validating that EC2 instances are enrolled in. Triggers: Inspector, Inspector2, vulnerability scan, coverage gap, CVE, CVSS, package vulnerability, network reachability, ECR scanOnPush, Lambda code scan, SSM agent, scan coverage, finding severity, exploit, KEV, CISA, security posture.
- ▌ Networkmanager Core Network Auditor · jhkchan bundleAudits AWS Network Manager (Cloud WAN) core networks for detached attachments, permissive resource and segment policies, CIDR overlap across VPC attachments, and configuration gaps (LATEST vs LIVE policy mismatch, missing edge locations, orphaned segments). Emits a deterministic verdict (DETACHED_ATTACHMENT | PERMISSIVE_POLICY | CIDR_OVERLAP | CONFIG_GAP | OK) per core network with enumerated findings and specific CLI remediation. Use when reviewing Cloud WAN core network policies, checking attachment health, validating CIDR isolation between segments, auditing cross-account resource policies, or hardening core network posture before production deployment.
- ▌ Route53 Health Check Troubleshooter · jhkchan bundleDiagnoses Amazon Route 53 health check and DNS failover failures through a ten-category diagnostic tree: endpoint health check failures (HTTP/HTTPS/TCP protocol mismatch, certificate mismatch), calculated health check logic errors (AND/OR/NOT inverted logic, child aggregation), health check interval and failure threshold misconfiguration (consecutive failures, fast/standard interval), DNS failover routing issues (active-active, active-passive, weighted, latency-based, geolocation), health check region selection and caller IP visibility (15+ regions, health checker IPs external to VPC), CloudWatch alarm-based health check threshold ambiguity (alarm period, datapoints, evaluation periods), DNS resolution verification (NS delegation glue records, TTL caching), and hosted zone delegation issues (glue record propagation). Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Serverlessrepo Application Deployer · jhkchan bundleProvisions AWS Serverless Application Repository (SAR) applications with production defaults: SAM template (template.yaml) with Transform: AWS::Serverless-2016-10-31, README.md (required for publish), LICENSE (required for public), application packaging (zip upload or S3 bucket with code URI), semantic versioning (SemVer — required for every publish), application sharing model (private vs account-grant vs public), application policy (who can deploy cross-account), nested applications (AWS::Serverless:: Application), application parameters (cloudformation parameters surfaced at deploy time), deployment role (CAPABILITY_IAM / CAPABILITY_NAMED_IAM / CAPABILITY_AUTO_EXPAND), SAM transform during deploy (transform happens BEFORE CloudFormation sees the template), published author profile (author name, URL. Triggers: publish serverless application, sar publish, serverless application repository, sam package, sam deploy, sar application policy, cross-account sar deploy, nested sar application, semantic version sar.
- ▌ Stepfunctions Statemachine Deployer · jhkchan bundleProvisions production-grade AWS Step Functions state machines with correct type selection (Standard exactly-once up to 1 year vs Express at-least-once up to 5 min), Amazon States Language definitions (Task, Choice, Parallel, Map, Wait, Pass, Fail, Succeed), service integrations via Resource ARN patterns (Lambda, DynamoDB, SQS, SNS, ECS, SageMaker, Glue, Athena, Bedrock), sync (.sync) vs callback (.waitForTaskToken) invocation patterns, error handling (Retry with exponential backoff, Catch routing), Inline Map (40 concurrent) vs Distributed Map (10000+ concurrent with S3/DynamoDB ItemReader, ItemBatcher, toleratedFailurePercentage), IAM least-privilege execution role, input/output processing (InputPath, ResultPath, OutputPath, Parameters), Express sync (RequestResponse) vs async (Firehose logging) workflows, and AWS SDK service integrations for direct API calls without Lambda. Emits a READY_TO_DEPLOY checklist. Use when provisioning state machines, designing ASL workflows, configuring service.
- ▌ Verified Permissions Policy Auditor · jhkchan bundleAudits Amazon Verified Permissions policy stores for Cedar policy validation, schema-to-policy consistency, principal/resource authorization scope, policy template usage, and validation-mode configuration gaps. Emits a deterministic verdict (INVALID_POLICY | SCHEMA_MISMATCH | OVERPERMISSIVE | CONFIG_GAP | OK) per policy with enumerated findings and CLI remediation. Use when reviewing Cedar policies, checking for bare-permit overexposure, validating schema consistency, auditing template-linked policies, or hardening AVP policy stores before production deployment.
- ▌ Cloudfront Response Headers Deployer · jhkchan bundleProvisions CloudFront response headers policies with secure defaults: security headers (Content-Security-Policy, Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy), CORS configuration (access-control-allow-origin, methods, headers, credentials, expose-headers, max-age, preflight), custom headers (Cache-Control, X-Custom), removal headers (Server, X-Powered-By), managed policies (CORS-with-preflight-and-SecurityHeadersPolicy, SimpleCORS, CORSAndHTTPSecurityHeadersPolicy, SecurityHeadersPolicy), and the latest CloudFront response headers policy managed updates. Emits a deployment plan with a verdict (READY_TO_DEPLOY with full CloudFormation / Terraform template | PREREQUISITES_MISSING with specific gap and remediation). Use when provisioning security headers on a CloudFront distribution, configuring CORS for cross-origin access, attaching managed SecurityHeadersPolicy, removing server fingerprint headers, or hardening a CDN's HTTP response posture.
- ▌ Cloudwatch Anomaly Detector Deployer · jhkchan bundleDeploys Amazon CloudWatch Anomaly Detection models on AWS metrics with production defaults: anomaly detector creation (put-metric-anomaly-detector), metric math band visualization (ANOMALY_DETECTION_BAND), configuration (stat, period, assessment period), std dev multiplier tuning (default 3, lower = more sensitive), alert on band breach (upper or lower), recovery to normal state, cross-account anomaly detection, composite alarm integration, custom metrics vs built-in (CPU, network) support, and limitation detection (not all metrics support anomaly detection). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a CloudWatch anomaly detection model, configuring anomaly bands, tuning anomaly sensitivity, setting anomaly alarms, or visualizing anomaly detection bands. Triggers create anomaly detection model, cloudwatch anomaly detection, anomaly band breach alarm, tune anomaly sensitivity, anomaly detector std dev, anomaly detection custom metric, cross-account anomaly detection.
- ▌ Cloudwatch Synthetics Troubleshooter · jhkchan bundleDiagnoses CloudWatch Synthetics canary failures via a symptom-to-cause decision tree covering all five canary types (GUI Selenium WebDriver, HTTP ping, API HTTP, broken-link checker, multi-step), runtime exceptions (Node.js and Python), canary timeout (exceeded max duration), Visual Monitoring screenshot comparison baseline mismatch, authentication failures (canary cannot log in), and blue/green deployment artifact mismatches. Walks canary run logs, HAR files, step-level screenshots, CloudWatch metrics (SuccessPercent, Duration), and canary artifact locations to pinpoint the failure type. Emits a deterministic verdict (ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE) with the specific failure category, evidence from the run report, and a concrete fix. Use when a Synthetics canary transitions to FAILED state, SuccessPercent drops below threshold, Visual Monitoring reports a baseline mismatch, or the canary logs show timeout, auth, or runtime exceptions.
- ▌ Global Accelerator Endpoint Deployer · jhkchan bundleProvisions AWS Global Accelerator with production defaults: accelerator creation with two static anycast IP addresses, listeners (TCP/UDP port ranges), endpoint groups (region, traffic dial percentage, health check interval/threshold), endpoint types (ALB, NLB, EC2 IP, EIP), endpoint weights for within-region distribution, client IP address preservation, BYOIP integration, flow logs, CloudWatch metrics, cross-region routing, DNS naming, and endpoint group failover. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Global Accelerator, configuring anycast IPs, setting up multi-region endpoints, adjusting traffic dial for regional canary, configuring endpoint weights, enabling client IP preservation, or managing endpoint group failover. Triggers: create global accelerator, anycast ip addresses, traffic dial, endpoint group, endpoint weight, listener ports, client ip preservation, global accelerator failover, byoip accelerator, accelerator flow logs.
- ▌ Resiliencehub App Assessment Auditor · jhkchan bundleAudits AWS Resilience Hub application assessments for assessment staleness (older than 90 days), resiliency policy binding and tier-to-RTO/RPO calibration, per-tier compliance breaches (MissionCritical or Critical NonCompliant triggers HIGH_RISK), aggregate compliance score below 80 (LOW_COMPLIANCE), app-version drift since the last assessment, failed or pending assessment status (no compliance data), and unimplemented alarm / SDD / test recommendations. Emits a deterministic verdict (STALE_ASSESSMENT | HIGH_RISK | LOW_COMPLIANCE | CONFIG_GAP | OK) per app with enumerated findings and CLI remediation. Use when reviewing Resilience Hub app assessments, checking RTO/RPO compliance, validating resiliency policy coverage, or auditing assessment freshness before a production launch.
- ▌ Sns Topic Public Subscription Auditor · jhkchan bundleAudits AWS SNS topics for public subscription exposure (Principal:"*" with sns:Subscribe or sns:Publish in topic policy), missing KMS encryption (plaintext messages at rest), delivery-status logging gaps (silent message loss with no CloudWatch signal), cross-account subscription vectors, and FIFO deduplication misconfiguration. Emits a deterministic verdict (PUBLIC_SUBSCRIPTION | NO_ENCRYPTION | CONFIG_GAP | OK) per topic with enumerated findings and specific CLI remediation. Use when reviewing SNS topic policies, checking for public subscription access, validating encryption-at-rest, auditing delivery observability, or hardening message bus posture before production deployment.
- ▌ Securityhub Control Compliance Auditor · jhkchan bundleAudits AWS Security Hub control compliance findings and maps each to a deterministic compliance verdict (FAILED | WARNING | PASSED | NOT_APPLICABLE), then maps every FAILED / WARNING control to a specific fix action. Handles the full Security Hub finding lifecycle — active findings, suppressed findings, resolved-but-still-failing, archived findings, NOT_AVAILABLE with StatusReasons, multi-account aggregation, and cross-standard control families (FSBP, CIS, PCI-DSS, NIST 800-53). Use when reviewing Security Hub control status, triaging a compliance gap report, mapping findings to remediation runbooks, or preparing for an audit / executive compliance summary.
- ▌ Stepfunctions Execution Troubleshooter · jhkchan bundleDiagnoses AWS Step Functions execution failures across Standard and Express workflows. Covers States.Runtime (invalid JSONPath), States.Timeout (Task timed out, heartbeat mismatch), States.TaskFailed (integration returned error), States.Permission / States.Permissions (IAM role missing action or cross-account trust), States. ParameterPathFailure (input processing error), States.BranchFailed (Parallel branch), States.ALL vs specific error catching, retry exhaustion (MaxAttempts reached), execution limits (Express 5 min vs Standard 1 year), and redrive behavior (Standard only, re-executes from failed state). Emits ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE with evidence from describe-execution, get-execution-history, and CloudWatch Metrics (ExecutionsFailed, ExecutionThrottled, ThrottledStateTransition). Use when a Step Functions execution fails, silently retries, throttles, or redrive is required.
- ▌ Transit Gateway Routing Troubleshooter · jhkchan bundleDiagnoses AWS Transit Gateway routing failures through a fourteen-layer diagnostic tree: TGW route table association vs propagation (separate controls), static route priority (static beats propagated), overlapping CIDR blocks across attachments, peering attachment non-transitivity (VPC-A→TGW-A←peering→TGW-B→VPC-C requires direct peering, no transitive hop), VPN/Direct Connect gateway routing, multicast domain membership, TGW flow logs gaps, VPC route table default route 0.0/0 pointing at TGW, TGW attachment placed in the wrong subnet/AZ, cross-VPC security group references (not supported through TGW), DNS resolution across TGW attachments, appliance mode forcing traffic through an inspection VPC, and blackhole route detection. Walks symptoms to a verified root cause with evidence-backed read-only probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Cloudwatch Alarm Notification Automator · jhkchan bundleDesigns CloudWatch alarm notification and escalation automation across six surfaces: SNS-to-Lambda forwarders for Slack / Teams / PagerDuty / Opsgenie; EventBridge rules on CloudWatch Alarm State Change; alarm-to-Jira / ServiceNow ticket auto-create with idempotency; composite alarm correlation to deduplicate noisy children into one escalation; tiered escalation (primary -> secondary -> manager) via SNS + Step Functions; and 2024-2026 surfaces — AWS User Notifications chat delivery (Slack / Chime / Teams without Lambda), SNS SMS / phone, and Amazon Q for natural-language triage. Enforces safety: subscription-confirmation, kill-switch, dry-run test publish, IAM least-privilege, secrets in Parameter Store / Secrets Manager, ticket idempotency. Emits AUTOMATED with the workflow OR MANUAL_STEP_REQUIRED with the gap. Use when wiring alarm-to-Slack, alarm-to-ticket, escalation tiers, composite-correlation fatigue reduction, or adopting User Notifications / Amazon Q.
- ▌ Cloudwatch Application Signals Deployer · jhkchan bundleEnables CloudWatch Application Signals on ECS / EKS / EC2 / Lambda with auto-instrumentation (Java, Python), service discovery from CloudMap and Kubernetes services, SLO creation (latency, availability, custom), service map visualization, ServiceLevelObjective (period, target, alarm), and RED metrics extraction (Rate, Errors, Duration) from X-Ray traces. Emits a READY_TO_DEPLOY checklist with every prerequisite verified. Use when enabling Application Signals on a service, instrumenting a Java/Python app for auto-derived RED metrics, creating ServiceLevelObjective (period, target, alarm), wiring service discovery, or wiring a CloudWatch SLO alarm. Triggers: application signals, service map, service-level objective, SLO, X-Ray RED metrics, auto-instrument application signals, CloudMap service discovery, EKS service map, ECS application signals, OpenTelemetry AWS distro, Java Python application signals.
- ▌ Cloudwatch Application Signals Operator · jhkchan bundleOperates AWS CloudWatch Application Signals with production defaults: enablement via OpenTelemetry (OTel) SDK instrumentation or auto-instrumentation, service level objectives (SLO) creation (target percentage, interval), SLI metrics (availability, latency) derived automatically from traces, burn rate alerts (fast burn = page, slow burn = ticket) using multi-window multi-burn-rate (MWMBR) algorithm, service map visualization, CloudWatch RUM integration for client-side telemetry, correlation with X-Ray traces, service hierarchy (service → operation), canary alarms, anomaly detection on SLI metrics, and multi-service SLO tracking. Emits an OPERATION_COMPLETED checklist with verification commands. Use when enabling Application Signals, creating SLOs, setting up burn rate alerts, visualizing service maps, or. Triggers: application signals, slo creation, sli metrics, burn rate alert, service map, cloudwatch rum, otel instrumentation, multi-burn- rate, x-ray correlation, canary alarm, anomaly detection slo.
- ▌ Cloudwatch Logs Insights Troubleshooter · jhkchan bundleDiagnoses CloudWatch Logs Insights problems across six categories: query returns no results (wrong log group, time range outside ingestion, filter case sensitivity, field not extracted), query timeout/cancelled (scanning too much data, no early filter, missing stats aggregation), query syntax errors (command ordering, stats without aggregation, glob vs regex in like, parse pattern), Contributor Insights not showing (must enable separately via PutInsightRule; does not share Logs Insights syntax), metric filter vs Logs Insights confusion (separate features with different syntax/output), and pattern/anomaly detection issues. Walks a symptom-to-cause decision tree using describe-log-groups, describe-log-streams, start-query, get-query-results, describe-queries, describe-contributor-insights. Emits a verdict (ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE). Use when a Logs Insights query returns nothing, times out, throws a syntax error, Contributor Insights is blank, or pattern/anomaly detection fails.
- ▌ Elastic Beanstalk Environment Optimizer · jhkchan bundleOptimizes AWS Elastic Beanstalk environments for cost and performance. Covers instance type right-sizing (single-instance vs load-balanced), t3/t4g burstable instances for dev, managed platform update scheduling, .ebextensions cleanup, deployment policy selection (immutable for zero-downtime but 2x cost during deploy), worker tier, health check tuning, auto-scaling policy tuning, RDS integration cost (shared vs dedicated), NAT Gateway elimination for single- instance, and termination protection cleanup. Emits an OPTIMIZED assessment with cost savings estimates or FURTHER_OPTIMIZATION_AVAILABLE with specific recommendations. Use when optimizing Beanstalk cost, right-sizing EB instances, reducing deployment cost, tuning auto-scaling, eliminating NAT Gateway for dev, or scheduling managed platform updates. Triggers - optimize elastic beanstalk, eb cost optimization, beanstalk right-size, single-instance vs load-balanced, immutable deployment cost, nat gateway elimination, ebextensions cleanup, rds shared cost.
- ▌ Secrets Manager Rotation Troubleshooter · jhkchan bundleDiagnoses AWS Secrets Manager rotation failures through a ten-category diagnostic tree: rotation Lambda errors at the database (wrong host, port, database name, credential creation), rotation schedule not triggering (EventBridge rule deleted, disabled, or wrong schedule expression), cross-account secret access denied (rotation role lacks kms:Decrypt or secretsmanager:GetSecretValue on the secret), Master Secret ARN misconfigured in the rotation template, rotation Lambda timeout (default 3s too low, or 15s insufficient for slow DB), VPC connectivity (rotation Lambda not attached to DB subnets, missing NAT/endpoint for Secrets Manager API), rotation strategy conflict (Alternating Users on a engine without CREATE USER, Single User on a twin-secret setup), twin secrets not synced across regions/accounts, rotation token missing (a caller invoked the Lambda directly without a ClientRequestToken), and superuser permissions insufficient for the rotation Lambda's DB user. Walks symptoms to a verified root cause wi...
- ▌ Cloudtrail Missing Events Troubleshooter · jhkchan bundleDiagnoses AWS CloudTrail missing-events incidents across eleven failure categories: trail logging inadvertently disabled (stop-logging, IaC that omitted start-logging), S3 bucket policy missing cloudtrail.amazonaws.com write permission, organization trail vs member account trail overlap (org trail shadows member), management events vs data events vs Insight events filtering (data events must be explicitly enabled), read-only vs write-only event selector mismatch, multi-region trail vs single-region scope, log file validation (S3 digest integrity failures), CloudWatch Logs delivery delay beyond the 5-15 minute window, CloudTrail Lake event data store query issues, AWS service not logging (not all services in all regions), event source filtering / log file prefix errors, and KMS key disabled preventing log encryption. Walks symptoms to a verified root cause with evidence-backed probes and emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Detective Investigation Coverage Auditor · jhkchan bundleAudits Amazon Detective behavior graph coverage, member-account ingestion health, data-source package states (DETECTIVE_CORE, EKS_AUDIT, EKS_RUNTIME), data freshness lag, GuardDuty integration dependency, and Organizations delegated-admin posture. Emits a deterministic verdict (NO_GRAPH | INCOMPLETE_INGESTION | STALE_DATA | CONFIG_GAP | OK) per behavior graph or region with enumerated findings and CLI remediation. Use when validating Detective investigation readiness, checking member-account ingestion gaps, auditing data freshness, verifying GuardDuty integration, or hardening security-investigation coverage before an incident.
- ▌ Cloudfront Origin Access Control Deployer · jhkchan bundleProvisions Amazon CloudFront Origin Access Control (OAC) with production defaults: OAC creation (create-origin-access-control), S3 origin configuration (s3:GetObject via OAC), bucket policy update (cloudfront.amazonaws.com principal with StringEquals AWS:SourceArn condition), signing behavior (sigv4 vs always), Origin Access Identity (OAI) vs OAC migration with no downtime, multi-distribution to single bucket, SSE-KMS with OAC (sigv4 signing required, KMS key policy), origin type (S3 vs S3 bucket with Website Endpoint), CloudFront distribution configuration with OriginAccessControlId, and region restrictions. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a CloudFront OAC, securing an S3 origin behind CloudFront, migrating from OAI to OAC, configuring SSE-KMS with CloudFront, or serving an S3 bucket from multiple. Triggers: create cloudfront oac, origin access control, cloudfront s3 origin, oai to oac migration, cloudfront sse-kms, cloudfront bucket policy, s3 origin oac.
- ▌ Eventbridge Rule Not Firing Troubleshooter · jhkchan bundleDiagnoses Amazon EventBridge rules that fail to fire through a ten-category diagnostic tree: event pattern mismatch (source, detail-type, detail JSON path), content-based filtering errors (prefix, numeric, exists, anything-but, nested path depth limits), input transformer malformed templates, dead-letter queue configuration gaps, custom bus vs default bus mismatch, schedule expression syntax errors (cron vs rate vs fixed-rate), IAM role for target invocation (cross-account events.amazonaws.com principal), EventBus resource-based policy blocking PutEvents, target Lambda resource-based policy missing EventBridge principal, and event source mapping for Kinesis/Stream targets. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED, INSUFFICIENT_DATA.
- ▌ Cloudformation Stack Rollback Troubleshooter · jhkchan bundleDiagnoses AWS CloudFormation stack rollback failures through a rollback-focused decision tree: UPDATE_ROLLBACK_FAILED state requiring ContinueUpdateRollback, custom resource Lambda timeout (no response to CFN signal — the #1 rollback blocker), nested stack rollback cascade, IAM policy replacement requiring full resource recreation, drift detection blocking clean rollback, stack policy preventing rollback update, dependent resources in-use (cannot delete), RDS/Aurora snapshot requirement before rollback, DisableRollback after partial failure, rollback vs update-with-rollback semantics, stack delete vs rollback, and ChangeSet preview before rollback. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Cost Optimization Hub Recommendations Auditor · jhkchan bundleAudits AWS Cost Optimization Hub configuration for recommendation enablement, member-account coverage in Organizations, effort-level distribution, and stale high-value unactioned recommendations. Emits a deterministic verdict (DISABLED | NO_MEMBER_ACCOUNTS | HIGH_EFFORT | CONFIG_GAP | OK) per account with enumerated findings and CLI remediation. Use when checking whether Cost Optimization Hub is enabled, whether member accounts are enrolled, whether effort levels indicate missed quick wins, or whether high-savings recommendations are going stale.
- ▌ Cloudwatch Cross Account Observability Deployer · jhkchan bundleProvisions CloudWatch cross-account observability via Observability Access Manager (OAM) — creates the monitoring account sink, attaches source accounts, configures the link (metrics / logs / traces / Application Signals sharing), wires IAM roles, and validates the topology. Wires Amazon Managed Grafana cross-account data-source queries, integrates CloudWatch cross-account with AMP (Managed Prometheus), and surfaces cross-account Application Signals service maps. Emits a READY_TO_DEPLOY checklist. Use when creating an OAM sink, linking source accounts, sharing CloudWatch metrics / logs / traces across accounts, attaching AMP workspaces cross-account, enabling cross-account Application Signals, or wiring Managed Grafana across accounts. Triggers: cloudwatch cross-account, observability access manager, oam, oam sink, oam link, cross-account observability, monitoring account, cross-account metrics / logs / traces / application signals, managed grafana cross-account, amp cross-account, cloudwatch multi-account.
- ▌ Route53 Application Recovery Controller Deployer · jhkchan bundleProvisions Route 53 Application Recovery Controller (ARC) with production defaults: recovery cluster (five Route 53 regional clusters across AWS regions for quorum), routing controls (boolean on/off toggles for traffic to a cell), control panels (groupings of routing controls), safety rules (prevent unsafe failover — disallow all routing controls OFF simultaneously), resource sets (by resource type: NLB, ASG, DynamoDB table, Aurora cluster, EC2, etc.), readiness checks (validate each cell has required resources before failover), cells (groupings of resources representing an application instance for failover), readiness scopes, cross-region readiness assessment, and CloudWatch routing control state monitoring. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating ARC readiness checks, configuring routing. Triggers: route 53 arc, application recovery controller, routing control, safety rule, readiness check, recovery cluster, control panel, cell failover, resource set, readiness...
- ▌ Apigateway HTTP Troubleshooter · jhkchan bundleDiagnoses Amazon API Gateway HTTP API failures through a ten-category diagnostic tree: 4xx routing errors ($default route, catch-all route priority, ANY vs explicit method), 5xx integration failures (Lambda proxy 502, private integration 502, timeout at 29s hard cap), JWT authorizer failures (issuer, audience, claim mapping, scope), CORS preflight errors (Access-Control-Allow-Origin, OPTIONS method, AllowHeaders), payload format version mismatches (1.0 vs 2.0 event body base64 decode, isBase64Encoded, requestContext shape), stage deployment issues (changes not live without deployment, auto-deploy vs manual), throttling and burst limits (rate, burst, per-route), access logging vs execution logging confusion, VPC link integration problems (NLB target health, private integration connectivity), and integration parameter mapping errors. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Autoscaling Lifecycle Operator · jhkchan bundleOperates EC2 Auto Scaling lifecycle hook workflows end-to-end — launch lifecycle hook management (pending:wait transition, bootstrap registration, ELB target registration, custom action execution), terminate lifecycle hook management (terminating:wait transition, ELB deregistration, session drain, graceful shutdown), HeartbeatTimeout management (default 3600s, heartbeat extension via record-lifecycle- action-heartbeat), Lambda/EventBridge integration for lifecycle actions (complete-lifecycle-action invocation contract), warm pool configuration (MinSize, MaxGroupPreparedCapacity, pool state transitions), standby state and instance protection, CloudWatch alarm-based scaling policies, scheduled actions, capacity rebalance integration for Spot interruptions, and lifecycle hook notification targets (SNS/SQS/Lambda /EventBridge). Runs deterministic pre-checks (hook existence, IAM passrole, notification target ARN validity, HeartbeatTimeout bounds, Lambda complete-lifecycle-action IAM grant, warm pool capacity...
- ▌ Bedrock Model Access Inventory · jhkchan bundleAudits Amazon Bedrock model access posture — invocation logging coverage (S3/CloudWatch/DataFirehose destinations and per-modality delivery flags), customer-managed KMS encryption versus AWS-managed default, Anthropic Claude geo-block risk in APAC jurisdictions (models list as enabled but fail at invocation with ValidationException), provisioned throughput commitment state, and guardrail coverage on enabled models. Emits a deterministic verdict (NO_LOGGING | NO_ENCRYPTION | GEO_BLOCK_RISK | CONFIG_GAP | OK) per Bedrock account inventory. Use when reviewing Bedrock model access, checking invocation logging, validating KMS encryption, assessing Claude geo-block exposure, or auditing provisioned throughput commitments.
- ▌ Cloudtrail Lake Query Deployer · jhkchan bundleProvisions AWS CloudTrail Lake with production defaults: event data store (EDS) creation, ingestion (management events, data events, Insights), SQL query via StartQuery/GetQueryResults, time-based filtering, advanced event selectors, federation to Athena/Athena workgroup, multi-account EDS (via Organizations), retention (7-3653 days), billing model (per GB ingested + per GB scanned), CloudWatch integration for query alerts, saved queries, common forensic query patterns (who deleted X, what did user Y do), and data protection policy (mask PII in events). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a CloudTrail Lake event data store, configuring multi-account event ingestion, running forensic SQL queries on CloudTrail events, setting up Athena federation. Triggers: cloudtrail lake, event data store, cloudtrail lake query, start query cloudtrail, athena federation cloudtrail, cloudtrail forensic query, EDS retention, cloudtrail data protection, multi-account cloudtrail lake.
- ▌ Cloudwatch Dashboards Operator · jhkchan bundleOperates Amazon CloudWatch dashboards end-to-end — dashboard creation and update via JSON model (PutDashboard/GetDashboard API), custom widgets backed by Lambda functions, cross-account dashboards via CloudWatch Observability Access Manager (OAM) shared observability, metric math expressions for derived calculations, anomaly detection bands, alarm integration in dashboard widgets, dashboard sharing via resource-based policy, dashboard variables and parameters, auto-refresh intervals, cross-section (account and region switching), dashboard templates for common AWS services (RDS, EC2, Lambda, ECS), dashboard API automation for version-controlled IaC, and CloudWatch Metrics Insights for SQL-like metric queries. Runs deterministic pre-checks (dashboard JSON validity, Lambda widget permissions, OAM sink/source configuration, metric namespace existence) behind a CONFIRM gate and emits OPERATION_COMPLETED or REVIEW_REQUIRED per operation. Use when creating service dashboards, adding metric math or anomaly...
- ▌ Cloudwatch Logs Cost Optimizer · jhkchan bundleOptimises Amazon CloudWatch Logs cost across six dimensions: log group retention (Never expire is the #1 waste — moving to 30 days typically cuts storage cost 90%+ since storage is billed at $0.03/GB-month and Never-expire groups accumulate indefinitely), Logs Insights query cost ($0.005/GB scanned — frequent queries should be converted to metric filters which are free), CloudWatch agent buffer tuning (batch_count and batch_size reduce PutLogEvents API charges at $0.40/million ingestion requests), S3 export via Firehose for cold-storage compliance archives ($0.023/GB-month S3 Standard vs Logs $0.50/GB ingestion + $0.03/GB-month storage), subscription filter cost-aware cross-account aggregation, and vended log destinations (VPC Flow Logs and Route53 Resolver Logs sent to S3 directly bypass Logs ingestion fees entirely). Evaluates account-level data protection policies for PII storage reduction, embedded metric format tradeoffs, and log group aggregation patterns. Emits OPTIMIZED when no cost lever yields f...
- ▌ Codebuild Build Troubleshooter · jhkchan bundleDiagnoses AWS CodeBuild build failures through a stopped-phase-first diagnostic tree: BUILD_CONTAINER_UNABLE_TO_PULL_IMAGE (ECR auth, image size, Docker Hub rate limit), phase-level command failures (INSTALL, PRE_BUILD, BUILD, POST_BUILD), buildspec.yml syntax and version errors, environment variable resolution (Plaintext, SecretsManager, SSM Parameter Store), artifact upload failures (S3 permissions, KMS encryption), VPC config errors (subnet, SG, NAT Gateway), runtime version mismatch, build timeout, source checkout failures (CodeCommit auth, GitHub token), caching issues (LOCAL_DOCKER_LAYER vs S3 cache), privileged-mode Docker builds, secret manager integration, build badge failures, queued builds, and batch configuration errors. Walks phase status, logs, and project config to a verified root cause with evidence-backed probes. Emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Codecommit Repository Deployer · jhkchan bundleProvisions AWS CodeCommit repositories with production defaults: repository creation (create-repository), default branch, KMS encryption with customer-managed key, approval rule templates and branch protection, notification rules, pull request templates, cross-account resource policy, repository triggers (Lambda/SNS), migration from external Git, IAM git credentials vs SSH keys vs git-remote-codecommit, and CodeBuild/CodePipeline connection. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a CodeCommit repository, configuring approval rules, KMS encryption, cross-account access, or migrating from external Git. Triggers: create codecommit repository, codecommit approval rule, codecommit kms encryption, codecommit cross-account, codecommit trigger, git-remote-codecommit.
- ▌ Cognito Identity Pool Deployer · jhkchan bundleProvisions Amazon Cognito Identity Pools (federated identities) with production defaults: identity pool creation, identity providers (Cognito User Pool, Amazon, Google, Facebook, Apple, SAML, OIDC), authenticated vs unauthenticated roles, role mapping (rules-based vs token-based), custom IAM role assumption per provider, principal tag attribute mapping, SAML provider trust policy, identity pool authflow (GetId + GetCredentialsForIdentity), access control via groups, JWT claim extraction, and cross-account role assumption. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Cognito Identity Pool, configuring federated identity providers, setting up role mapping for per-provider IAM roles, enabling guest (unauthenticated) access, or mapping JWT claims to IAM roles. Triggers: create cognito identity pool, federated identity, cognito role mapping, identity pool provider, unauthenticated role, get credentials for identity, principal tags, SAML federation cognito.
- ▌ Comprehend Classifier Deployer · jhkchan bundleProvisions Amazon Comprehend custom document classifiers with production defaults: multi-class vs multi-label mode, training data formats (CSV + Augmented Manifest from Ground Truth), classifier input mode (PLAIN_TEXT vs Native PDF), training job (create-document-classifier), evaluation metrics (precision, recall, F1), endpoint deployment for real-time inference with auto-scaling, batch inference jobs, KMS encryption for model artifacts and volume, VPC endpoint for private inference, IAM roles for training and deployment, model versioning, cost per training and inference hour. Emits a READY_TO_DEPLOY checklist with verification commands. Use when training a custom classifier, deploying a Comprehend endpoint, running batch classification, or choosing multi-class vs multi-label. Triggers: Comprehend custom classifier, document classifier training, multi-class multi-label, Comprehend endpoint, augmented manifest, native PDF classifier, batch inference.
- ▌ Ec2 Instance Recovery Operator · jhkchan bundleOperates EC2 instance recovery — system status check failure (hardware degradation, stop/start, EC2 recover action), CloudWatch alarm recovery (reboots on same host), instance replacement via Auto Scaling group health check, EBS volume detach/attach for data salvage, console output for OS-level diagnosis, SSM Session Manager for SSH-less live troubleshooting, AMI creation from a failing instance for forensic snapshot, instance stop/start to clear ephemeral issues, placement group recovery, EC2 automatic recovery, and Capacity Reservation preservation during recovery. Runs deterministic pre-checks (instance state, system status check, EBS attachment status, ASG membership, SSM agent reachability, CloudWatch alarm config, Capacity Reservation binding) behind a CONFIRM gate and emits a READY, BLOCKED, or COMPLETED verdict per recovery action. Use when an instance is impaired, hardware has degraded, an ASG is churning, or a forensic snapshot is needed before termination.
- ▌ Ec2 Spot Interruption Operator · jhkchan bundleOperates Amazon EC2 Spot Instance interruption handling workflows end-to-end — EventBridge Instance Interruption Warning (2-minute notice), Spot Instance Interruption Queue (SQS), Lambda functions for graceful shutdown (drain from ELB, checkpoint state to S3 or DynamoDB), capacity rebalance notifications, replacement strategy selection (capacity-optimized vs diversified vs lowest-price), Spot Fleet auto-replacement, Auto Scaling Group capacity rebalance, stateful workload checkpointing patterns (S3 multipart, DynamoDB point-in-time), Spot Block deprecation awareness, Spot placement score for capacity assessment, instance diversification across families and AZs (minimum 3 families for 99.9% availability), hibernate vs stop vs terminate on interruption behavior, and integration with Application Load Balancer / Network Load Balancer connection draining. Runs deterministic pre-checks (EventBridge rule health, SQS queue depth, Lambda concurrency, deregister delay, lifecycle hook timeout) behind a CONFIRM gate...
- ▌ Eventbridge Bus Policy Auditor · jhkchan bundleAudits AWS EventBridge event buses for public event-injection exposure (Principal:* or cross-account with events:PutEvents and no strong condition), missing dead-letter queues on rule targets, absent customer-managed KMS encryption, and archive/enrichment gaps. Emits a deterministic verdict (PUBLIC_BUS | NO_DLQ | NO_ENCRYPTION | CONFIG_GAP | OK) per bus with enumerated findings and specific remediation. Use when reviewing EventBridge bus policies, checking for public event injection, validating DLQ coverage on rules, auditing KMS encryption posture, or hardening event-bus security before production deployment.
- ▌ Eventbridge Scheduler Deployer · jhkchan bundleProvisions Amazon EventBridge Scheduler schedules with production defaults: schedule creation (rate-based vs cron-based), flexible time window (OFF vs MAXIMUM), target types (Lambda, Step Functions, SNS, SQS, Kinesis, Inspector, CodeBuild, and more), one-time vs recurring schedules, timezone specification, group management for bulk enable/disable, automatic schedule deletion after completion, retry policy with exponential backoff, dead-letter queue (DLQ), IAM role for target invocation (Scheduler creates and manages its own role), start/after and end/before time windows, target input (constant JSON), schedule state (ENABLED / DISABLED), and CloudWatch metrics. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an. Triggers: eventbridge scheduler, eventbridge schedule, rate schedule, cron schedule, flexible time window, one-time schedule, schedule group, scheduler retry policy, scheduler DLQ, scheduler timezone, scheduler target lambda step functions sns sqs, scheduler IAM role.
- ▌ Guardduty Finding Investigator · jhkchan bundleInvestigates Amazon GuardDuty findings through a finding-type-driven diagnostic tree covering Recon:IAMUser, UnauthorizedAccess:EC2, Backdoor:EC2, CryptoCurrency, Persistence:IAMUser, Policy:IAMUser, and Exfiltration families. Walks each finding to root cause by collecting evidence from CloudTrail (API actor, source IP, user-agent), VPC Flow Logs (egress patterns, foreign IPs), and CloudWatch (runtime metrics). Identifies false positives (authorized scanners, SaaS CIDR ranges, deployment pipelines), applies suppression rules via create-filter, and recommends auto-remediation via EventBridge to Lambda (isolate EC2, revoke IAM credentials, snapshot volumes for Malware Protection). Covers severity triage Low/Medium/High, Runtime Monitoring for ECS/EKS, EKS Protection, and Malware Protection chains. Emits ROOT_CAUSE_FOUND with the specific threat layer, NEED_MORE_INFO, or ESCALATE. Use when triaging a GuardDuty finding for security diagnosis, false-positive filtering, or containment decisions.
- ▌ Opensearch Serverless Deployer · jhkchan bundleProvisions Amazon OpenSearch Serverless collections with secure defaults — collection type selection (SEARCH, TIMESERIES, VECTORSEARCH), encryption policy with customer-managed KMS (must exist before collection), network policy (public or VPC-only), data lifecycle policy (retention), capacity (OCU, min 4 for HA, auto-scaling), standby replicas, SAML / IAM Identity Center authentication, data access policies (IAM principals), VPC endpoints, vector search (k-NN, faiss, nmslib), semantic search with Bedrock embeddings, and flow frameworks. Runs deterministic pre-checks (encryption-policy-first ordering, KMS symmetric key, network policy precedes collection, OCU minimum, SAML metadata URL), emits create- collection CLIs behind a CONFIRM gate, verifies via list-collections. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when provisioning OpenSearch Serverless, configuring vector search, or setting up semantic search collections.
- ▌ Organizations Account Deployer · jhkchan bundleProvisions AWS Organizations member accounts with production defaults: account creation (create-account with unique root email, IAM role name), Control Tower Account Factory (automation, blueprints, landing zone vending), cross-account role (OrganizationAccountAccessRole), consolidated billing, SCP and tag policy attachment at correct scope, CloudTrail organization trail propagation, IAM Identity Center SSO permission sets, and latest features (Terraform aws_organizations_account, Account Factory custom baselines). Emits a READY_TO_DEPLOY checklist with verification commands. Use when provisioning a new AWS account via Organizations or Control Tower, vending a landing-zone account, wiring cross-account admin, attaching SCPs and tag policies, propagating an org trail, or assigning SSO permission sets. Triggers: create AWS account, Organizations create-account, Account Factory, OrganizationAccountAccessRole, consolidated billing, SSO, org trail, account baseline.
- ▌ Sqs Dead Letter Troubleshooter · jhkchan bundleDiagnoses Amazon SQS messages accumulating in dead-letter queues through a ten-category diagnostic tree: redrive policy maxReceiveCount too low, processing time exceeding visibility timeout, message size exceeding 256 KB, batch receive failures, FIFO message group stuck (poison message blocks entire MessageGroupId), DLQ queue type mismatch (standard DLQ for FIFO source), redrive configuration via StartMessageMoveTask v2, approximate number of messages visible vs not visible, visibility timeout reset semantics, receive request attempt count, Lambda trigger concurrency limits causing throttling and DLQ overflow, and message retention expiry before processing. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED, INSUFFICIENT_DATA.
- ▌ Ssm Association Troubleshooter · jhkchan bundleDiagnoses AWS Systems Manager (SSM) association failures via a systematic 5-symptom decision tree: association status Failed, TimedOut, instance not appearing in SSM (not managed), association never runs (wrong schedule or targets), and document execution fails mid-run. Maps each symptom to root cause via diagnostic commands (describe-instance-information, list-associations, describe-association-executions, describe-association-execution-targets, SSM agent logs), common causes (invalid parameters, document not found, S3 bucket access denied, SSM agent unreachable, instance offline, network connectivity, IAM role missing AmazonSSMManagedInstanceCore, cron expression wrong, tag mismatch, association enabled=False, rate limiting, script error, platform unsupported), and specific fixes. Emits ROOT_CAUSE_FOUND with a fix plan, NEED_MORE_INFO with the next diagnostic, or ESCALATE with the escalation path. Use when an SSM association is failing, timing out, not running, or producing errors.
- ▌ Ssm Patch Compliance Automator · jhkchan bundleDesigns and implements SSM Patch Manager automation workflows for EC2 fleets. Creates OS-specific patch baselines (Amazon Linux 2/2023, Ubuntu, Windows Server), configures patch groups via tag-based targeting (Patch Group key), sets up maintenance windows with cron schedules and per-instance concurrency, wires Scan vs Install operations, integrates Patch Manager with Inventory for compliance reporting, builds EventBridge-driven auto-remediation on NonCompliant state transitions, manages snapshots before patching, controls reboot behavior (RebootOption: RebootIfNeeded vs NoReboot), and rolls out multi-account patching via Organizations + CloudFormation StackSets. Covers compliance reporting (Compliant, NonCompliant, NotApplicable), exception lists for critical instances, and SNS notification/approval for patch rollouts. Emits AUTOMATION_DEPLOYED with a ready-to-apply baseline + maintenance window + compliance monitoring template or REVIEW_REQUIRED with the specific gap. Use when automating patch...
- ▌ Stepfunctions Express Deployer · jhkchan bundleProvisions Step Functions Express Workflows with production defaults: Express-vs-Standard decision (5-min cap, at-least-once vs exactly-once, per-invocation vs per-transition pricing), sync (RequestResponse) vs async invocation, CloudWatch Logs configuration (ALL / ERROR / FATAL / OFF levels and INCLUDE_DATA / EXCLUDE_DATA), IAM least-privilege execution role, EventBridge scheduling, Distributed Map and Inline Map fan-out, Express-compatible service integrations (.sync, AWS SDK direct calls), idempotency for at-least-once delivery, observability (metrics, X-Ray, CloudWatch alarms). Emits READY_TO_DEPLOY / PREREQUISITES_MISSING with copy-pasteable stepfunctions / logs / events / iam CLI. Use when provisioning an Express workflow, migrating high-volume Standard workloads to Express, configuring sync invocation from API Gateway, or hardening logging. Triggers: Express workflow, create state machine EXPRESS, sync express, async express, EventBridge Step Functions, Step Functions logging, Distributed Map Express.
- ▌ Sts Cross Account Role Auditor · jhkchan bundleAudits IAM role trust policies (AssumeRolePolicyDocument) for cross-account exposure, wildcard Principal grants, confused-deputy service-principal vectors, and condition-strength weaknesses. Emits a deterministic EXTERNAL_TRUST | WILDCARD_TRUST | CONDITIONAL | OK verdict per role with severity and remediation. Use when reviewing IAM role trust policies, checking who can assume a role, auditing cross-account access, validating ExternalId or SourceArn guards, or hardening role trust before production. Triggers: STS, AssumeRole, trust policy, AssumeRolePolicyDocument, cross-account, ExternalId, confused deputy, Principal AWS root, Principal Service, Principal star, SAML federated, SourceArn, SourceAccount, NotPrincipal, role trust audit, role assumption exposure.
- ▌ Apprunner Autoscaling Optimizer · jhkchan bundleOptimises AWS App Runner autoscaling configuration for cost and performance — auto-scaling configuration (MinSize/MaxSize provisioning), concurrency setting (requests per instance, the primary cost lever), CPU/memory utilization target tuning, instance type sizing (1 vCPU / 2 GB vs 2 vCPU / 4 GB vs 4 vCPU / 8 GB), health check interval tuning, scale-in cooldown, static vs dynamic traffic pattern analysis, cost-per-request modeling, VPC ingress/ egress cost analysis (NAT gateway, VPC endpoints), observability cost, and pause/resume for non-prod cost savings. Reads App Runner service configuration, CloudWatch metrics, and Cost Explorer data to project monthly savings. Emits OPTIMIZED with specific recommendation and estimated savings, or FURTHER_OPTIMIZATION_AVAILABLE. Use when reviewing App Runner spend, tuning concurrency, right-sizing MinSize, or evaluating pause/resume for non-prod environments.
- ▌ Auditmanager Assessment Auditor · jhkchan bundleAudits AWS Audit Manager assessments for evidence-collection integrity, control compliance rate, delegation wiring, and account-level settings posture. Evaluates assessment lifecycle state (ACTIVE vs stopped/INACTIVE), the data-source dependency chain (AWS Config recording + CloudTrail management-event logging), NOT_ASSESSED burden, FAIL burden, framework scope coverage, KMS-key/SNS-topic/reports-destination/process-owner configuration, and outstanding delegations. Emits a deterministic verdict (INCOMPLETE_EVIDENCE | LOW_COMPLIANCE | CONFIG_GAP | OK) per assessment with enumerated findings and CLI remediation. Use when reviewing an Audit Manager assessment, validating evidence completeness before a compliance report, checking whether a stopped assessment has stale compliance data, or auditing Audit Manager account settings.
- ▌ Cloudfront Cache Troubleshooter · jhkchan bundleDiagnoses CloudFront caching issues via a symptom-to-cause decision tree covering cache misses on every request, stale content served, unexpected cache key variation, 403/404 errors from cache, and low cache hit ratio. Walks Cache-Control headers from origin, cache policy configuration (managed vs custom), TTL settings, query string/header/cookie inclusion in cache key, x-edge-result-type and x-cache headers in access logs, Lambda@Edge response modifications, and WAF blocks. Emits a deterministic verdict (ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE) with the specific cache issue and evidence from CloudFront access logs, cache policy inspection, and curl response headers. Use when content is not cached, stale content is served, hit ratio is low, or CloudFront returns 403/404 unexpectedly.
- ▌ Cloudfront Distribution Auditor · jhkchan bundleAudits AWS CloudFront distributions for insecure TLS viewer minimum protocol versions and viewer protocol policies, missing Origin Access Control (OAC) on S3 origins, missing WAF Web ACL association, disabled access logging, absent geographic restrictions, and default-cache-behavior misconfigurations. Emits a deterministic verdict (INSECURE_TLS | NO_OAC | CONFIG_GAP | OK) per distribution with enumerated findings and CLI remediation. Use when reviewing a CloudFront distribution before production deployment, checking TLS posture, validating OAC on S3 origins, verifying WAF coverage, auditing logging status, or hardening edge security.
- ▌ Cloudwatch Alarm Troubleshooter · jhkchan bundleDiagnoses CloudWatch alarm issues through a nine-category diagnostic tree: alarm stuck in INSUFFICIENT_DATA (missing metric, missing dimension, period misaligned), alarm not firing (static threshold vs anomaly detection band, statistic mismatch Sum/Average/Maximum), high-resolution vs standard-resolution period mismatch, metric namespace typo or wrong source, composite alarm rule evaluation failure, math expression errors, dimension case-sensitivity and exact-string matching, alarm actions not triggering (SNS topic policy, Lambda invoke permission, missing action), alarm history analysis for state transitions, and treat-missing-data configuration. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Cost Anomaly Response Automator · jhkchan bundleDesigns automated AWS cost-anomaly detection and response workflows across AWS Cost Anomaly Detection (CAD) monitors (service, linked account, daily/weekly/monthly cadence), anomaly subscriptions (SNS), automated response patterns (EventBridge to Lambda: notify Slack or Teams, tag suspect resources, trigger a Budgets action), AWS Budgets cost-budget auto-actions (IAM policy attach, EC2 stop), Cost Explorer anomaly views, and CUR (Cost and Usage Report) analysis automation (Athena top-spenders queries). Layers in the latest: CAD with ML impact evaluation, Amazon Q cost-optimization recommendations, and Budgets advanced actions. Enforces guardrails: dry-run first, human-approval gate for any resource-stopping action, scoped IAM, idempotency, full CloudTrail audit. Emits AUTOMATED with response plan or MANUAL_STEP_REQUIRED with the specific gap. Use when wiring Cost Anomaly Detection or Budgets to a notification or remediation pipeline.
- ▌ Dynamodb Global Tables Operator · jhkchan bundleOperates DynamoDB Global Tables safely across the full lifecycle: creating replicated tables in multiple regions, managing replication configuration, adding and removing replica regions, monitoring ReplicationLatency and ReplicaLag, executing application-level regional failover, and managing per-region PITR. Runs deterministic pre-checks (table ACTIVE in all regions, same key schema, PITR consistent, IAM permissions, no in-progress updates) before any state-changing CLI, executes the operation behind a CONFIRM gate, and verifies the result. Covers Global Tables v2 (standard, single-writer), LAST_WRITER_WINS conflict resolution, and per-region PITR enablement. Emits a verdict (READY | BLOCKED | COMPLETED) per operation with the exact CLI sequence, expected side-effects, and verification commands. Use when creating a global table, adding or removing replica regions, monitoring cross-region replication latency, failing over to another region, or managing per-region continuous backups.
- ▌ Ec2 Reserved Capacity Optimizer · jhkchan bundleOptimizes EC2 Reserved Instance and Savings Plans commitments across seven dimensions: RI utilization analysis (underused Standard or Convertible RIs), coverage gap detection (on-demand spend exposed to full price), Standard vs Convertible RI selection, 1-year vs 3-year term trade-offs, upfront vs no-upfront payment options, Savings Plans type choice (Compute SP vs EC2 Instance SP vs SageMaker SP), and Cost Explorer recommendation harvesting. Reads Cost Explorer RI/SP utilization, coverage reports, and EC2 fleet inventory. Emits FURTHER_OPTIMIZATION_AVAILABLE or OPTIMIZED with commitment adjustments, estimated savings, and utilization alerts. Use when reviewing RI portfolios, evaluating Savings Plans, planning a commitment strategy, or conducting a FinOps commitment review.
- ▌ Glue Job Failure Troubleshooter · jhkchan bundleDiagnoses AWS Glue job failures through a fifteen-layer diagnostic tree: ETL script errors (PySpark/Scala exceptions), DPU allocation insufficient (executor YARN OOM, max capacity reached), Python shell vs Spark shell errors, Data Catalog table not found, S3 source data path wrong, partition not loaded (MSCK REPAIR missing), bookmark errors (state corrupted or partition-key mismatch), JDBC connection errors (Glue connection / security group to RDS/Redshift), dynamic frame vs RDD performance, CloudWatch Logs not enabled, job timeout (default 2.5h), worker type mismatch (G.1X vs G.2X vs G.025X), job metrics analysis, and Spark UI DAG inspection. Walks symptoms to a verified root cause with evidence-backed read-only probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Inspector2 Automation Automator · jhkchan bundleDesigns and deploys Amazon Inspector v2 automation workflows — enabling Inspector across EC2, ECR, and Lambda resources; EventBridge routing for finding events; severity-based auto- remediation (Critical = patch via SSM Automation, High = notify with Slack/email); ECR image scan on push integration; Lambda code scan finding handling; finding suppression for accepted risks; Inspector to Security Hub finding forwarding; multi-account via Organizations delegated admin; patch baseline association for OS-level remediation; SSM Automation runbook design for OS patching; container image rebuild trigger via CodeBuild; finding lifecycle (open/suppressed/closed) and SLA enforcement. Emits AUTOMATION_DEPLOYED with a workflow template (CLI or CloudFormation) or REVIEW_REQUIRED with the specific gap. Use when building Inspector-driven remediation, wiring SSM patch baselines to Inspector findings, configuring ECR rescan, or forwarding Inspector findings to Security Hub.
- ▌ Kinesis Firehose Troubleshooter · jhkchan bundleDiagnoses Amazon Kinesis Data Firehose delivery stream failures via a systematic 8-symptom decision tree: delivery to S3 fails (bucket deleted, KMS key policy, bucket region mismatch), data transformation Lambda fails (Lambda timeout, exception, resource policy), delivery lag (buffering hints too large, Lambda slow, throttling), data format conversion fails (incorrect JSON, Hive SerDe mismatch for Parquet/ORC), delivery to OpenSearch fails (cluster unreachable, auth failure, circuit breaker), delivery to Redshift fails (COPY command failure, staging bucket issue), and latest destinations (Firehose to Snowflake, HTTP endpoint, Splunk delivery). Maps each symptom to root cause via diagnostic commands and specific fixes. Emits ROOT_CAUSE_FOUND with a fix plan, NEED_MORE_INFO with the next diagnostic, or ESCALATE with the escalation path. Use when Firehose is failing to deliver, lagging, transforming incorrectly, or a downstream destination returns errors.
- ▌ Lakeformation Data Lake Auditor · jhkchan bundleAudits AWS Lake Formation data-lake posture for catalog-level super-grants, cross-account principals, ColumnWildcard SELECT without DataCellsFilter, WithGrantablePermissions delegation chains, grants on unregistered S3 locations, data-lake admin composition, IAMAllowedPrincipals mixed-mode databases, and sensitive-table cell-filter wiring. Emits a deterministic verdict (OVERPERMISSIVE_GRANT | EXTERNAL_ACCOUNT | CONFIG_GAP | OK) per data lake with enumerated findings and CLI remediation. Use when reviewing Lake Formation permissions, auditing LF-tag policies, checking cross-account data shares, validating cell-level filtering, or hardening data-lake posture before production deployment.
- ▌ Migration Hub Strategy Deployer · jhkchan bundleDeploys AWS Migration Hub Strategy Recommendations assessments: assessment creation and group-by-application analysis, data collection via Application Discovery Service (agent-based for dependency telemetry vs agentless Collector VM for inventory), the 6R strategy classification (rehost, replatform, refactor, repurchase, retain, retire) from runtime telemetry, anti-pattern detection (EOL OS, deprecated DB engines), TCO analysis, right-sizing from utilization percentiles, migration wave planning from dependency mapping, and handoff to Application Migration Service (MGN) for rehost and Database Migration Service (DMS) for replatform. Emits READY_TO_DEPLOY with a Collector deployment plan and assessment schedule or PREREQUISITES_MISSING with the specific gap. Use when planning a migration assessment, deploying the Collector, interpreting 6R results, or sequencing migration waves.
- ▌ Rds Connectivity Troubleshooter · jhkchan bundleDiagnoses RDS and Aurora connection failures through a bidirectional- SG-first decision tree covering security group misconfiguration (wrong SG attached, missing inbound on the RDS SG, missing egress on the client SG), subnet group errors, DNS resolution (custom vs cluster vs writer vs reader endpoint), IAM database auth failures (token expiry, policy scope), SSL/TLS issues (force_ssl, CA bundle rds-ca-2019/e2022, TLS version mismatch), max_connections reached (parameter group override, Aurora derived limit), storage-full status (auto-scaling not enabled), CPU/memory exhaustion, read replica lag, Aurora global database replication issues, RDS Proxy connectivity, parameter group and option group conflicts. Walks describe-db-instances + describe-security-groups to a verified root cause. Emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA. Use when an application cannot reach an RDS or Aurora database, intermittent connectivity, auth/TLS errors, pool exhaustion, or DNS lookup failures against an RDS endpoint.
- ▌ Rekognition Collection Deployer · jhkchan bundleProvisions Amazon Rekognition face collections and detection pipelines: collection creation with KMS encryption (must be set at create time), face indexing (index-faces, FaceId, ExternalImageId), face search by image and by FaceId with similarity threshold tuning (80%+ for production), stream processor for video analysis (Kinesis shard-level parallelism), celebrity recognition, content moderation, text in image, label detection, PPE detection, custom labels model training and deployment, SNS notification for async jobs, KMS encryption, IAM roles, cost per image/video, rate limiting (TPS), and collection size limits. Emits a READY_TO_DEPLOY checklist. Triggers: create rekognition collection, index faces, search faces by image, face search similarity threshold, rekognition stream processor, celebrity recognition, content moderation, ppe detection, custom labels model training, rekognition kms encryption.
- ▌ Route53 Routing Policy Deployer · jhkchan bundleProvisions Route 53 routing policies and dependent primitives with production defaults: simple, weighted (canary), latency, failover (primary/secondary with health checks), geolocation (continent/ country/subdivision), geoproximity (bias), multivalue answer (round-robin with HCs), IP-based (CIDR), alias records (ALB, CloudFront, API Gateway, S3 website, VPC interface endpoint) with EvaluateTargetHealth, health checks (endpoint, string match, inverted, calculated), traffic policies (versioned), and Route 53 Application Recovery Controller (routing control + readiness check + safety rule). Emits READY_TO_DEPLOY / PREREQUISITES_MISSING with every record and HC verified and copy-pasteable route53 / route53-recovery-cluster commands. Use when provisioning DNS routing for multi-region, canary, geolocation, DR failover, or aliasing to an AWS service. Triggers: Route 53, routing policy, weighted, latency, failover, geolocation, health check, alias, traffic policy.
- ▌ S3 Access Denied Troubleshooter · jhkchan bundleDiagnoses Amazon S3 Access Denied errors through a thirteen-category diagnostic tree: explicit deny in bucket policy overriding an IAM allow, object ownership mismatch (bucket owner vs uploader), bucket owner enforcement (RequestAccount condition), KMS key policy missing kms:DecryptObject grant, VPC endpoint policy restricting S3 actions, presigned URL expiry or signature mismatch, ACL vs bucket policy conflict, Block Public Access settings, Object Lock retention preventing overwrite or delete, cross-account access requiring both bucket policy and IAM permission, STS assumed-role permission boundary narrowing effective permissions, Service Control Policy denying S3 at the org level, and S3 Object Lambda access point routing. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED, INSUFFICIENT_DATA.
- ▌ Sagemaker Training Job Operator · jhkchan bundleOperates Amazon SageMaker training jobs end-to-end — job creation (algorithm spec, input data S3 channels, output S3, instance type, volume size, hyperparameters), spot training (SpotInstanceConfig with checkpointing S3), distributed training (multi-GPU, multi-instance, SageMaker Distributed Data Parallel and Model Parallel), warm pools (reuse provisioned instances), automatic model tuning (HPO with warm starts), and model artifacts (register-model, model registry versioning). Covers SageMaker Training Compiler, P5 instances (H100), and training plan management. Runs deterministic pre-checks (instance quota, image existence, S3 input access, KMS, IAM role, VPC, warm pool availability), executes behind a CONFIRM gate, and emits READY | BLOCKED | COMPLETED with the exact CLI sequence and post-verification. Use when launching a training job, configuring spot/distributed training, setting up HPO, registering a model, or resolving a BLOCKED training job.
- ▌ Secretsmanager Rotation Auditor · jhkchan bundleAudits AWS Secrets Manager secrets for rotation posture — rotation enablement, rotation-Lambda health (existence, execution-role permissions, VPC connectivity, invocation errors), staleness against the configured rotation interval, stuck AWSPENDING versions, and recovery-window state. Classifies each secret as UNROTATED, ROTATION_BROKEN, STALE, or OK with risk-severity and concrete remediation. Use when reviewing secret rotation health, validating rotation-Lambda wiring, investigating failed rotations, or auditing credential hygiene before compliance gates. Triggers: Secrets Manager, secret rotation, rotation Lambda, LastRotatedDate, AutomaticallyAfterDays, AWSPENDING, rotation broken, stale secret, unrotated secret, recovery window, credential hygiene, compliance check, RDS credentials, API token rotation.
- ▌ Signer Signing Profile Deployer · jhkchan bundleProvisions AWS Signer signing profiles with production defaults: platform selection (AWSLambda-SHA384-ECDSA, AmazonFreeRTOS, AWSIoT) where the platform fixes the cryptographic algorithm, Lambda code signing config (code-signing-config ARN, allowed publishing profiles, untrusted-artifact-on-violation=Enforce), signing job creation (source S3, destination S3, profile ARN), certificate validation, signature verification at Lambda deploy time, revocation tracking, profile versioning, IAM permissions, IoT device management integration, CloudTrail audit, and trusted profile management. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a signing profile, configuring Lambda code signing, starting a signing job, or managing trusted profile versions. Triggers: create signer signing profile, Lambda code signing config, signer signing job, allowed publishing profiles, profile versioning.
- ▌ Vpc Connectivity Troubleshooter · jhkchan bundleDiagnoses AWS VPC network connectivity issues through a systematic OSI-layered diagnostic tree: Layer 3 routing (missing route, wrong target IGW/NAT/TGW/peering/VPN, overlapping CIDRs on peered VPCs), Layer 4 security groups (stateful inbound, outbound return path, SG references that silently fail cross-VPC), Layer 4 NACLs (stateless both directions, ephemeral range 1024-65535), Layer 7 DNS (Route 53 private hosted zones, VPC DNS resolution settings), VPC endpoint policies, and application-level auth/SSL. Cross-VPC coverage: VPC peering (DNS flag, SG references), Transit Gateway (route table associations, propagation), and PrivateLink (interface endpoint NLB). Uses Reachability Analyzer and VPC Flow Logs. Emits ROOT_CAUSE_FOUND, NEED_MORE_INFO, or ESCALATE.
- ▌ Wellarchitected Review Operator · jhkchan bundleOperates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer / get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.
- ▌ Acm Certificate Monitor Operator · jhkchan bundleOperates AWS ACM certificate monitoring and expiry tracking with production defaults: DaysToExpiry CloudWatch alarm creation (threshold <30 days warning, <7 days critical), multi-region certificate inventory, certificate renewal status tracking (PENDING_VALIDATION, ISSUED, EXPIRED), DNS validation record verification, CAA record conflict detection, multi-account certificate audit via Organizations, certificate-to-load-balancer mapping, automated renewal failure detection, SNS notification on expiry alarm, wildcard vs SAN coverage audit, and private certificate (ACM PCA) monitoring. Emits an OPERATION_COMPLETED report with verification commands. Use when auditing ACM certificate expiry, setting up expiry alarms, verifying renewal, detecting CAA conflicts, or mapping certificates to resources. Triggers acm certificate monitoring, certificate expiry alarm, days to expiry, caa record conflict, multi-account audit, acm pca.
- ▌ Appmesh Virtual Service Deployer · jhkchan bundleProvisions AWS App Mesh virtual service layer resources with production defaults: service mesh creation (egress filter DROP_ALL vs ALLOW_ALL), virtual nodes with DNS service discovery (hostname-based) vs Cloud Map service discovery (namespace-based, auto-registration), virtual services backed by virtual nodes or virtual routers, virtual routers with weighted route configuration (HTTP / TCP / gRPC routes for canary traffic shifting), timeout and retry policies (per-route and per-virtual-node), circuit breaker via connection pool limits and outlier detection, virtual gateway for north-south ingress (ALB/NLB → gateway → mesh), Envoy proxy injection (auto-inject on EKS via App Mesh mutating admission webhook, ECS sidecar registration, EC2 manual sidecar), xDS protocol (Envoy fetches. Triggers: create app mesh virtual service, app mesh virtual node, app mesh virtual router, weighted routing canary, app mesh envoy inject, app mesh mTLS, virtual gateway ingress, app mesh cloud map discovery, app mesh dns discovery.
- ▌ Cleanrooms Collaboration Auditor · jhkchan bundleAudits AWS Clean Rooms collaborations for membership-status gaps (INVITED or REMOVED members), privacy-budget risks (differential privacy disabled, epsilon spend exhausted, aggregate constraints missing), analysis-template SQL-validation defects (unresolved parameters, dangling table references), and configured-audience activation gaps (audience model untrained or stale). Emits a deterministic verdict (MEMBERSHIP_GAP | PRIVACY_RISK | CONFIG_GAP | OK) per collaboration with enumerated findings and specific CLI remediation. Use when reviewing Clean Rooms collaborations, checking member activation status, validating analysis templates, auditing the protected-query privacy budget, verifying configured-audience readiness, or hardening collaboration posture before production query traffic.
- ▌ Cloudformation Cfn Lint Operator · jhkchan bundleOperates CloudFormation template linting and validation with production defaults: cfn-lint integration (rule-based static analysis), template pre-deploy validation (validate-template), ChangeSet creation before update (exact resource change preview), drift detection trigger (detect-stack-drift), stack policy enforcement (prevent accidental resource deletion), nested stack validation, resource import validation, macro expansion, SAM transform validation (AWS::Serverless transforms), cost estimation (infracost integration), template security scanning (cfn-nag for IAM wildcard and unencrypted resources), IaC pipeline integration (CodePipeline + cfn-lint gate), template version control, rollback template archive. Emits an OPERATION_COMPLETED checklist with verification commands. Use when validating a CloudFormation. Triggers: cfn lint, cloudformation validate template, changeset create, drift detection, cfn-nag security scan, sam transform validation, cloudformation stack policy, nested stack validation.