© 2019, Amazon Web Services, Inc. or its Affiliates. All rights ......2019/09/11  · © 2019,...

Post on 04-Oct-2020

0 views 0 download

Transcript of © 2019, Amazon Web Services, Inc. or its Affiliates. All rights ......2019/09/11  · © 2019,...

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

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

①吹き出しをクリック②質問を入力③ Sendをクリック

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

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

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

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

CPU

< >(queueing)

(dispatch)

dispatch

B A

A B

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

従来は処理のピークに合わせてリソースを予め用意していた。ピーク時に賄えないリソースは、ジョブスケジューラにより、処理するタイミングをずらして対応

クラウドの場合はその時に必要なリソースを立ち上げて、処理を実行する

Time

Time

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

クラウド環境従来のクラスタ構成は固定

オンプレミス環境

固定のリソースに、ジョブをスケジューリング

クラウド環境

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

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

Media & Entertainment:

Healthcare & Life Sciences:

Internet Companies:

Scientific Research:

Engineering and Design:

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

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

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

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

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

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

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

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

Submitted

Runnable

Starting

Running

Succeeded FAILED

Pending

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

$AWS_BATCH_JOB_ARRAY_INDEX

•“Job-A”

“Job-B”

“Job-A”

Job-A:0

Job-A:1 Job-A:2

Job-A:3 Job-A:4 Job-A:5

Job-A:97 Job-A:98 Job-A:99

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

“Job-A”

Job-A:0

Job-A:1

Job-A:99

Job-A:2

“Job-A”

Job-A:0

Job-A:1 Job-A:2

Job-A:3 Job-A:4 Job-A:5

Job-A:97 Job-A:98 Job-A:99

“Job-B”

“Job-B”

Job-B:0

Job-B:1 Job-B:2

Job-B:3 Job-B:4 Job-B:5

Job-B:97 Job-B:98 Job-B:99

“Job-A”

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

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

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

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

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

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.