Skip to content

CLM-39516: Update AWS reference architecture to match L-sized architecture - #24

Open
jmromeroes wants to merge 3 commits into
mainfrom
CLM-39516-update-aws-reference-architecture
Open

CLM-39516: Update AWS reference architecture to match L-sized architecture#24
jmromeroes wants to merge 3 commits into
mainfrom
CLM-39516-update-aws-reference-architecture

Conversation

@jmromeroes

Copy link
Copy Markdown
Collaborator

Summary

  • Update ECS configuration to L customer profile: 8 vCPU ARM (Graviton), 64 GB RAM
  • Update Java heap to 48GB (75% of 64GB RAM) with optimized GC settings
  • Change Aurora/RDS instance class from db.r6g.4xlarge to db.r6g.2xlarge (8 vCPU, 64 GB RAM, ARM Graviton)
  • Add ALB idle timeout configuration (180 seconds)
  • Add ecs_runtime_platform variable for ARM64 architecture support
  • Update documentation with L Customer Profile specifications

Changes

ECS Configuration (L Profile)

  • CPU: 8 vCPU (8192) - ARM Graviton for better price/performance
  • Memory: 64 GB (65536 MiB)
  • Soft limit: 48 GB (49152 MiB)

Java Options

  • Heap: 48GB (75% of 64GB RAM)
  • Added -XX:+AlwaysPreTouch for consistent GC performance
  • Added -Dinsight.threads.monitor=10 for monitoring thread pool

Database

  • Instance class: db.r6g.2xlarge (8 vCPU, 64 GB RAM, ARM Graviton)
  • Max storage: 2000 GB auto-scale
  • Aurora Multi-AZ with 2 instances for HA

Load Balancer

  • Idle timeout: 180 seconds (3 minutes)

Test plan

  • Verify Terraform configuration is valid (terraform validate)
  • Review documentation comments for accuracy
  • Confirm variable defaults match L-sized architecture specs

Related

  • CLM-39516

🤖 Generated with Claude Code

…cture

- Update ECS configuration to L profile: 8 vCPU ARM (Graviton), 64 GB RAM
- Update Java heap to 48GB (75% of 64GB RAM) with AlwaysPreTouch and monitoring threads
- Change Aurora/RDS instance class from db.r6g.4xlarge to db.r6g.2xlarge
- Add ALB idle timeout configuration (180 seconds)
- Add ecs_runtime_platform variable for ARM64 architecture
- Update documentation with L Customer Profile notes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jmromeroes
jmromeroes force-pushed the CLM-39516-update-aws-reference-architecture branch from 47fc6b3 to 8a5e327 Compare April 15, 2026 21:32
Comment thread infra-aws-ha/terraform.tfvars.example Outdated
Comment thread infra-aws/terraform.tfvars.example
Comment thread infra-aws-ha/variables.tf Outdated
- Add "with 10 threads" to continuous monitoring comments
- Remove unused ecs_runtime_platform variable (ARM architecture is
  enabled via platform_version = "LATEST" in ECS service)
- Update L Customer Profile notes to mention 10 threads

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jmromeroes
jmromeroes requested review from SirMaster and mealingr and removed request for mealingr April 16, 2026 16:03
- Update all hardcoded 'ref-arch' references to use var.cluster_name
- Add alb_idle_timeout to ALB resource
- Add ecs_memory_reservation to container definition
- Use var.enable_container_insights in ECS cluster settings
- Use var.common_tags for all resource tags
- Update IAM policies to use dynamic SSM parameter paths

This ensures all defined variables are properly utilized across
the infrastructure configuration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

@mealingr mealingr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@SirMaster
SirMaster removed their request for review May 4, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants