SlideShare a Scribd company logo
1 of 46
Download to read offline
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Kazuki Matsuda
Startup Solutions Architect
Amazon Web Services Japan
Aug. 30, 2019
イントロダクション: Docker on AWS
@ AWS Containers Talk with Mercari
#AWSLoft
#Kubernetes
#Fargate
© 2019, Amazon Web Services, Inc. or its Affiliates.
タイムテーブル
Time Contents Speaker
19:00 – 19:30 イントロダクション : Docker on AWS
Amazon Web Services Japan
松⽥ 和樹
19:30 – 20:10
メルカリ写真検索における Amazon EKS の活⽤事例と
プロダクトにおける Edge AI Technology の展望
株式会社メルカリ
中河 宏⽂ ⽒
20:10 – 20:20 (休憩)
20:20 – 21:00
Fireside Chat:
merpay の AML 基盤における AWS Fargate 活用事例、
その選定理由
株式会社メルカリ
⾼橋 三徳 ⽒
Amazon Web Services Japan
原、塚⽥
#AWSLoft #Kubernetes #Fargate
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
⾃⼰紹介
松⽥ 和樹(まつだ かずき)
• アマゾン ウェブ サービス ジャパン株式会社
スタートアップ ソリューションアーキテクト
• ネット広告代理店 → スタートアップ → AWS
• #Container #BigData #DevOps #Serverless
• 好きな AWS のサービス: AWS Fargate, Chalice
© 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.
ローカルでは動いたけど、本番で動かない︖
ローカルラップトップ ステージング / QA 本番
🔥
v6.0.0 v7.0.0 v4.0.0
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
「コンテナ」という解決策
ランタイム/エンジン
アプリケーションコード
依存ライブラリ/パッケージ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
コンテナとは?
「リソースが隔離されたプロセス」
• 1つの OS 上で複数同時稼働可能なプロセスの実行環境を提供するもの
• 各々で独立したルートファイルシステム、CPU・メモリ、プロセス空間等を
利用可能
Bins/Libs
App2
Process
Infrastructure
Operating System
Container Engine
Infrastructure
Hypervisor
Guest OS
Bins/Libs
App2
Guest OS
Bins/Libs
App1
VM VM
App1
Bins/Libs
Process
コンテナ仮想マシン
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
コンテナ技術の標準となった Docker
nオープンソースプロジェクト
ü dotCloud社 (現 Docker社)が開発、2013 年に
オープンソースプロジェクトとして公開
ü 現在は OCI (Open Container Initiative) で仕様策定
nLinux / macOS / Windows 等で稼働
ü 実行環境として Docker Engine を
インストールし、Docker コンテナを稼働
n高まる Dev と Ops 双方の需要に対応
ü よりスケーラブルに、より早く、より柔軟に
ü コンピューティングリソース効率の向上
ü 開発・テスト・本番などの環境に応じた用途
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
全ての環境で同じコンテナを動かす
ローカルラップトップ ステージング / QA 本番
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
$ docker push …
Dockerを利⽤した基本的ワークフロー
- コンテナイメージ作成 -
# yum update …
# yum install …
# echo ‘Hey, Yo!’
Dockerfile
$ docker build …
コンテナイメージ
$ docker run …
コンテナ内作業
$ docker commit …
イメージレジストリ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Dockerを利⽤した基本的ワークフロー
- コンテナ実⾏ -
イメージレジストリ
$ ssh …
$ docker pull …
$ docker run … ・・・
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
思っていたよりも⼿作業︖
• Docker の責務は同⼀サーバ上のコンテナライフサイクル管理
• 複数サーバやコンテナを束ねた概念に対するオペレーションはスコープ外
© 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.
「このEC2インスタンスの
クラスタでコンテナを
実⾏したいです」
「このコンテナを3つのAZに
分散させて10個デプロイして、
このロードバランサーに
つないでください」
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Elastic Container Service (ECS)
• クラウドでコンテナを本番環境利⽤す
るためのオーケストレーター
• 各種 AWS サービスとの⾼度な連携
• 数億コンテナ/週、数百万 EC2 インス
タンスを管理するスケーラビリティー
• 多様なワークロードをサポートする
「タスク」「サービス」というシンプ
ルなリソース表現
• Linux / Windows サポート
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon ECS Customers - from Startups to Fortune 500 companies
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
の Kubernetes ユーザーが AWS 上
でワークロードを動かしている
—CNCF survey
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Elastic Kubernetes Service
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
mycluster.eks.amazonaws.com
Availability
Zone 1
Availability
Zone 2
Availability
Zone 3
kubectl
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Elastic Kubernetes Service (EKS)
• 運⽤難易度の⾼い Kubernetes
マスターをマネージドで提供
• エコシステムの OSS やツールを利⽤で
きる, CNCF certified
• 各種 AWS サービスとの連携
• EKS サービスチーム、OSS チームによ
る Kubernetes コミュニティへの貢献
• オープンソース
• “Pod”, ”Deployment”, “Service”, “Job”
などのリソースに代表される⾼い表現⼒
© 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 Elastic Container Registry (ECR)
• フルマネージドなプライベート
コンテナイメージレジストリ
• セキュア – 保管イメージの⾃動的な
暗号化、IAM 連携
• スケーラブルかつ⾼い可⽤性
• Docker CLI からの利⽤
• ECS / EKS / Kubernetes だけでなく、
その他コンテナオーケストレーター
からも利⽤可能
© 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.
EC2 インスタンス
ECS
Agent
Docker
Agent
OS
実⾏環境 EC2 インスタンスの運⽤業務
OS やエージェント類へのパッチ当て・更新
実⾏中のコンテナ数に基づく、最適なリソース
使⽤率を保つための EC2 インスタンス数のス
ケーリング
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS マネージド
EC2 インスタンスのプロビジョン、スケール、管理不要
コンテナネイティブ
仮想マシンを意識しないシームレスなスケーリング
コンテナの起動時間・使⽤リソースに応じた料⾦設定
AWS サービスとの連携
VPC ネットワーキング、Elastic Load Balancing、IAM、
CloudWatch、etc.
AWS Fargate
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
「このコンテナをFargateで
3つのAZに分散させて
10個デプロイして、
このロードバランサーに
つないでください」
「このコンテナを
3つのAZに分散させて
10個デプロイして、
このロードバランサーに
つないでください」
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Fargate のメリット
Fargate を利⽤すれば以下のすべてを AWS 側にアウトソース可能
• EC2 インスタンスのプロビジョニングや管理
• 脆弱性対応のためのパッチ当てや OS アップグレード
• EC2 インスタンス上で動くエージェント類のアップグレード
• クラスタ内の EC2 インスタンス群それぞれの上で動くエージェント類やソフトウェアバー
ジョンの整合性維持
• などなど…
• 状態異常が発⽣した EC2 インスタンスの再起動や⼊れ替え
• ホストレベルのスケーリング管理
• Not only containers
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Fargate のコストについて
Fargate の⽅が利⽤状況に対して最適化されることが多い
• 単純⽐較だと、オンデマンド⽐で約1.17倍
• EC2 (m5.xlarge) : $0.124/h
• Fargate (2vCPU, 8GB) : $0.14536/h ※ 東京リージョンで試算
• EC2 利⽤時に、全リソースをアプリケーションに割り当てることは
現実的に難しい
• モニタリングツールやコンテナの再配置など
• 実際の運⽤では、50〜70% 程度の利⽤率に抑えることが多いのではないか
• Fargate の⽅がより細かい単位でスケール可能
• 最⼩で 0.25vCPU, 0.5GB でタスクを実⾏可能
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
”クラスタの⼦守はしたくない。
私たちにとってはクラスタ管理
から⽣まれる価値は何もない。
”
Shimon Tolts
CTO, DATREE
“インフラの管理をせずにスケールでき、
かつネットワークのきめ細やかな制御
ができることが私たちにとって必要で
あり、それこそが Fargate に移⾏した
理由です。”
Product Hunt
AWS Fargate customers
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
その他のコンテナ関連サービス
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Cloud Map
クラウドリソースのためのサービスディスカバリ
各リソースに対する継続的なヘルスチェック
ディスカバリ対象サービスの変更に合わせた動的な更新
開発⽣産性の向上
全アプリケーションリソースをディスカバリ可能な単⼀のレジストリ
ユーザーフレンドリーな名前の設定
AWS コンテナサービスとの連携
AWS Fargate
Amazon ECS
Amazon EKS
AWS
Cloud
Map
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS App Mesh
アプリケーションレベルのネットワーク
ログ・メトリクス・トレース情報の容易な出⼒
クライアントサイドのトラフィック・ルーティングポリシー
単⼀のクラスタやコンテナサービスを超えて動作
Amazon ECS
Amazon EKS
Kubernetes on EC2
AWS Fargate
Amazon EC2
マネージド
コントロールプレーンの管理不要
容易なオペレーション
⾼いスケーラビリティ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• コンテナワークロードのため
のモニタリングサービス
• ⾃動ダッシュボードによる可
視化、フィルタリング
• CloudWatch Logs Insights 併
⽤による⾼度な分析
• Amazon ECS, AWS Fargate,
Amazon EKS, Kubernetes を
サポート
Preview
Amazon CloudWatch Container Insights
(Public Preview)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon CloudWatch Container Insights
(Public Preview)
Preview
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
現実世界のコンテナワークロード
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AmazonEC2
Source Build/Test Deploy
AWS CodeCommit AWS CodeBuild
Amazon Aurora Amazon S3
Developer
Control plane
Data plane
Backing service
Registry
CI/CD pipeline
AWS CodePipelineAWS CodeDeploy
AWS Secrets Manager
Parameter Store
Secrets/Configs
周辺を⽀えるサービス群
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
コンピューティングの多様な選択肢
適切なコンピューティングサービスの選択が重要
Functions Containers Virtual Machines
運⽤コスト低 コントロール範囲
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
まとめ: AWS のコンテナ関連サービス
AWS
Cloud Map
オーケストレーション
コンテナのデプロイ、スケジューリング、スケーリング
イメージレジストリ
コンテナイメージの格納
ホスティング
コンテナ実⾏環境
アプリケーションレベル
サービスメッシュ、サービスディスカバリ
Amazon EC2
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!

