This is a DevOps project for Continuous Integration of vprofile project on AWS Cloud using AWS CodeCommit, AWS CodeArtifact, AWS Systems Manager Parameter Store, SonarCloud, Amazon S3, AWS CodeBuild, AWS CodePipeline, Amazon SNS.
Link for vprofile app repository.
-
CI Server Maintenance
-
Operational Overhead to maintain Servers like Jenkins, Nexus, Sonar, Git etc
- Cloud Services for CI to Remove Ops Overhead
-
Short MTTR (Mean Time to Recovery)
-
No Human Intervention
-
Fault Isolation
-
Agile
-
No Ops
-
AWS CodeCommit - Version Control System
-
AWS CodeArtifact - Maven Repository for Dependencies
-
AWS CodeBuild - Build Service from AWS
-
Amazon S3 - Artifact Deployment
-
Checkstyle - Code Analysis Tool
-
SonarCloud - SonarQube Cloud based Tool
-
AWS CodePipeline - Service to Integrate all Jobs Together
-
Amazon SNS - Notification Service from AWS
-
Login to AWS account - Link to Login to your AWS Account.
-
AWS CodeCommit
a. Create CodeCommit repo
b. Create IAM user with CodeCommit policy
c. Generate SSH keys locally
d. Exchange keys with IAM user
e. Put source code from github repo to cc repository and push
-
AWS CodeArtifact
a. Create an IAM user with code artifact access
b. Install AWS CLI, configure
c. Export Auth token
d. Update settings.xml file in source code top level directory with below details
e. Update pom.xml file with repo details
-
SonarCloud
a. Create Sonar Cloud account
b. Generate token
c. Create SSM parameters with Sonar details
d. Create Build project
e. Update CodeBuild role to access SSM Parameter Store
-
Create Notifications for SNS or Slack
-
Build Project
a. Update pom.xml with artifact version with timestamp
b. Create variables in SSM - Parameter Store
c. Create Build project
d. Update CodeBuild role to access SSM Parameter Store
-
Create Pipeline
a. CodeCommit
b. Test Code
c. Build
d. Deploy to S3 Bucket
-
Test Pipeline