This project sets up a Jenkins server integrated with AWS S3 to reduce operational costs. Jenkins job histories are archived periodically and moved into S3 Glacier Deep Archive storage class using AWS CLI.
- Automatically archives old Jenkins jobs/logs to S3
- Reduces EBS volume and storage costs
- Integrates with Jenkins CI/CD setup
- Applies FinOps principles to optimize infrastructure spend
- Uses AWS CLI and simple shell scripting
Flow:
- Jenkins server hosts CI/CD jobs
s3_job_archive.shscans and compresses job history- Compressed archives are pushed to an S3 bucket
- Archives are stored using the
GLACIER_DEEP_ARCHIVEstorage class
