SlideShare a Scribd company logo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
김일호
Solutions Architect Manager
Cloud Native on AWS
•Agenda
• Cloud native value proposition for game
• Innovation on computing with AWS
• Containers, MSA
• Database
• Aurora and Neptune
• Data Analytics
• Security
Still on-prem and doing heavy lifting
Server, Storage,
Software OS, VMs
Space, DC, Power,
Cooling,
Maintenance,
Backup, Monitoring
tools, Network,
Patch, Outsourcing
Server, Storage,
Software OS, VMs
Space, DC, Power,
Cooling,
Maintenance,
Backup, Monitoring
tools, Network,
Patch, Outsourcing
Great, but can we impvove the architecture
in a cloud-natively way?
ELB
Region
CloudFront
CDN
Cloud native architectures take full advantage of on-demand delivery,
global deployment, elasticity, and higher-level services. They enable
huge improvements in developer productivity, business agility,
scalability, availability, utilization, and cost savings.
Adrian Cockcroft, VP Cloud Architecture Strategy, AWS
What is Cloud native?
Works well for the most of gaming architecture
Low hanging fruits, but not fully make use of Cloud Benefits
Scalability, Automation, and cost-saving
DX and hybrid
Still lift and shift to cloud
Run workloads
in the cloud
Run workloads
on-premises
Hybrid Connectivity
CORP
CORP
Hybrid Connectivity
Gaming DB
PlatformDB
Gaming DB
Platform DB
CORP
Hybrid Connectivity --
Data Streams / Replication
S3
DB
App
Archive
CORP
Hybrid Connectivity –
Storage / Backup / Archive
Connectivity Options
- Public IPs
- Elastic IPs
- Internet data out pricing
- IPsec authentication and
encryption
- Two main options
- AWS Managed VPN
- Software VPN (EC2)
- Launched in 2011
- Private connection
- Separate from the Internet
- Consistent network
experience
- Connect through 67 locations
- Port speeds of 1 Gbps, 10
Gbps or sub-1 Gbps
AWS Direct ConnectVPNPublic Internet
Asynchrous online game on AWS
Operational challenges ??
ELB ScalingStuck
Instances
Lost VPN
Gateways
+/-
instances
Lost volumesFlapping
direct
connects
Serverless
Serverless related AWS services
AWS Lambda
Amazon DynamoDB
Amazon SNS
Amazon API Gateway
Amazon SQS
Amazon Kinesis
Amazon S3
Compute and API Proxy
AWS X-Ray
AWS Step Functions
Datastores, Storage, Orchestration, Analytics, Interprocess Messaging
Developer Tools
AWS CodeBuild
AWS CodePipeline
AWS Serverless
Application Model (SAM)
Lambda@Edge
AWS Cloud9
Amazon Aurora
Serverless (preview)
AWS AppSync
Authentication example
Mobile client Amazon Cognito
User Pools
AWS
Lambda
Amazon API
Gateway
1. initiate auth (username & password & API key)
2. return ID Tokens
Amazon Cognito
Identity Pools
3. get AWS scoped credentials
AWS
Lambda
Pre signup
(auto-confirm)
Gifting example
Mobile client
(receiver)
2-1. record history
1. poll queue
AWS
Lambda
Amazon
DynamoDB
3. receive gift
2. get new gift
Mobile client
(sender)
1. send message
3. enqueue message
Amazon
SNS
Amazon
SQS
Mobile client Amazon
SQS
1. create queue
When a game started
2. update info
AWS
Lambda
2-2. determine receiver
Redis
Amazon
DynamoDB
Gifting example
Mobile client
(receiver)
2-1. record history
1. poll queue
AWS
Lambda
Amazon
DynamoDB
3. receive gift
2. get new gift
Mobile client
(sender)
1. send message
3. enqueue message
Amazon
SNS
Amazon
SQS
AWS
Lambda
2-2. determine receiver
Amazon
DynamoDB
1. create queue
When a player’s registration
is confirmed
2. add queue url
Amazon Cognito
User Pools
AWS
Lambda
3. registration gift
게임을 위한 Cloud Native on AWS (김일호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018
Containers
EC2 Instance
TaskTask
Task Task
EC2 Instance
TaskTask
Task Task
EC2 Instance
TaskTask
Task Task
EC2 Instance
TaskTask
Task Task
EC2 Instance
TaskTask
Task Task
Flexibility, gaming workloads using containers
AWS VPC Networking, Task management, Auto Scaling, Scheduling,
CloudWatch metrics, Load balancers, SDK, CLI…
Scheduling and Orchestration
Cluster Manager Placement Engine
Running containers with AWS ECS
Availability Zone #1 Availability Zone #2 Availability Zone #3
ECS
AMI
Docker
agent
ECS
agent
ECSTaskECSTask
ECSTaskECSTask
EC2 Instance
Scheduling and Orchestration
Cluster Manager Placement Engine
ECS
AMI
Docker
agent
ECS
agent
EC2 Instance
ECS
AMI
Docker
agent
ECS
agent
EC2 Instance
ECS
AMI
Docker
agent
ECS
agent
EC2 Instance
Kubernetes, container management platform
Open source container
management platform
Helps you run
containers at scale
Gives you primitives
for building
modern applications
57%of Kubernetes workloads
run on AWS today
—CNCF survey
E L A S T I C C O N TA I N E R S E RV I C E F O R K U B E R N E T E S
(EKS)
How Amazon Elastic Container Service for Kubernetes
works
Availability
Zone 1
etcd
Master
etcd
Master
Availability
Zone 2
Availability
Zone 3
etcd
Master
Run highly available and scalable Kubernetes clusters
on AWS
Database
Amazon Aurora
Scale out to millions of reads per second
Scale-out read performance
Break Apart the Stack
Scale Out Each Layer Independently
Leverage Distributed Services
Up to 15 Read Replicas Across Three AZs
Auto-Scale New Read Replicas
Auto-Scale Storage (no pre-provisioning needed)
Amazon Aurora has up to 15 read replicas
Master
Read
Replica 1
Read
Replica
Read
Replica 15
Shared distributed storage volume
Reader end-point
Amazon Aurora multi-masters (Preview)
Application
Read Replica
1
Master
Node
Read Replica
2
Shared Distributed Storage Volume
Availability
Zone 1
Availability
Zone 2
Availability
Zone 3
Application
Read/Write
Master 2
Read/Write
Master 1
Shared Distributed Storage Volume
Availability
Zone 1
Availability
Zone 2
Availability
Zone 3
Read/Write
Master 3
Multi-region Multi-master
Cross-region replication happens at in the storage layer,
and based on physical redo (no binlog)
REGION 1 REGION 2
HEAD NODES HEAD NODES
MULTI-AZ STORAGE VOLUME MULTI-AZ STORAGE VOLUME
LOCAL PARTITION LOCAL PARTITIONREMOTE PARTITION REMOTE PARTITION
DynamoDB Global table
Amazon
Route 53
A global one build
• Latency based routing
• Weighted routing
GraphDB
Amazon Neptune
Use cases of GraphDB
Fraud DetectionRecommendationsSocial Networks
Gaming graphDB example
GraphDB query example
What games does skywalker123 like?
gremlin>
g.V().has('GamerAlias','skywalker123').
as('gamer').out('likes’)
==>v[ARMS]
==>v[HorizonZeroDawn]
==>v[GranTurismoSport]
==>v[Ratchet&Clank]
==>v[Fifa18]
==>v[GravityRush]
==>v[SuperMarioOdyssey]
==>v[MarioKart8]
Gaming Data Analytics
게임을 위한 Cloud Native on AWS (김일호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018
게임을 위한 Cloud Native on AWS (김일호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018
Main area of fight is middle field
Unexpected area of high death rate
Identify a design failure of map
Gaming analytics architecture example
Central Storage
Secure, Cost Effective
Storage in S3
S3
Catalog & Search
Access & Search Metadata
DynamoDB Amazon ES
Athena Quicksight EMR Redshift
Processing & Analytics
Use predictive and prescriptive
analytics to gain better understanding
Firehose
Data Ingestion
Get your data into S3
quickly and securely
{
‘event_id’ : ‘05b00439-6a07-4112-9c8d-
165f1643e5d1’,
‘event_type’ : ‘player_death’,
‘event_timestamp’ : ‘2017-05-01T21:05:18.000Z’,
‘arena’ : ‘el_dorado’,
‘position_x’ : 507.12,
‘position_y’ : 551.61
}
Security & DDoS mitigation
Shared responsibility model for Infrastructure
Shared responsibility model for container services
Shared responbility model for abstracted services
DDoS-Resilient Architecture
Amazon
Route 53
ALB Security Group
Amazon
EC2
Instances
Application
Load Balancer
Amazon
CloudFront
Public Subnet
Web Application
Security Group
Private Subnet
AWS WAF
Amazon
API Gateway
DDoS
Attack
Users
Globally distributed attack
mitigation capability
SYN proxy feature that verifies
three-way handshake before
passing to the application
Slowloris mitigation that reaps
long-lived collections
Mitigates complex attacks by
allowing only the most reliable
DNS queries
Validates DNS
Provides flexible rule language
to block or rate-limit malicious
requests
Session-Based Game Architecture
Security Group
Amazon
EC2
Instances
Network Load
Balancer
Public Subnet
Web Application
Security Group
Private Subnet
DDoS
Attack
Users
AWS Shield Elastic IP
Address
Use case, Pokemon
• Massive increase in legitimate users
and traffic
• Massive, disproportional increase in
illegitimate users and traffic
• Bots
• Scanners
• DDoS attacks
https://www.slideshare.net/AmazonWebServices/automating-ddos-response-in-the-cloud-sid324-reinvent-2017
AWS Shield advanced
• Existing application on AWS
• The next major Pokémon GO event was
only two weeks away:
•Pokémon DevOps and InfoSec
worked closely with AWS
•Started slowly moving traffic in
a week
•100% of GO login traffic was
protected by AWS Shield
Advanced in less than two weeks
from “go”
• Cloud-routed WAF issues are behind us:
• No more WAF capacity issues taking
us offline
• Pokémon is now seeing:
• Lower latency through the WAF
• Superior analytics and logging
Protect your game service, GuardDuty
Threat
intel,
ML/AI
Anomaly
Detection
Alert and
RESPOND
Scouting
Instance
Compromise
Account
Compromise
Amazon
GuardDuty
VPC flow logs
DNS Logs
CloudTrail
Events
HIGH
MEDIUM
LOW
FindingsData SourcesThreat Detection
Types
•Wrap up
• Cloud native value proposition for game
• Innovation on computing with AWS
• Containers, MSA
• Database
• Aurora and Neptune
• Data Analytics
• Security
Thank you

More Related Content

PDF
AWS 솔루션즈 아키텍트팀이 직접 만들어본 ‘새로운 웨비나 플랫폼’ 개발 고군분투기 - 김준형, 안준필, 문종민, 유다니엘, 김형일, 권신...
Amazon Web Services Korea
 
PDF
[AWS Media Symposium 2019] Perfecting the Media Experience with AWS - Bhavik ...
Amazon Web Services Korea
 
PDF
클라우드 네이티브 데이터베이스 서비스로 Oracle RAC 전환 - 김지훈 :: AWS 클라우드 마이그레이션 온라인
Amazon Web Services Korea
 
PDF
Kubernetes/ EKS - 김광영 (AWS 솔루션즈 아키텍트)
Amazon Web Services Korea
 
PDF
Monitoring Kubernetes with Elasticsearch Services - Ted Jung, Consulting Arch...
Amazon Web Services Korea
 
PDF
AWS 고객사를 위한 ‘AWS 컨테이너 교육’ - 유재석, AWS 솔루션즈 아키텍트
Amazon Web Services Korea
 
PPTX
Azure Container Apps
Ken Sykora
 
PDF
AWS Media Day-AWS 기반의 미디어 & 엔터테인먼트 워크플로우 소개(Ben Masek 미디어 엔터테인먼트 부서 (M&E) 글로벌...
Amazon Web Services Korea
 
AWS 솔루션즈 아키텍트팀이 직접 만들어본 ‘새로운 웨비나 플랫폼’ 개발 고군분투기 - 김준형, 안준필, 문종민, 유다니엘, 김형일, 권신...
Amazon Web Services Korea
 
[AWS Media Symposium 2019] Perfecting the Media Experience with AWS - Bhavik ...
Amazon Web Services Korea
 
클라우드 네이티브 데이터베이스 서비스로 Oracle RAC 전환 - 김지훈 :: AWS 클라우드 마이그레이션 온라인
Amazon Web Services Korea
 
Kubernetes/ EKS - 김광영 (AWS 솔루션즈 아키텍트)
Amazon Web Services Korea
 
Monitoring Kubernetes with Elasticsearch Services - Ted Jung, Consulting Arch...
Amazon Web Services Korea
 
AWS 고객사를 위한 ‘AWS 컨테이너 교육’ - 유재석, AWS 솔루션즈 아키텍트
Amazon Web Services Korea
 
Azure Container Apps
Ken Sykora
 
AWS Media Day-AWS 기반의 미디어 & 엔터테인먼트 워크플로우 소개(Ben Masek 미디어 엔터테인먼트 부서 (M&E) 글로벌...
Amazon Web Services Korea
 

What's hot (10)

PDF
서버리스 IoT 백엔드 개발 및 구현 사례 : 윤석찬 (AWS 테크에반젤리스트)
Amazon Web Services Korea
 
PDF
Riot Games 글로벌 게임 운영을 위한 Docker 및 Amazon ECS 활용사례 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
PDF
AWS 6월 웨비나 | AWS CodeStar를 통한 DevOps 기반 프로젝트 운영 (윤석찬 테크에반젤리스트)
Amazon Web Services Korea
 
PDF
[AWS Builders] 실 적용 사례로 알아보는, AWS를 활용한 WAF 보안의 장점 - 삼성SDS 천준호 프로, 컨설팅그룹 (보안기획팀)
Amazon Web Services Korea
 
PDF
[AWS Dev Day] 실습워크샵 | 모두를 위한 컴퓨터 비전 딥러닝 툴킷, GluonCV 따라하기
Amazon Web Services Korea
 
PDF
Amazon Web Services - 9 Posts.
Shagun Rathore
 
PDF
AWS Summit Seoul 2015 - 국내 사례로 본 클라우드 운영 최적화 (이주완-메가존)
Amazon Web Services Korea
 
PPTX
Basics AWS Presentation
Shyam Kumar
 
PDF
Aws
mahes3231
 
PDF
AWS Single Sign-On (SSO) 서비스 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
Amazon Web Services Korea
 
서버리스 IoT 백엔드 개발 및 구현 사례 : 윤석찬 (AWS 테크에반젤리스트)
Amazon Web Services Korea
 
Riot Games 글로벌 게임 운영을 위한 Docker 및 Amazon ECS 활용사례 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
AWS 6월 웨비나 | AWS CodeStar를 통한 DevOps 기반 프로젝트 운영 (윤석찬 테크에반젤리스트)
Amazon Web Services Korea
 
[AWS Builders] 실 적용 사례로 알아보는, AWS를 활용한 WAF 보안의 장점 - 삼성SDS 천준호 프로, 컨설팅그룹 (보안기획팀)
Amazon Web Services Korea
 
[AWS Dev Day] 실습워크샵 | 모두를 위한 컴퓨터 비전 딥러닝 툴킷, GluonCV 따라하기
Amazon Web Services Korea
 
Amazon Web Services - 9 Posts.
Shagun Rathore
 
AWS Summit Seoul 2015 - 국내 사례로 본 클라우드 운영 최적화 (이주완-메가존)
Amazon Web Services Korea
 
Basics AWS Presentation
Shyam Kumar
 
AWS Single Sign-On (SSO) 서비스 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
Amazon Web Services Korea
 
Ad

Similar to 게임을 위한 Cloud Native on AWS (김일호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018 (16)

PDF
AWS Update from AWS User Group UK July Meetup
Ian Massingham
 
PDF
Forge - DevCon 2016: Developing & Deploying Secure, Scalable Applications on ...
Autodesk
 
PPTX
Netflix and Open Source
Adrian Cockcroft
 
PDF
AWS 101, London - September 2014
Ian Massingham
 
PPTX
Architecting Cloud Apps
jineshvaria
 
PDF
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
Amazon Web Services Korea
 
PDF
Understand the Cloud Computing and the future career possibilities
Sanket Saxena
 
PDF
AMAZON CLOUD Course Content
Varnaaz Technologies
 
PDF
AWS 101 December 2014
Ian Massingham
 
PPTX
AWS Startup Day Bangalore: Being Well-Architected in the Cloud
Adrian Hornsby
 
PDF
Best Practices for Deploying Microsoft Workloads on AWS
Zlatan Dzinic
 
PPTX
AWS 101
Monica Rut Avellino
 
PPTX
Escalando para sus primeros 10 millones de usuarios
Amazon Web Services LATAM
 
PPTX
AWS Session.pptx
SanketSaxena18
 
PPTX
India Webinar
Ganesh Raja
 
PPTX
Escalando para sus primeros 10 millones de usuarios
Amazon Web Services LATAM
 
AWS Update from AWS User Group UK July Meetup
Ian Massingham
 
Forge - DevCon 2016: Developing & Deploying Secure, Scalable Applications on ...
Autodesk
 
Netflix and Open Source
Adrian Cockcroft
 
AWS 101, London - September 2014
Ian Massingham
 
Architecting Cloud Apps
jineshvaria
 
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
Amazon Web Services Korea
 
Understand the Cloud Computing and the future career possibilities
Sanket Saxena
 
AMAZON CLOUD Course Content
Varnaaz Technologies
 
AWS 101 December 2014
Ian Massingham
 
AWS Startup Day Bangalore: Being Well-Architected in the Cloud
Adrian Hornsby
 
Best Practices for Deploying Microsoft Workloads on AWS
Zlatan Dzinic
 
Escalando para sus primeros 10 millones de usuarios
Amazon Web Services LATAM
 
AWS Session.pptx
SanketSaxena18
 
India Webinar
Ganesh Raja
 
Escalando para sus primeros 10 millones de usuarios
Amazon Web Services LATAM
 
Ad

More from Amazon Web Services Korea (20)

PDF
[D3T1S01] Gen AI를 위한 Amazon Aurora 활용 사례 방법
Amazon Web Services Korea
 
PDF
[D3T1S06] Neptune Analytics with Vector Similarity Search
Amazon Web Services Korea
 
PDF
[D3T1S03] Amazon DynamoDB design puzzlers
Amazon Web Services Korea
 
PDF
[D3T1S04] Aurora PostgreSQL performance monitoring and troubleshooting by use...
Amazon Web Services Korea
 
PDF
[D3T1S07] AWS S3 - 클라우드 환경에서 데이터베이스 보호하기
Amazon Web Services Korea
 
PDF
[D3T1S05] Aurora 혼합 구성 아키텍처를 사용하여 예상치 못한 트래픽 급증 대응하기
Amazon Web Services Korea
 
PDF
[D3T1S02] Aurora Limitless Database Introduction
Amazon Web Services Korea
 
PDF
[D3T2S01] Amazon Aurora MySQL 메이저 버전 업그레이드 및 Amazon B/G Deployments 실습
Amazon Web Services Korea
 
PDF
[D3T2S03] Data&AI Roadshow 2024 - Amazon DocumentDB 실습
Amazon Web Services Korea
 
PDF
AWS Modern Infra with Storage Roadshow 2023 - Day 2
Amazon Web Services Korea
 
PDF
AWS Modern Infra with Storage Roadshow 2023 - Day 1
Amazon Web Services Korea
 
PDF
사례로 알아보는 Database Migration Service : 데이터베이스 및 데이터 이관, 통합, 분리, 분석의 도구 - 발표자: ...
Amazon Web Services Korea
 
PDF
Amazon DocumentDB - Architecture 및 Best Practice (Level 200) - 발표자: 장동훈, Sr. ...
Amazon Web Services Korea
 
PDF
Amazon Elasticache - Fully managed, Redis & Memcached Compatible Service (Lev...
Amazon Web Services Korea
 
PDF
Internal Architecture of Amazon Aurora (Level 400) - 발표자: 정달영, APAC RDS Speci...
Amazon Web Services Korea
 
PDF
[Keynote] 슬기로운 AWS 데이터베이스 선택하기 - 발표자: 강민석, Korea Database SA Manager, WWSO, A...
Amazon Web Services Korea
 
PDF
Demystify Streaming on AWS - 발표자: 이종혁, Sr Analytics Specialist, WWSO, AWS :::...
Amazon Web Services Korea
 
PDF
Amazon EMR - Enhancements on Cost/Performance, Serverless - 발표자: 김기영, Sr Anal...
Amazon Web Services Korea
 
PDF
Amazon OpenSearch - Use Cases, Security/Observability, Serverless and Enhance...
Amazon Web Services Korea
 
PDF
Enabling Agility with Data Governance - 발표자: 김성연, Analytics Specialist, WWSO,...
Amazon Web Services Korea
 
[D3T1S01] Gen AI를 위한 Amazon Aurora 활용 사례 방법
Amazon Web Services Korea
 
[D3T1S06] Neptune Analytics with Vector Similarity Search
Amazon Web Services Korea
 
[D3T1S03] Amazon DynamoDB design puzzlers
Amazon Web Services Korea
 
[D3T1S04] Aurora PostgreSQL performance monitoring and troubleshooting by use...
Amazon Web Services Korea
 
[D3T1S07] AWS S3 - 클라우드 환경에서 데이터베이스 보호하기
Amazon Web Services Korea
 
[D3T1S05] Aurora 혼합 구성 아키텍처를 사용하여 예상치 못한 트래픽 급증 대응하기
Amazon Web Services Korea
 
[D3T1S02] Aurora Limitless Database Introduction
Amazon Web Services Korea
 
[D3T2S01] Amazon Aurora MySQL 메이저 버전 업그레이드 및 Amazon B/G Deployments 실습
Amazon Web Services Korea
 
[D3T2S03] Data&AI Roadshow 2024 - Amazon DocumentDB 실습
Amazon Web Services Korea
 
AWS Modern Infra with Storage Roadshow 2023 - Day 2
Amazon Web Services Korea
 
AWS Modern Infra with Storage Roadshow 2023 - Day 1
Amazon Web Services Korea
 
사례로 알아보는 Database Migration Service : 데이터베이스 및 데이터 이관, 통합, 분리, 분석의 도구 - 발표자: ...
Amazon Web Services Korea
 
Amazon DocumentDB - Architecture 및 Best Practice (Level 200) - 발표자: 장동훈, Sr. ...
Amazon Web Services Korea
 
Amazon Elasticache - Fully managed, Redis & Memcached Compatible Service (Lev...
Amazon Web Services Korea
 
Internal Architecture of Amazon Aurora (Level 400) - 발표자: 정달영, APAC RDS Speci...
Amazon Web Services Korea
 
[Keynote] 슬기로운 AWS 데이터베이스 선택하기 - 발표자: 강민석, Korea Database SA Manager, WWSO, A...
Amazon Web Services Korea
 
Demystify Streaming on AWS - 발표자: 이종혁, Sr Analytics Specialist, WWSO, AWS :::...
Amazon Web Services Korea
 
Amazon EMR - Enhancements on Cost/Performance, Serverless - 발표자: 김기영, Sr Anal...
Amazon Web Services Korea
 
Amazon OpenSearch - Use Cases, Security/Observability, Serverless and Enhance...
Amazon Web Services Korea
 
Enabling Agility with Data Governance - 발표자: 김성연, Analytics Specialist, WWSO,...
Amazon Web Services Korea
 

Recently uploaded (20)

PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PPTX
Coupa-Overview _Assumptions presentation
annapureddyn
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PPTX
IoT Sensor Integration 2025 Powering Smart Tech and Industrial Automation.pptx
Rejig Digital
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Architecture of the Future (09152021)
EdwardMeyman
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
This slide provides an overview Technology
mineshkharadi333
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Coupa-Overview _Assumptions presentation
annapureddyn
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
IoT Sensor Integration 2025 Powering Smart Tech and Industrial Automation.pptx
Rejig Digital
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Architecture of the Future (09152021)
EdwardMeyman
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
This slide provides an overview Technology
mineshkharadi333
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 

게임을 위한 Cloud Native on AWS (김일호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 김일호 Solutions Architect Manager Cloud Native on AWS
  • 2. •Agenda • Cloud native value proposition for game • Innovation on computing with AWS • Containers, MSA • Database • Aurora and Neptune • Data Analytics • Security
  • 3. Still on-prem and doing heavy lifting
  • 4. Server, Storage, Software OS, VMs Space, DC, Power, Cooling, Maintenance, Backup, Monitoring tools, Network, Patch, Outsourcing Server, Storage, Software OS, VMs Space, DC, Power, Cooling, Maintenance, Backup, Monitoring tools, Network, Patch, Outsourcing
  • 5. Great, but can we impvove the architecture in a cloud-natively way? ELB Region CloudFront CDN
  • 6. Cloud native architectures take full advantage of on-demand delivery, global deployment, elasticity, and higher-level services. They enable huge improvements in developer productivity, business agility, scalability, availability, utilization, and cost savings. Adrian Cockcroft, VP Cloud Architecture Strategy, AWS What is Cloud native?
  • 7. Works well for the most of gaming architecture Low hanging fruits, but not fully make use of Cloud Benefits Scalability, Automation, and cost-saving DX and hybrid Still lift and shift to cloud Run workloads in the cloud Run workloads on-premises
  • 10. Gaming DB PlatformDB Gaming DB Platform DB CORP Hybrid Connectivity -- Data Streams / Replication
  • 12. Connectivity Options - Public IPs - Elastic IPs - Internet data out pricing - IPsec authentication and encryption - Two main options - AWS Managed VPN - Software VPN (EC2) - Launched in 2011 - Private connection - Separate from the Internet - Consistent network experience - Connect through 67 locations - Port speeds of 1 Gbps, 10 Gbps or sub-1 Gbps AWS Direct ConnectVPNPublic Internet
  • 14. Operational challenges ?? ELB ScalingStuck Instances Lost VPN Gateways +/- instances Lost volumesFlapping direct connects
  • 16. Serverless related AWS services AWS Lambda Amazon DynamoDB Amazon SNS Amazon API Gateway Amazon SQS Amazon Kinesis Amazon S3 Compute and API Proxy AWS X-Ray AWS Step Functions Datastores, Storage, Orchestration, Analytics, Interprocess Messaging Developer Tools AWS CodeBuild AWS CodePipeline AWS Serverless Application Model (SAM) Lambda@Edge AWS Cloud9 Amazon Aurora Serverless (preview) AWS AppSync
  • 17. Authentication example Mobile client Amazon Cognito User Pools AWS Lambda Amazon API Gateway 1. initiate auth (username & password & API key) 2. return ID Tokens Amazon Cognito Identity Pools 3. get AWS scoped credentials AWS Lambda Pre signup (auto-confirm)
  • 18. Gifting example Mobile client (receiver) 2-1. record history 1. poll queue AWS Lambda Amazon DynamoDB 3. receive gift 2. get new gift Mobile client (sender) 1. send message 3. enqueue message Amazon SNS Amazon SQS Mobile client Amazon SQS 1. create queue When a game started 2. update info AWS Lambda 2-2. determine receiver Redis Amazon DynamoDB
  • 19. Gifting example Mobile client (receiver) 2-1. record history 1. poll queue AWS Lambda Amazon DynamoDB 3. receive gift 2. get new gift Mobile client (sender) 1. send message 3. enqueue message Amazon SNS Amazon SQS AWS Lambda 2-2. determine receiver Amazon DynamoDB 1. create queue When a player’s registration is confirmed 2. add queue url Amazon Cognito User Pools AWS Lambda 3. registration gift
  • 21. Containers EC2 Instance TaskTask Task Task EC2 Instance TaskTask Task Task EC2 Instance TaskTask Task Task EC2 Instance TaskTask Task Task EC2 Instance TaskTask Task Task Flexibility, gaming workloads using containers AWS VPC Networking, Task management, Auto Scaling, Scheduling, CloudWatch metrics, Load balancers, SDK, CLI…
  • 22. Scheduling and Orchestration Cluster Manager Placement Engine Running containers with AWS ECS Availability Zone #1 Availability Zone #2 Availability Zone #3
  • 24. Scheduling and Orchestration Cluster Manager Placement Engine ECS AMI Docker agent ECS agent EC2 Instance ECS AMI Docker agent ECS agent EC2 Instance ECS AMI Docker agent ECS agent EC2 Instance
  • 25. Kubernetes, container management platform Open source container management platform Helps you run containers at scale Gives you primitives for building modern applications
  • 26. 57%of Kubernetes workloads run on AWS today —CNCF survey
  • 27. E L A S T I C C O N TA I N E R S E RV I C E F O R K U B E R N E T E S (EKS)
  • 28. How Amazon Elastic Container Service for Kubernetes works
  • 29. Availability Zone 1 etcd Master etcd Master Availability Zone 2 Availability Zone 3 etcd Master Run highly available and scalable Kubernetes clusters on AWS
  • 31. Amazon Aurora Scale out to millions of reads per second Scale-out read performance Break Apart the Stack Scale Out Each Layer Independently Leverage Distributed Services Up to 15 Read Replicas Across Three AZs Auto-Scale New Read Replicas Auto-Scale Storage (no pre-provisioning needed)
  • 32. Amazon Aurora has up to 15 read replicas Master Read Replica 1 Read Replica Read Replica 15 Shared distributed storage volume Reader end-point
  • 33. Amazon Aurora multi-masters (Preview) Application Read Replica 1 Master Node Read Replica 2 Shared Distributed Storage Volume Availability Zone 1 Availability Zone 2 Availability Zone 3 Application Read/Write Master 2 Read/Write Master 1 Shared Distributed Storage Volume Availability Zone 1 Availability Zone 2 Availability Zone 3 Read/Write Master 3
  • 34. Multi-region Multi-master Cross-region replication happens at in the storage layer, and based on physical redo (no binlog) REGION 1 REGION 2 HEAD NODES HEAD NODES MULTI-AZ STORAGE VOLUME MULTI-AZ STORAGE VOLUME LOCAL PARTITION LOCAL PARTITIONREMOTE PARTITION REMOTE PARTITION
  • 36. Amazon Route 53 A global one build • Latency based routing • Weighted routing
  • 38. Use cases of GraphDB Fraud DetectionRecommendationsSocial Networks
  • 40. GraphDB query example What games does skywalker123 like? gremlin> g.V().has('GamerAlias','skywalker123'). as('gamer').out('likes’) ==>v[ARMS] ==>v[HorizonZeroDawn] ==>v[GranTurismoSport] ==>v[Ratchet&Clank] ==>v[Fifa18] ==>v[GravityRush] ==>v[SuperMarioOdyssey] ==>v[MarioKart8]
  • 44. Main area of fight is middle field
  • 45. Unexpected area of high death rate
  • 46. Identify a design failure of map
  • 47. Gaming analytics architecture example Central Storage Secure, Cost Effective Storage in S3 S3 Catalog & Search Access & Search Metadata DynamoDB Amazon ES Athena Quicksight EMR Redshift Processing & Analytics Use predictive and prescriptive analytics to gain better understanding Firehose Data Ingestion Get your data into S3 quickly and securely { ‘event_id’ : ‘05b00439-6a07-4112-9c8d- 165f1643e5d1’, ‘event_type’ : ‘player_death’, ‘event_timestamp’ : ‘2017-05-01T21:05:18.000Z’, ‘arena’ : ‘el_dorado’, ‘position_x’ : 507.12, ‘position_y’ : 551.61 }
  • 48. Security & DDoS mitigation
  • 49. Shared responsibility model for Infrastructure
  • 50. Shared responsibility model for container services
  • 51. Shared responbility model for abstracted services
  • 52. DDoS-Resilient Architecture Amazon Route 53 ALB Security Group Amazon EC2 Instances Application Load Balancer Amazon CloudFront Public Subnet Web Application Security Group Private Subnet AWS WAF Amazon API Gateway DDoS Attack Users Globally distributed attack mitigation capability SYN proxy feature that verifies three-way handshake before passing to the application Slowloris mitigation that reaps long-lived collections Mitigates complex attacks by allowing only the most reliable DNS queries Validates DNS Provides flexible rule language to block or rate-limit malicious requests
  • 53. Session-Based Game Architecture Security Group Amazon EC2 Instances Network Load Balancer Public Subnet Web Application Security Group Private Subnet DDoS Attack Users AWS Shield Elastic IP Address
  • 54. Use case, Pokemon • Massive increase in legitimate users and traffic • Massive, disproportional increase in illegitimate users and traffic • Bots • Scanners • DDoS attacks https://www.slideshare.net/AmazonWebServices/automating-ddos-response-in-the-cloud-sid324-reinvent-2017
  • 55. AWS Shield advanced • Existing application on AWS • The next major Pokémon GO event was only two weeks away: •Pokémon DevOps and InfoSec worked closely with AWS •Started slowly moving traffic in a week •100% of GO login traffic was protected by AWS Shield Advanced in less than two weeks from “go” • Cloud-routed WAF issues are behind us: • No more WAF capacity issues taking us offline • Pokémon is now seeing: • Lower latency through the WAF • Superior analytics and logging
  • 56. Protect your game service, GuardDuty Threat intel, ML/AI Anomaly Detection Alert and RESPOND Scouting Instance Compromise Account Compromise Amazon GuardDuty VPC flow logs DNS Logs CloudTrail Events HIGH MEDIUM LOW FindingsData SourcesThreat Detection Types
  • 57. •Wrap up • Cloud native value proposition for game • Innovation on computing with AWS • Containers, MSA • Database • Aurora and Neptune • Data Analytics • Security