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

A TRUE STORY ABOUT DATABASE ORCHESTRATION

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Próximos SlideShares
Kapacitor Stream Processing
Kapacitor Stream Processing
Carregando em…3
×

Confira estes a seguir

1 de 31 Anúncio

A TRUE STORY ABOUT DATABASE ORCHESTRATION

Baixar para ler offline

During this talk, Gianluca will share the architecture of the project, describe the criticalities of the infrastructure and how the team strives to make this powerful service secure, fast, and reliable for all customers using InfluxCloud.

During this talk, Gianluca will share the architecture of the project, describe the criticalities of the infrastructure and how the team strives to make this powerful service secure, fast, and reliable for all customers using InfluxCloud.

Anúncio
Anúncio

Mais Conteúdo rRelacionado

Diapositivos para si (20)

Semelhante a A TRUE STORY ABOUT DATABASE ORCHESTRATION (20)

Anúncio

Mais de InfluxData (20)

Mais recentes (20)

Anúncio

A TRUE STORY ABOUT DATABASE ORCHESTRATION

  1. 1. Agenda: Seasoned Developers Track WORKSHOPAGENDA
  2. 2. Gianluca Arbezzano Site Reliability Engineer @GianArb A True Story About Database Orchestration Gianluca Arbezzano is an SRE at InfluxData. He is a big Open Source contributor for several projects including and not limited to Zend Framework, Docker, and InfluxDB. He is also a Docker Captain and a member of the Doctrine ORM developers team. He is passionate about developing best practices for developers worldwide and has recently been focused on building scalable infrastructures on top of AWS, DigitalOcean and OpenStack. He is familiar with several programming languages, such as Javascript and Golang and is an active speaker at conferences throughout Europe, sharing his experiences and knowledge on projects that he is leading.
  3. 3. © 2018 InfluxData. All rights reserved.4 Once upon a time
  4. 4. © 2018 InfluxData. All rights reserved.5 InfluxCloud Fully managed and hosted service offering of the open source core (TICK Stack)
  5. 5. © 2018 InfluxData. All rights reserved.6
  6. 6. © 2018 InfluxData. All rights reserved.7 Cloud Provider
  7. 7. © 2018 InfluxData. All rights reserved.9
  8. 8. © 2018 InfluxData. All rights reserved.10
  9. 9. © 2018 InfluxData. All rights reserved.11 This looks like a EC2/Container orchestrator/scheduler Infrakit, k8s, Swarm, Mesos, Openshift...
  10. 10. © 2018 InfluxData. All rights reserved.12 Orchestration Really?
  11. 11. © 2018 InfluxData. All rights reserved.13 Why? • We have the right use case • Make stuff simple for support team and developer • Write the right amount of code • Build a use case for the TICK Stack
  12. 12. © 2018 InfluxData. All rights reserved.14 CoreOS
  13. 13. © 2018 InfluxData. All rights reserved.15 Etcd & SkyDNS
  14. 14. © 2018 InfluxData. All rights reserved.16 Process management
  15. 15. © 2018 InfluxData. All rights reserved.17 © 2018 InfluxData. All rights reserved.17 We use cloud-init to configure the worker.
  16. 16. © 2018 InfluxData. All rights reserved.18 “The worker asks for the cluster configuration in order to start the right containers”
  17. 17. © 2018 InfluxData. All rights reserved.19
  18. 18. © 2018 InfluxData. All rights reserved.20 Cloud Provider (AWS) • EC2 • EBS • ELB. Moving to ELBv2 • Security Groups, VPC bla bla • Route53 • Massive use of CloudInit
  19. 19. © 2018 InfluxData. All rights reserved.21 Creation steps 1. Validating request 2. Storing our expectation in etcd 3. Starting to build AWS resources a. Security group b. EC2 c. Load balancer d. Route53 4. Every server download a container that contains configuration file (InfluxDB, Kapacitor, Telegraf and so on) 5. The worker starts and it get cluster configuration 6. It merges cluster conf and service conf
  20. 20. © 2017 InfluxData. All rights reserved.22 © 2018 InfluxData. All rights reserved.22 Telegraf specification from configuration container
  21. 21. © 2018 InfluxData. All rights reserved.23 © 2018 InfluxData. All rights reserved.23 Monitoring - that’s easy!
  22. 22. © 2018 InfluxData. All rights reserved.24 Every containers send logs to a centralized place. in our case, papertrail https://github.com/gliderlabs/logspout
  23. 23. © 2017 InfluxData. All rights reserved.25 © 2018 InfluxData. All rights reserved.25 The History of life It’s time for Cloud v2
  24. 24. © 2017 InfluxData. All rights reserved.26 © 2018 InfluxData. All rights reserved.26 IFQL
  25. 25. © 2018 InfluxData. All rights reserved.27 © 2018 InfluxData. All rights reserved.27 Achieve and maintain desired state take away from v1 ● Recover EC2 from failure ● Recover Containers ● Secure and Stable from S1 to S2
  26. 26. © 2018 InfluxData. All rights reserved.28 Make a plan before to take action take away from v1
  27. 27. © 2018 InfluxData. All rights reserved.29
  28. 28. © 2018 InfluxData. All rights reserved.30 Sandbox https://github.com/influxdata/sandbox
  29. 29. gianluca@influxdb.com @gianarb

×