DevOps Case Studies

21
WhiteHedge Technologies WhiteHedge Technologies

Transcript of DevOps Case Studies

Page 1: DevOps Case Studies

WhiteHedge TechnologiesWhiteHedge Technologies

Page 2: DevOps Case Studies

WHITEHEDGE - AN OVERVIEW

Global Presence

+

+

+

+

+

+

Agile + Flexible

Thorough + Quick Learner

Competitive + Comprehensive

Honest + Transparent

Young + Mature

Innovative + Creative

More about us …What defines us ?

California

New Jersey Rotterdam

Pune

Envision Products | Convert into businesses

100+ employees | 50+ live products world-wide

The best of the Talent and Infrastructure

Started 2003 | Focused Agile Product Development

Self funded | Well funded | Profitable

2

Page 3: DevOps Case Studies

Projects and Case Studies

Page 4: DevOps Case Studies

[email protected]

WhiteHedgeDEVOPS STACK FOR ONE OF OUR CLIENTS

4

Page 5: DevOps Case Studies

WhiteHedge

[email protected]

CLIENT IN THE MEDIA DOMAINDesigning and implementing the DevOps strategy to align with the business vision of introducing a new device in the mobile devices market.

WhiteHedge SolutionØ Created VPCs in two different

AWS region with multi-AZ configuration

Ø Configured Highly Available NAT servers for inbound and outbound traffic

Ø Created auto-scaling policies based on CPU Utilization and inbound traffic through ELBs

Ø Defined policies for periodic patching & updates to base AMIs

SituationØ Worldwide leader in consumer electronicsØ Leader in manufacturing mobile devicesØ Introduction of a new tablet in the market

ChallengeØ Building AWS infrastructure to support a product

launch in 40 countriesØ Creating a CI, CD Pipeline for a node.js serverØ Setting up auto-scaling infrastructure to support

heavy traffic during the shopping season

Page 6: DevOps Case Studies

WhiteHedge

[email protected]

Technology

Value Addition

WhiteHedge

Ø AWS, EC2, CodeDeployØ Jenkins, DockerØ NodeJS, Python, Bash

Ø Created CloudFormation Templates for quick future deployments for new regions

Ø User AWS CodeDeploy to deploy server on AWS

Ø Monitoring using DataDog & Operational support integration with PagerDuty

Ø WhiteHedge offered DevOps consultation, implementation, though leadership and helped in taking strategic decisions related to infrastructure design.

Ø Infrastructure was an important aspect to support the new device in the market, in order to autoscale and support the variable and unknown load in production.

Page 7: DevOps Case Studies

WhiteHedge

[email protected]

AMAZON ELASTIC CONTAINER SERVICEAmazon EC2 Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes it easy to run, stop, and manage Docker containers on a cluster of Amazon EC2 instances.

WhiteHedge SolutionØ We explored a number of Docker

orchestration tools: Kubernetes, Docker Swarm and Amazon ECS.

Ø ECS lets you launch and stop container-enabled applications with simple API calls

Ø Allows you to get the state of your cluster from a centralized service

Ø Gives you access to many familiar Amazon EC2 features.

Ø No need to maintain any software to manage cluster on our side as ECS is a free service.(If you are using EC2 instances)

ProblemØ How to orchestrate and autoscale Docker

containers on Amazon EC2?

ChallengeØ We run application inside docker containers on

EC2.Ø We automated docker image creation using

Jenkins and scripts.Ø We automated deployment using Amazon

CodeDeploy. Ø However autoscaling docker images on EC2 is an

open problem today. Ø How could we orchestrate and autoscale docker

containers in production?

Page 8: DevOps Case Studies

WhiteHedge

[email protected]

APPLICATION PERFORMANCE MANAGEMENTApplication Performance Management (APM) is the monitoring and management of performance and availability of software applications.

WhiteHedge SolutionØ We setup and configured the monitoring

solution for the client using DatadogØ System monitoring and Application

monitoringØ We setup automated alerts in the form of

phone calls, emails and chat notificationsØ Alerts were triggered when the

application went down or was unresponsive, when the system parameters looked unhealthy (CPU, Memory, etc.) or when the application produced too many errors.

Ø The application health was shown graphically on the Datadog dashboard

ProblemØ Getting an insight into how the application

performed was needed to take key business decisions

ChallengeØ While the client developed and continuously

deployed the software, there was no feedback mechanism in place

Ø It was important to know if the application was up and responding

Ø We had to design a mechanism which would help in debugging issues in the system

Page 9: DevOps Case Studies

WhiteHedge

[email protected]

APPLICATION MONITORINGApplication monitoring is a process that ensures that a software application processes and performs in an expected manner and scope.

WhiteHedge SolutionØ We realized the need to do code

augmentation to gather the HTTP request processing time metric.

Ø We had to ensure that this code augmentation does not affect the overall performance of the system.

Ø We chose to do this using Datadog. Ø Our application was in NodeJS. We used

module.Ø The metrics were sent from code using

the node-dogstatsd module to local Datadog agent using UDP.

Ø Local Datadog agent sent the metrics to Datadog server using Python.

Ø The Datadog UI and scripts were used to display the metrics in the desired format

ProblemØ Our client wanted an insight into how the

application was performing in terms of the time needed to process an HTTP request.

ChallengeØ Many monitoring solutions offer out of the box

support to track HTTP response times by sending dummy HTTP requests to the system.

Ø Our challenge was to come up with stats which give the response times for each real (production) request into the system.

Page 10: DevOps Case Studies

WhiteHedge

