2. Powerd by
Who am I ?
- 1 -
髙橋 ゆうき (@ukitiyan)
- Stylez Corp.
Technology Strategy Group
Lead Developer
- Japan ownCloud UserGroup
Member
サーバサイドアプリエンジニア 。ownCloudは
PHPだけど、主にJava。
SoftLayer本に寄稿してるけど、主にAWS。
3. Powerd by
About Us
- 2 -
会社名 株式会社スタイルズ
所在地 東京都千代田区神田小川町1丁目2番地
URL https://www.stylez.co.jp/
設 立 平成15年12月5日
(創業:平成5年11月17日)
代表者 梶原 稔尚
社員数 93名(平成28年6月1日現在)
資本金 3,000万円
4. Powerd by
- 3 -
長年、エンタープライズのシステムを開発してきた
アプリ育ちなメンバーによるクラウドで提供される
マネージドサービスの利用を前提とした、クラウドネ
イティブなシステムの開発・運用事業。
Powered by
21. Powerd by
- 20 -
Serverless Architecture
100% AWS Managed Service
Full Scale Out
User Info.
GPS Info.
Authentication API
STS Token
MQTT PUT
Search API
22. Powerd by
②Get STS Token
Amazon API
Gateway
AWS
Lambda
Amazon
RDS
Amazon
Cognito
AWS IoT
①Authentication
Request
③Put GPS Info.
(MQTT)
API Server
Authentication
Provider
User Info.
Authentication + MQTT
- 21 -
25. Powerd by
API + Management Console
- 24 -
Amazon
DynamoDB
Amazon
RDS
API
API Device
System
Trackrr
Management Console
API Server
Management
Console
Server
User Info.
GPS Info.
27. Powerd by
スモールスタート
- 26 -
1,000k
API calls
are free
250k
messages
are free
$14.51 per
provisioned
shard-month 1,000k
Requests are free
db.t2.micro instance
is free
two t2.micro
instances
are $ 14.28
25 units of
read/write
capacity are free*
1,000k synchronous
operation are free
33. Powerd by
変更への柔軟な対応
- 32 -
client
front database
Web Layer
Service Layer
Repository Layer
DTO
Domain
Model
Service
Application
Layer Base
Before serverless
34. Powerd by
変更への柔軟な対応
- 33 -
client
Publish
Application
Authenticati
on
Application
Serialize
Application
Queueing
Application
front
database
Service
Application
Base
38. Powerd by
ステートフルな機能
- 37 -
UIを伴うようなステートフルな機能は、割り切ってインスタ
ンスを起動して対応
API Service
Management
Console
上記で実装するServiceロジック等
コードベースが共通な機能は無理に
Serverless化しない CODE BASE