[AWS Black Belt Online Seminar] Amazon GameLift
Solutions Architect AWS Webinar 2019/10/09 https://amzn.to/JPWebinar https://amzn.to/JPArchive
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS
Amazon GameLift AWS CodePipeline
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Black Belt Online Seminar
• ① 吹き出しをクリック ② 質問を入力 • ③ Sendをクリック
Twitter #awsblackbelt
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • 2019 10 9 AWS (http://aws.amazon.com)
• AWS AWS
•
• AWS does not offer binding price quotes. AWS pricing is publicly available and is subject to change in accordance with the AWS Customer Agreement available at http://aws.amazon.com/agreement/. Any pricing information included in this document is provided only as an estimate of usage charges for AWS services based on certain information that you have provided. Monthly charges will be based on your actual use of AWS services, and may vary from the estimates provided.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Peer to Peer (P2P) Client/Server
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Client/Server
Backend • • • • • • • • ……
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Client/Server
Amazon GameLift
Session Session
Session
Session Session Session
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
数百万のプレイヤーに対応できるよう 専用ゲームサーバーをスケーリング・ホスティング
AWS グローバルインフラストラクチャ上で稼働
DDoS 攻撃から保護するように設計
待機時間とレイテンシーを 最小に抑えたゲーム体験を実現
柔軟にカスタマイズできる マッチメイキング機能を提供 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
Server Hosting Hosting Resource
フリート エイリアス
キュー FlexMatch
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS SDK Amazon GameLift Server SDK
• • AWS SDK • Amazon GameLift Server SDK Amazon GameLift Amazon GameLift
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift Server SDK
• Unity • C# (.NET) • Unreal Engine • C++ for Unreal Engine • Amazon Lumberyard • C++ • C++ C#
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Client App • • • • • • Amazon GameLift •
Amazon GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 1 / 4 )
Amazon GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 2 / 4 )
Amazon GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 3 / 4 )
Amazon GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 4 / 4 ) , ,
Amazon GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •
upload-build Local • • •
Amazon GameLift Fleet • https://aws.amazon.com/blogs/gametech/auto mating-deployments-to-amazon-gamelift/ Amazon S3 create-build Bucket © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
•
•
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. NEW !!
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
Node.js ベースの JavaScript で実装
TCP, UDP によるメッセージング処理を提供
ステートレスとしてもステートフルとしても稼働
カスタムゲームサーバーと同様の Realtime Servers GameLift の機能を利用可能(一部を除く)
カードゲーム、ターンベースの戦略ゲーム、 軽量のモバイルゲームなどに最適
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RealTime RealTime
RealTime RealTime Amazon GameLift
GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RealTime AWS SDK RealTime Client SDK (C#)
• RealTime Client SDK (C#) • AWS SDK • RealTime Amazon GameLift
• • Amazon GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. init
onMessage
onHealthCheck
onStartGameSession
onPlayerAccepted
https://docs.aws.amazon.com/ja_jp/gamelift/latest/developerguide/realtime-script-ref.html
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •
• TCP
• UDP
•
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RealTime
Local create-script update-script Local
Fleet Amazon GameLift Amazon GameLift Fleet
Amazon S3 Bucket create-script Amazon S3 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Bucket Amazon GameLift
• • Node.js JavaScript
• •
• •
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
Server Hosting Hosting Resource
フリート エイリアス
キュー FlexMatch
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
Server Hosting Hosting Resource
フリート エイリアス
キュー FlexMatch
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • • OS Windows, Amazon Linux • • , • TLS • Amazon GameLift Fleet • • EC2 • ,
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Amazon GameLift Spot Fleet
•
onProcessTerminate
Amazon GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • • • , •
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •
•
•
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
Server Hosting Hosting Resource
フリート エイリアス
キュー FlexMatch
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • ID ID Client Fleet •
• 2 •
Alias • Client Fleet
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Alias Alias
Client Client Fleet Fleet in Service in Service
New Fleet New Fleet
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Alias Alias
Client Fleet-1 Client Fleet-1
Please update your game version.
Termination message
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
Server Hosting Hosting Resource
フリート エイリアス
キュー FlexMatch
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
Region (Virginia)
• • Region (Tokyo) • Auto Scaling
Region (Singapore) •
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. FleetIQ
Region
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. us-west-1 us-east-1 ap-northeast-1
https://docs.aws.amazon.com/ja_jp/general/latest/gr/rande.html#gamelift_region
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • FleetIQ Region (Virginia) AWS SDK • Player 1
StartGameSessionPlacement Region (Tokyo)
Player 2
Amazon GameLift Region (Singapore)
Player 3
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Player 1
Region (Tokyo)
Player 2
Player 3
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
Server Hosting Hosting Resource
フリート エイリアス
キュー FlexMatch
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift FlexMatch
200
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. FlexMatch
FlexMatch
AWS SDK
• • • Amazon GameLift Amazon GameLift
• • • •
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 1 / 6 )
•
• 1
•
StartMatchmaking
Amazon GameLift MatchmakingTicket
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CloudWatch DescribeMatchmaking
Amazon GameLift Amazon GameLift
Amazon SNS
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 2 / 6 )
Ticket Pool
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 3 / 6 )
•
Player 1 • 1 AcceptMatch
• Player 2 Amazon GameLift • → Ticket Pool • Player 3 →
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 4 / 6 )
Amazon GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 5 / 6 )
Amazon GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 6 / 6 )
Player 1
Amazon GameLift Player 2
Player 3
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 1 / 5 )
StartMatchBackfill Player 1
Amazon GameLift MatchmakingTicket Player 2
Player 3 Amazon GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 2 / 5 )
•
• 1 Ticket Pool
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 3 / 5 )
AcceptMatch
New Player Client Amazon GameLift Service
Player 1 Player 3
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ( 4 / 5 )
Amazon GameLift
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Player 1 Player 3 ( 5 / 5 )
New Player
Amazon GameLift
Player 1 Player 3
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. FlexMatch
•
• 2 4~8
• 10
• 2
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. FlexMatch name ruleLanguageVersion "1.0" playerAttributes teams maxPlayers >40 rules expansions algorithm
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. FlexMatch ( 1 / 2 )
• • 2 4~8 → teams → playerAttributes
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. FlexMatch ( 2 / 2 )
• • 10 → expansions • 2
→ rules
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. GameLift –
North America Region (Virginia) Region (Oregon) … Alias Alias Player Amazon DynamoDB Queue
Europe Region (Ireland) Region (London)
Alias Alias … Amazon Route 53 Client Service Amazon GameLift Queue FlexMatch
Region (Tokyo) Region (Singapore) … Alias Alias Player Amazon DynamoDB Asia Queue
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GameLift
AWS Cloud
Region
AWS Lambda Amazon GameLift (Client Service)
Game Fleet Client
Amazon Cognito
https://aws.amazon.com/jp/blogs/news/creating-servers-for-multiplayer-mobile-games-with-amazon-gamelift/
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • • • Auto Scaling • •
• AWS • Amazon GameLift c4.large 125 /
EBS (SSD) 50 GB https://aws.amazon.com/jp/gamelift/pricing/ © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • AWS • •
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Q&A
AWS Japan Blog https://aws.amazon.com/jp/blogs/news/
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS AWS
https://amzn.to/JPArchive
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Well-Architected 個別技術相談会
•
•
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Webinar https://amzn.to/JPWebinar https://amzn.to/JPArchive
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.