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.

Cloud Native 오픈소스 서비스 소개 및 Serverless로 실제 게임 개발하기

84 views

Published on

2018 NCsoft IO 발표
SK(주) C&C 김진웅
"Cloud Native 오픈소스 서비스 소개 및 Serverless로 실제 게임 개발하기"

Published in: Engineering
  • Be the first to comment

  • Be the first to like this

Cloud Native 오픈소스 서비스 소개 및 Serverless로 실제 게임 개발하기

  1. 1. Cloud Native 오픈소스 서비스 소개 및 Serverless로 실제 게임 개발하기 김진웅 수석 SK(주) C&C
  2. 2. 1. Trends 2. Cloud Native Computing Foundation (CNCF) 3. Game with Cloud Native 4. Conclusion
  3. 3. 3 Open Source Top 10 (with Github activities ) https://github.com/cncf/velocity Period : 2017-08-01 – 2018-08-01 MicrosoftDocs Cloud Foundry openfoodfacts Gov. Digital Service phalcon dotnet ASP.net Mapbox Caseflow Elasticsearch VS Code React Kubernetes dotnet Angular MicrosoftDocs ASP.net Elasticsearch Mozilla fossasia Kubernetes Homebrew dotnet MicrosoftDocs Elasticsearch OpenShift NixOS ManageIQ Ansible VS Code MicrosoftDocs DefinitelyTyped Kubernetes React Homebrew dotnet Cloud Foundry VS Code Mozilla NixOS Kubernetes dotnet React VS Code Angular MicrosoftDocs Elasticsearch OpenShift ASP.net SS13 Issues Pull requests AuthorsCommits Comments 1 Trends
  4. 4. 4 1 Trends Trends Chart https://github.com/cncf/velocity Label Activity PRs + Issues Kubernetes 236953 41978 dotnet 180188 31667 Microsoft Docs 164681 28155 VS Code 155073 38463 React 134106 26883 Elasticsearch 113485 24894 ASP.net 103964 17014 Angular 100790 19829 OpenShift 84714 17896 Ansible 79899 19095
  5. 5. 5 1 Trends Google Search Past 5 years • Openstack • Kubernetes • Cloud Foundry • Mesos • Docker Swarm
  6. 6. 6 Virtualiza- tion IaaS PaaS Open Source IaaS Open Source PaaS Container Cloud Native 2001 2006 2009 2010 2011 2013 2015 Cloud Native: CNCF (since 2015) Cloud Native Computing Foundation - 컨테이너로 패키지된 마이크로서비스 기반 컴퓨팅을 보편적이고 지속가능한 상태로 엔터프라이즈 규모에 적용하는 것을 핵심 주제로 운영 - 컨테이너 오케스트레이션 툴인 Kubernetes가 CNCF의 핵심 기술 2 Cloud Native Computing Foundation (CNCF)
  7. 7. 7 2 Transformation on Cloud “How are you reducing my costs by Cloud?” -> “How are you accelerating my business by Cloud?” Core Building Block Isolation Units Immutability Provider Servers → VMs → BuildPacks → Containers Heavy → Light in spin-up time and size Pets → Cattle From: web01.sk.com To: 5c94b6f695.sk.com Closed-source → Open-source Single vendor → Cross/Multi-vendor What Have We Learned? Cloud Native Computing Foundation (CNCF)
  8. 8. 8 Selection and Concentration For Sustaining and Integrating Open Source Technologies 2 CNCF Public Cloud Container Orchestration Host Management Container Registry Infra Provisioning Secure Images Managing Secrets FaaS Container NetworkContainer Runtime Service Layer Service Discovery Database Message Queue SCM Build & Packaging CI/CD Private Cloud Monitoring Monitoring Logging Cloud Storage
  9. 9. 9 2 Cloud Native Trail Map Global Enterprises starting their Cloud Native journey. For Avoid Vendor Lock-in For Enable Unlimited Scalability For Increase Agility and Maintainablility For Improve Efficiency and Resource Utilization For Manage Infrastructure as Code Cloud Native Computing Foundation (CNCF)
  10. 10. 10 3 Why Game? Game with Cloud Native In-GameOut-Game • Battle-Field • Realm • Real-Time Session • Lobby • Match Making • Shop • Chat • Single Play • Serverless • Cloud Storage/Database • Key-Value Store • Config Automation • Dedicated Game Server (Baremetal Container) • Infra Automation • Session Management • Packaging • Auto scaling Cloud Native Cloud Native • Score • Ranking • Quest • Gotcha • DLC
  11. 11. 11 3 Game with Cloud Native https://www.slideshare.net/openstack_kr/openinfra-days-korea-2018-track-4-provisioning-dedicated-game-server-on-kubernetes-cluster Provisioning Dedicated Game Server On Kubernetes Cluster Open Source Multiplayer FPS Game Other Resource
  12. 12. 12 3 Provisioning Game Server On K8s Demo Game with Cloud Native
  13. 13. 13 3 Infrastructure as code (IaC) Any Cloud Infrastructure(Private, Public) Container NetworkVM/BM Storage Role-Based Access 관리 Cloud Z Composer Visibility & Simplicity Agentless Instance 관리 Scheduled & Centralized Job Self-Service (API) System Admin Security (SSH / WinRM) Developer Operator IaaS Management Multi Cloud Infra Provisioning & Config Management Automation • Write, Plan, and Create Infrastructure as Code • Multi IaaS (Public, Private) • Build Automated Machine Images • Integrate with Ansible, Chef, Puppet • Agentless IT Automation • Multi IaaS (Public, Private) • Various Network Vendors • AWX - upstream project for Tower • Continuous Delivery for Enterprise • Multi Public IaaS, K8s Cluster Game with Cloud Native
  14. 14. 14 3 Infrastructure as code (IaC) Demo Game with Cloud Native Use-Case : Auto Scaling, Provisioning, Configuration
  15. 15. 15 3 Serverless Cloud Native Landscape Installable Serverless Framework & Platform Game with Cloud Native
  16. 16. 16 3 Trigger(Event) Execute Functions User Mobile Browser http://aaa.com/api/search http://aaa.com/api/purchase Search Runtime Container Purchase Runtime Container Product DB Order DB Backend Developer Coding Environments Functions HTTP Endpoint FaaS API Image Builder Function Store (Docker Registry) FaaS(Function as a Service) Serverless service that executes Code(Function) in response to an Event Game with Cloud Native
  17. 17. 17 1 No infrastructure management 인프라를 프로비저닝 하거나 관리의 불필요 코드만 작성하고 등록함으로 코드를 쉽게 실행 2 Event-based code execution 여러 가지 3rd 제품과 통합하여 코드를 트리거 가능 원하는 웹, 모바일 또는 백엔드 애플리케이션에서 HTTP를 통해 바로 코드를 호출 가능 3 Lower cost 함수가 실행 될때만 100밀리초 단위로 요금을 지불 테스트를 통해 자원을 최적화하고 미호출시 미과금 4 Faster release cycles 프로덕션 코드를 아주 빨리 프로토타이핑 가능 비즈니스 로직에만 집중하여 개발속도가 향상 전체 개발주기 단순화 FaaS(Function as a Service) Cloud Can Abstract All 3 Game with Cloud Native 개발자가 코드에 집중하고 신속하게 어플리케이션을 구축할 수 있도록 모든 Computing 인프라를 추상화 FaaS PaaS CaaS IaaS AWS Lambda, Gooble Cloud Funtion, Azure Function Cloud Foundry, Heroku, Jelastic GKE(Google), EKS(AWS), AKS(Azure), IKS(IBM), OKE(Oracle) AWS EC2, GCE, Azure, Cloud Z
  18. 18. 18 3 FaaS(Function as a Service) Cloud Z Action (FaaS) Demo Use-Case : Out-Game (Ranking, Gotcha, Item Shop, DLC) Game with Cloud Native
  19. 19. 19 4 Conclusion Cloud Z Service Platform Can Help Your Transformation!Platform Operation Legacy Integration, Logging, Monitoring, CI/CD Learning But Learning Curve for Kubernetes is “High” Cloud Native From Reducing Costs To Accelerating Business Trends Cloud Native is difficult Open Source & Top-trend : Kubernetes
  20. 20. 20 4 Conclusion Cloud Z Service Platform https://skcloud.github.io
  21. 21. 21 Contacts BareMetal, Global Private Network - Cloud Z https://www.cloudz.co.kr/ cloudz@sk.com Serverless - Cloud Z Action https://www.cloudz.co.kr/product/cloudZaction zaction@sk.com Cloud Native - Cloud Z Service Platform https://skcloud.github.io 4 Conclusion

×