Domain knowledge for deploying Java/Spring Boot applications on AWS. Covers RDS PostgreSQL, ECS/Fargate, Secrets Manager, CloudWatch, ALB, ECR, and CloudFormation/CDK patterns. Use when the target cloud provider is AWS.
This skill provides domain knowledge for deploying and operating Java 21+ / Spring Boot 3.x applications on Amazon Web Services. It covers infrastructure provisioning, container deployment, secrets management, observability, and CI/CD patterns specific to the AWS ecosystem. Use this skill when the customer's target environment is AWS.
Use RDS PostgreSQL 16+ for managed database hosting. Key configuration decisions:
# Typical RDS instance configuration
Engine: postgres
EngineVersion: "16.4"
DBInstanceClass: db.r6g.large # Graviton for cost efficiency
AllocatedStorage: 100
StorageType: gp3
MultiAZ: true # Production always multi-AZ
DeletionProtection: true
BackupRetentionPeriod: 14
StorageEncrypted: true
Create a custom parameter group to enable required extensions and tune performance:
shared_preload_libraries: pg_stat_statements
log_min_duration_statement: 1000 # Log slow queries > 1s
work_mem: 256MB
maintenance_work_mem: 512MB
effective_cache_size: 4GB
random_page_cost: 1.1 # SSD-backed storage
Enable extensions via parameter groups and SQL:
-- Required for full-text search and UUID generation
CREATE EXTENSION IF NOT EXISTS pg_trgm;
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE EXTENSION IF NOT EXISTS pg_stat_statements;
Note: RDS supports most common extensions but not all. Check the RDS PostgreSQL extensions list before depending on an extension.
Always enforce SSL connections in production:
# application-aws.yml