Page 1
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Webinar
https://amzn.to/JPWebinar https://amzn.to/JPArchive
Solutions Architect
2019/10/09
Amazon GameLift
[AWS Black Belt Online Seminar]
Page 2
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS
Amazon GameLift AWS CodePipeline
Page 3
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Black Belt Online Seminar
•
•
①吹き出しをクリック②質問を入力③ Sendをクリック
Twitter
#awsblackbelt
Page 4
© 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.
Page 5
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
Page 6
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
Page 7
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Page 8
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Peer to Peer (P2P) Client/Server
Page 9
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Backend
Client/Server
•
•
•
•
•
•
•
•
……
Page 10
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Client/Server
Session
Session
Session
Session
Session
Session
Amazon GameLift
Page 11
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
Page 12
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
数百万のプレイヤーに対応できるよう専用ゲームサーバーをスケーリング・ホスティング
AWS グローバルインフラストラクチャ上で稼働
DDoS 攻撃から保護するように設計
待機時間とレイテンシーを最小に抑えたゲーム体験を実現
柔軟にカスタマイズできるマッチメイキング機能を提供
Page 13
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
フリート エイリアス
キュー FlexMatch
Hosting ResourceServer Hosting
Page 14
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
Page 15
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
Page 16
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
GameLift
Page 17
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Page 18
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• AWS SDK
Amazon GameLift
•
• Amazon GameLift Server SDK
Amazon GameLift
•
AWS SDK Amazon GameLift
Server SDK
Page 19
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift Server SDK
• C# (.NET)
• C++ for Unreal Engine
• C++
• Unity
• Unreal Engine
• Amazon Lumberyard
• C++ C#
Page 20
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
•
•
•
•
•
•
•
Client App
Amazon GameLift
Page 21
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 1 / 4 )
Amazon GameLift
Page 22
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 2 / 4 )
Amazon GameLift
Page 23
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 3 / 4 )
Amazon GameLift
Page 24
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 4 / 4 )
, ,
Amazon GameLift
Page 25
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
upload-build
create-build
Local
Amazon GameLift
Amazon S3
Bucket
Fleet
•
•
•
•
•
https://aws.amazon.com/blogs/gametech/auto
mating-deployments-to-amazon-gamelift/
Page 26
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
•
•
•
Page 27
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
NEW !!
Page 28
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
Node.js ベースの JavaScript で実装
TCP, UDP によるメッセージング処理を提供
ステートレスとしてもステートフルとしても稼働
カスタムゲームサーバーと同様のGameLiftの機能を利用可能(一部を除く)
カードゲーム、ターンベースの戦略ゲーム、軽量のモバイルゲームなどに最適
Realtime Servers
Page 29
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RealTime RealTime
RealTime
Amazon GameLiftRealTime
GameLift
Page 30
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Page 31
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• AWS SDK
Amazon GameLift
•
• RealTime
• Amazon GameLift
• RealTime Client SDK (C#)
AWS SDKRealTime
Client SDK (C#)
RealTime
Page 32
© 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
Page 33
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
•
•
• TCP
• UDP
Page 34
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RealTime
create-script
create-script
update-scriptLocal
Amazon S3
Bucket
FleetAmazon GameLift Amazon GameLift
Amazon S3
Bucket
Local
Fleet
Page 35
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
•
•
•
• Node.js JavaScript
•
•
Page 36
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
Page 37
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
フリート エイリアス
キュー FlexMatch
Hosting ResourceServer Hosting
Page 38
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
フリート エイリアス
キュー FlexMatch
Hosting ResourceServer Hosting
Page 39
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
• OS Windows, Amazon Linux
•
• ,
• TLS
•
•
• EC2
• ,
Amazon GameLift Fleet
Page 40
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift Spot Fleet•
•
Amazon GameLift
onProcessTerminate
Page 41
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
• ,
•
•
Page 42
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
•
•
•
Page 43
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
フリート エイリアス
キュー FlexMatch
Hosting ResourceServer Hosting
Page 44
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• ID ID
•
• 2
•
•Alias
Fleet
Client
Fleet
Client
Page 45
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Fleet
in Service
New Fleet
Alias
Fleet
in Service
New Fleet
Alias
ClientClient
Page 46
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Fleet-1
Alias
Fleet-1
Alias
Client
Please update
your game version.
Termination message
Client
Page 47
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
フリート エイリアス
キュー FlexMatch
Hosting ResourceServer Hosting
Page 48
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
Region (Virginia)
Region (Tokyo)
Region (Singapore)
•
•
•
Auto Scaling
•
Page 49
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
FleetIQ
Region
Page 50
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
https://docs.aws.amazon.com/ja_jp/general/latest/gr/rande.html#gamelift_region
us-west-1 us-east-1 ap-northeast-1
Page 51
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Region (Virginia)
Region (Tokyo)
Region (Singapore)
StartGameSessionPlacement
Amazon GameLift
AWS SDKPlayer 1
Player 2
Player 3
FleetIQ•
•
Page 52
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Region (Tokyo)
Player 1
Player 2
Player 3
Page 53
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
フリート エイリアス
キュー FlexMatch
Hosting ResourceServer Hosting
Page 54
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift FlexMatch
200
Page 55
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
FlexMatch
FlexMatch
AWS SDK
•
Amazon GameLift
•
•
•
•
• Amazon GameLift
•
Page 56
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 1 / 6 )
StartMatchmaking
MatchmakingTicket
•
• 1
•
Amazon GameLift
Page 57
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DescribeMatchmaking
Amazon CloudWatch
Amazon SNS
Amazon GameLiftAmazon GameLift
Page 58
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 2 / 6 )
Ticket Pool
Page 59
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 3 / 6 )
AcceptMatch
Player 1
Player 2
Player 3
Amazon GameLift
•
• 1
•
•
→ Ticket Pool
•
→
Page 60
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 4 / 6 )
Amazon GameLift
Page 61
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 5 / 6 )
Amazon GameLift
Page 62
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 6 / 6 )
Player 1
Player 2
Player 3
Amazon GameLift
Page 63
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 1 / 5 )
Player 1
Player 2
Player 3
StartMatchBackfill
MatchmakingTicketAmazon GameLift
Amazon GameLift
Page 64
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 2 / 5 )
Ticket Pool
•
•
1
Page 65
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 3 / 5 )
AcceptMatch
New Player
Player 1 Player 3
Amazon GameLiftClient
Service
Page 66
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 4 / 5 )
Player 1 Player 3
Amazon GameLift
Page 67
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
( 5 / 5 )
New Player
Player 1 Player 3
Amazon GameLift
Page 68
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
FlexMatch
•
• 2 4~8
•
10
• 2
•
Page 69
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
FlexMatch
name
ruleLanguageVersion"1.0"
playerAttributes
teams maxPlayers >40
rules
expansions
algorithm
Page 70
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
FlexMatch ( 1 / 2 )
•
→ playerAttributes
• 2 4~8
→ teams
Page 71
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
FlexMatch ( 2 / 2 )
•
10
• 2
→ rules
•
→ expansions
Page 72
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
Page 73
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
North America
Asia
GameLift –
Region (Virginia)
Amazon Route 53
Region (Oregon)
Region (Ireland) Region (London)
Region (Tokyo) Region (Singapore)
Alias Alias
Alias
Alias
Alias
Alias
…
…
Amazon DynamoDB
Amazon DynamoDB
Queue
Queue
QueueClient Service
Player
Player
…
Europe
Amazon GameLift
FlexMatch
Page 74
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
Page 75
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GameLift
https://aws.amazon.com/jp/blogs/news/creating-servers-for-multiplayer-mobile-games-with-amazon-gamelift/
AWS Cloud
Region
Amazon Cognito
AWS Lambda
(Client Service)
Amazon GameLift
FleetGame
Client
Page 76
© 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/
Page 77
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
•
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
• Amazon GameLift
•
•
Page 78
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• AWS
•
•
Page 79
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Q&A
AWS Japan Blog https://aws.amazon.com/jp/blogs/news/
Page 80
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS AWS
https://amzn.to/JPArchive
Page 81
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Well-Architected 個別技術相談会
•
•
Page 82
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Webinar
https://amzn.to/JPWebinar https://amzn.to/JPArchive