yahya devqaops updated

27
1

Upload: agile-testing-alliance

Post on 05-Apr-2017

1.637 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Yahya Devqaops updated

1

Page 2: Yahya Devqaops updated

Yahya Poonawala @meetykpSiddharth Kulkarni @sid_thinketh

FROM QA TO DEV”QA”OPS !

Page 3: Yahya Devqaops updated

THE INFRASTRUCTURE is

CODE

3

Page 4: Yahya Devqaops updated

4

WITHOUT IAC(GAMING COMPANY)

WITH IAC(AMAZON)

▪40 People Involved▪Once A Month

Deployment▪2 Hours Downtime▪Deployment To 60

Servers▪Everything Manual

▪Single Person Can Deploy

▪Deployment every 11.6 secs

▪No Downtime▪Deployment to 30k

servers▪Everything automated

Page 5: Yahya Devqaops updated

UNTINTED PHOTOUse with care.

5

Page 6: Yahya Devqaops updated

IN A NUTSHELL…

6

➢ Faster time to market

➢ Increased organizational agility

➢ Higher quality

Page 7: Yahya Devqaops updated

WHY DO WE NEED TO TEST OUR INFRASTRUCTURE?

➢ High confidence in changes➢ Quick and immediate feedback➢ Shorter release cycle for applications➢ Maintain sanity of the infrastructure

7

Page 8: Yahya Devqaops updated

8

Page 9: Yahya Devqaops updated

WHAT DO WE NEED TO TEST??

9

Page 10: Yahya Devqaops updated

CASE STUDY

REQUIREMENTS➢ Customer is able to visit the site and browse the products available.

➢ The website should be available 24*7 and should be able to sustain high traffic.

➢ Products should not be accessible before the launch date.

➢ We want to launch new features on a regular basis.

➢ The administrators should have detailed knowledge of the health of the system and issues should be resolvable quickly. 10

Page 11: Yahya Devqaops updated

THINK ABOUT THESE DOMAINS!!

SERVERS AND SERVICES

NETWORK CONNECTIONS

DATABASE SETUP

DEPLOYMENT STRATEGY

HYBRID INFRASTRUCTURE

USER MANAGEMENT

LOGGING AND MONITORING SETUP11

Page 12: Yahya Devqaops updated

12

SERVER AND SERVICES

Page 13: Yahya Devqaops updated

13

UNIT TESTS

Page 14: Yahya Devqaops updated

INTEGRATION TESTS

14

Page 15: Yahya Devqaops updated

ACCEPTANCE TESTS

15

Page 16: Yahya Devqaops updated

16

NETWORK

Page 17: Yahya Devqaops updated

17

DATABASE

Page 18: Yahya Devqaops updated

18

DEPLOYMENTS

Page 19: Yahya Devqaops updated

19

HYBRID INFRA

Page 20: Yahya Devqaops updated

20

IDENTITY & ACCESS CONTROL

Page 21: Yahya Devqaops updated

21

MONITORING &LOGGING

Page 22: Yahya Devqaops updated

IDEAL TEST PYRAMID

22COURTESY : ANAND BAGMAR

Page 23: Yahya Devqaops updated

WHAT DOES MY INFRA TESTING PYRAMID LOOK LIKE??

23

UNIT TESTS

INTEGRATION TESTS

ACCEPTANCETESTS

MANUAL TESTING

Page 24: Yahya Devqaops updated

WHAT DO WE WANT IT TO LOOK LIKE??

Page 25: Yahya Devqaops updated

AND THE FUTURE…

25

Page 26: Yahya Devqaops updated

REFERENCES

Test-Driven Infrastructure with Chef : http://shop.oreilly.com/product/0636920030973.do

Infrastructure as Code : http://shop.oreilly.com/product/0636920039297.do

26