Recommended
PPTX
Game Architecture Trends in Tokyo Kansai Social Game Study#5
PPTX
Programming AWS with Python
PPTX
AI & Deep Learning on AWS at CTO Night&Day 2016 Winter
PPTX
PPTX
EC2 Deep Dive at CTO Night&Day 2016
PDF
PDF
PPTX
NoSQL on AWSで作る最新ソーシャルゲームアーキテクチャ
PDF
Ivsctonightandday2016winter moringsession awsreinvent2016recap
PPTX
[JAWS-UG AI支部] AWS AIアップデート
PDF
はじめてのAmazon RDS for PostgreSQL
PPTX
PPTX
スケーラブルな Deep Leaning フレームワーク "Apache MXNet” を AWS で学ぶ
PPTX
Azure Cosmos DB のキホンと使いドコロ
PDF
データレイクを基盤としたAWS上での機械学習サービス構築
PDF
Using Amazon Aurora for Enterprise Workloads
PPTX
PPTX
PDF
[JAWSBigData#11]Cloudera on AWSと Amazon EMRを両方本番運用し 3つの観点から比較してみる
PDF
AWS サービスアップデートまとめ re:Invent 2017 直前編
PDF
AWS Black Belt Online Seminar 2017 Amazon S3
PDF
AWSにおけるバッチ処理の ベストプラクティス - Developers.IO Meetup 05
PPTX
PDF
20161027 hadoop summit Generating Recommendations at Amazon Scale with Apach...
PPTX
Elasticsearch+nodejs+dynamodbで作る全社システム基盤
PPTX
クラウドデザイン パターンに見るクラウドファーストなアプリケーション設計 Data Management編
PPTX
JAWS-UG CLI #22 Amazon Kinesis
PDF
PPTX
PDF
More Related Content
PPTX
Game Architecture Trends in Tokyo Kansai Social Game Study#5
PPTX
Programming AWS with Python
PPTX
AI & Deep Learning on AWS at CTO Night&Day 2016 Winter
PPTX
PPTX
EC2 Deep Dive at CTO Night&Day 2016
PDF
PDF
PPTX
NoSQL on AWSで作る最新ソーシャルゲームアーキテクチャ
What's hot
PDF
Ivsctonightandday2016winter moringsession awsreinvent2016recap
PPTX
[JAWS-UG AI支部] AWS AIアップデート
PDF
はじめてのAmazon RDS for PostgreSQL
PPTX
PPTX
スケーラブルな Deep Leaning フレームワーク "Apache MXNet” を AWS で学ぶ
PPTX
Azure Cosmos DB のキホンと使いドコロ
PDF
データレイクを基盤としたAWS上での機械学習サービス構築
PDF
Using Amazon Aurora for Enterprise Workloads
PPTX
PPTX
PDF
[JAWSBigData#11]Cloudera on AWSと Amazon EMRを両方本番運用し 3つの観点から比較してみる
PDF
AWS サービスアップデートまとめ re:Invent 2017 直前編
PDF
AWS Black Belt Online Seminar 2017 Amazon S3
PDF
AWSにおけるバッチ処理の ベストプラクティス - Developers.IO Meetup 05
PPTX
PDF
20161027 hadoop summit Generating Recommendations at Amazon Scale with Apach...
PPTX
Elasticsearch+nodejs+dynamodbで作る全社システム基盤
PPTX
クラウドデザイン パターンに見るクラウドファーストなアプリケーション設計 Data Management編
PPTX
JAWS-UG CLI #22 Amazon Kinesis
PDF
Viewers also liked
PPTX
PDF
PDF
PPTX
PPTX
PPTX
MongoDB and AWS: Integrations
PPTX
Running MongoDB 3.0 on AWS
PDF
[110730/아꿈사발표자료] mongo db 완벽 가이드 : 7장 '고급기능'
PDF
PPTX
PDF
Mongo db monitoring 어떤 것이 좋을까(mongodb korea, 김인범)
PPTX
An Introduction to MongoDB Ops Manager
PPTX
PPTX
PDF
PDF
An overview of Amazon Athena
PDF
PDF
Similar to Scaling MongoDB on AWS
PDF
EC2のストレージどう使う? -Instance Storageを理解して高速IOを上手に活用!-
PDF
Developers.IO 2017 MongoDB on AWS Advance
PDF
[AWSマイスターシリーズ] Amazon Elastic Compute Cloud HPC編
PDF
ゲームインフラと解析基盤 そのものの考え方を変えるAWS
PPTX
Amazon RDS for PostgreSQL ( JPUG 2014夏セミナー) #jpug
PDF
20140315 jawsdays i2 instance io performance
PDF
SAPでクラウドはじめてみませんか? AWS and Azure
PDF
[AKIBA.AWS] EC2の基礎 - パフォーマンスを100%引き出すオプション設定 -
PDF
20180425 AWS Black Belt Online Seminar Amazon Relational Database Service (Am...
PDF
Db2をAWS上に構築する際のヒント&TIPS 2020年6月版
PDF
なぜソーシャルゲームはクラウドなのか? ~AWSの成功事例を紐解く~
PDF
[MongoDB勉強会 in 2017] MongoDB on AWS
PDF
DB2をAWS上に構築する際のヒント&TIPS 2018年1月版
PPTX
Db2をAWS上に構築する際のヒント&TIPS 2019年7月版
PPTX
PDF
Amazon Web Servicesのご紹介 - 東北クラウド実践カンファレンス2011
PDF
20120409 aws meister-reloaded-dynamo-db
PPTX
PDF
AWS Blackbelt 2015シリーズ RDS
PDF
[AWSマイスターシリーズ] Amazon Redshift
More from Yasuhiro Matsuo
PDF
2018512 AWS上での機械学習システムの構築とSageMaker
PDF
20180512 AWS SageMakerを初めて使うガイド
PDF
AWSでの機械学習におけるデータレイク・GPU実行環境
PDF
20180309 DLIもくもく会 Deep Learning on AWS
PPTX
PPTX
JAWS-UG AI支部 #2 re:Invent アップデート
PPTX
PPTX
PPTX
JAWS目黒 EC2チューニングTips #jawsmeguro #jawsug
PPTX
PPTX
PPTX
MongoDB on EC2 #mongodbcasual
Scaling MongoDB on AWS 1. 2. 自己紹介
Name:松尾康博 ( @understeer )
Company:Amazon Data Services Japan
Job:Solutions Architect
Famous AWS Services :
High Performance Instance
High Performance Storage
Community
MongoDB-JP
Copyright © 2013 Amazon Data Services Japan
3. 4. 5. AWSの様々なサービス
お客様のアプリケーション
ライブラリ & SDKs
Java, PHP, .NET,
Python, Ruby,
node.js
IDEプラグイン
Eclipse
Visual Studio
Web管理画面
Management
Console
認証
AWS IAM
メッセージ
Amazon SNS
Amazon SQS
Amazon SES
デプロイと自動化
モニタリング
Amazon
CloudWatch
検索エンジン
Amazon Cloud Search
AWS Elastic Beanstalk
AWS Cloud Formation
AWS OpsWorks
ワークフロー管理
Amazon SWF
AWS DataPipeline
コンテンツ配信
分散処理
トランスコード
Amazon CloudFront
Elastic MapReduce
データベース
Amazon S3
Amazon EBS
Amazon Glacier
AWS StorageGateway
Amazon RDS
Amazon DynamoDB
Amazon ElastiCache
Amazon Redshift
Application
Service
Amazon Elastic Transcoder
ストレージ
コンピュータ処理
Amazon EC2
Auto Scale
ネットワーク & ルーティング
Amazon VPC / Amazon Elastic Load Balancer / Amazon Route 53 /AWS Direct Connect
5 Region
Development &
Administration
AZ
AWS グローバルインフラ
Geographical Regions, Availability Zones, Points of Presence
Infrastructure
Service
6. 7. 8. 9. 10. 11. 12. Easy to start a single node
AWS マーケットプレイス
MongoDB 2.4.8がプリインストールされたイメージを無償提供
• https://aws.amazon.com/marketplace/pp/B00COAAEH8/
Copyright © 2013 Amazon Data Services Japan
13. Easy to start a single node
AWS マーケットプレイス
MongoDB がプリインストールされたイメージを無償提供
• https://aws.amazon.com/marketplace/pp/B007IBMJPI/
手順も公開
• http://www.mongodb.org/display/DOCS/AWS+Marketplace
Copyright © 2013 Amazon Data Services Japan
14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 3.75 m1.medium
7.5 m1.large
15 m1.xlarge
17.1 m2.xlarge …
34.2 m2.2xlarge
68.4 m2.4xlarge
60.5 c3.8xlarge
244 cr1.8xlarge
GBメモリ
Copyright © 2013 Amazon Data Services Japan
24. High I/O 4XL 60.5 GB
35 EC2 Compute Units
16 virtual cores
2*1024 GB SSD-based local instance storage
High Storage 8XL 117 GB
35 EC2 Compute Units,
24 * 2 TB ephemeral drives
10 GB Ethernet
256
Hi-Mem 2XL 34.2 GB
13 EC2 Compute Units
4 virtual cores
64
Memory (GB)
M3 XL 15 GB
13 EC2 Compute Units 4
virtual cores
EBS storage only
Medium 3.7 GB,
2 EC2 Compute Units
1 virtual core
Large 7.5 GB
4 EC2 Compute Units
2 virtual cores
4
2
Cluster GPU 4XL 22 GB
33.5 EC2 Compute Units,
2 x NVIDIA Tesla “Fermi”
M2050 GPUs
Extra Large 15 GB
8 EC2 Compute Units
4 virtual cores
16
Cluster Compute 8XL 60.5 GB
88 EC2 Compute Units
Cluster Compute 4XL 23 GB
33.5 EC2 Compute Units
Hi-Mem XL 17.1 GB
6.5 EC2 Compute Units
2 virtual cores
32
8
10 GB
InterInstance
Network
Hi-Mem 4XL 68.4 GB
26 EC2 Compute Units
8 virtual cores
128
Hi-Mem Cluster Compute 8XL 244
GB
88 EC2 Compute Units
16 virtual cores
240 GB SSD
Small 1.7 GB,
1 EC2 Compute Unit
1 virtual core
M3 2XL 30 GB
26 EC2 Compute Units 8
virtual cores
EBS storage only
High-CPU XL 7 GB
20 EC2 Compute Units
8 virtual cores
High-CPU Med 1.7 GB
5 EC2 Compute Units
2 virtual cores
Micro 613 MB
Up to 2 ECUs (for
short bursts)
1
1
2
4
8
16
32
EC2 Compute Units
64 128 256
25. 26. 27. 28. 29. 30. New Instances まとめ
ファミリー (6)
汎用
General Purpose
M1
M3
コンピューティング最適化
Compute Optimized
C1
CC2
メモリ最適化
Memory Optimized
M2
CR1
ストレージ最適化
Storage Optimized
HI1
HS1
マイクロインスタンス
Micro
T1
GPUインスタンス
GPU
30
タイプ (10)
CG1
新しいタイプ (3)
C3
I2
G2
31. 32. Test: random 4k reads
EBS One Volume: ~200 MongoOPS
Loaded instance: ~ 1000 MongoOPS
+
4,000 MongoOPS
Loaded Instance: 80,000 MongoOPS
PIOPS One Volume:
SSD
I2 SSD: ~180,000 MongoOPS
Copyright © 2013 Amazon Data Services Japan
33. Test: random 4k reads
+
PIOPS
EBS
Copyright © 2013 Amazon Data Services Japan
SSD
34. 35. 36. Ext4 or XFS, noatime
Raise file descriptor limits
Set disk read-ahead
No large virtual memory pages
Freeze IO’s during snapshots
Copyright © 2013 Amazon Data Services Japan
Fast!!!
Stable
Config Tips
37. 39. 40. 41. 42. 43. SnapDish by Vuzz.inc
• Replicaset( 2 nodes +arb)
• 1000 PIOPS EBS RAID10
• hi1.4xlarge + SSD
• GridFS – photos from users
• GeoIndex – location of photo
AWSを利用することで、インフラ管理を自分で全部で
きるのでコスト削減に役立っています。あと、アプリ
開発により時間がとれるので、サービスの向上に繋
がっています。
Copyright © 2013 Amazon Data Services Japan
Vuzz CTO 清田史和様
44. 45. ELB
Web Server
Web Server
Web Server+
Apache
CakePHP
Cloud Front
Web Server
Web Server
Web Server
Apache +
CakePHP
ap-northeast-1a:c1.medium *
nap-northeast-1c:c1.medium * n
Admin Server
ElastiCache
Mongo DBPrimary
Jenkins Server
github
Mongo
DBSecondary
Mongo
DBSecondary
ap-northeast-1a:m3.2xlarge * 2
ap-northeast-1c:m3.2xlarge * 1
Batch Server
S3
46. 47. Editor's Notes #27 Cc1 – bargain on the spot market! #28 Cc1 – bargain on the spot market! #30 Cc1 – bargain on the spot market!