Weitere ähnliche Inhalte Ähnlich wie AWS Lambdaによるデータ処理理の⾃自動化とコモディティ化 (20) Mehr von Amazon Web Services Japan (20) Kürzlich hochgeladen (10) AWS Lambdaによるデータ処理理の⾃自動化とコモディティ化7. 7
TECHNICAL &
BUSINESS
SUPPORT
Account
Management
Support
Professional
Services
Solutions
Architects
Training &
Certification
Security
& Pricing
Reports
Partner
Ecosystem
AWS
MARKETPLACE
Backup
Big Data
& HPC
Business
Apps
Databases
Development
Industry
Solutions
Security
MANAGEMENT
TOOLS
Queuing
Notifications
Search
Orchestration
Email
ENTERPRISE
APPS
Virtual
Desktops
Storage
Gateway
Sharing &
Collaboration
Email &
Calendaring
Directories
HYBRID CLOUD
MANAGEMENT
Backups
Deployment
Direct
Connect
Identity
Federation
Integrated
Management
SECURITY &
MANAGEMENT
Virtual Private
Networks
Identity &
Access
Encryption
Keys Configuration Monitoring Dedicated
INFRASTRUCTURE
SERVICES
Regions
Availability
Zones Compute
Storage
Objects, Blocks,
Files
Databases
SQL, NoSQL,
Caching
CDNNetworking
PLATFORM
SERVICES
APP
Mobile
& Web
Front-end
Functions
Identity
Data Store
Real-time
DEVELOPMENT
Containers
Source
Code
Build
Tools
Deployment
DevOps
MOBILE
Sync
Identity
Push
Notifications
Mobile
Analytics
Mobile
Backend
ANALYTICS
Data
Warehousing
Hadoop
Streaming
Data
Pipelines
Machine
Learning
11. 11
Bring your own code
• Node.js, Javaで書かれたコード
を実⾏行行
• コード内では以下も可能
– スレッド/プロセスの⽣生成
– バッチスクリプトや何らかの実⾏行行
ファイルの実⾏行行
– /tmpのread/write
• 各種ライブラリも利利⽤用可能
– ネイティブライブラリも可能
– 利利⽤用するライブラリを⼀一緒にアップ
ロード
21. If..Then.. with AWS Lambda!
S3
Amazon S3
Consumer
Game DB
Game
Servers
Kinesis
Amazon
Redshift
Amazon
Elastic
MapReduce
DSV
JSON
多くのIf..Then..は
Lambdaで⾃自動化できる ( )
25. 25
Collect
Process
Analyze
Store
プリミティブなパターン
Data Collection
and Storage
Data
Processing
Event
Processing
Data
Analysis
28. 28
AWS Lambda as a pipeline glue
Collect
Process
Analyze
Store
Data Collection
and Storage
Data
Processing
Event
Processing
Data
Analysis
39. 39
Scalable & Responsive Big Data Interface with
AWS Lambda at FireEye
http://blogs.aws.amazon.com/bigdata/post/Tx3KH6BEUL2SGVA/Building-Scalable-and-Responsive-Big-Data-Interfaces-
with-AWS-Lambda
• Lambda+S3で、
サーバを全く使わな
い分析環境
– 脅威分析、異異常検知等
• Web UIへのクエリを
複数のLambda
functionを⾮非同期に
呼び出して処理理
40. 40
API
Gateway
Slack
Lambda
ECS
Lambda S3
Aurora
Outgoing Webhook
- cluster name
- # of tasks
- commands
RunTasks
- cluster name
- # of tasks
- commands as environment variables
- output location
Output STDOUT as file
Spin up containers and run tasks
Incoming Webhook
- Read file from S3 and emit it to Slack
データ処理理ではないけれども・・・ Sysbenchの分散起動を
Slack+AWS API Gateway+AWS Lambda+Amazon ECSで実装
43. 43
AWS Lambda enables...
AWS Lambda
If Then
Amazon
DynamoDB
Amazon Kinesis
Amazon S3
Amazon EMR
Amazon
Redshift
Amazon
Machine Learning
Amazon
API Gateway
Amazon ECS
With your code!