[email protected]

MONITORING USING ZABBIXOpen source and enterprise-level software designed for real-time monitoring of millions of metrics collected from tens of thousands of servers, virtual machines and network devices.

WhiteHedge SolutionØ System monitoring plays a great role in

offering clients a complete, robust solution to their needs.

Ø After research and testing, WhiteHedge decided to utilize Zabbix as the backbone of their monitoring services.

Ø Using Zabbix the WhiteHedge team is able to detect issues quicker and reduce the response times for failed services and applications.

Ø Fully customized alerts, specific to each server/ service monitored have been implemented by the WhiteHedge team to maximize uptime for their clients’ environments.

SituationØ Our client was looking for an easy-to- set-up

and user-friendly monitoring software, preferably on Linux platform with back-up support available 24/7.

Ø And the software still had to have the capabilities to implement custom checks.

Page 11: DevOps Case Studies

WhiteHedge

[email protected]

CLOUD MIGRATIONMoving data, applications or other business elements from on premise to cloud or from one cloud environment to another.

WhiteHedge SolutionØ After studying the existing architecture and the business

requirements WhiteHedge proposed a cloud-based

architecture which leverages the Amazon’s Elastic

Compute Cloud (EC2) and other associated services.

Ø WhiteHedge applied Phase Driven Approach to Cloud

Migration

Business ChallengeØ Physical hardware components rapidly

approaching end of life.Ø Increasing downtime due to network failure in

data center. Ø Increasing operational expenses year over

year.

Ø Cloud experts helped our client to migrate to the

AWS cloud without downtime.

Ø WhiteHedge helped our client to keep the cost

structure at low level.

Ø WhiteHedge put focused efforts that resulted in

efficient turnaround with qualitative delivery.

Ø Integration of third party tools such as Puppet to

get work done.

Page 12: DevOps Case Studies

WhiteHedge

[email protected]

Clou

d A

sses

smen

t Financial Assessment (TCO calculation)

Security and Compliance Assessment

Technical Assessment (Classify application types)

Identify the tools that can be reused and the tools that need to be built

Create a plan and measure success

Proo

f of C

once

pt Build a pilot and validate the technology

Test existing software in the cloud

Mov

ing

Data Understand different

storage options in the AWS cloud

Migrate file servers to Amazon S3

Migrate MySQL to Amazon RDS

Mov

ing

App

s Create AMIs for each component

Leveraging the Cloud and other AWS services

Harden security

Leverage multiple availability zones O

ptim

izat

ion Implement advanced

monitoring.

Optimize usage based on demand

PHASE DRIVEN APPROACH TO CLOUD MIGRATION

WhiteHedge was successful in aligning with our client business and technical requirements, which resulted in extending the relationship to deliver the solution roadmap and implementation responsibility.

Page 13: DevOps Case Studies

Why WhiteHedge?

Page 14: DevOps Case Studies

WhiteHedge

[email protected] 14

WE UNDERSTAND YOUR BUSINESS GOALS

EXPERTISE IN DEVOPS IS A MUST

YOU BUSINESS VISION NEEDS TO BE

MAPPED TO YOUR DEVOPS VISION

DEVOPS SPACE IS CONTINUOUSLY

EVOLVING

We can help you align your business goals with DevOpsgoals to ensure that long term success

Page 15: DevOps Case Studies

WhiteHedge

[email protected]

WE HELP YOU ACCELERATE

15

§ Derive and define key IT metrics

§ Number of defects (overall and by application/severity)

§ Frequency of changes (development velocity)

§ Defects due to change

§ Mean time to repair (MTTR)

§ Mean time between failures (MTBF)

§ Availability

§ Performance

We understand your business goals

And align them with your DevOps goals

We build a system that can measure the metrics

Page 16: DevOps Case Studies

WhiteHedge

[email protected] 16

WE HELP YOU MEASURE BUSINESS VALUE OF A CHANGE

Focus what the business actually needs

Measure the business valueWhiteHedge strength

To do DevOps successfully:

Measure and estimate the business valueof a new story, and the business risk to each deployment.

If more business value than risk:Deploy more often

Configuration management

Remove the ops team!

Page 17: DevOps Case Studies

WhiteHedge

[email protected] 17

WE HAVE TECHNOLOGY EXPERTS

Updated Approach

Collaboration Provide the right solution

At WhiteHedge we keep ourselves updated with latest technology trends to ensure we can provide you with

the best consultation in the DevOps space

Page 18: DevOps Case Studies

WhiteHedge

[email protected]

WE FOCUS ON…

18

Technology ProcessPeople

§ Cultural Change –Collaboration, Cooperation and Transformation to a Learning Organization

§ Increased responsiveness to business

§ Improved quality of code§ More agile development

§ More agile change process

§ Improved quality of software deployments

§ More frequent software releases

§ Improved visibility into IT process and requirements

Page 19: DevOps Case Studies

WhiteHedge

[email protected] 19

OUR PRINCIPLES OF DEVOPS

Automate Everything Deliver small increments

Continuous Improvement Test early and test often

Continuous feedback Cohesive Teams

Page 20: DevOps Case Studies

[email protected]

WhiteHedgeCONTACT US

GET IN TOUCH WITH USWe would like to hear from you!

How you have adopted DevOps in your company?Would you like to have a quick chat about our DevOps offerings?!

Write to us!

Mukta Aphale - [email protected] Joshi - [email protected]

http://www.whitehedge.com/devops.html

20

Page 21: DevOps Case Studies

THANK YOU!Have a Nice Day!