More Related Content

More from Amazon Web Services Japan

202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用Amazon Web Services Japan
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdfAmazon Web Services Japan
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介Amazon Web Services Japan
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon Web Services Japan
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことAmazon Web Services Japan
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチAmazon Web Services Japan
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介Amazon Web Services Japan
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer ProfilesAmazon Web Services Japan
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Web Services Japan
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨Amazon Web Services Japan
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介Amazon Web Services Japan
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介Amazon Web Services Japan
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...Amazon Web Services Japan
 
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピAmazon Web Services Japan
 
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operationsAmazon Web Services Japan
 
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報Amazon Web Services Japan
 
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをなAmazon Web Services Japan
 
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPNAmazon Web Services Japan
 

More from Amazon Web Services Japan (20)

202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDD
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのこと
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
 
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
 
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
 
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
 
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
 
20211109 JAWS-UG SRE keynotes
20211109 JAWS-UG SRE keynotes20211109 JAWS-UG SRE keynotes
20211109 JAWS-UG SRE keynotes
 
20211109 bleaの使い方(基本編)
20211109 bleaの使い方(基本編)20211109 bleaの使い方(基本編)
20211109 bleaの使い方(基本編)
 
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
 

Recently uploaded

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 

Recently uploaded (20)

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 

Docker on AWS - AWS Containers Talk with Mercari

  • 1. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Kazuki Matsuda Startup Solutions Architect Amazon Web Services Japan Aug. 30, 2019 イントロダクション: Docker on AWS @ AWS Containers Talk with Mercari #AWSLoft #Kubernetes #Fargate
  • 2. © 2019, Amazon Web Services, Inc. or its Affiliates. タイムテーブル Time Contents Speaker 19:00 – 19:30 イントロダクション : Docker on AWS Amazon Web Services Japan 松⽥ 和樹 19:30 – 20:10 メルカリ写真検索における Amazon EKS の活⽤事例と プロダクトにおける Edge AI Technology の展望 株式会社メルカリ 中河 宏⽂ ⽒ 20:10 – 20:20 (休憩) 20:20 – 21:00 Fireside Chat: merpay の AML 基盤における AWS Fargate 活用事例、 その選定理由 株式会社メルカリ ⾼橋 三徳 ⽒ Amazon Web Services Japan 原、塚⽥ #AWSLoft #Kubernetes #Fargate
  • 3. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ⾃⼰紹介 松⽥ 和樹(まつだ かずき) • アマゾン ウェブ サービス ジャパン株式会社 スタートアップ ソリューションアーキテクト • ネット広告代理店 → スタートアップ → AWS • #Container #BigData #DevOps #Serverless • 好きな AWS のサービス: AWS Fargate, Chalice
  • 4. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. アジェンダ コンテナとは コンテナオーケストレーション イメージレジストリ、コンテナ実⾏環境 その他のコンテナ関連サービス 現実世界のコンテナワークロード
  • 5. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. コンテナとは
  • 6. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. アプリケーションを構成するコンポーネント ランタイム/エンジン アプリケーションコード 依存ライブラリ/パッケージ 設定
  • 7. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ローカルでは動いたけど、本番で動かない︖ ローカルラップトップ ステージング / QA 本番 🔥 v6.0.0 v7.0.0 v4.0.0
  • 8. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 「コンテナ」という解決策 ランタイム/エンジン アプリケーションコード 依存ライブラリ/パッケージ
  • 9. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. コンテナとは? 「リソースが隔離されたプロセス」 • 1つの OS 上で複数同時稼働可能なプロセスの実行環境を提供するもの • 各々で独立したルートファイルシステム、CPU・メモリ、プロセス空間等を 利用可能 Bins/Libs App2 Process Infrastructure Operating System Container Engine Infrastructure Hypervisor Guest OS Bins/Libs App2 Guest OS Bins/Libs App1 VM VM App1 Bins/Libs Process コンテナ仮想マシン
  • 10. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. コンテナ技術の標準となった Docker nオープンソースプロジェクト ü dotCloud社 (現 Docker社)が開発、2013 年に オープンソースプロジェクトとして公開 ü 現在は OCI (Open Container Initiative) で仕様策定 nLinux / macOS / Windows 等で稼働 ü 実行環境として Docker Engine を インストールし、Docker コンテナを稼働 n高まる Dev と Ops 双方の需要に対応 ü よりスケーラブルに、より早く、より柔軟に ü コンピューティングリソース効率の向上 ü 開発・テスト・本番などの環境に応じた用途
  • 11. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 全ての環境で同じコンテナを動かす ローカルラップトップ ステージング / QA 本番
  • 12. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. $ docker push … Dockerを利⽤した基本的ワークフロー - コンテナイメージ作成 - # yum update … # yum install … # echo ‘Hey, Yo!’ Dockerfile $ docker build … コンテナイメージ $ docker run … コンテナ内作業 $ docker commit … イメージレジストリ
  • 13. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Dockerを利⽤した基本的ワークフロー - コンテナ実⾏ - イメージレジストリ $ ssh … $ docker pull … $ docker run … ・・・
  • 14. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 思っていたよりも⼿作業︖ • Docker の責務は同⼀サーバ上のコンテナライフサイクル管理 • 複数サーバやコンテナを束ねた概念に対するオペレーションはスコープ外
  • 15. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. コンテナオーケストレーション
  • 16. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ⼿作業でのコンテナイメージダウンロードと実⾏は ⾮効率かつミスオペレーションを招く
  • 17. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 「このEC2インスタンスの クラスタでコンテナを 実⾏したいです」 「このコンテナを3つのAZに 分散させて10個デプロイして、 このロードバランサーに つないでください」
  • 18. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Elastic Container Service (ECS) • クラウドでコンテナを本番環境利⽤す るためのオーケストレーター • 各種 AWS サービスとの⾼度な連携 • 数億コンテナ/週、数百万 EC2 インス タンスを管理するスケーラビリティー • 多様なワークロードをサポートする 「タスク」「サービス」というシンプ ルなリソース表現 • Linux / Windows サポート
  • 19. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon ECS Customers - from Startups to Fortune 500 companies
  • 20. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 21. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. の Kubernetes ユーザーが AWS 上 でワークロードを動かしている —CNCF survey
  • 22. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Elastic Kubernetes Service
  • 23. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. mycluster.eks.amazonaws.com Availability Zone 1 Availability Zone 2 Availability Zone 3 kubectl
  • 24. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Elastic Kubernetes Service (EKS) • 運⽤難易度の⾼い Kubernetes マスターをマネージドで提供 • エコシステムの OSS やツールを利⽤で きる, CNCF certified • 各種 AWS サービスとの連携 • EKS サービスチーム、OSS チームによ る Kubernetes コミュニティへの貢献 • オープンソース • “Pod”, ”Deployment”, “Service”, “Job” などのリソースに代表される⾼い表現⼒
  • 25. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. イメージレジストリ
  • 26. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. イメージレジストリ
  • 27. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Elastic Container Registry (ECR) • フルマネージドなプライベート コンテナイメージレジストリ • セキュア – 保管イメージの⾃動的な 暗号化、IAM 連携 • スケーラブルかつ⾼い可⽤性 • Docker CLI からの利⽤ • ECS / EKS / Kubernetes だけでなく、 その他コンテナオーケストレーター からも利⽤可能
  • 28. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. コンテナ実⾏環境
  • 29. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. コンテナ実⾏環境
  • 30. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EC2 インスタンス ECS Agent Docker Agent OS 実⾏環境 EC2 インスタンスの運⽤業務 OS やエージェント類へのパッチ当て・更新 実⾏中のコンテナ数に基づく、最適なリソース 使⽤率を保つための EC2 インスタンス数のス ケーリング
  • 31. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS マネージド EC2 インスタンスのプロビジョン、スケール、管理不要 コンテナネイティブ 仮想マシンを意識しないシームレスなスケーリング コンテナの起動時間・使⽤リソースに応じた料⾦設定 AWS サービスとの連携 VPC ネットワーキング、Elastic Load Balancing、IAM、 CloudWatch、etc. AWS Fargate
  • 32. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 33. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 「このコンテナをFargateで 3つのAZに分散させて 10個デプロイして、 このロードバランサーに つないでください」 「このコンテナを 3つのAZに分散させて 10個デプロイして、 このロードバランサーに つないでください」
  • 34. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Fargate のメリット Fargate を利⽤すれば以下のすべてを AWS 側にアウトソース可能 • EC2 インスタンスのプロビジョニングや管理 • 脆弱性対応のためのパッチ当てや OS アップグレード • EC2 インスタンス上で動くエージェント類のアップグレード • クラスタ内の EC2 インスタンス群それぞれの上で動くエージェント類やソフトウェアバー ジョンの整合性維持 • などなど… • 状態異常が発⽣した EC2 インスタンスの再起動や⼊れ替え • ホストレベルのスケーリング管理 • Not only containers
  • 35. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Fargate のコストについて Fargate の⽅が利⽤状況に対して最適化されることが多い • 単純⽐較だと、オンデマンド⽐で約1.17倍 • EC2 (m5.xlarge) : $0.124/h • Fargate (2vCPU, 8GB) : $0.14536/h ※ 東京リージョンで試算 • EC2 利⽤時に、全リソースをアプリケーションに割り当てることは 現実的に難しい • モニタリングツールやコンテナの再配置など • 実際の運⽤では、50〜70% 程度の利⽤率に抑えることが多いのではないか • Fargate の⽅がより細かい単位でスケール可能 • 最⼩で 0.25vCPU, 0.5GB でタスクを実⾏可能
  • 36. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ”クラスタの⼦守はしたくない。 私たちにとってはクラスタ管理 から⽣まれる価値は何もない。 ” Shimon Tolts CTO, DATREE “インフラの管理をせずにスケールでき、 かつネットワークのきめ細やかな制御 ができることが私たちにとって必要で あり、それこそが Fargate に移⾏した 理由です。” Product Hunt AWS Fargate customers
  • 37. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. その他のコンテナ関連サービス
  • 38. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Cloud Map クラウドリソースのためのサービスディスカバリ 各リソースに対する継続的なヘルスチェック ディスカバリ対象サービスの変更に合わせた動的な更新 開発⽣産性の向上 全アプリケーションリソースをディスカバリ可能な単⼀のレジストリ ユーザーフレンドリーな名前の設定 AWS コンテナサービスとの連携 AWS Fargate Amazon ECS Amazon EKS AWS Cloud Map
  • 39. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS App Mesh アプリケーションレベルのネットワーク ログ・メトリクス・トレース情報の容易な出⼒ クライアントサイドのトラフィック・ルーティングポリシー 単⼀のクラスタやコンテナサービスを超えて動作 Amazon ECS Amazon EKS Kubernetes on EC2 AWS Fargate Amazon EC2 マネージド コントロールプレーンの管理不要 容易なオペレーション ⾼いスケーラビリティ
  • 40. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • コンテナワークロードのため のモニタリングサービス • ⾃動ダッシュボードによる可 視化、フィルタリング • CloudWatch Logs Insights 併 ⽤による⾼度な分析 • Amazon ECS, AWS Fargate, Amazon EKS, Kubernetes を サポート Preview Amazon CloudWatch Container Insights (Public Preview)
  • 41. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CloudWatch Container Insights (Public Preview) Preview
  • 42. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 現実世界のコンテナワークロード
  • 43. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AmazonEC2 Source Build/Test Deploy AWS CodeCommit AWS CodeBuild Amazon Aurora Amazon S3 Developer Control plane Data plane Backing service Registry CI/CD pipeline AWS CodePipelineAWS CodeDeploy AWS Secrets Manager Parameter Store Secrets/Configs 周辺を⽀えるサービス群
  • 44. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. コンピューティングの多様な選択肢 適切なコンピューティングサービスの選択が重要 Functions Containers Virtual Machines 運⽤コスト低 コントロール範囲
  • 45. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. まとめ: AWS のコンテナ関連サービス AWS Cloud Map オーケストレーション コンテナのデプロイ、スケジューリング、スケーリング イメージレジストリ コンテナイメージの格納 ホスティング コンテナ実⾏環境 アプリケーションレベル サービスメッシュ、サービスディスカバリ Amazon EC2
  • 46. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you!