Continuous Deployment tool

Slides:



Advertisements
Similar presentations
BizTalk Deployment using Visual Studio Release Management
Advertisements

Using the ALM Module Fully Automated Deployments in Stack 3.2.
Continuous Delivery on AWS
Partners’ Webinar 01/31/2013 Karol Jarkovsky Solution Architect Upgrading Kentico.
Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.
CMI Cloud Solutions Overview. 2 Experts in Cloud Architecture Architect and deploy complex AWS and SoftLayer environments (EC2, EBS, ELB, RDS, Route 53,
Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.
Navigation software platform: Automating the server configuration Igor Jovic, Whitecity Soft Case Study.
Build and Deployment Process Understand NCI’s DevOps and continuous integration requirements Understand NCI’s build and distribution requirements.
Developing SQL/Server database in Visual Studio Introducing SQL /Server Data Tools Peter Lu.Net Practices Director Principle Architect Nexient March 19.
Declarative Configuration Management with Azure Automation DSC and ARM Nathan Lasnoski Vice President of blog.concurrency.com Concurrency.
EPAM Cloud Orchestration
Alfresco Software Provisioning Kit
1/27/2018 5:13 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Bringing DevOps to the Database
Bringing DevOps to the Database
Joonas Sirén, Technology Architect, Emerging Technologies Accenture
Agenda:- DevOps Tools Chef Jenkins Puppet Apache Ant Apache Maven Logstash Docker New Relic Gradle Git.
Open-O Integration Project Introduction
Deployment Architectures For Containers
Stress Free Deployments with Octopus Deploy
100% Exam Passing Guarantee & Money Back Assurance
Efficient development and deployment of Hydra projects using Vagrant
Continuous Integration (CI)
Deploy, Manage, and Scale Your Apps with OpsWorks, Elastic Beanstalk, and CodeDeploy Part 1 – Elastic Beanstalk © 2017 Amazon Web Services, Inc. and.
Infrastructure Orchestration to Optimize Testing
Automate Custom Solutions Deployment on Office 365 and Azure
MANAGE AWS INFRASTRUCTURE AS CODE USING TERRAFORM
Jenkins and Azure OPEN322 Michael Friedrich.
4th Forum How to easily offer your application as a self-service template by using OpenShift and GitLab-CI 4th Forum Alberto.
Dmytro Mykhailov How HashiCorp platform tools can make the difference in development and deployment Target and goal of HashiCorp.
Building and Running an Enterprise-grade Serverless Platform on Kubernetes Quinton Hoole, Technical VP Ying Huang, Sr. Architect US R&D, Huawei.
Cloud Security.
ONAP/OOM for Developers Michael O’Brien | Amdocs
Acutelearn Amazon Web Services Training Classroom Training Instructor led trainings at Acutelearn premises Corporate Training Custom tailored trainings.
Exploring Azure Event Grid
Compliance and Control of AWS Resources at Scale with Cloud Custodian
AWS DevOps Engineer - Professional dumps.html Exam Code Exam Name.
Where can I download Aws Devops Engineer Professional Exam Study Material - Get Updated Aws Devops Engineer Professional Braindumps Dumps4downlaod.us
2018 Amazon AWS DevOps Engineer Professional Dumps - DumpsProfessor
Get Amazon AWS-DevOps-Engineer-Professional Exam Real Questions - Amazon AWS-DevOps-Engineer-Professional Dumps Realexamdumps.com
Buy September 2018 Valid Amazon AWS-SysOps Dumps Questions - Amazon AWS-SysOps Braindumps Realexamdumps.com
Managing Development Projects Across Oracle Cloud Services: A Guide
X in [Integration, Delivery, Deployment]
Confidential – Oracle Internal/Restricted/Highly Restricted
Simplified Development Toolkit
INFO 344 Web Tools And Development
Automating Security in the Cloud
Introduction to SharePoint Framework
Johan Hedberg Consultant & XLENT | Cloud and Integration specialist | Microsoft MVP Using VSTS to deploy BizTalk Server solutions, what you.
12/26/2018 1:44 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Ansible & CloudFormation
AWS Cloud Computing Masaki.
In this session… Introduce what we’re talking about
Lambda CI/CD Pipelines
Docker in AWS ECS.
Daniel Mennell Mesosphere, Inc.
Christian Huebner, Principal Architect
Deploying Your First Full Stack Application to the Cloud
Building Serverless Enterprise Applications
Configuration management suite
DEVOPS & THE FUTURE OF TESTING
For Community and TSC Discussion Bin Hu
Application Settings Management – SSM Parameter Store
Erik Vollebekk Application Architect
Overview on CI Use JJB (Jenkins Job Builder) to manage Jenkins jobs.
Azure DevOps Simplified with Production Data
Continuous Integration and Delivery (CI/CD) in Azure Data Factory
Miao Jiang API Management: deep dive - Part 1
Presentation transcript:

Continuous Deployment tool Mahesh Veerabathiran AWS Certified Developer Associate AWS Certified Sysops Administrator Associate

Agenda Stages of Transformation High level design overview Significant features Big picture - CICD Pipeline Prerequisites Demo Tool information

Stages of Transformation Developing API and deploy services majorly using CFT and Chef since couple of years ago.

Stages of Transformation Our initial pipeline uses following tools Git – Used for Version controlling. Jenkins – Runs code quality check and prepare artifacts for deployment Uses Sonar for code quality validation. Stores artifact in to Nexus. Provision cloud infrastructure using Cloudformation. Infrastructure configuration is handled by Chef. Using chef, one can build reusable libraries for infrastructure configuration called Cookbooks. Each cookbook can have more than one recipe. Using Chef Role, one can define list of cookbook/recipe to be executed in order as per their requirement. Chef Environment – Let you define any environment specific configuration for your requirement Version of application artifact information is defined in chef environment artifacts

Stages of Transformation Maintenance of multiple CFT’s and Chef artifacts though does not have major differences 1st API Stack 2nd API Stack 3rd API Stack Cloudformation Templates Chef Artifacts (Role, Env.) Cloudformation Templates Chef Artifacts (Role, Env.) Cloudformation Templates Chef Artifacts (Role, Env.)

Stages of Transformation Built Generic CFT’s to maintain one set of CFT templates for all our API’s

Stages of Transformation But it did make our deployment complex, especially for Deployment team as deployment is still manual. ASG ELB

Stages of Transformation Expanded our API footprint further in West region for high availability. Enabled Blue/Green deployment for zero application downtime. Ended up spending more hours in deployment. ASG ELB 2x for Feature deployment 4x for AMI rehydration

Stages of Transformation It complicated further our deployment process. Also, It became difficult to get the release team availability.

Stages of Transformation Realized the need to automate our releases and looked for a solution to leverage automation solution using Chef and CFT’s

Stages of Transformation All the available automation tools are based on Terraform, Docker etc. As our deadlines are narrow, could not spend time in new tools. Expectation EC2 vs Reality Terraform

Stages of Transformation Hence started coding simple script for automation and it became Continuous deployment tool in a week time.

High level flow diagram

Config. file

Significant Features All Cloudformation parameters are config. file driven

Artifact info. hardcoded in Chef Env. Significant Features Artifact info. hardcoded in Chef Env.

Significant Features Now API artifacts (*.war, *.jar) version are not hardcoded in CHEF. Calls Nexus API to get latest artifact version & store artifacts info. in S3. During Instance bootstrapping, pull down artifact info. from S3 and deploy the artifacts using custom cookbooks. Therefore, it eliminates the need for maintaining chef artifacts one for blue and other for green.

Significant Features Once the stack (blue/green) is created, the DNS recordset to create/update R53 is prepared and stored in S3. Configure cloud watch to monitor ELB instance health and triggers SNS when at least one of the instance becomes healthy One could write lambda which subscribes SNS event. When triggered, pull R53 update info. from S3 and update R53 DNS recordset to route traffic to new stack.

Significant Features One could also trigger R53 update manually when application traffic is low using automation job. Sample R53 update JSON file.

Significant features

Big Picture - CICD Pipeline

Prerequisites S3 bucket should be setup for staging temporary information AWS System account & Access keys. System account should have read/write permissions to your S3 bucket. System account should also have following IAM policies enabled iam:PassRole route53:ListResourceRecordSets route53:ChangeResourceRecordSets Need IAM role to access your S3 bucket from EC2

Demo

Questions

Tool information GitHub repo Contact me Deck: https://github.com/dironman/continuousdeployme nt-meetup.git Sample config: https://raw.githubusercontent.com/dironman/conti nuousdeployment- meetup/master/mortagage_loan_config.json Contact me https://www.linkedin.com/in/aboutmahesh