본문 바로가기
정보공유

게임을 위한 아마존웹서비스(AWS) (김일호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018

by 날고싶은커피향 2018. 11. 14.

게임을 위한 아마존웹서비스(AWS) (김일호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018


게임을 위한 아마존웹서비스(AWS) (김일호 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018
1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 김일호 Solutions Architect Manager 게임을 위한 AWS
2. • Agenda • Global footprint • Common multiplayer architectures • DIY on AWS • GameLift • GameSparks • AI/ML adoption to games • Alexa skills (voice-first games..)
3. Launch your game global
4. Anti cheat Perform complex simulation on server Run larger game sessions – Great for battle royal style games Improved latency – Put servers closer to players Customer can avoid NAT punch as is required for P2P set ups. Why use the cloud for multiplayer games?
5. 18 Regions – 55 Availability Zones – 132 Edge Locations Region & Number of Availability Zones AWS GovCloud (3) EU Ireland (3), Frankfurt (3), London (3), Paris (3) US West Asia Pacific Oregon (3), Northern California (3) Singapore (3), Sydney (3), Tokyo (4), Seoul (2), Mumbai (2), Osaka-Local (1) US East N. Virginia (6), Ohio (3) China Beijing (2) Ningxia (3) Canada Central (2) South America São Paulo (3) Announced Regions Bahrain, Hong Kong SAR, Sweden Global reach
6. Integrated Networking Rules Engine Device Shadows Device SDKs Device Gateway Registry Local Compute Machine Learning Conversational Interface Virtual Desktops App Streaming Schema Conversion Image Recognition Sharing & Collaboration Exabyte-Scale Data Migration Text to Speech Corporate Email Application Migration Database Migration Regions Availability Zones Points of Presence Data Warehousing Business Intelligence Elasticsearch Hadoop/Spark Data Pipelines Streaming Data Collection ETL Streaming Data Analysis Interactive SQL Queries Queuing & Notifications Workflow Email Transcoding Deep Learning Frameworks Server Migration Communications Business Apps Business Intelligence DevOps Tools Security Networking StorageDatabases API Gateway Single Integrated Console Identity Sync Mobile Analytics Mobile App Testing Targeted Push Notifications One-click App Deployment DevOps Resource Management Application Lifecycle Management Containers Triggers Resource Templates Build and Test Analyze and Debug Compute VMs, Auto- scaling, Load Balancing, Containers, Virtual Private Servers, Batch Computing, Cloud Functions, Elastic GPUs, Edge Computing Storage Object, Blocks, File, Archivals, Import/Export, Exabyte-scale data transfer CDN Databases Relational, NoSQL, Caching, Migration, PostgreSQL compatible Networking VPC, DX, DNS Identity Management Key Management & Storage Monitoring & Logs Configuration Compliance Web Application Firewall Assessment & Reporting Resource & Usage Auditing Access Control Account Grouping DDOS Protection Support Professional Services Optimization Guidance Partner Ecosystem Training & Certification Solutions Management Account Management Security & Billing Reports Personalized Dashboard TECHNICAL & BUSINESS SUPPORT MARKETPLACE Monitoring Manage Resources Data Integration Integrated Identity & Access Integrated Resource & Deployment Management Integrated Devices & Edge Systems Resource Templates Configuration Tracking Server Management Service Catalogue Search HYBRID ARCHITECTUREANALYTICS MOBILE SERVICESDEV/OPS IoT AI ENTERPRISE APPS MIGRATION APP SERVICES INFRASTRUCTURE CORE SERVICES SECURITY & COMPLIANCE MANAGEMENT TOOLS Most robust, fully featured technology infrastructure platform
7. Region Ensuring High Availability The AWS Cloud infrastructure: • A Region is a physical location in the world where we have multiple Availability Zones • Availability Zones consist of one or more discrete data centers, each with redundant power, networking, and connectivity, housed in separate facilities. Applications and Data are replicated in real time and consistent in the different AZs 1 N 2 1 N 2 1 N 2 Low-latency ensures real data replication Distance ensures high availability 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 AWS Regions (18) Local Regions (1) AZs (55) 1 N 2 1 N 2 1 N 2 1 N 2 N. Virginia Ohio N. California Oregon Mumbai Seoul Singapore Sydney Canada Beijing Frankfurt IrelandLondonSão Paulo GovCloud (US-West) 1 N 2 1 N 2 Ningxia 1 N 2 1 N 2 1 N 2 Paris 1 N 2 1 N 2 Osaka 1 N 2 Tokyo 1 N 2 1 N 2 1 N 2
8. Infrastruture as a “any” code $ aws ec2 run-instances --image-id ami-1a2b3c4d --count 10 -- instance-type m5.xlarge
9. Common multiplayer architecture on AWS
10. Session based – Server Authoritative Turn based & Lightweight real-time Amazon GameLift Amazon GameSparks MMOs/Persistent worlds Amazon Web Services Common multiplayer use cases
11. Global Game Servers
12. Session based – Server Authoritative Turn based & Lightweight real-time Amazon GameLift Amazon GameSparks MMOs/Persistent worlds Amazon Web Services Common multiplayer use cases
13. Amazon GameLift Dedication makes all the difference. Get best in-class dedicated game server hosting with Amazon GameLift.
14. I’m a fan of FPS games My favorite weapon, Railgun
15. Amazon Gamelift – Service Components Builds FlexMatchFleets Aliases Clients Queues
16. Amazon Gamelift – Service Components Automatically scale server capacity with player traffic. Be prepared for unexpected spikes in player traffic, but stop paying for idle server capacity when there’s low player traffic.
17. Amazon Gamelift – Service Components Flexible Matchmaking Use your own matchmaking service or our customizable solution, FlexMatch, to create competitive matches based on rules you define.
18. Amazon Gamelift – Service Components No downtime for updates Keep servers live and players playing 24/7 by using Amazon GameLift, even when releasing updates or new content.
19. Amazon Gamelift – Service Components Support Cross-Platform Play Connect your community across devices and broaden your pool of players for potential matches.
20. Amazon Gamelift – Service Components Works with your existing engine and workflows Whether you use a AAA engine like Unity, Unreal, Lumberyard or a homegrown C++ solution, the Amazon GameLift SDK easily integrates to get your servers up and running in the cloud.
21. Multi Availability Zone Topology
22. Flexible Matchmaking and DDoS Protection
23. Latency policy + Cross-platform matchmaking Fleet (Virginia) Fleet (Frankfurt) Fleet (Singapore) Queue 43 m s 20 ms 87 ms Console Mobile Amazon GameLift FlexMatch Common Matchmaking RuleSet Game Service Hybrid PC
24. 3 1
25. Session based – Server Authoritative Turn based & Lightweight real-time Amazon GameLift Amazon GameSparks Common multiplayer use cases Types of games often played online: MMOs/Persistent worlds Amazon Web Services
26. B U I L D C U S T O M I Z E A N A L Y Z E O P T I M I Z E Reduce money, time and talent to build game backend features that engage players. Use custom code to bend, combine, extend or even create your own backend features. Use insights to execute Live Operations that increase player engagement, retention and monetization rates. Segment players and analyse their behaviour. Test game configuration before pushing live.
27. Features Configure Build Social & Multiplayer Meta-game & Economy Customization Registration & Authentication Player Profiles Leaderboards Challenges Turn-based Multiplayer Real-time Multiplayer Matchmaking Friends & Teams Real-time Chat Leagues, Guilds & Parties Virtual Goods Currencies Achievements & Rewards Player Entitlements Player Skill & Experience Store Integrations Transactions Receipt Validation Segmentation Events Custom API Calls Cloud Code Database Collections Test Harness In-line Debugging Versioning & Source Control Access Control Form Builder Custom Reports Live Game Operations Integrations & Compatibility Managed Services Analytics Experiments AB Testing Segmentation Player Management Messaging & Notifications Dynamic Game Configuration Custom Screens & Workflow Dashboards Roles & Permissions Twitch Social e.g. Facebook WeChat Steam PS4, Xbox & Switch Payment Gateways Unity, Unreal, Lumberyard Other 3rd Party Game Engines Multi-region Support 24 x 7 Monitoring Optimized Real-time Clusters Dedicated Environments In-line Debugging Premium Support & SLA Source control e.g. GitHub Run
28. Turn based or lightweight real-time g a me s MULTIPLAYER IN GAMESPARKS H o s t s e r v e r m o d e l i n t h e c l o u d O p t i m i s e d f o r q u i c k u p d a t e s t o p l a y e r a n d g a m e d a t a E x e c u t e c u s t o m c o d e f o r c h e a t d e t e c t i o n o r d a t a f u n c t i o n s L o w l a t e n c y s o c k e t s e r v e r s u p p o r t i n g h i g h t h r o u g h p u t a n d l o w t r a n s m i s s i o n s i z e s S D K s t o s u p p o r t m o s t m a j o r g a m e e n g i n e s
29. Turn based or lightweight real-time g a me s MULTIPLAYER IN GAMESPARKS Cheat detection Data updates/requests Realtime/Turn based C l o u d - C o d e Client updates Player 1 P l a y e r 2 Player 3
30. Gaming Analytics
31. Analytics & Big Data -Successes
32. Data Lake on AWS Central Storage Secure, Cost Effective Storage in S3 S3 Catalog & Search Access & Search Metadata DynamoDB Amazon ES Access & User Interface Give your users easy & secure access API Gateway IAM Cognito Protect & Secure Use entitlements to ensure data is secure and users identities are verified Security Token Service Cloudwatch Cloudtrail KMS Athena Quicksight EMR Redshift Processing & Analytics Use predictive and prescriptive analytics to gain better understanding Firehose Direct Connect Snowball DMS Data Ingestion Get your data into S3 quickly and securely
33. Analytics: Heatmaps Note: pubgfq.com
34. Let’s think Big !
35. Machine Learning on AWS Application Developers Amazon Machine Learning Amazon Polly Amazon Lex Natural Language Understanding (NLU) & Automatic Speech Recognition (ASR) Amazon Rekognition Image and Video Recognition & Analysis Text-to-Speech Managed Machine Learning Amazon SageMaker Fully managed end-to-end machine learning service Amazon Transcribe Automatic speech recognition (ASR) Amazon Translate Neural machine translation service Amazon Comprehend Discover insights and relationships in text
36. $ aws polly synthesize-speech --text "But, you're prepared for it, right?" --output-format "mp3" --voice-id "Ivy" quest1-3.mp3 --region us-east-1 English/Female Korean/Female Amazon Polly Text-to-Speech Adding voice feature
37. Face comparision or search SearchFaceby Image Collection Nearest neighbor search Face ID Amazon Rekognition Image and Video Recognition & Analysis Adding Architecture…
38. Chatting w/ auto-translate #!/usr/bin/python # -*- coding: utf-8 -*- import boto3 translate = boto3.client("translate") translate = boto3.client(service_name='translate', region_name='us-east-1', use_ssl=True) resp = translate.translate_text( Text="Je suis très excité pour Amazon Traduire", SourceLanguageCode="auto", TargetLanguageCode="en" ) print(resp['TranslatedText']) Amazon Translate Neural machine translation service
39. Sentimental analytics - CS Analyze customers’ complaints and review to understand sentiment of game users
40. Sentimental analytics example
41. Sentimental analytics example
42. Alexa skills game integration
43. Thank you


반응형