27
1

From QA To Dev-QA-Ops

Embed Size (px)

Citation preview

Page 1: From QA To Dev-QA-Ops

1

Page 2: From QA To Dev-QA-Ops

FROM QA TO DEV”QA”OPS !

Yahya Poonawala @meetykp Siddharth Kulkarni @sid_thinketh

Page 3: From QA To Dev-QA-Ops

THE INFRASTRUCTURE is

CODE

3

Page 4: From QA To Dev-QA-Ops

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: From QA To Dev-QA-Ops

UNTINTED PHOTO Use with care.

5

Page 6: From QA To Dev-QA-Ops

IN A NUTSHELL…

6

➢  Faster time to market ➢  Increased organizational agility ➢  Higher quality

Page 7: From QA To Dev-QA-Ops

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: From QA To Dev-QA-Ops

8

Page 9: From QA To Dev-QA-Ops

WHAT DO WE NEED TO TEST??

9

Page 10: From QA To Dev-QA-Ops

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: From QA To Dev-QA-Ops

THINK ABOUT THESE DOMAINS!!

! SERVERS AND SERVICES ! NETWORK CONNECTIONS ! DATABASE SETUP

! DEPLOYMENT STRATEGY

! HYBRID INFRASTRUCTURE

! USER MANAGEMENT

!  LOGGING AND MONITORING SETUP

11

Page 12: From QA To Dev-QA-Ops

12

Page 13: From QA To Dev-QA-Ops

13

UNIT TESTS

Page 14: From QA To Dev-QA-Ops

INTEGRATION TESTS

14

Page 15: From QA To Dev-QA-Ops

ACCEPTANCE TESTS

15

Page 16: From QA To Dev-QA-Ops

16

Page 17: From QA To Dev-QA-Ops

17

Page 18: From QA To Dev-QA-Ops

18

Page 19: From QA To Dev-QA-Ops

19

Page 20: From QA To Dev-QA-Ops

20

Page 21: From QA To Dev-QA-Ops

21

Page 22: From QA To Dev-QA-Ops

IDEAL TEST PYRAMID

22 COURTESY : ANAND BAGMAR

Page 23: From QA To Dev-QA-Ops

WHAT DOES MY INFRA TESTING PYRAMID LOOK LIKE??

23

UNIT TESTS

INTEGRATION TESTS

ACCEPTANCE TESTS

MANUAL TESTING

Page 24: From QA To Dev-QA-Ops

WHAT DO WE WANT IT TO LOOK LIKE??

Page 25: From QA To Dev-QA-Ops

AND THE FUTURE…

25

Page 26: From QA To Dev-QA-Ops

REFERENCES

Test-Driven Infrastructure with Chef :

http://shop.oreilly.com/product/0636920030973.do

Infrastructure as Code : (To be released Soon) http://shop.oreilly.com/product/0636920039297.do

26