About Customer
  • • Client is a book rental service provider in USA
  • • Since search and API service needs to be available always, there should not be any downtime.
  • • He has nodejs api services which need to deployed to AWS in continuous delivery mode with 0 downtime.
Development need
  • • Understanding of CircleCI build and deployment workflow
  • • Identify approach of app deployment for various conditions related to site failure and figure out solutions for 0 downtime
  • • Understanding of AWS services like Auto-scaling groups, load balancers and CI/CD pipeline
Implementation Details
  • • Configured CircleCI service to monitor production branch of GitHub. On changes committed to this branch, build is triggered.
  • • Build is stored on S3 bucket for ready processing
  • • Through custom python scripts called from CircleCI, provisioning is triggered in AWS
  • • Single instance of a load-balanced configuration is taken down for new code deployment.
  • • Post deployment, AWS services like load-balancers are configured and after new service node is functional then other node is taken down for maintenance. This ensures that application service is available 100%.
  • • MongoDB data is migrated to ElasticSearch for sub-second response time on search