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 Solutions Architect 2019/10/09 Amazon GameLift [AWS Black Belt Online Seminar]

[AWS Black Belt Online Seminar] Amazon GameLift · © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Black Belt Online Seminar • • ①吹き出しをクリック

  • Upload
    others

  • View
    14

  • Download
    0

Embed Size (px)

Citation preview

© 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]

© 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.

Backend

Client/Server

……

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Client/Server

Session

Session

Session

Session

Session

Session

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.

Amazon GameLift

数百万のプレイヤーに対応できるよう専用ゲームサーバーをスケーリング・ホスティング

AWS グローバルインフラストラクチャ上で稼働

DDoS 攻撃から保護するように設計

待機時間とレイテンシーを最小に抑えたゲーム体験を実現

柔軟にカスタマイズできるマッチメイキング機能を提供

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon GameLift

フリート エイリアス

キュー FlexMatch

Hosting ResourceServer Hosting

© 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

• Amazon GameLift Server SDK

Amazon GameLift

AWS SDK Amazon GameLift

Server SDK

© 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#

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon GameLift

Client App

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

create-build

Local

Amazon GameLift

Amazon S3

Bucket

Fleet

https://aws.amazon.com/blogs/gametech/auto

mating-deployments-to-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.

NEW !!

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon GameLift

Node.js ベースの JavaScript で実装

TCP, UDP によるメッセージング処理を提供

ステートレスとしてもステートフルとしても稼働

カスタムゲームサーバーと同様のGameLiftの機能を利用可能(一部を除く)

カードゲーム、ターンベースの戦略ゲーム、軽量のモバイルゲームなどに最適

Realtime Servers

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

RealTime RealTime

RealTime

Amazon GameLiftRealTime

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

• RealTime

• Amazon GameLift

• RealTime Client SDK (C#)

AWS SDKRealTime

Client SDK (C#)

RealTime

© 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

create-script

create-script

update-scriptLocal

Amazon S3

Bucket

FleetAmazon GameLift Amazon GameLift

Amazon S3

Bucket

Local

Fleet

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

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

フリート エイリアス

キュー FlexMatch

Hosting ResourceServer Hosting

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon GameLift

フリート エイリアス

キュー FlexMatch

Hosting ResourceServer Hosting

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

• OS Windows, Amazon Linux

• ,

• TLS

• EC2

• ,

Amazon GameLift Fleet

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon GameLift Spot Fleet•

Amazon GameLift

onProcessTerminate

© 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

フリート エイリアス

キュー FlexMatch

Hosting ResourceServer Hosting

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

• ID ID

• 2

•Alias

Fleet

Client

Fleet

Client

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Fleet

in Service

New Fleet

Alias

Fleet

in Service

New Fleet

Alias

ClientClient

© 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

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon GameLift

フリート エイリアス

キュー FlexMatch

Hosting ResourceServer Hosting

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon GameLift

Region (Virginia)

Region (Tokyo)

Region (Singapore)

Auto Scaling

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

FleetIQ

Region

© 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

© 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•

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Region (Tokyo)

Player 1

Player 2

Player 3

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon GameLift

フリート エイリアス

キュー FlexMatch

Hosting ResourceServer Hosting

© 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 )

StartMatchmaking

MatchmakingTicket

• 1

Amazon GameLift

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

DescribeMatchmaking

Amazon CloudWatch

Amazon SNS

Amazon GameLiftAmazon GameLift

© 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 )

AcceptMatch

Player 1

Player 2

Player 3

Amazon GameLift

• 1

→ Ticket Pool

© 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

Player 2

Player 3

Amazon GameLift

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

( 1 / 5 )

Player 1

Player 2

Player 3

StartMatchBackfill

MatchmakingTicketAmazon GameLift

Amazon GameLift

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

( 2 / 5 )

Ticket Pool

1

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

( 3 / 5 )

AcceptMatch

New Player

Player 1 Player 3

Amazon GameLiftClient

Service

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

( 4 / 5 )

Player 1 Player 3

Amazon GameLift

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

( 5 / 5 )

New Player

Player 1 Player 3

Amazon GameLift

© 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 )

→ playerAttributes

• 2 4~8

→ teams

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

FlexMatch ( 2 / 2 )

10

• 2

→ rules

→ expansions

© 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.

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

© 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

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

© 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. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

AWS Webinar

https://amzn.to/JPWebinar https://amzn.to/JPArchive