MATIH Platform is in active MVP development. Documentation reflects current implementation status.
18. CI/CD & Build System
AWS Modules

AWS Modules

The AWS Terraform modules provision AWS-specific infrastructure for the MATIH platform: EKS clusters, RDS databases, S3 storage, Bedrock AI services, and networking resources.

Source: infrastructure/terraform/modules/aws/


Module Inventory

ModulePathDescription
Kubernetes Control Planeaws/kubernetes/control-plane/EKS cluster with managed nodegroups
RDSaws/rds/Amazon RDS for PostgreSQL
S3aws/s3/S3 buckets for data lake and artifacts
Bedrockaws/bedrock/Amazon Bedrock model access configuration
Networkingaws/networking/VPC, subnets, security groups
Governanceaws/governance/IAM policies and compliance

EKS Cluster Module

Key Resources

ResourcePurpose
aws_eks_clusterEKS cluster with OIDC provider
aws_eks_node_groupManaged nodegroups for workloads
aws_ecr_repositoryElastic Container Registry
aws_iam_roleIRSA roles for pod identity

Nodegroup Configuration

NodegroupInstance TypePurpose
systemm5.xlargeSystem components
applicationm5.2xlargeApplication workloads
gpup3.2xlargeML/AI GPU workloads

RDS Module

ResourcePurpose
aws_db_instanceRDS PostgreSQL instance
aws_db_subnet_groupDatabase subnet group
aws_secretsmanager_secretDatabase credentials

S3 Module

BucketPurpose
Data lakeIceberg table storage
ArtifactsMLflow artifacts, pipeline outputs
BackupsDatabase backup storage

Bedrock Module

Provisions access to Amazon Bedrock foundation models:

ResourcePurpose
aws_bedrock_model_invocation_logging_configurationEnable model invocation logging
IAM policyGrant model access to service accounts

Networking Module

ResourcePurpose
aws_vpcPlatform VPC
aws_subnetPublic, private, and database subnets
aws_security_groupNetwork security rules
aws_nat_gatewayOutbound internet for private subnets

Related Pages