Project Goal
To build and automate a full CI/CD pipeline using AWS-native services—including CodePipeline, CodeBuild, and Elastic Beanstalk—for the continuous integration and deployment of a Java-based monolithic application sourced from Bitbucket, with persistent backend support via Amazon RDS (MySQL).
Architecture Summary

- Source Code Management: Bitbucket (migrated from GitHub)
- CI/CD Services: AWS CodePipeline + AWS CodeBuild
- Artifact Storage: Amazon S3
- Compute Environment: Elastic Beanstalk (Tomcat platform)
- Database: Amazon RDS (MySQL 8.x)
- VPC & Security: Security Group-level isolation for RDS access, IAM-managed permissions
- Monitoring & Debugging: AWS CloudWatch Logs for build and deployment observability
Pipeline Flow
1. Elastic Beanstalk Environment Configuration
- A new Elastic Beanstalk environment was created using the Tomcat 8.5 platform.
- Session stickiness was explicitly enabled to ensure user session persistence under load balancer routing.
- The environment launched two EC2 instances behind an AWS-managed Application Load Balancer (ALB).
2. Amazon RDS Setup & Secure Integration
- An Amazon RDS instance was provisioned with MySQL as the engine.