DevOps for the Enterprise: Continuous Integration

5,714 views
5,377 views

Published on

Adopting DevOps in an organization can start in many ways but from the technical perspective, a solid continuous integration environment is the mandatory foundation for many of the tools used by a DevOps team. This webinar shows how to build a continuous integration environment on Amazon Web Services (AWS) using services such as Amazon EC2, Amazon RDS and AWS CloudFormation. We also cover the benefits of using Amazon VPC to enable VPN access to the environment components, such as the source code repository, or the issue tracking database.

Demos included in this webinar:

- Building a core continuous integration environment with components such as Jenkins, Git and Bugzila, using Amazon EC2, Amazon RDS and Amazon CloudFormation.
- Baseline maintenance of the continuous integration environment.

View the Recording: http://youtu.be/5dJxhX1ChT4

Published in: Technology

DevOps for the Enterprise: Continuous Integration

  1. 1. DEVOPS WEBINAR SERIES – EPISODE 2
 
 ENABLING BUSINESS AGILITY:
 CONTINOUS INTEGRATION ianmas@amazon.com @IanMmmm
  2. 2. “The term “DevOps” typically refers to the emerging professional movement that advocates a collaborative working relationship between Development and IT Operations, resulting in the fast flow of planned work (i.e., high deploy rates), while simultaneously increasing the reliability, stability, resilience and security of the production environment.” ! – Gene Kim
  3. 3. WHY CONTINUOUS INTEGRATION?
  4. 4. HOTELS MUSIC STORAGEMAGAZINES
  5. 5. OLD WORLD: INFRASTRUCTURE IN weeks ENTERPRISES CAN’T AFFORD TO BE SLOW
  6. 6. BASELINE B R A N C H B R A N C H B R A N C H ELASPED TIME IN TEG R ATIO N IN TEG R ATIO N IN TEG R ATIO N
  7. 7. PRINCIPLES OF CONTINUOUS INTEGRATION
  8. 8. THE MORE I PRACTICE THE LUCKIER I GET - GARY PLAYER
  9. 9. KEEP THE BUILD FAST TEST IN A CLONE OF PRODUCTION MAKE IT EASY TO GET THE LAST DELIVERABLES EVERYONE CAN SEE THE RESULTS OF THE LAST BUILD AUTOMATE DEPLOYMENT
  10. 10. MAINTAIN A CODE REPOSITORY AUTOMATE THE BUILD MAKE THE BUILD SELF TESTING EVERYONE COMMITS TO THE BASELINE EVERY DAY EVERY COMMIT (TO THE BASELINE) SHOULD BE BUILT
  11. 11. COMPONENTS OF A CONTINUOUS INTEGRATION ENVIRONMENT
  12. 12. DEVELOPER
  13. 13. SOURCE CODE REPOSITORY
  14. 14. SOURCE CODE REPOSITORY PROJECT MANAGEMENT SERVER
  15. 15. SOURCE CODE REPOSITORY PROJECT MANAGEMENT SERVER CONTINUOUS INTEGRATION SERVER
  16. 16. SOURCE CODE REPOSITORY PROJECT MANAGEMENT SERVER CONTINUOUS INTEGRATION SERVER PICK TASKS
  17. 17. SOURCE CODE REPOSITORY PROJECT MANAGEMENT SERVER CONTINUOUS INTEGRATION SERVER SUBMIT CODE
  18. 18. SOURCE CODE REPOSITORY PROJECT MANAGEMENT SERVER CONTINUOUS INTEGRATION SERVER SCHEDULE BUILD
  19. 19. SOURCE CODE REPOSITORY PROJECT MANAGEMENT SERVER CONTINUOUS INTEGRATION SERVER RECURENT BUILDS
  20. 20. SOURCE CODE REPOSITORY PROJECT MANAGEMENT SERVER CONTINUOUS INTEGRATION SERVER CODE FETCH
  21. 21. SOURCE CODE REPOSITORY PROJECT MANAGEMENT SERVER CONTINUOUS INTEGRATION SERVER CODE QUALITY TESTS TEST RESULTS
  22. 22. SOURCE CODE REPOSITORY PROJECT MANAGEMENT SERVER CONTINUOUS INTEGRATION SERVER BUILD OUTPUT
  23. 23. SOURCE CODE REPOSITORY PROJECT MANAGEMENT SERVER CONTINUOUS INTEGRATION SERVER DOCS BINARIES / PACKAGES
  24. 24. CONTINUOUS INTEGRATION ON AWS
  25. 25. SOURCE CODE REPOSITORY DNS CONTINUOUS INTEGRATION SERVER PROJECT MANAGEMENT SERVER BUILDS
  26. 26. ON-DEMAND PAY AS YOU GO ELASTIC
  27. 27. =
 PROGRAMMABLE PLATFORM
  28. 28. AWS CLOUDFORMATION STACK-BASED DEPLOYMENT SERVICE
  29. 29. {      "Parameters"  :  {      "KeyName"  :  {              "Description"  :  "Name  of  an  existing  EC2
                                              KeyPair  to  enable  SSH
                                              access  to  the  instance",              "Type"  :  "String"          }      },   }
  30. 30. CLOUDFORMATION
 TEMPLATE PROCEDURAL
 DEFINITION Create it programmatically KNOWN CONFIGURATION Store stack configuration in source control PARAMETER DRIVEN Dynamic and user-driven templates COLLABORATION Share templates with ease as just files
  31. 31. CLOUDFORMATION
 TEMPLATE
  32. 32. CONTINUOUS INTEGRATION SERVER
  33. 33. DEMO ! BUILDING & CONFIGURING A CI ENVIRONMENT ON AWS
  34. 34. APPLICATION
 VERSIONS & INFRASTRUCTURE VERSIONS
  35. 35. INFRASTRUCTURE AS CODE
  36. 36. CLOUDFORMATION TEMPLATE
  37. 37. aws.amazon.com/blogs/aws ! aws.amazon.com/new @AWScloud @AWS_UKI
  38. 38. DEVOPS WEBINAR SERIES – EPISODE 2
 
 ENABLING BUSINESS AGILITY:
 DEVOPS FOR THE ENTERPRISE ianmas@amazon.com @IanMmmm

×