Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Despliegue de Aplicaciones .Net Core en Docker

168 views

Published on

Introducción al ecosistema Docker y a las posibilidades de usarlo para el despliegue de aplicaciones .Net Core usando Visual Studio Team Services

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Despliegue de Aplicaciones .Net Core en Docker

  1. 1. Despliegue de aplicaciones .net Core en Docker Ernesto Cárdenas Cangahuala @fisica3 www.consultorinternet.com
  2. 2. Presentación
  3. 3. Un poco de contexto..
  4. 4. Historia de las aplicaciones distribuidas
  5. 5. Static website Web frontend User DB Queue Analytics DB Background workers API endpoint nginx 1.5 + modsecurity + openssl + bootstrap 2 postgresql + pgv8 + v8 hadoop + hive + thrift + OpenJDK Ruby + Rails + sass + Unicorn Redis + redis-sentinel Python 3.0 + celery + pyredis + libcurl + ffmpeg + libopencv + nodejs + phantomjs Python 2.7 + Flask + pyredis + celery + psycopg + postgresql-client Development VM QA server Public Cloud Disaster recovery Contributor’s laptop Production Servers Aplicaciones distribuidas… Multiplicityof Stacks Multiplicityof hardware environments Production Cluster Customer Data Center Doservicesand appsinteract appropriately? CanImigrate smoothlyand quickly?
  6. 6. Gestión y despliegue de aplicaciones distribuidas Static website Web frontend Background workers User DB Analytics DB Queue Dev VM QA Server Single Prod Server Onsite Cluster Azure Contributor laptop Customer Servers ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
  7. 7. La inspiración para los contenedores
  8. 8. Multiplicityof Goods Multipilicityof methodsfor transporting& storing DoIworryabout howgoodsinteract (e.g.coffeebeans nexttospices) CanItransport quicklyandsmoothly (e.g.fromboatto traintotruck) La Inspiración: Transporte de mercancias Pre-1960
  9. 9. Multiplicityof Goods Multiplicityof methodsfor transporting/storing DoIworryabout howgoodsinteract (e.g.coffeebeans nexttospices) CanItransport quicklyand smoothly (e.g.fromboatto traintotruck) Solución: Ecosistema Intermodal de Contenedores de carga …in between, can be loaded and unloaded, stacked, transported efficiently over long distances, and transferred from one mode of transport to another A standard container that is loaded with virtually any goods, and stays sealed until it reaches final delivery.
  10. 10. Ecosistema Intermodal de Contenedores de carga 90% de toda la carga es ahora despachada en un contenedor estandar Grandes reducciones de coste y de tiempo de carga/descarga de los barcos Disminución de perdidas debido a robo o daño Enorme reducción en costos de flete como parte del precio final de los bienes (de >25% a <3%) Globalización masiva 5000 barcos despachan 200M de contenedores por año
  11. 11. Desplegando usando contenedores
  12. 12. Static website Web frontend Background workers User DB Analytics DB Queue Dev VM QA Server Single Prod Server Onsite Cluster Azure Contributor laptop Customer Servers Los contenedores eliminan la matriz
  13. 13. Ecosistema Docker Host Machine Docker Hub Docker Deamon Container A Container B … Source Code Repo Create Delete List
  14. 14. App A Hypervisor (Type 2) Host OS Server Guest OS Bins/ Libs App A’ Guest OS Bins/ Libs App B Guest OS Bins/ Libs AppA’ Host OS Server Bins/Libs AppA Bins/Libs AppB AppB’ AppB’ AppB’ VM Container Los Contenedores están aislados, pero comparten el kernel y eventualmente librerías del SO Guest OS Guest OS …lo que resulta en un despliegue mas rápido, menos carga, migración sencilla y reinicio mas rápido MVs vs Contenedores Docker Deamon
  15. 15. Y por otro lado, aquí…
  16. 16. 2014…¡Qué bien pinta eso de Docker! Official Repos & 14K+ Dockerized Apps Community 640+ Contributors 250+ Meetups on Docker 38M Downloads 16K Projects on GitHub Support Enterprise Support Robust Documentation Implementation, Integration, Training Network of Partners The Docker Platform Docker Engine Docker Hub Build, Ship, and Run Partners Content Users Official Repos &35 K Dockerized Apps
  17. 17. 2015 A ver probemos…
  18. 18. 2016…
  19. 19. ¡Manos a la obra!
  20. 20. Lecciones aprendidas
  21. 21. www.consultorinternet.com www.colinsalmcorner.com www.donovanbrown.com

×