Top Banner
Bullet proof your Amazon Cloud Deployment Ezhil Arasan Babaraj Director – CSS Corp Labs CSS Corp Twitter : @ezhilsathya Blog : http://cloud4developers.com/
20

CSS Corp at Silicon India

Oct 21, 2014

Download

Technology

Ezhil Arasan Babaraj, Director CSS Corp Labs, Presenting at SiliconIndia Cloud Developer Summit.

"Track B: Cloud Infrastructure" at Session 7

Date & Time: 14th May 2011 & 2.45 PM to 3.30 PM

Topic: "Bullet Proof Your AWS Cloud Deployment"

Location: Nimhans Convention Centre, Bangalore - 560029
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CSS Corp at Silicon India

Bullet proof your Amazon Cloud Deployment

Ezhil Arasan BabarajDirector – CSS Corp LabsCSS CorpTwitter : @ezhilsathyaBlog : http://cloud4developers.com/

Page 2: CSS Corp at Silicon India

Confidential

About CSS Corp

© 2010 CSS Corporation 2

Company DNA

High Growth, Profitable Company

Recognized leader in Technology Operations

Management with CoEs in Telecom, SaaS, Cloud, RIM,

Testing, Support and R&D

Strong Partner Ecosystem; AWS, Microsoft, IBM, HP

150+ Long Term, Strategic and Profitable Customers

Operations in USA, UK, Poland, India, Manila &

Singapore

Strong Tools Portfolio

Passion for Advanced Technology Operations & Support Dedicated CSS Labs for Technology Innovation Business Operations and Technology Optimizer Out-comes based pricing models Top Mid Market ITO Provider 2007,2008,2009 – DataMonitor

100% Referenceable Customers Driving Technology Innovation and adoption Technology OpEx Optimization Transparency ,Openness & Flexibility Independent Centers of Excellence for R&D, Testing and Support

Privately held by investors including Goldman Sachs, SBAIF, Sierra

Ventures 5,000+ Resources Market Validation – 100% Client Retention Completed 3 acquisitions in 2010

Key Differentiators

Page 3: CSS Corp at Silicon India

Confidential

Cloud Services & Solution

© 2010 CSS Corporation 3

Page 4: CSS Corp at Silicon India

Confidential

Cloud Enablement Service & Phases

S.No Phase Key Activity Breakdown

1 Cloud Assessment

2 Cloud Architecture Development

3 Proof of Concept

4 Application (& Data) Migration

5 Production Operations & Optimization

© 2010 CSS Corporation 4

Application / Subsystem portfolio analysis and classification

Technical Assessment Financial Assessment

CLIENT Cloud Deployment Architecture Private Cloud Deployment Architecture OSS Strategy (COTS Vs In-house Tools)

Tools Deployment Runbook Development Optimize usage based on demand

Build a pilot to validate technology AMI Creation Forklift / Hybrid Migration of applications

Page 5: CSS Corp at Silicon India

Confidential

Context

© 2010 CSS Corporation 5

Prepare for

failure

Complex Systems

Cascading Failures

Designing for Failure

Testing for Failure

Cloud Vs Traditional

Page 6: CSS Corp at Silicon India

Confidential

What To Do?

© 2010 CSS Corporation 8

Understand the Cloud Provider

Appropriate use of Cloud Tools

Draft a Good backup strategy

Implement Monitoring & Alerting

Ensure Effective Recovery Mechanisms

Automate Provisioning

Plan for

Failure

Page 7: CSS Corp at Silicon India

Confidential

Compute Cloud Provider

© 2010 CSS Corporation 9

EC2: Elastic Compute Cloud

Multiple Regions

Availability Zones

Machine Images(AMI)

EBS Volumes

Security Groups

Elastic IPs

AWS

EC2

Page 8: CSS Corp at Silicon India

Confidential

Understanding AMI’s

© 2010 CSS Corporation 10

EC2: Elastic Compute Cloud

Multiple Regions

Availability Zones

Machine Images(AMI)

EBS Volumes

