jhkchan
- 404 skills
- 0 followers
- last week last updated
- ▌ Quicksight Dashboard Deployer · jhkchan bundleProvisions Amazon QuickSight dashboards with production defaults: account creation (Standard/Enterprise), data source (Athena, RDS, Redshift, S3, Aurora), dataset (SQL, join, calculated field), analysis (visual types, sheet layout), dashboard creation and sharing, template-based deployment, row-level security (RLS via dataset permissions), SPICE vs Direct Query, VPC connection for private data stores, IAM service role, email-based user provisioning, namespace and groups, refresh schedules, parameterized dashboards. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a QuickSight dashboard, connecting QuickSight to a data source, setting up SPICE ingestion, configuring row-level security, deploying multi-tenant dashboards, or provisioning QuickSight users. Triggers: create quicksight dashboard, quicksight data source, quicksight SPICE, quicksight template, quicksight row-level security, quicksight VPC connection, quicksight enterprise.
- ▌ Redshift Query Troubleshooter · jhkchan bundleDiagnoses Amazon Redshift query failures through a twelve-category diagnostic tree: WLM queue timeout (queue wait vs execution time), table lock detection (STV_LOCKS, lock contention), COPY command failures (IAM role, data format, delimiter, S3 manifest mismatch), distribution key skew causing data skew, sort key misalignment causing full table scans, nested loop joins (DS_DIST_NONE vs DS_DIST_ALL_INNER), insufficient sort/dist keys, STL_ERROR messages, connection limits, SSL/TLS certificate issues, query plan analysis (EXPLAIN), vacuum blocked by concurrent writes, and encoding conversion errors. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Acm Certificate Expiry Auditor · jhkchan bundleAudits AWS Certificate Manager (ACM) certificates for expiry risk, renewal health, validation method, and key-algorithm strength. Emits a deterministic verdict (EXPIRED | EXPIRING_SOON | RENEWAL_FAILED | ERROR | OK) per certificate with risk level and specific remediation. Use when reviewing ACM certificate expiry, diagnosing FAILED_AUTORENEWAL root causes (CAA_ERROR, DOMAIN_VALIDATION_DENIED, NO_AVAILABLE_CONTACTS, PCA_* errors), checking CloudFront certificate region placement, validating imported-certificate re-import windows, or auditing TLS posture before production deployment.
- ▌ S3 Performance Optimizer · jhkchan bundleOptimises Amazon S3 performance across eleven dimensions: prefix distribution for partition allocation (auto-scale post-2018/2023), S3 Transfer Acceleration for cross-region uploads, multipart upload parallelism for large objects (>100 MB), byte-range fetches for partial reads, S3 Select for query pushdown (CSV/JSON/Parquet), S3 inventory for audit, CloudWatch request metrics (429 Slow Down, 503 throttling, FirstByteLatency), S3 Batch Operations for bulk processing, HTTP/2 connection reuse, pre-signed URL expiry tuning, S3 Object Lambda for on-demand transformation, S3 Express One Zone for single-digit-ms latency, multipart copy for large-object relocation, and content-encoding for transfer reduction. Distinguishes latency-bound from throughput-bound from request-rate-bound workloads. Emits OPTIMIZED or FURTHER_OPTIMIZATION_AVAILABLE per workload.
- ▌ S3 Public Access Auditor · jhkchan bundleAudits S3 bucket configurations (Block Public Access settings, ACLs, bucket policies, Access Points, and Object Ownership) to determine which buckets are publicly accessible and provides specific remediation guidance. Use when reviewing S3 bucket security, checking for public access exposure, validating BPA settings, auditing bucket ACLs/policies for compliance, or inventorying exposure across hundreds of buckets in an account. Triggers: S3, bucket, public access, BPA, Block Public Access, bucket policy, ACL, AllUsers, AuthenticatedUsers, Principal:*, s3:GetObject, s3:PutObject, Access Point, Multi-Region Access Point, MRAP, Object Ownership, BucketOwnerEnforced, Object Writer, sourceIp, aws:sourceVpce, public read, public write, s3 exposure, data leak, bucket security, compliance check, bulk bucket audit.
- ▌ S3 Table Bucket Deployer · jhkchan bundleProvisions Amazon S3 Tables (table buckets) with production defaults: table bucket creation (create-table-bucket), namespace management (create-namespace), table creation in Apache Iceberg format (create-table with schema, partition spec), table maintenance configuration (compaction, snapshot management, unreferenced file cleanup), table bucket policy (separate from regular S3 object bucket policy), Apache Iceberg REST catalog endpoint for Athena integration, Lake Formation integration for fine-grained access control, table format version (Iceberg v2 for row-level deletes), partitioning strategy alignment with query patterns, S3 table bucket vs regular S3 bucket distinction (purpose-built for tabular data), and Apache Iceberg features (time travel, schema evolution, ACID transactions). Emits a. Triggers: create s3 table bucket, s3 tables namespace, iceberg table s3, s3 table maintenance compaction, s3 table bucket policy, iceberg rest catalog athena, lake formation s3 tables, s3 table partition spec.
- ▌ Sqs Throughput Optimizer · jhkchan bundleOptimises AWS SQS queue throughput and cost across seven dimensions: queue type selection (Standard vs FIFO), polling strategy (long vs short to eliminate empty receives), batch size tuning (max 10 messages per batch API to cut request units 10x), visibility timeout right-sizing, message retention period cost impact, DLQ redrive policy tuning, and FIFO high-throughput mode (DeduplicationScope + ThroughputLimit). Reads CloudWatch metrics (ApproximateNumberOfMessagesVisible, ApproximateAgeOfOldestMessage, NumberOfEmptyReceives), evaluates per-queue API request spend, and projects monthly savings. Emits OPTIMIZED or FURTHER_OPTIMIZATION_AVAILABLE with a queue-specific recommendation and estimated savings.
- ▌ Ssm Association Operator · jhkchan bundleOperates AWS Systems Manager (SSM) State Manager associations with production defaults: association creation (document name, targets, schedule), association status (Success/Failed/Pending), compliance reporting, association versioning, output location (S3 bucket with KMS-encrypted SSE), rate control (max-concurrency and max-errors as integer counts, NOT percentages), target via resource tags (dynamic — new instances auto-included) vs instance IDs (static), association automation (apply on cron/rate schedule), association remediation on non-compliance, multi-document association, document-specific parameters, SSM document lifecycle (create/update/default version), and CloudWatch metrics for association execution. Emits an OPERATION_COMPLETED. Triggers: create ssm association, ssm state manager, ssm association schedule, ssm association rate control, ssm association targets, ssm association output s3, ssm association compliance, ssm association version, ssm document parameters, ssm association remediation.
- ▌ Storage Gateway Deployer · jhkchan bundleDeploys AWS Storage Gateway with production defaults: gateway types (S3 File Gateway, FSx File Gateway, Volume Gateway cached/stored, Tape Gateway), gateway activation via activation key, local disk allocation (cache vs upload buffer), S3 File Gateway NFS/SMB file share exports, file share configuration (S3 bucket mapping, default storage class), SMB Active Directory integration, Volume Gateway iSCSI targets, Tape Gateway VTL with backup software, CloudWatch monitoring, bandwidth rate limit scheduling, automatic file share refresh, SMB guest password, and audit logging. Emits a READY_TO_DEPLOY checklist with verification commands. Use when deploying Storage Gateway, setting up S3 File Gateway, configuring Volume Gateway iSCSI, deploying Tape Gateway VTL, or configuring SMB Active Directory. Triggers: deploy storage gateway, s3 file gateway, volume gateway, tape gateway, fsx file gateway, storage gateway activation, cache upload buffer, nfs smb file share, iscsi target, vtl tape, bandwidth rate limit.
- ▌ Tag Compliance Automator · jhkchan bundleAutomates AWS tag compliance end-to-end: Organizations tag policies with case-sensitive key/value validation and enforced_for scoping, Resource Groups Tagging API bulk operations, Config managed rules (required-tags, allowed-tag-values) plus custom Lambda rules for 6+ keys, EventBridge + Lambda auto-tagging on EC2/S3/Lambda creation with inherited-tag propagation (EC2 to EBS and ENIs), tag drift detection via Config CI change events, remediation via SSM Automation, cost allocation tag activation via Cost Explorer API, and cross-account consistency via CloudFormation StackSets. Emits AUTOMATION_DEPLOYED with deployment templates or REVIEW_REQUIRED with the specific gap. Use when building tag compliance automation, enforcing a tag schema, wiring auto-tagging, or remediating tag drift across an organization.
- ▌ Tag Governance Automator · jhkchan bundleDesigns and implements AWS tag governance automation across Organizations TagPolicy JSON (allowed_values, case_sensitive, enforced_for cascade), EventBridge + Lambda auto-tagging on EC2/S3/Lambda creation (derive Owner from IAM identity, Environment from account map), Resource Groups Tagging API bulk operations (tag-resources, untag-resources, get-resources multi-region), Config required-tags managed rule + Security Hub finding aggregation, cost-allocation-tag activation via Billing API (user-defined vs AWS-generated), and ABAC IAM policy design with aws:ResourceTag and aws:PrincipalTag condition keys. Covers automated remediation: Config detects missing tag, SSM Automation adds tag, Config re-evaluates. Emits AUTOMATED with tag policy template or MANUAL_STEP_REQUIRED with the specific gap. Use when building tag governance, auto-tagging pipelines, ABAC, or tag-compliance automation.
- ▌ Transfer Family Deployer · jhkchan bundleProvisions AWS Transfer Family servers with secure defaults — SFTP, FTPS, and FTP protocols, server endpoint types (public vs VPC vs VPC_ENDPOINT), identity providers (Service Managed, API Gateway Lambda custom IdP, AWS Directory Service), S3 storage backend with scoped-down IAM roles and session policies, EFS-backed users, CloudWatch logging, security groups for VPC endpoints, AS2 app-level B2B messaging, managed workflows (copy, delete, tag), tags, and structured logging. Runs pre-checks (S3 bucket policy, IAM role session policy scope, ACM cert for FTPS, API Gateway invocation permissions for custom IdP, VPC subnet/security group reachability, Directory Service user population), emits create-server and create-user CLIs behind a CONFIRM gate, and verifies via describe-server. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when creating SFTP/FTPS servers, configuring custom IdPs, or setting up managed workflows.
- ▌ Transit Gateway Deployer · jhkchan bundleProvisions production-grade AWS Transit Gateway topologies with secure defaults: TGW creation (Amazon ASN, DNS support, multicast), VPC attachments with subnet selections, TGW route tables (association + propagation), inter-region peering connections, Connect attachments (GRE tunnels for SD-WAN), TGW Network Manager (global network visualization), cross-account sharing via RAM, and AWS Cloud WAN integration. Emits READY_TO_DEPLOY with an ordered CLI plan or PREREQUISITES_MISSING with the specific gap. Use when building hub-and-spoke or mesh topologies, configuring inter-region TGW peering, deploying Connect attachments for SD-WAN appliances, sharing a TGW across accounts via RAM, or migrating to Cloud WAN.
- ▌ Vpc Lattice Auth Auditor · jhkchan bundleAudits VPC Lattice service networks for auth-policy absence (default-open posture), public Principal:"*" Invoke grants, NotAction inverse-wildcard traps, cross-account principal exposure without strong conditions, target group security (IP targets to untrusted CIDRs, type-mismatch health checks), cross-account RAM share coverage, routing-rule catch-all exposure, and service-level auth-policy overrides that silently bypass network-level guards. Emits a deterministic verdict (NO_AUTH_POLICY | PUBLIC_SERVICE_NETWORK | CONFIG_GAP | OK) per service network with enumerated findings and CLI remediation. Use when reviewing VPC Lattice auth policies, checking service-network access scope, validating cross-account sharing, auditing target group security, or hardening service-network posture before production deployment.
- ▌ Amazon Mq Broker Deployer · jhkchan bundleProvisions Amazon MQ brokers (ActiveMQ or RabbitMQ) with production defaults: engine selection (ActiveMQ for JMS/OpenWire/STOMP/MQTT/AMQP/WS, RabbitMQ for AMQP 0-9-1/MQTT/STOMP high-throughput), deployment mode (single instance, active/standby HA, cluster for RabbitMQ horizontal scale), instance type sizing (mq.t3.micro to mq.m5.16xl), EBS storage with KMS encryption, VPC networking, authentication (LDAP, AWS IAM for RabbitMQ, mTLS), configuration (ActiveMQ XML, RabbitMQ definitions JSON), automatic minor version upgrades, CloudWatch general and audit logs, RabbitMQ transit gateway cross-account. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an Amazon MQ broker, choosing ActiveMQ vs RabbitMQ, designing HA topology, wiring RabbitMQ IAM auth, or generating provisioning CLI / IaC templates. Triggers: create Amazon MQ, provision ActiveMQ, provision RabbitMQ, Amazon MQ active/standby, mq.t3, mq.m5, Amazon MQ LDAP, RabbitMQ IAM auth, transit gateway, audit logging.
- ▌ Autoscaling Group Auditor · jhkchan bundleAudits AWS Auto Scaling Groups for launch-template health (legacy launch configuration, IMDSv2), ELB health-check integrity (missing target group, grace-period timing), mixed-instances policy (single Spot instance type, allocation strategy), capacity bounds (desired vs min/max), and unhealthy termination behavior (EC2-only checks behind an ELB, capacity rebalance). Emits a deterministic verdict (MISCONFIGURED | CONFIG_GAP | OK) per ASG with enumerated findings and specific remediation. Use when reviewing ASG configurations, checking launch-template wiring, validating ELB health checks, auditing Spot diversification, or hardening capacity posture.
- ▌ Backup Schedule Automator · jhkchan bundleDesigns and implements automated AWS Backup scheduling workflows using backup plans, tag-based resource assignment, cross-account backup via Organizations backup policies, on-demand backup triggering via EventBridge and Lambda, backup vault notifications (SNS), restore testing automation, lifecycle policy automation (warm storage tiering to cold storage), curated backup reports, audit trail via CloudTrail, compliance reporting, and multi-region backup orchestration. Wires backup vault lock for WORM compliance, backup plan templates for common patterns (daily-7d, weekly-30d, monthly-1yr), and EventBridge-driven on-demand backups triggered by application deployment events. Emits AUTOMATION_DEPLOYED with a deployment-ready backup plan and policy template or REVIEW_REQUIRED with the specific gap. Use when building AWS Backup automation, designing tag-based backup schedules, configuring cross-account or cross-region backup, implementing lifecycle tiering, or setting up restore testing for RTO/RPO validation.
- ▌ Cloudfront Cost Optimizer · jhkchan bundleOptimizes CloudFront distribution costs across nine cost dimensions — Price Class (PriceClass_100 vs PriceClass_200 vs PriceClass_All, where PriceClass_100 saves 20-40% when viewers are US/EU-only), cache hit ratio (target >90% for static content via longer TTLs and minimal cache key), origin choice (S3 + OAC is cheapest; custom origins incur $0.02/GB egress), compression (free, 50-90% byte savings via Brotli/gzip), Origin Shield ($0.0125/GB, cuts origin load 95%+), CloudFront Functions ($1/M) vs Lambda@Edge ($0.60/M + compute), security cost (WAF $5/rule + $1/M req, Shield Standard free, Shield Advanced $3K/mo), data-transfer matrix, and impact estimation. Emits OPPORTUNITY_FOUND with per-dimension savings, OPTIMIZED, or ALREADY_OPTIMAL. Use when reviewing CloudFront bills, triaging data-transfer charges, choosing Functions vs Lambda@Edge, or evaluating Origin Shield break-even.
- ▌ Cloudhsm Cluster Deployer · jhkchan bundleProvisions AWS CloudHSM clusters with production defaults: cluster creation in a VPC with subnets across 2+ AZs for HA, HSM instance creation, one-time cluster activation (CSR signing, self-signed cert), crypto officer/user management (mu, password policies), HSM backups (daily automatic + on-demand), cross-region backup copy, HA across AZs, PKCS#11/JCE/PCSC library integration, SSL/TLS offload, FIPS 140-2 Level 3 compliance, network security group (sg-xxx), CN-to-cluster-ID mapping, and degradation recovery (create replacement, sync). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a CloudHSM cluster, activating an HSM, managing crypto officers, configuring backups, or recovering from HSM degradation. Triggers: create cloudhsm cluster, activate cloudhsm, HSM instance, crypto officer, cloudhsm backup, cross-region backup, PKCS#11, JCE, FIPS 140-2 Level 3, CN-to-cluster-ID.
- ▌ Cloudtrail Cost Optimizer · jhkchan bundleOptimises AWS CloudTrail cost across seven dimensions: trail consolidation (single organization trail replaces N per-region or member-account trails, eliminating duplicate log volume and per-trail KMS/SNS overhead), management-vs-data-event volume analysis (data events are ~10x costlier per event than management events — curate S3/Lambda data event sources), S3 lifecycle policy for log files (Glacier Instant/Deep Archive transition after 90 days eliminates ~80% of Standard storage cost), CloudTrail Lake event-data-store cost (per-GB ingestion at $0.75/GB-month plus retention — partition with event-category filters), CloudWatch Logs delivery cost (avoid dual-publishing CloudTrail to both S3 and CloudWatch Logs when only one consumer exists), SNS notification cost ($0.50 per million notifications — consolidate trail SNS topics), KMS key cost per trail (one CMK shared across org trail, not one per trail), Insights event cost ($0.50 per 100k management events — enable only for accounts with anomalous activity...
- ▌ Cloudwatch Alarm Operator · jhkchan bundleOperates CloudWatch alarm lifecycles safely — creates static-threshold, metric-math, anomaly-detection, and composite alarms; tunes threshold / period / DatapointsToAlarm / TreatMissingData; wires alarm actions (SNS, Auto Scaling, EC2 recover/stop/reboot, Lambda via SNS, Systems Manager via SNS); reduces alarm fatigue via composite rollups and anomaly bands; and diagnoses alarms stuck in INSUFFICIENT_DATA or failing to fire. Runs deterministic pre-checks (metric namespace, dimensions, statistic, SNS topic existence, actions-enabled flag), emits the exact put-metric-alarm / put-composite-alarm CLI behind a CONFIRM gate, and verifies state transitions post-apply. Emits a verdict (READY | BLOCKED | COMPLETED) per operation. Use when creating CPU/memory/disk/error-rate/latency/SQS-depth/Lambda-throttle alarms, building composite alarms to reduce alarm fatigue, converting static thresholds to anomaly detection, diagnosing alarms stuck in INSUFFICIENT_DATA, or tuning alarm sensitivity.
- ▌ Codebuild Project Auditor · jhkchan bundleAudits AWS CodeBuild projects for privileged mode (Docker-in-Docker host kernel access), plaintext secrets in environment variables, unencrypted S3 logs and build artifacts, over-permissive service-role blast radius (PassRole, admin wildcard), VPC/network exposure, and public build-status badge leakage. Emits a deterministic verdict (PRIVILEGED | SECRET_LEAK | NO_ENCRYPTION | OVERPERMISSIVE_ROLE | CONFIG_GAP | OK) per project with enumerated findings and specific remediation. Use when reviewing CodeBuild projects, checking for privileged build containers, validating secret injection posture, auditing build-role IAM scope, hardening build-network isolation, or verifying encryption of logs and artifacts before production deployment.
- ▌ Drift Detection Automator · jhkchan bundleDesigns and implements automated CloudFormation drift detection workflows across single-account and multi-account environments. Wires scheduled EventBridge rules for periodic drift detection runs, AWS Config rules for individual resource drift, Lambda comparison functions for desired-vs-actual state analysis, SNS notifications with severity-based routing, SSM Automation remediation (CloudFormation update or custom Lambda), multi-account via CloudFormation StackSets, drift suppression for known-acceptable changes, drift report export to S3 with Athena query, IaC pipeline integration (Terraform plan as drift check), and Config Aggregator cross-account visibility. Emits AUTOMATION_DEPLOYED with the full detection+notification pipeline or REVIEW_REQUIRED with the specific gap. Use when building drift detection automation, scheduling drift checks, integrating drift detection with IaC pipelines, or setting up multi-account drift visibility.
- ▌ Ec2 Rightsizing Optimizer · jhkchan bundleRight-sizes EC2 instances for cost optimization using a structured utilization-driven decision framework — gathers 14-30 day CloudWatch utilization data (CPUUtilization, NetworkIn/Out, DiskReadOps/WriteOps, and the load-bearing MemoryUtilization that requires the CloudWatch Agent), interprets Compute Optimizer findings (Optimized, Underprovisioned, Overprovisioned, Not-enough-data) with confidence gating, applies a rightsizing decision matrix (CPU < 30% + Memory < 50% → downsize; CPU > 70% sustained OR Memory > 80% → upsize; network-bound → Enhanced Networking or larger instance; burstable t-family → CPU credit balance check), selects instance families by workload shape (general-purpose m7i/m6i, compute c7i/c7a, memory r7i/r7a/x2idn, storage i4i/im4gn, GPU g5/p5), evaluates Graviton (ARM) migration opportunities with up to 40% better price-performance, and recommends pricing-model optimizations (On-Demand → Reserved Instance 1/3yr for steady-state with 30-72% savings, Compute/Instance Savings Plans for...
- ▌ Efs Access Point Deployer · jhkchan bundleProvisions EFS Access Points and dependent primitives with production defaults: root-directory auto-creation, POSIX user identity (uid, gid, secondary groups), directory ownership and permission bits, per-AZ mount targets in every compute subnet, IAM file-system policy with elasticfilesystem:AccessPointArn enforcement, amazon-efs-utils mount helper with TLS encryption in transit, EFS Intelligent-Tiering lifecycle for cost control, ECS/EKS integration via the EFS CSI driver (access-point-per-pod), and Lambda file-system mounts. Emits READY_TO_DEPLOY / PREREQUISITES_MISSING with every item verified and copy-pasteable efs / elasticfilesystem / ecs / eks / lambda CLI. Use when creating an application-specific EFS entry point, enforcing IAM-based access, mounting EFS from ECS/EKS/Lambda, enabling encryption in transit, or hardening an existing access point. Triggers: EFS access point, mount EFS, POSIX identity, EFS CSI driver, EFS file system policy, encryption in transit, EFS Lambda.
- ▌ Eks Autoscaling Automator · jhkchan bundleDesigns and implements EKS cluster autoscaling automation. Compares and deploys Cluster Autoscaler vs Karpenter (provisioner node templates, consolidation policies, disruption budgets), configures node-group scaling policies, builds HPA (Horizontal Pod Autoscaler) with custom and external metrics, explains VPA (Vertical Pod Autoscaler) caveats and incompatibilities, deploys KEDA for event-driven scaling (Kafka, SQS, Prometheus), handles spot instance interruption (termination handler, graceful drain), configures overprovisioning pause-pods for fast scale-up, sets up pod disruption budgets to protect quorum, defines priority classes for workload preemption, and deploys descheduler for bin-packing optimization. Emits AUTOMATION_DEPLOYED with ready-to-apply Helm values + manifests or REVIEW_REQUIRED with the specific gap. Use when building EKS autoscaling, choosing Karpenter vs Cluster Autoscaler, or optimizing an existing scaling setup.
- ▌ Eventbridge Pipe Deployer · jhkchan bundleProvisions production-grade Amazon EventBridge Pipes connecting sources (DynamoDB Streams, Kinesis, SQS, MSK, Amazon MQ, self-managed Kafka) to targets (Lambda, Step Functions, EventBridge bus, SQS, SNS, ECS, API Gateway, API Destination, Redshift, SageMaker, AWS Batch) with optional filter patterns, optional enrichment (Lambda, Step Functions, API Gateway, API Destination), batch windowing, dead-letter queue, and correct IAM roles. Emits READY_TO_DEPLOY with an ordered CLI plan or PREREQUISITES_MISSING with the specific gap. Use when wiring a streaming source to a downstream target via Pipes, configuring batch windows and DLQs, adding enrichment transformations, or routing Kafka/MSK topics to Step Functions.
- ▌ Eventbridge Rule Deployer · jhkchan bundleProvisions Amazon EventBridge rules and targets correctly the first time. Covers event-pattern rules (matching events from AWS services or custom sources) and schedule rules (cron/rate), content-based filtering (source, detail-type, detail JSON paths, exists, prefix, suffix, numeric, CIDR, anything-but), target wiring for Lambda, Step Functions, SQS, SNS, ECS, API Gateway, Kinesis, Redshift, SageMaker, and API Destinations, per-target DLQ and retry policy (MaximumRetryAttempts, MaximumEventAgeInSeconds), input transformation (InputPath, InputTemplate), cross-account bus policies, custom event-bus creation, archive and replay, EventBridge Scheduler vs scheduled rules, Pipes vs Rules, global endpoints, and Schema Registry. Emits READY_TO_DEPLOY with a working CLI plan or PREREQUISITES_MISSING with the specific gap. Use when provisioning rules, wiring targets with DLQ and retry, configuring input transformers, deploying cross-account routing, or setting up event archives.
- ▌ Firewall Manager Deployer · jhkchan bundleProvisions AWS Firewall Manager (FMS) policies with production defaults: policy creation (WAF, Security Group, Network Firewall, Shield Advanced), managed service administrator account setup, AWS Organizations integration (OU-based targeting), remediation mode (auto-apply vs monitor-only), resource tagging for inclusion and exclusion, WAF managed rule group association, security group policies (common vs content audit), Network Firewall policy deployment, compliance status via AWS Config, resource group scoped policies, cross-account and cross-Region resource scope, and policy priority ordering. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an FMS policy, managing firewall rules across an AWS Organization, setting up WAF managed. Triggers: create fms policy, firewall manager policy, fms waf policy, fms security group policy, fms network firewall policy, fms shield advanced, fms remediation, fms managed rule groups, fms ou targeting, fms policy priority, fms resource tags.
- ▌ Kms Key Rotation Operator · jhkchan bundleOperates AWS KMS key rotation workflows end-to-end — key type classification (AWS-managed, customer-managed symmetric, asymmetric RSA/ECDSA, HMAC, Multi-Region primary/replica, custom key store / CloudHSM), automatic annual backing-key rotation enablement and verification, manual key rotation (create new CMK + re-encrypt), cryptographic material lifecycle (old material retained for decrypt, new encrypts transparently), and diagnostic loops (describe-key, get-key-rotation-status, CloudTrail EnableKeyRotation events, list-grants, key-policy diff). Runs deterministic pre-checks (key Enabled, key state not PendingDeletion, symmetric SYMMETRIC_DEFAULT usage, multi-Region primary not replica, EnableKeyRotation permission in key policy) behind a CONFIRM gate and emits a READY, BLOCKED, or COMPLETED verdict per rotation. Use when enabling automatic rotation, verifying rotation ran, planning a manual rotation, or diagnosing why rotation cannot be enabled.
- ▌ Memorydb Cluster Deployer · jhkchan bundleProvisions Amazon MemoryDB for Redis clusters with production defaults: cluster creation (node type, shard count, replica count), subnets (subnet group across AZs), security groups, encryption (TLS at-rest + in-transit — both on by default), ACLs (user-based access control via access lists), snapshots (automated + manual), multi-AZ (cluster mode with shard-level failover), data tiering (low-cost SSD tier for infrequently-accessed data), and multi- Region. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a MemoryDB cluster, sizing nodes and shards, designing a Multi-AZ Redis topology, hardening TLS/ACLs, or enabling data tiering / multi-Region. Triggers: create MemoryDB, provision MemoryDB, MemoryDB cluster, MemoryDB Redis, MemoryDB ACL, MemoryDB multi-AZ, MemoryDB data tiering, MemoryDB multi-Region, MemoryDB snapshots, MemoryDB TLS.
- ▌ Mwaa Environment Deployer · jhkchan bundleProvisions Amazon Managed Workflows for Apache Airflow (MWAA) environments with production defaults: environment creation (create-environment), Airflow version selection, execution class sizing (mw1.small/medium/large), min/max workers, webserver access mode (PUBLIC_ONLY vs PRIVATE_ONLY), VPC networking (2 private subnets + 1 public subnet for MWAA), security groups, S3 bucket for DAGs (requirements.txt, plugins folder, startup script), DAG upload lifecycle, KMS encryption, CloudWatch Logs (DAG processing, scheduler, webserver, worker), Airflow configuration overrides, startup/stop time, requirements.txt version constraints and plugin ZIP management, IAM execution role. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an MWAA environment, configuring Airflow on AWS, sizing execution class, or managing DAGs. Triggers: MWAA environment, Managed Airflow, Airflow execution class, mw1.small, mw1.medium, mw1.large, MWAA VPC, Airflow requirements.txt, MWAA CloudWatch Logs.
- ▌ Opensearch Domain Auditor · jhkchan bundleAudits Amazon OpenSearch Service (provisioned, not Serverless) domains for encryption-at-rest (KMS), node-to-node encryption, fine-grained access control (FGAC), public access via resource-policy Principal "*", dedicated master node sizing, and slow-log publishing to CloudWatch Logs. Emits a deterministic verdict (NO_ENCRYPTION | PUBLIC_ACCESS | NO_FGAC | CONFIG_GAP | OK) per domain with enumerated findings and CLI remediation. Use when reviewing an OpenSearch domain before production deployment, validating encryption/compliance posture, checking for public data-plane exposure, or hardening a cluster that grew out of a dev sandbox.
- ▌ Opensearch Index Deployer · jhkchan bundleProvisions Amazon OpenSearch Service indices with production defaults: index creation with explicit mappings (dynamic vs strict), shard count (primary + replica) sizing targeting 10-50 GB per shard, ILM policies with hot/warm/cold tiering, force merge for read-only indices, snapshot management (automated + manual to S3), alias management for zero-downtime reindexing, index templates and component templates, rollover aliases, data streams for time-series, search pipeline configuration, k-NN vector search index configuration, and field type mapping (keyword vs text, nested vs object). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an OpenSearch index, configuring shard count, setting up ILM, managing aliases, creating index templates, or configuring data streams. Triggers: create opensearch index, opensearch shard sizing, opensearch ilm policy, opensearch alias reindex, opensearch index template, opensearch knn vector, opensearch data stream.
- ▌ Organizations Scp Auditor · jhkchan bundleAudits AWS Organizations Service Control Policies (SCPs) for effective permission boundaries across the OU hierarchy — FullAWSAccess inheritance, deny-list guardrails (LeaveOrganization, security-service disruption, region restriction), account-level overrides, and silently ineffective conditions from unsupported SCP condition keys. Emits a deterministic verdict (PERMISSIVE_SCP | MISSING_GUARDRAIL | CONFIG_GAP | OK) per target account with enumerated findings and specific remediation. Use when reviewing SCPs, checking OU hierarchy guardrails, auditing effective permissions, validating deny-list strategy, or hardening organization-level security posture.
- ▌ Pinpoint Journey Deployer · jhkchan bundleProvisions Amazon Pinpoint journeys with production defaults: journey creation (activity-based vs segment-based entry), conditional activity (yes/no split based on event attributes), multivariate split (random percentage), wait activity (time-based hold until a specific time or duration), send message (email/SMS/push/in-app), holdout percentage (suppress a fraction of participants for A/B control), journey schedule (start date/time, end, timezone), quiet time (hours and days of week during which messages are held), journey limits (max contacts, max per participant), rate limits, custom channel (Lambda webhook for non-native destinations), A/B test within journey (multivariate with holdout), journey analytics, and integration with segments and campaigns. Emits a READY_TO_DEPLOY. Triggers: create pinpoint journey, journey conditional split, journey wait activity, journey quiet time, journey holdout, multivariate split journey, journey schedule, journey limits, custom channel lambda, pinpoint journey analytics.
- ▌ Route53 Failover Operator · jhkchan bundleOperates Route 53 health checks and DNS failover workflows end-to-end — health-check configuration (endpoint HTTP/HTTPS/TCP, CloudWatch alarm, calculated AND/OR, insulated child checks), the five failover routing policies (failover, latency, geolocation, multivalue, weighted), planned vs emergency failover and failback sequences, TTL strategy (60s for fast failover vs 300s for stability), cross-account hosted zone IAM, and full diagnostic loops (get-health-check-status, list-resource-record-sets, test-dns-answer, CloudWatch HealthCheckMetrics). Runs deterministic pre-checks (health check healthy, secondary reachable, TTL appropriate, CloudWatch alarm exists, cross-account IAM grant) behind a CONFIRM gate and emits a READY, BLOCKED, or COMPLETED verdict per failover. Use when executing a planned weighted failover, emergency failover, failback, diagnosing a failover that did not switch, or wiring cross-account Route 53.
- ▌ Route53 Resolver Deployer · jhkchan bundleProvisions Route 53 Resolver endpoints, forwarding rules, DNS Firewall, and query logging with secure networking defaults. Supports inbound endpoints (on-prem DNS to Route 53), outbound endpoints (VPC to on-prem DNS), forwarding rules with VPC associations, Resolver DNS Firewall (managed/custom domain lists, block/alert actions), and query logging to CloudWatch, S3, or Kinesis. Runs pre-checks (subnet AZ diversity, security group port 53 rules, IAM permissions, query log destination policies), emits create-resolver-endpoint, create-resolver -rule, create-firewall-rule, put-resolver-query-log-config CLIs behind a CONFIRM gate, verifies via get-resolver-endpoint. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when provisioning Resolver endpoints, forwarding rules, DNS Firewall policies, or query logging.
- ▌ S3 Access Points Deployer · jhkchan bundleProvisions S3 Access Points and dependent primitives with production defaults: network-origin selection (Internet vs VPC), VPC endpoint + private DNS, the through-AP-only bucket invariant via s3:DataAccessPointArn bucket-policy Deny, per-AP prefix-scoped policies distinct from the bucket policy, Object Lambda APs (supporting AP + transform Lambda + reserved concurrency), Multi-Region Access Points (MRAP) with failover, DNS-compatible aliases, per-AP Block Public Access, cross-account AP delegation with containment, and S3 on Outposts APs. Emits READY_TO_DEPLOY / PREREQUISITES_MISSING with every item verified and copy-pasteable s3control / s3api / ec2 / lambda commands. Use when creating a per-team or per-application access point, enforcing VPC-only access, transforming objects on retrieval, building a multi-region active-active or failover data plane, or hardening an existing AP. Triggers: S3 access point, create access point, VPC-only bucket, Object Lambda, MRAP, alias, cross-account AP, Outposts AP.
- ▌ S3 Bucket Policy Deployer · jhkchan bundleProvisions S3 bucket policies with production defaults: policy structure (Principal, Action, Resource, Condition), common patterns (HTTPS-only via aws:SecureTransport Deny, cross-account with external ID, VPC-endpoint-only via aws:SourceVpce, CloudFront Origin Access Control, AWS service access), policy vs ACL (policy preferred — ACLs are legacy), 20 KB policy size limit, condition keys (aws:SourceIp, aws:SourceVpc, aws:SourceVpce, s3:x-amz-acl, aws:SecureTransport), S3 Access Points policy delegation, S3 Multi-Region Access Point (MRAP) policy. Emits a READY_TO_DEPLOY checklist with verification commands. Use when attaching a bucket policy, enforcing HTTPS-only, restricting to a VPC endpoint, granting CloudFront OAC, or delegating via Access Points. Triggers: S3 bucket policy, put-bucket-policy, aws:SecureTransport, cross-account S3, VPC endpoint only, S3 CloudFront OAC, S3 Access Points delegation, MRAP policy.
- ▌ S3 Object Lambda Deployer · jhkchan bundleProvisions S3 Object Lambda Access Points and the supporting transform Lambda function with production defaults: standard Access Point creation, Lambda function for GetObject response transformation (redact PII, enrich data, convert formats), Object Lambda AP creation, routing (Object Lambda AP → standard AP → S3), supported operations (GetObject, HeadObject, ListObjects, ListObjectVersions), multi-region Object Lambda, GetObjectACL, and range downloads. Emits READY_TO_DEPLOY / PREREQUISITES_MISSING with every item verified and copy-pasteable s3control / lambda / s3api commands. Use when transforming S3 objects on retrieval without maintaining a second copy. Triggers: S3 Object Lambda, transform GetObject, redact PII on retrieval, enrich S3 data, convert CSV to Parquet on read, Object Lambda access point, multi- region Object Lambda.
- ▌ S3 Secure Bucket Deployer · jhkchan bundleProvisions S3 buckets with production-grade security defaults: Block Public Access (account + bucket, all 4 settings), default encryption (SSE-S3 or SSE-KMS with customer key), versioning with optional MFA delete, Object Ownership = BucketOwnerEnforced (ACLs disabled), access logging + CloudTrail data events, HTTPS-only bucket policy, SSE-KMS upload enforcement, lifecycle rules for cost optimization, and cross-region / same-region replication. Emits a READY_TO_DEPLOY checklist with every configuration item verified against the bucket's actual state, plus copy-pasteable provisioning and verification commands. Use when creating a new S3 bucket, hardening an existing bucket before production, validating that a bucket meets security baseline, or generating a Terraform / CloudFormation skeleton with correct defaults. Triggers: create S3 bucket, provision S3, secure bucket, S3 deployment, bucket encryption, SSE-KMS, BPA, lifecycle, replication, production bucket setup.
- ▌ Secrets Rotation Operator · jhkchan bundleOperates AWS Secrets Manager rotation workflows end-to-end — rotation Lambda setup (Python template + IAM), rotation configuration (Lambda ARN, cron schedule, automatic vs manual), the four-step rotation cycle (createSecret, setSecret, testSecret, finishSecret with AWSPENDING and AWSCURRENT stage transitions), cross-account Lambda resource-based policies, RDS managed templates vs custom, and full diagnostic loops (describe-secret, get-resource-policy, lambda get-function-configuration, CloudWatch Logs). Runs deterministic pre-checks (Lambda state, execution role, KMS decrypt, VPC ENI reachability, AWSPENDING stuck versions, reserved concurrency) behind a CONFIRM gate and emits a READY, BLOCKED, or COMPLETED verdict per rotation. Use when enabling rotation, debugging a failed rotation, recovering a stuck AWSPENDING version, rotating RDS credentials, or wiring a cross-account rotation Lambda.
- ▌ Sns Subscription Operator · jhkchan bundleOperates AWS SNS subscription workflows end-to-end — subscription creation (HTTP/HTTPS/SQS/Lambda/email/sms/firehose), subscription confirmation (PendingConfirmation to Confirmed via token or auto-confirm for SQS/Lambda), filter-policy design (message attributes, FilterPolicyScope), delivery policies (retry backoff, dead-letter queue via redrive), subscription attributes (RawMessageDelivery), and diagnostic loops (list-subscriptions-by-topic, get-subscription-attributes, CloudTrail events). Runs deterministic pre-checks (topic exists, endpoint reachable, topic policy permits subscription, protocol valid, filter-policy JSON valid, DLQ target exists for redrive) behind a CONFIRM gate and emits a READY, BLOCKED, or COMPLETED verdict per operation. Use when creating subscriptions, confirming pending subscriptions, debugging filter-policy matches, configuring delivery retry and DLQ, or diagnosing why messages are not delivered.
- ▌ Apprunner Service Deployer · jhkchan bundleDeploys AWS App Runner services with production-grade configuration: source selection (ECR image vs source code repository), right-sized compute (CPU/memory combos), instance config (port, env vars, secrets via Secrets Manager / SSM), auto-scaling (min/max instances, concurrency), VPC connector for private resources (RDS, ElastiCache), custom domain with managed TLS, observability (CloudWatch Logs, X-Ray tracing), deployment control (automatic vs manual), health check policy, and latest features (VPC ingress, ALB integration, ARM64/Graviton). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when creating a new App Runner service, deploying a container web app or API, validating an App Runner configuration, or generating deployment CLI and IaC templates. Triggers: App Runner, ECR source, source code repository, auto-scaling, VPC connector, custom domain, App Runner deploy.
- ▌ Auto Remediation Automator · jhkchan bundleDesigns and implements automated remediation workflows linking AWS Config rules to SSM Automation runbooks. Detects non-compliant resources via managed or custom Config rules, maps each finding to the correct SSM document (AWS-DisableS3BucketPublicAccess, AWS-EnableS3BucketEncryption, AWS-IAMRevokeUnusedAccessKey, custom runbooks for security-group or tagging fixes), wires the remediation configuration (put-remediation-configurations) with automatic vs manual trigger semantics, and adds safety gates (snapshot, dry-run, CloudTrail audit, SSM Change Manager approval). Covers EventBridge-on-Config alternatives, conformance packs for bulk remediation, and Config timeline verification. Emits AUTOMATED with a workflow template or MANUAL_STEP_REQUIRED with the specific gap. Use when building auto-remediation for Config findings, wiring SSM Automation to Config rules, designing conformance-pack remediation, or hardening an existing remediation flow.
- ▌ Bedrock Guardrail Deployer · jhkchan bundleProvisions Amazon Bedrock Guardrails with production defaults: guardrail creation (name, description, KMS key), content filters (hate, insults, sexual, violence with NONE/LOW/MEDIUM/HIGH severity), denied topics (custom topics with definition and examples), word filters (managed profanity list + custom word list), sensitive information filters (PII entities with ALLOW/AUDIT/BLOCK actions + regex patterns), cross-region deployment, guardrail application (associate with model invocations and Agents), and guardrail evaluation. Emits READY_TO_DEPLOY / PREREQUISITES_MISSING with every filter verified and copy-pasteable bedrock commands. Use when deploying content moderation and safety guardrails for Bedrock model invocations. Triggers: Bedrock Guardrail, content filter, denied topic, PII filter, word filter, guardrail evaluation, Guardrails with Agents, contextual grounding check.
- ▌ Cloudtrail Alert Automator · jhkchan bundleDesigns and deploys CloudTrail alerting automation across an AWS estate. Builds EventBridge rules for security-critical API calls (root console login, IAM policy changes, security group modifications, CloudTrail disabling), wires SNS topic routing by severity, deploys Lambda enrichment functions that use lookup-events to attach actor context, source IP correlation, and recent activity. Integrates with Security Hub via BatchImportFindings, delivers to Slack/Teams via webhook, implements deduplication by event identity, and suppresses known CI/CD service-role alerts. Supports multi-account via Organizations trail and CloudTrail Insights anomaly alerting. Emits AUTOMATION_DEPLOYED with deployable IaC or REVIEW_REQUIRED with the specific gap.
- ▌ Cognito User Pool Deployer · jhkchan bundleProvisions Amazon Cognito user pools with secure defaults — user pool attributes (standard and custom), password policy, MFA (SMS/TOTP), app clients (OAuth code+PKCE, client credentials), hosted UI customization, identity providers (SAML/OIDC/Social), Lambda triggers (pre-signup, post-confirmation, custom message, pre-token-generation), user pool groups, resource servers with custom scopes, domain (Cognito or custom), advanced security features (ASF ENFORCED), and hosted UI branding. Runs pre-checks (attribute schema, MFA SNS prerequisites, Lambda ARNs, custom domain ACM cert, IdP metadata, IAM permissions), emits create-user-pool and create-user-pool-client CLIs behind a CONFIRM gate, verifies via describe-user-pool. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when creating user pools, configuring OAuth clients, federating SAML/OIDC, or enabling advanced security features.
- ▌ Config Aggregator Deployer · jhkchan bundleProvisions AWS Config aggregators with correct production defaults: organization aggregator (AWS Organizations delegated administrator), authorized accounts (individual 12-digit account IDs with explicit authorization), aggregator-vs-individual-recorder decision, cross-region and cross-account visibility, conformance pack deployment at organization level, organization config rules, Lambda-based config rule processors, and proactive resource evaluation via StartResourceEvaluation. Emits a READY_TO_DEPLOY checklist. Use when creating a Config aggregator, enabling AWS Config across an organization, setting up delegated admin for Config, deploying conformance packs org-wide, authorizing source accounts, configuring multi-account compliance visibility, or enabling proactive compliance checks. Triggers: create Config aggregator, organization aggregator, authorized accounts aggregation, conformance pack, delegated administrator, AWS Config multi-account, proactive rules, Lambda processor config rules.
- ▌ Devops Guru Troubleshooter · jhkchan bundleDiagnoses Amazon DevOps Guru insights across Proactive and Reactive categories. Covers insight types (Proactive=anomalous behavior, Reactive=operational issue), severity (High/Medium/Low), resource coverage (CloudFormation stacks, Auto Scaling groups, ALB, RDS, DynamoDB, Lambda, ECS, CodeBuild), analysis categories (performance, availability, cost, configuration), recommendation implementation, false positive suppression. Latest: DevOps Guru for RDS/CodeBuild/ Lambda, server-side encryption analysis, event-based insights. Emits ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE. Use when a DevOps Guru insight is OPEN or investigating performance/availability anomalies flagged by the service.
- ▌ Directory Service Deployer · jhkchan bundleProvisions AWS Directory Service with production defaults: directory type selection (Managed Microsoft AD, Simple AD, AD Connector), edition sizing (Standard vs Enterprise), VPC/subnet placement (multi-AZ), DNS configuration (conditional forwarders, on-prem resolution), trust relationships (forest trust, external trust, one-way vs two-way), SSO via IAM Identity Center, cross-account directory sharing, LDAPS (secure LDAP with certificate authority), certificate-based auth, snapshot/restore, Multi-Region replication, password policies, security group association. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Managed AD, deploying Simple AD, configuring AD Connector, setting up trust relationships, enabling LDAPS, or integrating with IAM Identity Center. Triggers: create managed microsoft ad, simple ad, ad connector, directory service trust, ldaps, sso iam identity center, directory sharing, multi-region replication.
- ▌ Ec2 Security Group Auditor · jhkchan bundleClassifies each EC2 security group's inbound exposure as OPEN, PUBLIC_NONCRITICAL, or RESTRICTED (worst-case per-rule aggregation) and emits remediation mapped to CIS AWS Foundations / PCI-DSS / NIST SP 800-53. Invoke when: (a) pre-production SG review, (b) periodic CIS/PCI-DSS compliance audit, (c) incident response involving suspected network exposure, or (d) VPC/account security-baseline validation. Recognizes port ranges, non-TCP protocols, managed prefix lists, IPv6 sources, split-horizon CIDR pairs, and overlapping rules. Keywords: security group, SG, ec2, inbound rule, port exposure, 0.0.0.0/0, CIDR audit, attack surface, compliance check, VPC security.
- ▌ Elastic Beanstalk Deployer · jhkchan bundleProvisions AWS Elastic Beanstalk environments with production defaults: application creation, environment tier (web server vs worker), platform (Amazon Linux 2023, Node.js/Python/Java/Go/.NET), deployment policies (all at once, rolling, rolling with additional batch, immutable, traffic splitting), managed platform updates, enhanced health reporting, load balancer (ALB vs NLB), EC2 instance profile, service role, VPC configuration, security groups, auto scaling group, RDS integration, CNAME swap for blue-green, .ebextensions and .platform for infrastructure as code. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an Elastic Beanstalk environment, configuring blue-green with CNAME swap, setting up worker tier with SQS, or managing platform updates. Triggers: create elastic beanstalk environment, deploy beanstalk application, beanstalk blue-green cname swap, beanstalk worker tier sqs, beanstalk immutable deployment, ebextensions, beanstalk managed updates.
- ▌ Elasticache Cache Deployer · jhkchan bundleProvisions ElastiCache (Redis OSS / Memcached) clusters with production defaults: engine selection (Redis for persistence, clustering, pub/sub, TLS vs Memcached for simple key-value, multi-threaded, no persistence), cluster mode enabled vs disabled, node type sizing, Multi-AZ failover (Redis only), VPC-only networking, encryption at-rest + in-transit + AUTH (Redis only), subnet group, parameter group maxmemory-policy, snapshot retention, ElastiCache Serverless, Global Datastore. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an ElastiCache cluster, choosing between Redis and Memcached, designing a Multi-AZ Redis failover topology, sizing cache nodes, or generating provisioning CLI commands / IaC templates. Triggers: create ElastiCache, provision Redis, provision Memcached, ElastiCache cluster mode, Redis replication group, Global Datastore, ElastiCache Serverless, cache node type sizing.
- ▌ Elasticache Cost Optimizer · jhkchan bundleOptimises Amazon ElastiCache cost across seven dimensions — node-type right-sizing (CloudWatch EngineCPUUtilization, CPUUtilization, CurrConnections), Graviton node migration (cache.r6g/r7g ~20% cheaper than cache.m5/r5), Reserved Node vs On-Demand (1yr/3yr, modify-reserved-cache-nodes-offering exchange), replication group topology (fewer larger nodes vs many small, replica count, cluster mode sharding cost), ElastiCache Serverless (auto-scaling, per-GB-hour pricing), persistence cost (AOF vs RDB snapshots), and data tiering (r6gd/r7gd SSD-backed). Distinguishes Redis vs Memcached for cost. Covers latest Serverless, Graviton r7g, and data tiering. Emits OPTIMIZED, OPPORTUNITY_FOUND, or ALREADY_OPTIMAL per cluster with estimated monthly savings.
- ▌ Globalaccelerator Deployer · jhkchan bundleProvisions production-grade AWS Global Accelerator deployments with secure defaults: anycast static IP allocation (Amazon pool or BYOIP), TCP/UDP listeners with port ranges and client affinity, regional endpoint groups with traffic dials and health checks, ALB/NLB/EC2/EIP endpoint types, client IP preservation for NLB/EC2 origins, flow logs to CloudWatch or S3, cross-account endpoints via RAM resource share, and custom routing accelerators for deterministic port-to-endpoint mapping. Emits a deployment plan with a READY_TO_DEPLOY checklist. Use when provisioning a new accelerator, planning multi-region active-active traffic steering, configuring client IP preservation for NLB origins, advertising BYOIP ranges, sharing endpoints across AWS accounts, or building a custom routing accelerator for gaming/VoIP workloads.
- ▌ Grafana Dashboard Deployer · jhkchan bundleProvisions Amazon Managed Grafana workspaces and dashboards with production defaults: workspace creation (authentication via SSO or IAM Identity Center), data sources (CloudWatch, Prometheus/AMP, Timestream, OpenSearch, X-Ray), dashboard JSON model (panels, templating variables, time range), alerting (alert rules, notification policies, contact points), IAM role for data source access, AMP workspace integration, and latest features (Grafana Enterprise, Incident, OnCall). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Grafana workspace, adding data sources, building dashboards, configuring alerting, or integrating AMP. Triggers: create Grafana workspace, Grafana dashboard, Grafana data source, Grafana alerting, AMP integration, Grafana Enterprise, Grafana Incident.
- ▌ Iam Key Rotation Automator · jhkchan bundleDesigns and implements IAM access key rotation automation pipelines. Detects aged access keys via get-access-key-last-used and credential reports, wires EventBridge scheduled rules for 90-day rotation, deploys Lambda rotation flows (create, verify, deactivate, delete), manages graceful overlap windows, sends Slack/SNS pre-rotation notifications, handles break-glass exception lists, syncs keys cross-account, integrates programmatic access advisor, automates credential reports, and migrates permanent keys to STS temporary credentials. Emits AUTOMATION_DEPLOYED with IaC template or REVIEW_REQUIRED with the specific gap.
- ▌ Kinesis Analytics Deployer · jhkchan bundleDeploys Amazon Kinesis Data Analytics applications (Managed Service for Apache Flink and Studio SQL) with production-grade config: application creation (runtime FLINK-1_19 or SQL-1_0, service execution role), source (Kinesis Data Stream or Firehose with stream ARN, starting position), destination (Kinesis Data Stream, Firehose, S3 with parallelism), SQL vs Flink selection, checkpointing (interval, min pause), parallelism and parallelismPerKPU tuning, CloudWatch logging, application snapshots for stateful recovery, Studio notebooks with Apache Zeppelin, session window SQL patterns, latest features (Studio notebooks, Zeppelin, session windows, snapshots, custom app code via S3). Emits a READY_TO_DEPLOY checklist. Use when creating a KDA application, deploying a Flink or SQL streaming job, validating config, or generating CLI/IaC templates. Triggers: Kinesis Data Analytics, Managed Flink, KDA Studio, Zeppelin, streaming SQL, Flink application, checkpointing, parallelism, session windows.
- ▌ Kms Key Rotation Optimizer · jhkchan bundleOptimises AWS KMS key rotation and lifecycle cost across seven dimensions: key inventory audit (orphaned keys at $1/key/month, unused key detection via CloudTrail API call analysis), rotation strategy (enable automatic annual rotation on customer-managed keys — free and transparent, same key ARN), grant optimization (retire expired grants on deleted IAM principals), alias management for rotation transparency (aliases survive key changes), cross-account key usage (grant token lifecycle, shared vs per-account keys), multi-region keys for DR (replica keys cost $1/key/month per region, detect unused replicas), and deletion window management (7-30 day pending deletion window, billing continues until expiry). Emits FURTHER_OPTIMIZATION_AVAILABLE, OPTIMIZED, or ALREADY_OPTIMAL. Use when reviewing KMS spend, auditing key inventory, or planning rotation strategy.
- ▌ Nat Gateway Cost Optimizer · jhkchan bundleOptimises NAT Gateway cost through traffic analysis, VPC endpoint design, and architecture selection. Identifies avoidable AWS-service traffic (S3, DynamoDB via FREE Gateway endpoints; ECR, SSM, STS, Secrets Manager, CloudWatch, KMS via Interface endpoints), runs break-even maths on interface endpoints (~160 GB/month threshold at $0.045/GB NAT vs $0.01/GB endpoint), selects single vs multi-AZ NAT topology by environment, evaluates NAT Instance alternatives for dev/test, and emits a deterministic verdict (OPTIMIZED | OPPORTUNITY_FOUND | ALREADY_OPTIMAL) per VPC with the exact endpoint-creation payload and estimated monthly savings. Use when reviewing NAT Gateway spend, triaging unexpected data-processing charges, planning a FinOps VPC endpoint rollout, or deciding between NAT Gateway and NAT Instance for a non-HA workload.
- ▌ Opensearch Domain Deployer · jhkchan bundleProvisions Amazon OpenSearch Service domains with production defaults: deployment type (managed cluster vs Serverless), instance type (t3.small.search dev to r6g.4xlarge.search production), data nodes vs dedicated masters vs UltraWarm vs cold storage, Multi-AZ 3-zone, EBS (gp3 default, io1 for high IOPS), encryption at-rest (KMS, must enable at creation) and in-transit (TLS), VPC-only vs public access, fine-grained access control (FGAC) with IAM or Cognito master user, snapshots (automated + manual to S3), shard and replica count, OpenSearch Serverless, vector search, streaming ingestion. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an OpenSearch domain, choosing managed vs Serverless, designing Multi-AZ topology, sizing shards and instances, enabling FGAC, or generating provisioning CLI / IaC templates. Triggers: create OpenSearch, provision OpenSearch, OpenSearch Serverless, OpenSearch FGAC, UltraWarm, vector search.
- ▌ Pinpoint Campaign Deployer · jhkchan bundleProvisions Amazon Pinpoint campaigns and engagement workflows — project creation, channels (email, SMS, push, voice), segments (demographic, dynamic, imported), campaigns (schedule, quiet time, A/B test holdout), message templates (email, SMS, push with Liquid), journeys (multi-step with wait, yes-no split, multivariate, random split), event streams (Kinesis), ML-powered segment recommendations, and in-app messaging. Runs deterministic pre-checks (SES verified identities, SMS origination numbers, APNs/FCM credentials, segment resolution, template validation, IAM permissions for Kinesis), emits create-campaign and create-journey CLIs behind a CONFIRM gate, verifies via get-campaign. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when provisioning Pinpoint projects, building multi-step journeys, or setting up cross-channel campaigns.
- ▌ Redshift Cluster Optimizer · jhkchan bundleOptimises Amazon Redshift cluster cost and performance through node-type selection (RA3 managed-storage compute-separated vs DC2 local-storage dense-compute), right-sizing (CloudWatch CPUUtilization and QueryQueueLength), storage optimisation (columnar compression, VACUUM, ANALYZE), workload management (WLM queues, query prioritisation, Short Query Acceleration), data sharing (cross-cluster queries without data copy), Concurrency Scaling (auto-add clusters for peak loads), Reserved Node pricing (1yr/3yr), Redshift Serverless (base capacity RPU and auto-scaling), Redshift ML (AUTO ON), materialized views, and data lake export. Emits a deterministic verdict (OPTIMIZED | OPPORTUNITY_FOUND | ALREADY_OPTIMAL) per cluster with specific recommendation and estimated monthly savings. Use when reviewing Redshift spend, triaging oversized clusters, evaluating RA3 vs DC2, tuning WLM queues, or migrating to Serverless.
- ▌ Redshift Data API Deployer · jhkchan bundleDeploys AWS Redshift Data API configurations with production defaults: query execution without persistent connection (ExecuteStatement, BatchExecuteStatement, DescribeStatement, GetStatementResult), database authentication via Secrets Manager (no password in code), temporary credentials (GetClusterCredentials), statement lifecycle (SUBMITTED/STARTED/FINISHED/FAILED/ABORTED), result pagination (NextToken), abort statement (AbortStatement), ListStatements, integration with Lambda (poll DescribeStatement or EventBridge notification), cancel via StatementId, 24-hour timeout, 24-hour result expiry after completion, CloudTrail audit logging, and zero additional cost (free — standard Redshift charges apply). Emits a READY_TO_DEPLOY checklist with verification commands.. Triggers: redshift data api, execute statement, batch execute statement, describe statement, get statement result, redshift lambda query, redshift secrets manager, redshift temporary credentials, abort statement, redshift query without connection.
- ▌ Route53 Dns Troubleshooter · jhkchan bundleDiagnoses Amazon Route 53 DNS resolution failures through a twelve-category diagnostic tree: NS delegation errors (glue records, NS mismatch between registrar and hosted zone), SOA serial mismatch, DNSSEC signing errors (KSK/ZSK key status, DS record at parent zone), alias record vs CNAME conflict, routing policy evaluation errors (geolocation, latency, weighted, failover), private hosted zone VPC association missing, split-horizon DNS conflicts, Route 53 Resolver inbound/outbound endpoint misconfiguration, health check associated with record but failing, DNS query logging analysis, domain transfer DNS disruption, and wildcard certificate validation CNAME (_acme-challenge) conflicts. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ S3 Storage Class Optimizer · jhkchan bundleOptimises S3 storage cost across six dimensions: lifecycle policy configuration (Standard to Standard-IA to Glacier Instant to Glacier Flexible to Glacier Deep Archive transition timing with minimum-days constraints), Intelligent-Tiering activation with Archive Access and Deep Archive Access tiers, Storage Lens analysis for object-age distribution and prefix-level cost allocation, versioning cost impact (noncurrent object churn and delete-marker accumulation), retrieval-pattern matching (Glacier Instant vs Flexible vs Deep Archive trade-offs), and S3 Batch Operations for bulk storage-class migration. Uses S3 Storage Lens, object-level age metrics, and Cost Explorer S3 usage breakdown to project per-TB savings. Emits FURTHER_OPTIMIZATION_AVAILABLE with tier transitions and dollar savings, OPTIMIZED, or ALREADY_OPTIMAL.
- ▌ Sagemaker Endpoint Auditor · jhkchan bundleAudits SageMaker real-time and async endpoints for security posture and production readiness — KMS encryption-at-rest and inter-container traffic encryption, execution-role blast radius (wildcard actions, sagemaker:*, iam:PassRole), VPC configuration (internet-facing vs private), data capture and model monitoring schedule coverage, and instance count for high availability. Emits a deterministic verdict (NO_ENCRYPTION | OVERPERMISSIVE_ROLE | NO_MONITORING | PUBLIC_ENDPOINT | CONFIG_GAP | OK) per endpoint with enumerated findings and CLI remediation. Use when reviewing SageMaker endpoints before production deployment, checking endpoint encryption posture, auditing execution-role scope, validating VPC configuration, verifying model monitoring coverage, or checking instance count for high availability.
- ▌ Ssm Session Troubleshooter · jhkchan bundleDiagnoses AWS Systems Manager Session Manager failures through a thirteen-category diagnostic tree: managed instance not showing up (SSM Agent not running, activation code expired, hybrid enrollment), session connection timeout (ssmmessages endpoint, Security group egress), SSM Agent version outdated (session features require minimum agent version), IAM role missing ssm:StartSession / ssm:TerminateSession / ssm:ResumeSession (AmazonSSMManagedInstanceCore), VPC endpoint for SSM missing one of the three required endpoints (ssm, ec2messages, ssmmessages), session document errors (SSM_Session document schema or sharing), port forwarding failures (local-port-forwarding document and target-host reachability), shell profile errors (SSM-SessionManagerRunShell profile misconfig), audit log delivery to S3 missing (S3 bucket policy for session-output), session recording to S3 (encryption and bucket Region), CloudWatch Logs delivery missing (log group permission on the instance role), macOS vs Linux agent...
- ▌ Textract Document Deployer · jhkchan bundleDeploys Amazon Textract document-analysis pipelines with production defaults: synchronous APIs (DetectDocumentText, AnalyzeDocument) for single-page real-time extraction, asynchronous APIs (StartDocumentAnalysis, StartDocumentTextDetection, StartExpenseAnalysis) for multipage PDFs up to 3000 pages, S3 document source and output config, SNS notification for async job completion, KMS encryption for input and output, feature selection (Forms, Tables, Queries, Signatures, Expense, Identity), bounding-box geometry and confidence-score handling, Lambda integration for real-time extraction, document splitting for oversized PDFs, service quotas, Comprehend integration for downstream NLP on extracted text. Emits a. Triggers: analyze document, detect document text, extract form fields, extract tables, textract queries, textract expense analysis, textract signature detection, textract identity documents, start document analysis, textract lambda, textract s3 output, textract kms encryption, textract sns notification.
- ▌ Autoscaling Policy Deployer · jhkchan bundleProvisions Amazon EC2 Auto Scaling policies and surrounding primitives with production defaults: target tracking (CPUUtilization, ALBRequestCountPerTarget, custom metrics), step scaling (CloudWatch alarm → step adjustments), scheduled scaling, warm pools, instance refresh, capacity rebalance, predictive scaling (ML-based forecast), and Mixed Instances Policy (On-Demand + Spot blend). Emits READY_TO_DEPLOY / PREREQUISITES_MISSING with every item verified and copy-pasteable autoscaling / cloudwatch commands. Use when attaching a scaling policy, configuring scheduled actions, enabling warm pool or capacity rebalance, triggering an instance refresh, or blending On-Demand with Spot. Triggers: Auto Scaling policy, target tracking, step scaling, scheduled action, warm pool, instance refresh, capacity rebalance, predictive scaling, Mixed Instances Policy.
- ▌ Backup Compliance Automator · jhkchan bundleDesigns AWS Backup compliance automation across the four pillars: AWS Backup Audit Manager (audit framework, audit template, manual and automated controls), backup reporting (job summary report, compliance report, coverage report), legal hold automation (litigation hold via EventBridge on s3:ObjectSent to evidence locker, BackupLegalHold resource for immutable recovery points), cross-account / cross-region backup auditing via AWS Organizations backup vault, latest: AWS Backup Search (search across backups), Backup cost allocation tags. Includes AWS Backup Report Stream, Backup Audit Manager control library, and EventBridge Scheduler for periodic audit runs. Emits AUTOMATED with the compliance playbook or MANUAL_STEP_REQUIRED with the gap. Use when designing backup compliance, legal hold workflows, or cross-account backup audit.
- ▌ Cloud9 Environment Deployer · jhkchan bundleProvisions AWS Cloud9 environments with production defaults: EC2 instance type selection, platform (Amazon Linux, Ubuntu), connection mode (SSH, SSM), subnet and security group configuration, automatic hibernation (idle timeout), IAM role (instance profile), SSH key for external access, environment sharing (read/write permissions), EC2 lifecycle (start/stop/delete), CloudWatch monitoring, cost optimization (auto-hibernate), no-ingress SSM connection (no public key needed), integration with CodeCommit/GitHub, Node.js/Python/Go runtime pre-installed. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Cloud9 environment, setting up SSM-based no-ingress Cloud9, configuring auto-hibernation, sharing a Cloud9 environment with a team, or managing Cloud9 EC2 lifecycle. Triggers: create cloud9 environment, ssm cloud9 no ingress, cloud9 auto hibernate, cloud9 team sharing, cloud9 ec2 lifecycle, cloud9 ubuntu, cloud9 amazon linux, cloud9 cost optimization.
- ▌ Cognito Auth Troubleshooter · jhkchan bundleDiagnoses Amazon Cognito authentication failures through a twelve-category diagnostic tree: User Pool sign-in errors (wrong app client, wrong auth flow, client secret mismatch on PUBLIC clients), token refresh failures (refresh token expired, token revocation, JWKS mismatch), hosted UI redirect mismatch (callback URL must match exactly), custom attribute write permissions (writable vs readable attributes), pre-token-generation Lambda trigger errors, identity pool (federated identities) role assumption failures (unauthenticated role trust policy must allow cognito-identity), social provider (Google/Facebook/Apple) misconfiguration, SAML provider certificate mismatch, MFA setup and bypass issues, password policy violations, account recovery flow errors, custom sender Lambda trigger errors, domain prefix conflicts, and TLS certificate issues. Walks symptoms to a verified root cause with evidence-backed probes; emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.
- ▌ Documentdb Cluster Deployer · jhkchan bundleProvisions Amazon DocumentDB (MongoDB compatibility) clusters with production defaults: cluster creation (create-db-cluster), instance types (r5.large through r5.24xlarge, t3.medium), storage autoscaling, multi-AZ replication (primary + replicas), parameter groups, subnet groups, security groups, KMS encryption at rest, backup retention (1-35 days), global clusters (cross-region), change streams for CDC, indexing strategy (single vs compound vs text), MongoDB API compatibility version (3.6/4.0/5.0), connect via mongo shell, TLS (enable/disable), and CloudWatch metrics. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a DocumentDB cluster, adding instances, configuring change streams, setting up a global cluster, enabling storage autoscaling, or managing backup retention. Triggers: create documentdb cluster, documentdb instance, documentdb change streams, documentdb global cluster, documentdb storage autoscaling, documentdb subnet group, documentdb parameter group, documentdb...
- ▌ Dynamodb Capacity Optimizer · jhkchan bundleOptimises DynamoDB table cost across seven dimensions: on-demand vs provisioned capacity mode crossover analysis (30% utilization break-even), RCU/WCU sizing from CloudWatch ConsumedReadCapacityUnits and ConsumedWriteCapacityUnits, auto-scaling target utilization tuning (70% default vs 50-60% for headroom), partition key design for even distribution (hot partition detection via CloudWatch), GSI projection size optimization (sparse index strategy), table class selection (Standard vs Standard-Infrequent Access for low-traffic tables), and TTL for data lifecycle cost reduction. DynamoDB Streams cost impact evaluated. Emits FURTHER_OPTIMIZATION_AVAILABLE with capacity mode recommendation and dollar savings, OPTIMIZED, or ALREADY_OPTIMAL.
- ▌ Ecs Task Definition Auditor · jhkchan bundleAudits ECS task definitions for privileged containers, plaintext secrets in environment variables (instead of Secrets Manager / SSM), host network mode, root-user execution, and missing resource limits (CPU / memory / logging). Emits a deterministic verdict (PRIVILEGED | SECRET_LEAK | INSECURE | CONFIG_GAP | OK) per task definition with enumerated findings and specific remediation. Use when reviewing ECS task definitions, checking container privilege escalation exposure, validating secret-handling posture, hardening Fargate or EC2 launch-type tasks before production deployment, or auditing ECS security controls.
- ▌ Elbv2 Load Balancer Auditor · jhkchan bundleAudits AWS ELBv2 load balancers (ALB/NLB) for insecure TLS listener policies (TLS 1.0/1.1, weak ciphers, cleartext HTTP), disabled access logs, permissive security groups (all-ports-open, internal-LB-exposed-to-internet), idle load balancers with zero healthy targets, disabled cross-zone load balancing (NLB), and missing deletion protection. Emits a deterministic categorical verdict (INSECURE_LISTENER | NO_ACCESS_LOGS | PERMISSIVE_SG | IDLE | CONFIG_GAP | OK) per load balancer with enumerated findings and specific CLI remediation. Use when reviewing ALB or NLB configurations, checking listener TLS posture, validating access-log enablement, auditing security group exposure, finding idle or abandoned load balancers, or hardening load balancer posture before production deployment.
- ▌ Lambda Cost Optimizer · jhkchan bundleOptimises AWS Lambda function cost across six dimensions: memory tuning (CPU scales with memory at 1769 MB = 1 vCPU; more memory can REDUCE total cost when faster execution offsets the higher per-GB-second rate), provisioned concurrency right-sizing (on-demand vs provisioned break-even math), duration reduction (SnapStart for Java, lazy init, connection reuse, package trim), invocation-frequency analysis (SQS/Kinesis/DynamoDB Streams batch size and batch window tuning), architecture migration (ARM64 Graviton2 is 20% cheaper; Fargate for >15-min workloads; Step Functions for orchestration chains), and Lambda Layers. Uses AWS Lambda Power Tuning (open-source Step Functions) to empirically find the cost-optimal memory, reads Compute Optimizer Lambda findings, and projects monthly savings. Emits OPPORTUNITY_FOUND with specific recommendation and estimated savings, OPTIMIZED, or ALREADY_OPTIMAL. Use when reviewing Lambda spend, planning a memory tuning sweep, sizing provisioned concurrency, or a FinOps review.
- ▌ Lambda Layer Deployer · jhkchan bundleProvisions AWS Lambda Layers with production defaults: layer creation (zip with dependencies), compatible runtimes (nodejs, python, java, ruby, provided.al2, provided.al2023), compatible architectures (x86_64, arm64), layer versioning (immutable versions), cross-account sharing (resource-based policy), layer usage (function + version ARN), AWS SDK layers (always latest runtime SDK), Powertools layers. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Lambda Layer, packaging dependencies for Lambda, sharing a layer across accounts, pinning a layer version, or deploying Powertools / AWS SDK layers. Triggers: create Lambda layer, publish Lambda layer, Lambda layer version, Lambda layer zip, Lambda Powertools layer, Lambda SDK layer, Lambda layer compatible runtimes, Lambda layer arm64, Lambda layer cross-account.
- ▌ Rds Instance Deployer · jhkchan bundleProvisions RDS and Aurora databases with production-grade defaults: instance class selection (burstable t-series vs memory-optimized r-series vs general-purpose m-series), security group scoping to app SG on the correct engine port (3306/5432/1433/1521), KMS encryption-at-creation (immutable), Multi-AZ for HA with automatic failover, automated backups with 1-35 day retention, Enhanced Monitoring + Performance Insights, parameter group tuning, option group engine-specific options, Aurora Serverless v2 with min/max capacity, Aurora Global Database for cross-region reads, Backtrack for MySQL rewinds, deletion protection, Blue/Green deployments, and Aurora LTES planning. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a new RDS instance, hardening Aurora clusters, sizing instances, or generating IaC skeletons. Triggers: create RDS instance, provision Aurora, Multi-AZ setup, Aurora Serverless v2, Aurora Global Database, Blue/Green deployment.
- ▌ Rds Snapshot Operator · jhkchan bundleOperates Amazon RDS and Aurora snapshot workflows end-to-end — automated backup retention (1-35 days) and the PITR window, manual snapshot creation (pre-upgrade, compliance, audit), snapshot copy to DR regions (cross-region KMS re-encryption), point-in-time recovery at 5-minute granularity, cross-account snapshot sharing via DBSnapshotAttribute, snapshot restore (new instance vs Aurora clone), snapshot lifecycle automation (delete old via Lambda/EventBridge), Aurora backtrack vs snapshot restore, Aurora clone from snapshot (instant copy-on-write), Blue/Green deploy with snapshot pre-flight, snapshot export to S3 (Parquet via ExportTask), snapshot size monitoring, and multi-AZ snapshot behavior. Runs deterministic pre-checks (instance state, storage type, option group compatibility, KMS key, IAM export role) behind a CONFIRM gate and emits OPERATION_COMPLETED or REVIEW_REQUIRED per operation. Use when creating pre-upgrade snapshots, configuring DR snapshot copies, restoring to a point in time, sharing...
- ▌ Wafv2 Web Acl Auditor · jhkchan bundleAudits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow/bypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.
- ▌ Xray Tracing Deployer · jhkchan bundleDeploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL / method / service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry / ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS / EKS / Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.
- ▌ Alb 5xx Troubleshooter · jhkchan bundleDiagnoses ALB and NLB 5xx errors (500 InternalServerError, 502 BadGateway, 503 ServiceUnavailable, 504 GatewayTimeout, 561 Unauthorized) through a systematic diagnostic tree covering target health check failures (wrong path, port, matcher, timeout), target security group misconfiguration (ALB SG cannot reach target SG on target port), idle timeout exceeded (60s default), deregistration draining stuck, listener rule misconfiguration (wrong target group, wrong priority), WAF blocks, and invalid backend responses. Walks symptoms to root cause with describe-target-health, ALB access logs in S3 (target_processing_time, target_status_code, error_reason), security group analysis, and listener rule inspection. Emits ROOT_CAUSE_FOUND with the specific failure layer or ESCALATE. Use when ALB returns 5xx errors, targets unhealthy, no healthy targets, or intermittent target failures.
- ▌ Athena Query Optimizer · jhkchan bundleOptimizes Amazon Athena query performance and cost via a layered analysis framework covering partitioning (partition projection, dynamic partition pruning), file format selection (Parquet vs CSV vs JSON — Parquet is 10-100x faster via columnar pruning), compression (Snappy vs GZIP vs ZSTD), bucketing for JOIN optimization, workgroup settings (data scanned limits, query timeout), CTAS (CREATE TABLE AS SELECT for materialization), query rewriting (avoid SELECT *, enforce partition filters, use APPROXIMATE functions), and cost modeling ($5/TB scanned). Supports Athena query result reuse, Athena federated queries, and Spark notebook integration. Emits a deterministic verdict (OPTIMIZED | OPPORTUNITY_FOUND | ALREADY_OPTIMAL) with estimated cost and performance impact. Use for Athena cost reduction, slow query tuning, partition projection setup, file format migration, or workgroup spend limits.
- ▌ Backup Audit Automator · jhkchan bundleAutomates AWS Backup audit and compliance reporting with production defaults: backup report plan creation (daily/weekly compliance reports), report templates (BACKUP_JOB_REPORT, COMPLIANCE_REPORT, RECOVERY_POINT_REPORT), report destination (S3 bucket delivery), compliance framework mapping (CIS, NIST, SOC2), backup frequency audit (identify resources without backup plans), encryption verification (KMS key on all recovery points), retention compliance (minimum retention days enforcement), cross-region replication audit, Vault Lock compliance check (compliance mode is immutable, governance mode is not), automated alerting for non-compliance (SNS), and multi-account via AWS Organizations. Emits an AUTOMATION_DEPLOYED checklist. Use when auditing backup compliance, creating backup report plans, checking encryption on recovery. Triggers: backup audit, backup compliance report, backup report plan, vault lock check, backup encryption audit, backup retention compliance, backup frequency audit, recovery point report.
- ▌ Datasync Task Operator · jhkchan bundleOperates AWS DataSync task end-to-end — agent deployment (on-prem VM, EC2), location configuration for every supported source (NFS, SMB, S3, HDFS, Object Storage) and destination (S3, EFS, FSx for Windows, FSx for Lustre, FSx for OpenZFS, FSx for NetApp ONTAP, Snowball Edge), task creation with the full Options surface (VerifyMode POINT_IN_TIME_CONSISTENT | ONLY_FILES_TRANSFERRED | NONE, OverwriteMode ALWAYS | NEVER, PosixPermissions PRESERVE | PRESERVE_TRY | BEST_EFFORT | NONE, Acl PRESERVE | NONE, TransferMode CHANGED | ALL, Gid PRESERVE | NONE, Uid PRESERVE | NONE, Mtime PRESERVE | NONE, SecurityDescriptorCopyFlags OWNER_DACL_SACL | OWNER_DACL | NONE, TaskQueueing ENABLED | DISABLED), scheduling (cron-like ScheduleExpression with up to 1-year horizon), bandwidth throttling (BandwidthLimitInMb), Task Reports with report-level and report-code filters, DataSync Discovery for on-prem capacity assessment, and FSx for NetApp ONTAP destination support. Runs deterministic pre-checks behind a CONFIRM gate and.
- ▌ Dynamodb Table Auditor · jhkchan bundleAudits DynamoDB table configurations for encryption-at-rest (KMS), point-in- time recovery (PITR), capacity mode (on-demand vs provisioned with autoscaling), TTL configuration, backup posture, and GSI/LSI quota risk. Emits a deterministic verdict (UNENCRYPTED | NO_PITR | CAPACITY_MISMATCH | CONFIG_GAP | OK) per table with enumerated findings and CLI remediation. Use when reviewing a DynamoDB table before production deployment, validating backup/encryption compliance, checking capacity mode suitability, or auditing table hardening posture.
- ▌ Ecr Repository Auditor · jhkchan bundleAudits AWS ECR private repositories for public-access exposure via repositoryPolicy, image-scan configuration gaps (scanOnPush off + unscanned images), lifecycle-policy absence, tag-immutability gaps, and encryption posture. Emits a deterministic verdict (PUBLIC | NO_SCAN | NO_LIFECYCLE | CONFIG_GAP | OK) per repository with enumerated findings and specific CLI remediation. Use when reviewing ECR repository policies, checking for public image access, validating scan-on-push enablement, auditing lifecycle rules, or hardening container-image supply-chain posture before production deployment.
- ▌ Efs Filesystem Auditor · jhkchan bundleAudits AWS EFS filesystems for encryption-at-rest, filesystem policy public principal exposure, encryption-in-transit enforcement, lifecycle management policies, and access point governance. Emits a deterministic verdict (UNENCRYPTED | PUBLIC_POLICY | CONFIG_GAP | OK) per filesystem with enumerated findings and specific remediation. Use when reviewing EFS filesystem configurations, checking for public filesystem policies, validating encryption posture, auditing lifecycle policies, or hardening EFS access before production deployment.
- ▌ Eks Pod Troubleshooter · jhkchan bundleDiagnoses why Kubernetes pods fail on Amazon EKS — CrashLoopBackOff, ImagePullBackOff / ErrImagePull, Pending (FailedScheduling), OOMKilled, unhealthy probes (Liveness/Readiness), and Init:CrashLoopBackOff — via a symptom-to-cause decision tree that combines kubectl describe pod events, container lastState (exit code, OOMKilled), kubectl logs --previous for application errors, kubectl get events timeline, ECR auth and node-role permissions, node taints and resource pressure, and probe path/port misconfiguration. Emits a deterministic verdict (ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE) with the specific failure category and evidence from kubectl describe / logs / get-events / aws eks describe-cluster. Use when a pod is stuck in Pending, crash-looping, cannot pull an image, fails liveness/readiness probes, is OOMKilled, or has a failing init container.
- ▌ Eks Security Optimizer · jhkchan bundleOptimises Amazon EKS cluster security posture across eight dimensions: pod security standards (Pod Security Admission — privileged/baseline/restricted PSS profiles enforced via admission controller replacing deprecated PodSecurityPolicy), IAM identity (IRSA — IAM Roles for Service Accounts over node IAM role for least privilege; EKS Pod Identity as the newer alternative), network policies (Calico/Cilium network policies for east-west traffic segmentation; default deny recommended), secrets encryption (KMS envelope encryption for Kubernetes secrets via --encryption-config), image scanning (ECR scan-on-push with enhanced scanning via Inspector for vulnerability detection), runtime security (GuardDuty EKS runtime monitoring for lateral movement and credential theft detection; Falco for syscall-level detection), admission webhook policies (OPA Gatekeeper / Kyverno for policy-as-code enforcement), and service mesh mTLS (App Mesh or Istio with ACM PCA for mutual TLS between pods). Reads cluster configuration vi...
- ▌ Event Driven Automator · jhkchan bundleDesigns and implements event-driven architectures on Amazon EventBridge. Covers event bus selection (default, custom, partner), event pattern matching with content-based filtering, rule-to-target wiring (Lambda, Step Functions, SQS, SNS, API Gateway, API destinations, ECS, Systems Manager), EventBridge Pipes (DynamoDB Streams / Kinesis / SQS / MQ source with enrichment), and EventBridge Scheduler for time-based triggers. Adds the non-negotiables: per-target DLQ, idempotent consumers, retry policy, ordering semantics, circular-dependency detection, and dead-letter alarms. Covers common AWS event patterns (EC2 state change, GuardDuty finding, Security Hub finding, CodeBuild failure, Auto Scaling launch, S3 object created, CloudWatch alarm). Emits AUTOMATED with an architecture template or MANUAL_STEP_REQUIRED with the specific gap. Use when building EventBridge event-driven automation, designing Pipes pipelines, configuring Scheduler, or hardening event delivery with DLQ and idempotency.
- ▌ Fargate Cost Optimizer · jhkchan bundleOptimises AWS Fargate cost across seven dimensions: task right-sizing (CPU/memory from 28 allowed combos, CloudWatch CPUUtilization and MemoryUtilization analysis), Fargate Spot vs On-Demand (up to 70% savings for fault-tolerant workloads), ARM64/Graviton migration (20% cheaper), task scheduling/bin-packing via capacity providers, Savings Plans (1yr/3yr commitment for steady-state), and latest features (Fargate EFA for HPC/ML, Fargate instance storage for high-I/O). Reads CloudWatch metrics, ECS configs, and Cost Explorer data. Emits OPPORTUNITY_FOUND with recommendation and estimated savings, OPTIMIZED, or ALREADY_OPTIMAL. Use when reviewing Fargate spend, right-sizing ECS tasks, evaluating Spot/ARM64 migration, or a FinOps review of container spend.
- ▌ Health Event Automator · jhkchan bundleDesigns AWS Health event response automation across the three event type categories (issue, accountNotification, scheduledChange), EventBridge rules routing Health events to SNS, Lambda responders (Slack/Teams notify, Jira ticket create, DR failover trigger, Auto Scaling scale-out), AWS Health API affected-entity mapping, organizational view for org-level Health events across all member accounts, AWS User Notifications chat delivery, AWS Health Omics workflow alerts, and EventBridge Scheduler for scheduled-change lead-time actions. Emits AUTOMATED with the responder playbook or MANUAL_STEP_REQUIRED with the gap. Use when designing Health event automation, org-level health visibility, or scheduled-change remediation workflows.
- ▌ Iac Template Automator · jhkchan bundleGenerates and validates Infrastructure-as-Code templates for common AWS patterns across CloudFormation (template structure, nested stacks, cross-stack refs, drift detection, change sets), CDK v2 (L1/L2/L3 constructs, Apps, Stacks, aspects), and Terraform (HCL, modules, S3 backend with DynamoDB lock, workspaces, plan/apply/destroy). Covers VPC+subnets+NAT+routes, Lambda+API Gateway+DynamoDB, ECS Fargate+ALB, RDS Aurora+Secrets Manager rotation, CloudFront+S3+WAF. Enforces security defaults: no hardcoded secrets, least-privilege IAM (no Action:*, Resource:*), encryption by default, deletion protection, cost-allocation tags. Validates with cfn-lint, cfn-nag, tflint, checkov. Handles drift detection and state pitfalls (CFN Replacement=TRUE, Terraform manual changes outside IaC). Emits a deterministic verdict AUTOMATED with IaC template or MANUAL_STEP_REQUIRED with specific gap. Use when generating AWS infrastructure templates, scaffolding a new service, or validating IaC for security before deploy.
- ▌ Kinesis Stream Auditor · jhkchan bundleAudits Amazon Kinesis Data Streams for encryption-at-rest gaps (EncryptionType NONE), extended-retention cost exposure, shard-count quota-exhaustion risk, enhanced-monitoring blind spots (missing per-shard IteratorAge and WriteProvisionedThroughputExceeded), consumer checkpointing posture, and on-demand vs provisioned mode fit. Emits a deterministic verdict (NO_ENCRYPTION | COST_RISK | CONFIG_GAP | OK) per stream with enumerated findings and CLI remediation. Use when reviewing Kinesis stream configurations, checking encryption posture, validating monitoring coverage, auditing retention cost, or assessing consumer health before production deployment.
- ▌ Kms Key Policy Auditor · jhkchan bundleAudits AWS KMS key policies and key metadata for cross-account or external principals, wildcard kms:* grants, the kms:Decrypt blast-radius multiplier, automatic-key-rotation status, and key-deletion window exposure. Emits a deterministic severity verdict (CRITICAL | HIGH | MEDIUM | OK) per key with enumerated findings and specific remediation. Use when reviewing KMS key policies, checking for cross-account decrypt access, validating rotation enablement, auditing key deletion windows, or hardening encryption key posture before production deployment.