Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Software Libre en las Nubes - 2015

Software Libre en las Nubes - 2015

Algunos conceptos de Cloud Computing, y herramientas de software libre para crear nuestra propia nube.

JuanJo Ciarlante

August 07, 2015

Transcript

22 slides
  1. UbuConLA'15 Lima, Perú Software Libre en las nubes JuanJo Ciarlante

    http://github.com/jjo http://twitter.com/xjjo http://bit.ly/jjo-cv
  2. "use of computing resources delivered over the network as a

    service ..." ¹ •Según NIST² •on-demand self-service •resource pooling (multi-tenant) •rapid elasticity (scalability) •measured service (monitoring) ¿ Qué es cloud computing ?
  3. •escalabilidad •disponibilidad •agilidad desde la idea →deployment •costo: (CapEX) =>

    OpEX •confiabilidad / SLA •moda☺ ¿ Porqué «sí» public clouds ?
  4. •seguridad en manos de un 3ro •confidencialidad de datos •control

    de la infraestructura •estándares (!) •confiabilidad / SLA ¿ Porqué «no» public clouds ?
  5. CA RDBMS / 2Phase commit MySQL, PostgreSQL, ... AP NoSQL

    Dynamo, Cassandra, Riak, CouchDB, ... CP NoSQL Bigtable, HBase, MongoDB, MemcacheDB, ... C A P Particion’abilidad: el triángulo
  6. •CAP theorem¹: •Consistency: todos los clientes ven lo mismo •Availability:

    clientes pueden read/write •Partition Tolerance: ok incluso si la red está partida ¹ Brewer E. 2000. Symposium on Principles of Distributed Computing sólo 2 de las 3 Particion’abilidad
  7. Service OpenStack Amazon AWS #1 CPU, #2 RAM (VM) Nova

    Compute EC2 #3 Storage (FS) Cinder(*) EBS #4 Network (SDN) Neutron ? Storage (Object) Swift S3 Identity / Auth Keystone IAM Image provision Glance SAMI service Openstack Metal IaaS PaaS SaaS OpenStack: componentes
  8. Ceph Metal IaaS PaaS SaaS •RADOS •Arquit. sin SPOF oceph-OSDs

    oceph-MONs oceph-MDSs •APIs: oObject storage: ▪librados, S3 oBlock storage ▪RBD kernel ocephFS http://www.anchor.com.au/blog/wp-content/uploads/2012/09/ceph_stack.png CEPH: arquitectura
  9. Metal IaaS PaaS SaaS •Cloud orchestration •FLOSS, desarrollado por Canonical

    bajo AGPL •→ Clouds: oOpenStack, AWS, Azure, DigitalOcean, GCE •→ Local (dev, testing): oJuju / LXC •→ Metal oJuju / MaaS JUJU: arquitectura juju / cloud juju / MaaS
  10. http://bit.ly/jjo-sln15-p1 <= esta presentación http://twitter.com/xjjo <= random bits Este FIN

    está intencionalmente dejado en blanco. Es «tu» turno ahora :)
  11. http://bit.ly/sln12-p1 Metal IaaS PaaS SaaS SLN12: hazlo tu mismo (DIY)

    Cassandra #2/2 - data model 1.Key → Value 2.rowKey→ rowVal 3.rowKey→ ocK1→Value ocK2→Value o[...] 4.rowKey→ oCF1:cK1→Value oCF1:cK2→Value o[...] oCF2:... oCF2:... http://www.ebaytechblog.com/2012/07/16/cassandra-data-modeling-best-practices-part-1/ Cassandra
  12. http://bit.ly/sln12-p1 Openstack Metal IaaS PaaS SaaS SLN13: hazlo tu mismo

    (DIY) OpenStack #1/2 - arquitectura http://www.internap.com/wp-content/uploads/OpenStackDiagram.png
  13. •N+1, N+2 •Design: ofor Rollback, oto be Disabled. oto be

    Monitored. oto be Asynchronous. ofor at least Two Axes (*) •Scale horizontally Never rely on bigger, faster systems. SLN12: escalabilidad Algunos criterios de diseño [1]
  14. •ACID: oAtomic oConsistent oIsolated oDurable - vs - •BASE: oBasic

    Availability oSoft State SLN12: escalabilidad CAP Theorem - BASE

More Decks by JuanJo Ciarlante

Other Decks in Programming