Skip to main content

v1.0 — AWSops Dashboard Initial Release

· 2 min read

The first release of the AWSops Dashboard. An integrated AWS/Kubernetes operations dashboard built with Next.js 14 + Steampipe + Amazon Bedrock AgentCore is here.

Key Numbers

21 Pages · 5 API Routes · 380+ AWS Tables · 60+ K8s Tables · 125 MCP Tools

Architecture Overview

User requests arrive at CloudFront, pass through the ALB, and reach the Next.js app running on EC2, which queries AWS APIs in real time via Steampipe using SQL.

CDK Infrastructure Migration

Transitioned from CloudFormation YAML templates to AWS CDK TypeScript for infrastructure-as-code management.

ItemBefore (CloudFormation)After (CDK)
LanguageYAML 2000+ linesTypeScript type-safe
Deploymentaws cloudformation deploycdk deploy
VPCManual subnet CIDR calculationec2.Vpc() automatic
ALBManual listener/target setupelbv2.ApplicationLoadBalancer()
ReuseCopy-pasteStack inheritance + Construct
Key Files
  • infra-cdk/lib/awsops-stack.ts — VPC, EC2 (t4g.2xlarge ARM64), ALB, CloudFront configuration
  • 00-deploy-infra.sh — CDK bootstrap (ap-northeast-2 + us-east-1) and deployment script

Cognito Authentication

Built a user authentication system using AWS Cognito.

  • Lambda@Edge (Python 3.12, us-east-1) — JWT verification at CloudFront viewer-request
  • OAuth2 Authorization Code flow for secure authentication
  • 07-setup-cloudfront-auth.sh script for automatic setup

AgentCore Runtime + Gateway

AI agent system leveraging Amazon Bedrock AgentCore.

ComponentDescription
Strands Agentarm64 Docker image, managed in ECR
MCP ProtocolStandard communication between Gateway and Lambda
Code Interpreterawsops_code_interpreter (Python sandbox)
Deployment Scripts06a Runtime, 06b Gateway, 06c Tools, 06d Interpreter
Docker Build Note

EC2 only builds the Docker image. Execution runs as a container on AgentCore managed service. arm64 required: docker buildx --platform linux/arm64 --load

Initial Dashboard

ItemCount
Pages21
API Routes5
Steampipe AWS Tables380+
Steampipe K8s Tables60+
CIS Benchmarksv1.5 ~ v4.0
  • Recharts metrics visualization — CPU, Memory, Network trends
  • React Flow network topology — VPC, Subnet, Route Table relationships
  • CIS Compliance — v1.5 ~ v4.0 benchmark automated checks (Steampipe aws_compliance tables)
  • AI Routing — Code Interpreter → AgentCore → Steampipe+Bedrock → Bedrock Direct

Claude Code Scaffolding

Claude Code integration environment configured for improved development productivity.

  • Module CLAUDE.md — Context documents for each directory (src/lib/CLAUDE.md, src/app/CLAUDE.md, etc.)
  • Auto-Sync Rules — Automatic documentation sync rules on code changes
  • .claude/hooks/check-doc-sync.sh — Documentation sync verification hook