O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×

Advanced Code Flow, Notes From the Field

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Carregando em…3
×

Confira estes a seguir

1 de 16 Anúncio

Mais Conteúdo rRelacionado

Diapositivos para si (20)

Semelhante a Advanced Code Flow, Notes From the Field (20)

Anúncio

Mais recentes (20)

Anúncio

Advanced Code Flow, Notes From the Field

  1. 1. Advanced Code Flow, Notes From the Field
  2. 2. Today's Talk ● The goal for using CI/CD ● Our CI/CD tools set ● Building conventions ● Builds flow ● Scaling the build infrastracture ● Build demo ● How we deploy ● Additional operations in deployment process ● Auto Healing ● Saving Money ● The need for PAAS ● Deploy Demo
  3. 3. The Goal For Using CI/CD Deliver code safe & fast from SVC to production
  4. 4. Tools Set ● BitBucket ● Jenkins ● Docker ● Registry ● Consul ● RabbitMQ ● Mesos ● Redis ● And some code...
  5. 5. Conventions
  6. 6. Examples ● Projects Names: py-appsflyer-backoffice, Node- af-dashboard-data ● Projects Modes: clicks,launches,etc... ● Instance names: webh-20001-001-prod ● Container names: afwebhandler_webh-20001- 001-prod.eu1.appsflyer.com
  7. 7. Build Flow
  8. 8. Scaling/HA of the build infrastructure ● Jenkins ● Builders ● Rabbit ● Redis ● Registry Active/passive master + horizontal scaled slaves Scale out docker builders cluster Rabbit cluster for HA Master/Slave Redis with sentinel for auto switch over Active/passive with automatic switch over
  9. 9. Demo-1: Builds
  10. 10. Deploy Flow
  11. 11. Types Of Operations ● Deploy ● Start ● Stop ● Restart ● Revert ● Build/Deploy Branch ● The above actions on specific instances ● The above actions on several modes ● Deploy to Mesos ● And more…
  12. 12. Auto Healing
  13. 13. Saving Money
  14. 14. Demo-2 Deployment
  15. 15. The Needs for PAAS ● Easier for branch testing ● Smoother testing→staging → production flow ● Ideal for small applications ● Faster delivery ● More dynamic ● Less configurations ● Potential for better utilization
  16. 16. Questions?

×