Security Groups

Elastic IPs

AWS

EC2

Page 9: CSS Corp at Silicon India

Confidential

AMI Type: EBS based

© 2010 CSS Corporation 11

Quick boot up

Ability to take Snapshots

Ability to stop instances

Variable Root Disk Sizes

Ease of Bundling

Why EBSBase

d?

Page 10: CSS Corp at Silicon India

Confidential

AMI Choice & Customization

© 2010 CSS Corporation 12

Choose Trusted AMI

Launch AMI

Customize Instance

Install Provisioning Agent

Bundle the Instance=New AMI

Perform tasks on DR Regions

MachineImag

es

Page 11: CSS Corp at Silicon India

Confidential

Application Deployment

© 2010 CSS Corporation 13

Tested deployment

Best when publicizing

An AMI for Every Version

Cumbersome to Maintain

Instance specific App Configs

Runtime choice

Easy to maintain deployment

Dynamic Configurations

Development knowledge

Not effective when creating public AMI's

Script Provisioning

Bundle

into AMI

Page 12: CSS Corp at Silicon India

Confidential

Data Backup

© 2010 CSS Corporation 14

S3 Based backup

Network File Sharing & Virtual SAN

Offsite / Remote Backups

Distributed / Replicated FS

Remote Server Sync

EBS Snapshots

Choices

Page 13: CSS Corp at Silicon India

Confidential

DR Setup

© 2010 CSS Corporation 15

Needs a maintenance window

Would do with some data loss

Better cost benefit

Requires monitoring of the Primary

site

Needs a setup running all the time

Higher cost of running

All updates and patch need to be applied

Needs data to sync at all times

Cold Setup

Warm

Setup

Page 14: CSS Corp at Silicon India

Confidential

Effective * DR Strategy

© 2010 CSS Corporation 16

Run the DR setup in proximity

Run all the components

Back up all data frequently

Not having fallback for DR setup

Track all the changes in live system

Keep 2 level redundant backups

Define maintenance windows

Monitor all at all times

Do’s

Dont’s

Page 15: CSS Corp at Silicon India

Confidential

DR Demonstration

© 2010 CSS Corporation 17

CSS Corp Tools Used

Infrastructure Monitoring Dashboard

Page 16: CSS Corp at Silicon India

Confidential

DR Demonstration: Cold DR

© 2010 CSS Corporation 18

Keep script updated & versioned

Database Backup

Bring down the Live Environment

AMI with CloudSmart on DR Region

Script CloudSmart for DR

Bring up the Environment in DR

Steps

Page 17: CSS Corp at Silicon India

Confidential

DR Demonstration Architecture

© 2010 CSS Corporation 19

Page 18: CSS Corp at Silicon India

Confidential

We managed to survive

© 2010 CSS Corporation 20

• The AWS US East Outage

Page 19: CSS Corp at Silicon India

Confidential

Best Practices

© 2010 CSS Corporation 21

Build Using AWS Components

Storage of Images / Static files & Content Delivery – S3 / CloudFront

Queue for storing messages – Simple Queue Service

Email sending service – Simple Email Service

Publish message / Subscription to messages - Simple Notification Service

Non-relational Data Store – Simple DB

Relational Database MySQL / Oracle – Relational Database Service

Distribution of traffic – Elastic Load Balancing

Page 20: CSS Corp at Silicon India

©2010 CSS Corp – Copyright Notice:

This presentation contains proprietary information of CSS Corp. No part of this presentation may be reproduced, stored, copied, or transmitted in any form or by means of electronic, mechanical, photocopying or otherwise, without the express consent of CSS. This presentation is for a specific intended audience circulation only and not meant for external distribution. Information is classified into 4 levels:

Confidential: This is specifically restricted to the Senior Management and specific professional advisers.

Restricted: This is restricted to Senior Management (PA’s and assistants an also access subject to respective reporting head’s approval).

Private: This covers all information assets that have value but which do not need to fall within either of the other categories.

Public: This is information which can be released outside the Organization.

Thank You!