Our Customer is one of the world’s leading certification training providers. They provide online training in disciplines such as Cyber Security, Cloud Computing, Project Management, Digital Marketing, and Data Science among others, where technologies and best practices are changing rapidly and demand for qualified candidates significantly exceeds supply. They are based in San Francisco, California and Bangalore, India.
During our discussion with customer Program Manager, we zeroed in for the following goals:
- Implement CI/CD pipeline using AWS Code Pipeline.
- Implement efficient, continuous, automated deployment process
By using best practices of DevOps,we implemented an end to end continuous integration and continuous deployment pipeline for our customer.We took the following steps to achieve our goals:
- Implemented Continuous Integration and Continuous Deployment (CI/CD) pipeline using AWS Code Pipeline.
- Migrated Code from GitHub to CodeCommit
- Used CodeBuild for building the code
- Created a Tomcat deployment server on EC2
- Restricted access to AWS services through IAM
- Implemented CloudWatch for logging
- Implemented CodeDeploy for deploying the application
- Implemented CodePipeline for creating an automated CI/CD Pipeline
This solution used following tools, platforms and services:
- AWS-Public Cloud Platform. Following services are prominently used:
- Elastic Compute Cloud(EC2): for tomcat deployment server
- IAM – for role creation
- S3 – for storing artifacts
- CloudWatch – for monitoring,alerting and logging
- CodeCommit – as code repository
- CodeBuild – for building the code
- CodeDeploy – for deploying the application
- CodePipeline – for creating CICD pipeline
- Language – used YAML for scripting
Click to see large view
Along with the predefined goals , Loves Cloud was able to provide following benefits:-
- Exponential reduction in deployment time. Entire commit to deployment cycle gets completed in couple of minutes
- Automated CI/CD Pipeline using AWS Resources
- Improved developer’s productivity due to continuous integration
- Predictable deployments; if unit tests are failing, nothing gets deployed
- Stored artififacts on S3
- CloudWatch Logging helped the team in knowing the details of the failures during any stage from commit to deploy
- Setup real time monitoring and alerting for cost and performance of all AWS resources through CloudWatch