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

デベロッパーのためのAzureクラウドネイティブスタック 〜 提供したい価値からはじめる高速+...

デベロッパーのためのAzureクラウドネイティブスタック 〜 提供したい価値からはじめる高速+高可用+高付加価値ソリューション / Azure Cloud Native Stack for Developers

Yoichi Kawasaki

February 14, 2019
Tweet

More Decks by Yoichi Kawasaki

Other Decks in Technology

Transcript

  1.          

      Presentation Slides for Developers Summit 2019 Tokyo
  2. D @yokawasa https://github.com/yokawasa / : A c N c Oo

    G N c n p 7 2 Jb a G k B c G l ts 01 0 e
  3. CNCF Cloud Native Definition v1.0 Cloud native technologies empower organizations

    to build and run scalable applications in modern, dynamic environments such as public, private, and hybrid clouds. Containers, service meshes, microservices, immutable infrastructure, and declarative APIs exemplify this approach. These techniques enable loosely coupled systems that are resilient, manageable, and observable. Combined with robust automation, they allow engineers to make high-impact changes frequently and predictably with minimal toil. The Cloud Native Computing Foundation seeks to drive adoption of this paradigm by fostering and sustaining an ecosystem of open source, vendor-neutral projects. We democratize state-of-the-art patterns to make these innovations accessible for everyone. https://github.com/cncf/toc/blob/master/DEFINITION.md Cloud Native CNCF
  4. 4!%:(<1*MGLF IN );38  37-/2"<5EF [DA] 4!%:(<1* <$.%,6BF ';.0#<&*/9<+<OKubernetesP >F?C

    K   ';.0@JQ Kubernetes= @JQHK 
  5. "') )# !%5?8+>3 69 )  2.<1(@0-= <1 (:7)&)$(4;A= ,*/

    (Kubernetes, Docker Swarm, etc) : Gabe Monroy on Twitter: "Strata of the Container Ecosystem https://twitter.com/gabrtv/status/539805332432637952 https://kubernetes.io/
  6. Keynote: Kubernetes Project Update in KubeCon + CloudNativeCon North America

    2018 https://www.youtube.com/watch?v=LAO7RuWwfzA Survey 58 Kubernetes  5000  40 Kubernetes 
  7. Kubernetes $ *"#! ), +'"&% (   kubectl Web

    UI kubelet kube proxy Container API Container runtime kubelet kube proxy Container Container runtime Schedule pods over private tunnel AKS  
  8. Customer Case Study – Ambit Energy: Energy company electrifies pace

    of innovation and expansion http://customers.microsoft.com/en-us/story/ambit-energy
  9. Azure DevOps (] Visual Studio Team Services: VSTS) Sn': >

    ,B> Ef xz;B&B FH  *B9R` vDasgyw Da} iu    rt5<+/4"B9 #<!0UW CI/CD Ef 3>0-(/.5?   GitHub C Git 5?1 )B\m lmh.5?   #<!07(/  T{c M~5< 6B/ Git =8'/ =JY 5>qbV 4 >jeI %B0QN 3>0  YP[kh-(/ ,B>E f -(/K| oGZ p  2+$B'DX7(/  *B9L^ @A#=+# CI/CD 2 5< AX_dyO   Azure Boards Azure Repos Azure Pipelines Azure Test Plans Azure Artifacts https://azure.com/devops è
  10. Azure DevOps Projects Azure   DevOps " % '#

        Azure DevOps / Pipelines  CI/CD    % Application Insights $(!&
  11. “observability is a measure of how well internal states of

    a system can be inferred from knowledge of its external outputs” Wikipedia: https://en.wikipedia.org/wiki/Observability Logging Observability Tracing Visualization Monitoring • 2-0(#$( %! $   ")'&$ ,. 1/+* 
  12. Open Service Broker Rook, NATS, Operatorsetcd, HPA, PVC, MySQL, Postgres,

    Mongodb, Redis, Jaeger, Envoy, Kafka, Prometheus, etc StatefulSet DaemonSet Service Catalog
  13. CosmosDB SQL Database Azure Database for MySQL Azure Database for

    PosgreSQL Azure Kubernetes Service Open Source Broker for Azure (OSBA)
  14. / - 5 - 5 22 - -/  

       Azure Container Instances (ACI) User
  15. https://github.com/virtual-kubelet/virtual-kubelet • Kubetet $+)2 – -.0 k8s (3" !&.'1 OSS

     • (3"/4Provider Virtual Kubelet# k8s Pod "!'1  • 2018*12, CNCF Sandbox % VM (worker) VM (workder) kubelet kubelet Virtual Kubelet Provider resources • Alibaba Cloud ECI • zure Container Instances • Azure Batch GPU • AWS Fargate • Hyper.sh • Service Fabric Mesh • HashiCorp Nomad
  16. Kubernetes control pane Application architect Infrastructure architect Azure Container Instances

    (ACI) Virtual Node Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod VM VM VM VM Deployment/ tasks Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Waste Waste Waste Waste Pod Pod Pod Pod Virtual NodeVirtualKublet  AKS  ACI  ACI + AKS + Virtual Kubelet => Virtual Node
  17. Web App for Containers ž ;@ )!?>64<  Web$'0')# &&

    1PaaS)! ž /352-58=(.A79- *< % ":-  " ,+PaaS
  18. 2018 NoOps  App Services     

    https://www.slideshare.net/hiromasaoka/noops-88082246
  19. HTTP HTTP Proxy       CODE

    Bindings Bindings Trigger Azure Functions
  20. Web/      ( –  +'

      ( – "/*,$ ( Webbook)-& – !.%#
  21. F1 F2 F3 F4 Queue Queue Queue Durable Functions Durable

    Functions F1 F2 F3 F4 Orchestrator Function // calls functions in sequence public static async Task<object> Run(DurableOrchestrationContext ctx) { try { var x = await ctx.CallFunctionAsync("F1"); var y = await ctx.CallFunctionAsync("F2", x); var z = await ctx.CallFunctionAsync("F3", y); return await ctx.CallFunctionAsync("F4", z); } catch (Exception) { // global error handling/compensation goes here } }
  22. FUN

  23.        http://aka.ms/letsbegin Free! 

     Microsoft Learn Azure   /  /