SlideShare une entreprise Scribd logo
1  sur  51
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
入社半年での開発ストーリー
- 千人規模の顔認証受付サービスを
1ヶ月で作った話 -
アマゾン ウェブ サービス ジャパン株式会社
アソシエイト ソリューション アーキテクト
針原 佳貴
2019.02.14 [14-C-5] 14:10 – 14:55
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
これは5人の “新卒” SA のストーリーです
• 2018年4月 アマゾン ウェブ サービス (AWS) Japan に入社
• 新卒と言っても全員大学院卒 (5人に3人は博士持ち)
Name:
Like:
2
針原 飯塚 奥野 石見 宮本
ドラム ガジェット 宇宙 テニス 動画
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Introduction
入社からプロジェクト開始まで
3
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
新卒のための技術研修
4
Tech-U という教育プログラム 洗練された学習コース 数多くのサービスを短期間で学ぶ
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
しばらく経つと…
5
元々決められたことをやるのがすごく苦手なので、
物足りなくなって、何か新しいことを始めたいと思うようになった
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
6月に入って、ある時急に
6
マネージャーが5人を
お昼ご飯に誘ってくれた
「6月末に1週間のシアトル出張ね」
見どころは
Starbucks とか!?
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
というわけで、シアトルへ
7
Photo by MILKOVÍ on Unsplash
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates.All rights reserved. 8
Amazon GO
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Just Walk Out
9
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
日本未発売の AWS DeepLens も
10
AWS IoT Greengrass
Lambda
function
機器学習モデル
動画
ストリーミング出力
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Capstone: まとめプロジェクト
11
Photo by Jeremy Bishop on Unsplash
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Capstone Project
Simple Location Finder
12
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
まずはじめに
• 2 pager と呼ばれるドキュメントを書いた
• PR/FAQ (後述) の短縮版
• 目的、アーキテクチャ、予算など
• 今回は要望の多かったオフィスでの人探しサービスを顔認識で
• 新オフィスに移転
• フリーアドレスになったので「誰がどこにいるか分かるサービスが欲しい」と要望が
13
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Simple Location Finder (Architecture)
14
SAs
DeviceService
bucket with
objects
Lambda
function
Amazon
Rekognition
RecognitionService
Amazon
API Gateway
DataService Frontend
Amazon
DynamoDB
Office/17F/West
Amazon
DynamoDB
Data lake Web Hosting
Vue.js
Amazon
Cognito
SAs
Office/17F/North
SAs
Office/17F/East
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
小規模のテスト運用
• 5段階のアンケートでも好評 (サンプル7人)
15
気に入った
⭐4.86
抵抗感問題ない
⭐4.86
人に勧めたい
⭐4.43
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
9月12日頃…
• 10月下旬にある Amazon/AWS 合同 「All Hands」 ミーティングの相談
• イベントに参加する人に Wow! と思ってもらえるような体験を提供したい
• 「このプロジェクト、興味ありますか?」と言われ、やりたいと即答
16
Benjamin Child Unsplash
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Face Recognition Gate
10月の社内イベントに向けて
17
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Invent and Simplify
18
これを会場でやって
本当に便利かは謎と思った
イベントの受付を
顔認証で
たしかに顔認識での人探しは
Invent and Simplify
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
でも冷静に考えると
19
イベントまで
あと1ヶ月しかない
厳しいセキュリティ基準
(セキュリティはAWS の最優先事項)
5人で作れる?
ちゃんとした運用ってやったことない
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
まずはじめに考えたのは
• PR/FAQ
• Press Release + 質問集
• インターナルのプレスリリースで価値を明確に
定義
• 例 (AmazonGuardDutyの Press release)
• タイトル
• 日付
• 本文
20
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
PR/FAQ (要約)
Press Release (PR)
• 10月の社内イベント向けのサービス。素早く・簡単に入場できる
• 顔認証と、社員証の所持 (目視) を合わせた2要素認証
• 事前登録は社員証の写真で行える
FAQ
• 誰が作っているか?
• 5人のTech-U メンバー
• データは保存されるか?
• 顔写真は保存されません
• イベント後のデータの取扱いは?
• 証跡管理のための運用記録だけ残し、残りのデータは AWS アカウントごと削除
• 他の手段で入場できるか?
• 社員証による入場も可
21
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Design
入場ゲートの全体像とデバイスの選定
22
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Amazon Rekognition
- Deep Learning を用いた画像分析 API サービス
- SearchFacesByImage API で、送った画像に似た登録済みの FaceID を検索する機能を提
供。
- 我々が試した時は応答時間は RTT で 500 ms ほど (注: 環境による) だったので、
Rekognition に送ればイベント受付でリアルタイムの認証が実現可能
23
Amazon Rekognition
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Rekognition が簡単に使えるとはいえ
24
そのまま画像を送りつけると
結構遅い (1秒ぐらいかかる)
先に顔の周りを切り取って
Rekognition に送る
顔検出は
学習済みのモデルを呼び出し
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
受付で用いるデバイス
- 撮影・切出し・API 呼出・結果表示
- ラップトップ
- ディスプレイ (ユーザー確認用)
- USB カメラ
- デスクライトで明るさを補正
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
待ち行列 先頭
WAIT STOP
Camera
50 cm180 cm
移動するだけで
2秒ぐらいかかる!
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
通過時間の試算
- Rekognition 1試行 500 ms
- 登録済みの人が 1秒 (2回) 試せば 99% の確率で通るよう閾値 (= 91) を設定
- 注1: Face Model のバージョンによって値は変わります。(当時の v3 での結果をもとに算定)
- 注2: 期間が限られていたため少ないサンプル数での結果です。環境・要件によって適切な閾値は変
化します。
28
待ち行列 先頭
WAIT STOP
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
事前のテスト
• UI/UX の重要性
• 「認識中」を表示
• 認証失敗の一番の原因は登録もれ
• 今回も概ね好評
29
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Our Architecture
Secure, Scalable Serverless AI Application
30
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Display
AWS Cloud
31
Overall Architecture
Edge Device
NG OK
受付
スタッフ
User
Name
画像
結果
Lambda
function
Amazon DynamoDB
Amazon Rekognition
Amazon CloudWatch
AWS CloudTrail
写真
+ 名前
S3
Bucket
S3 BucketAPI
操作履歴 Archive
AWS Cloud
USB カメラ
Temporary
security
credential
FaceID
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Display
AWS Cloud
32
Overall Architecture (登録)
Edge Device
NG OK
受付
スタッフ
User
Name
画像
結果
Amazon CloudWatch
AWS CloudTrail
S3 BucketAPI
操作履歴 Archive
AWS Cloud
USB カメラ
Temporary
security
credential
FaceID Lambda
function
Amazon DynamoDB
Amazon Rekognition
写真
+ 名前
S3
Bucket
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Amazon CloudWatch
AWS CloudTrail
AWS Cloud
33
Overall Architecture (認証)
S3 BucketAPI
操作履歴 Archive
AWS Cloud
Lambda
function
S3
Bucket
Display
Edge Device
NG OK
受付
スタッフ
User
Name
画像
結果
USB カメラ
Temporary
security
credential
FaceID
Amazon DynamoDB
Amazon Rekognition
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
USB カメラ
受付
スタッフ
Display
AWS Cloud
34
Overall Architecture (ログ)
Edge Device
NG OK
User
Name
画像
結果
Lambda
function
Amazon DynamoDB
Amazon Rekognition
S3
Bucket
FaceID
Amazon CloudWatch
AWS CloudTrail
S3 BucketAPI
操作履歴 Archive
AWS Cloud
Temporary
security
credential
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 35
Overall Architecture (イベント終了後)
Archive
AWS Cloud
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Display
AWS Cloud
36
Overall Architecture
Edge Device
NG OK
受付
スタッフ
User
Name
画像
結果
Lambda
function
Amazon DynamoDB
Amazon Rekognition
Amazon CloudWatch
AWS CloudTrail
S3
Bucket
S3 BucketAPI
操作履歴 Archive
AWS Cloud
USB カメラ
Temporary
security
credential
FaceID
写真
+ 名前
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Demo
DemoVideo
37
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
ユーザーへの表示
38
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Guideline
Security and Compliance
39
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
複数 AWS アカウントの利用
Develop アカウント
• IAM ユーザー
• Dev power user (開発)
• IAM ロール
• Client role (デバイス用)
• Admin role (環境構築)
• Rekognition
• 公開データセット + 5人
• CodeCommit レポジトリ
Production アカウント
• IAM ロール
• Client role
• Admin role
• Rekognition
• 実データ
40
Staging アカウント
• IAM ロール
• Client role
• Admin role
• Rekognition
• 公開データセット + 5人
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
セキュリティ上の考慮点
41
一時的な認証情報を利用
オフィスネットワークからの IP 制限
(VPN 接続経由)
顔認証のみではなく
社員証の所持と合わせた
2要素認証
API エンドポイントを
自前で作らない
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
その他考慮事項
• S3, DynamoDB はサーバーサイド暗号化
• TTL を指定し、一定時間経つと自動で削除
• 登録用の写真・認証用の画像は保存しない
• Rekognition image への入力画像は学習データとして用いられない (2018.10.17 時点)
• サービスチーム (Rekognition 開発チーム) に確認
• 東京リージョンのみを使用
• データが東京リージョンにのみ流れる
• RekognitionAPI のレスポンス時間を最小化
• サーバーレスによる高い可用性
• 東京リージョンが止まるような災害時はイベントがそもそも開催されない
42
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
当日設置した看板
• 登録は任意
• 一度登録しても画像・情報は
削除可能
• 使いたくなければ当日その場でも
社員証での入場を選択できる
43
顔認証ゲートでは
撮影を行います
• 撮影されることを望まない方は
バッジゲートにお並びください
• 撮影された画像は、顔認証の目的にのみ
使用されます
• 撮影された画像は、ゲート通過後速やか
に削除されます
顔認証
ゲート
バッジ
ゲート
バッジ
ゲート
バッジをご準備の上
列にお並びください
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Results
実際に運用してみた結果
44
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
Rekognition レスポンス時間
- ネットワーク環境に大きく依存
- オフィス ~ 500 ms
- ポケットWi-Fi ~ 700 ms
- 幅 120 px へリサイズすると
精度・速度のバランスが最適
45
(Order=2)
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
ゲート通過時間
- 目標: 2秒 / 人
- 実測: 3.38 秒 / 人
- ピーク時間帯の中央値
- 設計値に満たなかったのには様々な要因:
- ネットワーク環境 (単一リクエスト時間増)
- 現地の照明環境 (リトライ増)
- 類似度分布の変化 (成功確率減)
- メガネなど
46
メガネ あり / なし
閾値
(Face Model v3)
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
コスト
47
イベント当日のコストは $20 以下
Rekognition ($15), KMS ($2), CloudTrail ($2), etc…
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
ユーザーからの評価
48
5つ星のうち 4.53
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
まとめ
Ending
49
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
まとめ
50
Working Backwards が
アイディアを発展させる上での肝
AWS を使うと
新しいアイディアを思いついてから
短時間でサービス構築できる
個人のスキルも大事だけど
何より仲間との信頼関係が大事
© 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.
ありがとうございました!
51

Contenu connexe

Tendances

負荷試験ツールlocustを使おう
負荷試験ツールlocustを使おう負荷試験ツールlocustを使おう
負荷試験ツールlocustを使おうiRidge, Inc.
 
現場からみた Azure リファレンスアーキテクチャ答え合わせ
現場からみた Azure リファレンスアーキテクチャ答え合わせ現場からみた Azure リファレンスアーキテクチャ答え合わせ
現場からみた Azure リファレンスアーキテクチャ答え合わせKuniteru Asami
 
Datadog による Container の監視について
Datadog による Container の監視についてDatadog による Container の監視について
Datadog による Container の監視についてMasaya Aoyama
 
Kinesis Firehoseを使ってみた
Kinesis Firehoseを使ってみたKinesis Firehoseを使ってみた
Kinesis Firehoseを使ってみたdcubeio
 
組織の問題も解決するアーキテクチャ BackendsForFrontends
組織の問題も解決するアーキテクチャ BackendsForFrontends組織の問題も解決するアーキテクチャ BackendsForFrontends
組織の問題も解決するアーキテクチャ BackendsForFrontendsPIXTA Inc.
 
3分でわかるAzureでのService Principal
3分でわかるAzureでのService Principal3分でわかるAzureでのService Principal
3分でわかるAzureでのService PrincipalToru Makabe
 
研究用途でのAWSの利用事例と機械学習について
研究用途でのAWSの利用事例と機械学習について研究用途でのAWSの利用事例と機械学習について
研究用途でのAWSの利用事例と機械学習についてYasuhiro Matsuo
 
Azure AD による Web API の 保護
Azure AD による Web API の 保護 Azure AD による Web API の 保護
Azure AD による Web API の 保護 junichi anno
 
20201028 AWS Black Belt Online Seminar Amazon CloudFront deep dive
20201028 AWS Black Belt Online Seminar Amazon CloudFront deep dive20201028 AWS Black Belt Online Seminar Amazon CloudFront deep dive
20201028 AWS Black Belt Online Seminar Amazon CloudFront deep diveAmazon Web Services Japan
 
20190514 AWS Black Belt Online Seminar Amazon API Gateway
20190514 AWS Black Belt Online Seminar Amazon API Gateway 20190514 AWS Black Belt Online Seminar Amazon API Gateway
20190514 AWS Black Belt Online Seminar Amazon API Gateway Amazon Web Services Japan
 
AWS WAF を使いこなそう Security JAWS #13
AWS WAF を使いこなそう Security JAWS #13AWS WAF を使いこなそう Security JAWS #13
AWS WAF を使いこなそう Security JAWS #13YOJI WATANABE
 
20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems Manager20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems ManagerAmazon Web Services Japan
 
AWS WAF のマネージドルールって結局どれを選べばいいの?
AWS WAF のマネージドルールって結局どれを選べばいいの?AWS WAF のマネージドルールって結局どれを選べばいいの?
AWS WAF のマネージドルールって結局どれを選べばいいの?YOJI WATANABE
 
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか? [SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか? de:code 2017
 

Tendances (20)

全自動Zabbix
全自動Zabbix全自動Zabbix
全自動Zabbix
 
負荷試験ツールlocustを使おう
負荷試験ツールlocustを使おう負荷試験ツールlocustを使おう
負荷試験ツールlocustを使おう
 
現場からみた Azure リファレンスアーキテクチャ答え合わせ
現場からみた Azure リファレンスアーキテクチャ答え合わせ現場からみた Azure リファレンスアーキテクチャ答え合わせ
現場からみた Azure リファレンスアーキテクチャ答え合わせ
 
Datadog による Container の監視について
Datadog による Container の監視についてDatadog による Container の監視について
Datadog による Container の監視について
 
AWSからのメール送信
AWSからのメール送信AWSからのメール送信
AWSからのメール送信
 
Kinesis Firehoseを使ってみた
Kinesis Firehoseを使ってみたKinesis Firehoseを使ってみた
Kinesis Firehoseを使ってみた
 
組織の問題も解決するアーキテクチャ BackendsForFrontends
組織の問題も解決するアーキテクチャ BackendsForFrontends組織の問題も解決するアーキテクチャ BackendsForFrontends
組織の問題も解決するアーキテクチャ BackendsForFrontends
 
3分でわかるAzureでのService Principal
3分でわかるAzureでのService Principal3分でわかるAzureでのService Principal
3分でわかるAzureでのService Principal
 
vSphere環境での自動化とテスト
vSphere環境での自動化とテストvSphere環境での自動化とテスト
vSphere環境での自動化とテスト
 
研究用途でのAWSの利用事例と機械学習について
研究用途でのAWSの利用事例と機械学習について研究用途でのAWSの利用事例と機械学習について
研究用途でのAWSの利用事例と機械学習について
 
20211109 bleaの使い方(基本編)
20211109 bleaの使い方(基本編)20211109 bleaの使い方(基本編)
20211109 bleaの使い方(基本編)
 
Azure AD による Web API の 保護
Azure AD による Web API の 保護 Azure AD による Web API の 保護
Azure AD による Web API の 保護
 
20201028 AWS Black Belt Online Seminar Amazon CloudFront deep dive
20201028 AWS Black Belt Online Seminar Amazon CloudFront deep dive20201028 AWS Black Belt Online Seminar Amazon CloudFront deep dive
20201028 AWS Black Belt Online Seminar Amazon CloudFront deep dive
 
AWS OpsWorksハンズオン
AWS OpsWorksハンズオンAWS OpsWorksハンズオン
AWS OpsWorksハンズオン
 
20190514 AWS Black Belt Online Seminar Amazon API Gateway
20190514 AWS Black Belt Online Seminar Amazon API Gateway 20190514 AWS Black Belt Online Seminar Amazon API Gateway
20190514 AWS Black Belt Online Seminar Amazon API Gateway
 
Security hub workshop
Security hub workshopSecurity hub workshop
Security hub workshop
 
AWS WAF を使いこなそう Security JAWS #13
AWS WAF を使いこなそう Security JAWS #13AWS WAF を使いこなそう Security JAWS #13
AWS WAF を使いこなそう Security JAWS #13
 
20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems Manager20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems Manager
 
AWS WAF のマネージドルールって結局どれを選べばいいの?
AWS WAF のマネージドルールって結局どれを選べばいいの?AWS WAF のマネージドルールって結局どれを選べばいいの?
AWS WAF のマネージドルールって結局どれを選べばいいの?
 
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか? [SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
 

Similaire à 入社半年での開発ストーリー - 千人規模の顔認証受付サービスを 1ヶ月で作った話 -

Amazon Pinpoint を中心としたカスタマーエンゲージメントの全体像 / Customer Engagement On Amazon Pinpoint
Amazon Pinpoint を中心としたカスタマーエンゲージメントの全体像 / Customer Engagement On Amazon PinpointAmazon Pinpoint を中心としたカスタマーエンゲージメントの全体像 / Customer Engagement On Amazon Pinpoint
Amazon Pinpoint を中心としたカスタマーエンゲージメントの全体像 / Customer Engagement On Amazon PinpointAmazon Web Services Japan
 
[CTO Night & Day 2019] よくある課題を一気に解説!御社の技術レベルがアップする 2019 秋期講習 #ctonight
[CTO Night & Day 2019] よくある課題を一気に解説!御社の技術レベルがアップする 2019 秋期講習 #ctonight[CTO Night & Day 2019] よくある課題を一気に解説!御社の技術レベルがアップする 2019 秋期講習 #ctonight
[CTO Night & Day 2019] よくある課題を一気に解説!御社の技術レベルがアップする 2019 秋期講習 #ctonightAmazon Web Services Japan
 
[CTO Night & Day 2019] ML services: MLOps #ctonight
[CTO Night & Day 2019] ML services: MLOps #ctonight[CTO Night & Day 2019] ML services: MLOps #ctonight
[CTO Night & Day 2019] ML services: MLOps #ctonightAmazon Web Services Japan
 
AWS Black Belt Online Seminar 2018 Amazon Sumerian
AWS Black Belt Online Seminar 2018 Amazon SumerianAWS Black Belt Online Seminar 2018 Amazon Sumerian
AWS Black Belt Online Seminar 2018 Amazon SumerianAmazon Web Services Japan
 
[CTO Night & Day 2019] CTO のための一歩進んだコンテナ入門 #ctonight
[CTO Night & Day 2019] CTO のための一歩進んだコンテナ入門 #ctonight[CTO Night & Day 2019] CTO のための一歩進んだコンテナ入門 #ctonight
[CTO Night & Day 2019] CTO のための一歩進んだコンテナ入門 #ctonightAmazon Web Services Japan
 
AWS Black Belt Online Seminar 2018 Amazon WorkSpaces
AWS Black Belt Online Seminar 2018 Amazon WorkSpacesAWS Black Belt Online Seminar 2018 Amazon WorkSpaces
AWS Black Belt Online Seminar 2018 Amazon WorkSpacesAmazon Web Services Japan
 
20180207 AWS blackbelt online seminar Amazon Workspaces
20180207 AWS blackbelt online seminar Amazon Workspaces20180207 AWS blackbelt online seminar Amazon Workspaces
20180207 AWS blackbelt online seminar Amazon WorkspacesAmazon Web Services Japan
 
[CTO Night & Day 2019] 高可用性アーキテクチャについて考える #ctonight
[CTO Night & Day 2019] 高可用性アーキテクチャについて考える #ctonight[CTO Night & Day 2019] 高可用性アーキテクチャについて考える #ctonight
[CTO Night & Day 2019] 高可用性アーキテクチャについて考える #ctonightAmazon Web Services Japan
 
Japan Wrap Up re:Invent2018
Japan Wrap Up re:Invent2018Japan Wrap Up re:Invent2018
Japan Wrap Up re:Invent2018Kameda Harunobu
 
[CTO Night & Day 2019] CTO のためのセキュリティ for Seed ~ Mid Stage #ctonight
[CTO Night & Day 2019] CTO のためのセキュリティ for Seed ~ Mid Stage #ctonight[CTO Night & Day 2019] CTO のためのセキュリティ for Seed ~ Mid Stage #ctonight
[CTO Night & Day 2019] CTO のためのセキュリティ for Seed ~ Mid Stage #ctonightAmazon Web Services Japan
 
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
20190226 AWS Black Belt Online Seminar Amazon WorkSpacesAmazon Web Services Japan
 
Gaming on aws 〜ゲームにおけるAWS最新活用術〜
Gaming on aws 〜ゲームにおけるAWS最新活用術〜Gaming on aws 〜ゲームにおけるAWS最新活用術〜
Gaming on aws 〜ゲームにおけるAWS最新活用術〜Amazon Web Services Japan
 
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデートAmazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデートAmazon Web Services Japan
 
はじめてのアマゾンウェブサービス @ JAWS DAYS 2014
はじめてのアマゾンウェブサービス @ JAWS DAYS 2014はじめてのアマゾンウェブサービス @ JAWS DAYS 2014
はじめてのアマゾンウェブサービス @ JAWS DAYS 2014Yasuhiro Horiuchi
 
AWSの様々なアーキテクチャ
AWSの様々なアーキテクチャAWSの様々なアーキテクチャ
AWSの様々なアーキテクチャKameda Harunobu
 
20191106 AWS Black Belt Online Seminar AWS認定にチャレンジしょう – まずはクラウドプラクティショナーから
20191106 AWS Black Belt Online Seminar AWS認定にチャレンジしょう – まずはクラウドプラクティショナーから20191106 AWS Black Belt Online Seminar AWS認定にチャレンジしょう – まずはクラウドプラクティショナーから
20191106 AWS Black Belt Online Seminar AWS認定にチャレンジしょう – まずはクラウドプラクティショナーからAmazon Web Services Japan
 
AWS Black Belt Online Seminar 2018 AWS Well-Architected Framework
AWS Black Belt Online Seminar 2018 AWS Well-Architected FrameworkAWS Black Belt Online Seminar 2018 AWS Well-Architected Framework
AWS Black Belt Online Seminar 2018 AWS Well-Architected FrameworkAmazon Web Services Japan
 

Similaire à 入社半年での開発ストーリー - 千人規模の顔認証受付サービスを 1ヶ月で作った話 - (20)

Amazon Pinpoint を中心としたカスタマーエンゲージメントの全体像 / Customer Engagement On Amazon Pinpoint
Amazon Pinpoint を中心としたカスタマーエンゲージメントの全体像 / Customer Engagement On Amazon PinpointAmazon Pinpoint を中心としたカスタマーエンゲージメントの全体像 / Customer Engagement On Amazon Pinpoint
Amazon Pinpoint を中心としたカスタマーエンゲージメントの全体像 / Customer Engagement On Amazon Pinpoint
 
[CTO Night & Day 2019] よくある課題を一気に解説!御社の技術レベルがアップする 2019 秋期講習 #ctonight
[CTO Night & Day 2019] よくある課題を一気に解説!御社の技術レベルがアップする 2019 秋期講習 #ctonight[CTO Night & Day 2019] よくある課題を一気に解説!御社の技術レベルがアップする 2019 秋期講習 #ctonight
[CTO Night & Day 2019] よくある課題を一気に解説!御社の技術レベルがアップする 2019 秋期講習 #ctonight
 
[CTO Night & Day 2019] ML services: MLOps #ctonight
[CTO Night & Day 2019] ML services: MLOps #ctonight[CTO Night & Day 2019] ML services: MLOps #ctonight
[CTO Night & Day 2019] ML services: MLOps #ctonight
 
AWS Black Belt Online Seminar 2018 Amazon Sumerian
AWS Black Belt Online Seminar 2018 Amazon SumerianAWS Black Belt Online Seminar 2018 Amazon Sumerian
AWS Black Belt Online Seminar 2018 Amazon Sumerian
 
[CTO Night & Day 2019] CTO のための一歩進んだコンテナ入門 #ctonight
[CTO Night & Day 2019] CTO のための一歩進んだコンテナ入門 #ctonight[CTO Night & Day 2019] CTO のための一歩進んだコンテナ入門 #ctonight
[CTO Night & Day 2019] CTO のための一歩進んだコンテナ入門 #ctonight
 
AWS Black Belt Online Seminar 2018 Amazon WorkSpaces
AWS Black Belt Online Seminar 2018 Amazon WorkSpacesAWS Black Belt Online Seminar 2018 Amazon WorkSpaces
AWS Black Belt Online Seminar 2018 Amazon WorkSpaces
 
20180207 AWS blackbelt online seminar Amazon Workspaces
20180207 AWS blackbelt online seminar Amazon Workspaces20180207 AWS blackbelt online seminar Amazon Workspaces
20180207 AWS blackbelt online seminar Amazon Workspaces
 
[CTO Night & Day 2019] 高可用性アーキテクチャについて考える #ctonight
[CTO Night & Day 2019] 高可用性アーキテクチャについて考える #ctonight[CTO Night & Day 2019] 高可用性アーキテクチャについて考える #ctonight
[CTO Night & Day 2019] 高可用性アーキテクチャについて考える #ctonight
 
AWS All Stars ~Lightning Talks x 13~
AWS All Stars ~Lightning Talks x 13~AWS All Stars ~Lightning Talks x 13~
AWS All Stars ~Lightning Talks x 13~
 
AWS and PCI DSS
AWS and PCI DSSAWS and PCI DSS
AWS and PCI DSS
 
Japan wrapup reinvent2018
Japan wrapup reinvent2018Japan wrapup reinvent2018
Japan wrapup reinvent2018
 
Japan Wrap Up re:Invent2018
Japan Wrap Up re:Invent2018Japan Wrap Up re:Invent2018
Japan Wrap Up re:Invent2018
 
[CTO Night & Day 2019] CTO のためのセキュリティ for Seed ~ Mid Stage #ctonight
[CTO Night & Day 2019] CTO のためのセキュリティ for Seed ~ Mid Stage #ctonight[CTO Night & Day 2019] CTO のためのセキュリティ for Seed ~ Mid Stage #ctonight
[CTO Night & Day 2019] CTO のためのセキュリティ for Seed ~ Mid Stage #ctonight
 
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
 
Gaming on aws 〜ゲームにおけるAWS最新活用術〜
Gaming on aws 〜ゲームにおけるAWS最新活用術〜Gaming on aws 〜ゲームにおけるAWS最新活用術〜
Gaming on aws 〜ゲームにおけるAWS最新活用術〜
 
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデートAmazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
 
はじめてのアマゾンウェブサービス @ JAWS DAYS 2014
はじめてのアマゾンウェブサービス @ JAWS DAYS 2014はじめてのアマゾンウェブサービス @ JAWS DAYS 2014
はじめてのアマゾンウェブサービス @ JAWS DAYS 2014
 
AWSの様々なアーキテクチャ
AWSの様々なアーキテクチャAWSの様々なアーキテクチャ
AWSの様々なアーキテクチャ
 
20191106 AWS Black Belt Online Seminar AWS認定にチャレンジしょう – まずはクラウドプラクティショナーから
20191106 AWS Black Belt Online Seminar AWS認定にチャレンジしょう – まずはクラウドプラクティショナーから20191106 AWS Black Belt Online Seminar AWS認定にチャレンジしょう – まずはクラウドプラクティショナーから
20191106 AWS Black Belt Online Seminar AWS認定にチャレンジしょう – まずはクラウドプラクティショナーから
 
AWS Black Belt Online Seminar 2018 AWS Well-Architected Framework
AWS Black Belt Online Seminar 2018 AWS Well-Architected FrameworkAWS Black Belt Online Seminar 2018 AWS Well-Architected Framework
AWS Black Belt Online Seminar 2018 AWS Well-Architected Framework
 

入社半年での開発ストーリー - 千人規模の顔認証受付サービスを 1ヶ月で作った話 -

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 入社半年での開発ストーリー - 千人規模の顔認証受付サービスを 1ヶ月で作った話 - アマゾン ウェブ サービス ジャパン株式会社 アソシエイト ソリューション アーキテクト 針原 佳貴 2019.02.14 [14-C-5] 14:10 – 14:55
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. これは5人の “新卒” SA のストーリーです • 2018年4月 アマゾン ウェブ サービス (AWS) Japan に入社 • 新卒と言っても全員大学院卒 (5人に3人は博士持ち) Name: Like: 2 針原 飯塚 奥野 石見 宮本 ドラム ガジェット 宇宙 テニス 動画
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Introduction 入社からプロジェクト開始まで 3
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 新卒のための技術研修 4 Tech-U という教育プログラム 洗練された学習コース 数多くのサービスを短期間で学ぶ
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. しばらく経つと… 5 元々決められたことをやるのがすごく苦手なので、 物足りなくなって、何か新しいことを始めたいと思うようになった
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 6月に入って、ある時急に 6 マネージャーが5人を お昼ご飯に誘ってくれた 「6月末に1週間のシアトル出張ね」 見どころは Starbucks とか!?
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. というわけで、シアトルへ 7 Photo by MILKOVÍ on Unsplash
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates.All rights reserved. 8 Amazon GO
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Just Walk Out 9
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 日本未発売の AWS DeepLens も 10 AWS IoT Greengrass Lambda function 機器学習モデル 動画 ストリーミング出力
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Capstone: まとめプロジェクト 11 Photo by Jeremy Bishop on Unsplash
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Capstone Project Simple Location Finder 12
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. まずはじめに • 2 pager と呼ばれるドキュメントを書いた • PR/FAQ (後述) の短縮版 • 目的、アーキテクチャ、予算など • 今回は要望の多かったオフィスでの人探しサービスを顔認識で • 新オフィスに移転 • フリーアドレスになったので「誰がどこにいるか分かるサービスが欲しい」と要望が 13
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Simple Location Finder (Architecture) 14 SAs DeviceService bucket with objects Lambda function Amazon Rekognition RecognitionService Amazon API Gateway DataService Frontend Amazon DynamoDB Office/17F/West Amazon DynamoDB Data lake Web Hosting Vue.js Amazon Cognito SAs Office/17F/North SAs Office/17F/East
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 小規模のテスト運用 • 5段階のアンケートでも好評 (サンプル7人) 15 気に入った ⭐4.86 抵抗感問題ない ⭐4.86 人に勧めたい ⭐4.43
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 9月12日頃… • 10月下旬にある Amazon/AWS 合同 「All Hands」 ミーティングの相談 • イベントに参加する人に Wow! と思ってもらえるような体験を提供したい • 「このプロジェクト、興味ありますか?」と言われ、やりたいと即答 16 Benjamin Child Unsplash
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Face Recognition Gate 10月の社内イベントに向けて 17
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Invent and Simplify 18 これを会場でやって 本当に便利かは謎と思った イベントの受付を 顔認証で たしかに顔認識での人探しは Invent and Simplify
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. でも冷静に考えると 19 イベントまで あと1ヶ月しかない 厳しいセキュリティ基準 (セキュリティはAWS の最優先事項) 5人で作れる? ちゃんとした運用ってやったことない
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. まずはじめに考えたのは • PR/FAQ • Press Release + 質問集 • インターナルのプレスリリースで価値を明確に 定義 • 例 (AmazonGuardDutyの Press release) • タイトル • 日付 • 本文 20
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. PR/FAQ (要約) Press Release (PR) • 10月の社内イベント向けのサービス。素早く・簡単に入場できる • 顔認証と、社員証の所持 (目視) を合わせた2要素認証 • 事前登録は社員証の写真で行える FAQ • 誰が作っているか? • 5人のTech-U メンバー • データは保存されるか? • 顔写真は保存されません • イベント後のデータの取扱いは? • 証跡管理のための運用記録だけ残し、残りのデータは AWS アカウントごと削除 • 他の手段で入場できるか? • 社員証による入場も可 21
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Design 入場ゲートの全体像とデバイスの選定 22
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Amazon Rekognition - Deep Learning を用いた画像分析 API サービス - SearchFacesByImage API で、送った画像に似た登録済みの FaceID を検索する機能を提 供。 - 我々が試した時は応答時間は RTT で 500 ms ほど (注: 環境による) だったので、 Rekognition に送ればイベント受付でリアルタイムの認証が実現可能 23 Amazon Rekognition
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Rekognition が簡単に使えるとはいえ 24 そのまま画像を送りつけると 結構遅い (1秒ぐらいかかる) 先に顔の周りを切り取って Rekognition に送る 顔検出は 学習済みのモデルを呼び出し
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 受付で用いるデバイス - 撮影・切出し・API 呼出・結果表示 - ラップトップ - ディスプレイ (ユーザー確認用) - USB カメラ - デスクライトで明るさを補正 25
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 会場配置 26
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 実際に歩いて確かめる 27 待ち行列 先頭 WAIT STOP Camera 50 cm180 cm 移動するだけで 2秒ぐらいかかる!
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 通過時間の試算 - Rekognition 1試行 500 ms - 登録済みの人が 1秒 (2回) 試せば 99% の確率で通るよう閾値 (= 91) を設定 - 注1: Face Model のバージョンによって値は変わります。(当時の v3 での結果をもとに算定) - 注2: 期間が限られていたため少ないサンプル数での結果です。環境・要件によって適切な閾値は変 化します。 28 待ち行列 先頭 WAIT STOP
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 事前のテスト • UI/UX の重要性 • 「認識中」を表示 • 認証失敗の一番の原因は登録もれ • 今回も概ね好評 29
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Our Architecture Secure, Scalable Serverless AI Application 30
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Display AWS Cloud 31 Overall Architecture Edge Device NG OK 受付 スタッフ User Name 画像 結果 Lambda function Amazon DynamoDB Amazon Rekognition Amazon CloudWatch AWS CloudTrail 写真 + 名前 S3 Bucket S3 BucketAPI 操作履歴 Archive AWS Cloud USB カメラ Temporary security credential FaceID
  • 32. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Display AWS Cloud 32 Overall Architecture (登録) Edge Device NG OK 受付 スタッフ User Name 画像 結果 Amazon CloudWatch AWS CloudTrail S3 BucketAPI 操作履歴 Archive AWS Cloud USB カメラ Temporary security credential FaceID Lambda function Amazon DynamoDB Amazon Rekognition 写真 + 名前 S3 Bucket
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Amazon CloudWatch AWS CloudTrail AWS Cloud 33 Overall Architecture (認証) S3 BucketAPI 操作履歴 Archive AWS Cloud Lambda function S3 Bucket Display Edge Device NG OK 受付 スタッフ User Name 画像 結果 USB カメラ Temporary security credential FaceID Amazon DynamoDB Amazon Rekognition
  • 34. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. USB カメラ 受付 スタッフ Display AWS Cloud 34 Overall Architecture (ログ) Edge Device NG OK User Name 画像 結果 Lambda function Amazon DynamoDB Amazon Rekognition S3 Bucket FaceID Amazon CloudWatch AWS CloudTrail S3 BucketAPI 操作履歴 Archive AWS Cloud Temporary security credential
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 35 Overall Architecture (イベント終了後) Archive AWS Cloud
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Display AWS Cloud 36 Overall Architecture Edge Device NG OK 受付 スタッフ User Name 画像 結果 Lambda function Amazon DynamoDB Amazon Rekognition Amazon CloudWatch AWS CloudTrail S3 Bucket S3 BucketAPI 操作履歴 Archive AWS Cloud USB カメラ Temporary security credential FaceID 写真 + 名前
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Demo DemoVideo 37
  • 38. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. ユーザーへの表示 38
  • 39. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Guideline Security and Compliance 39
  • 40. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 複数 AWS アカウントの利用 Develop アカウント • IAM ユーザー • Dev power user (開発) • IAM ロール • Client role (デバイス用) • Admin role (環境構築) • Rekognition • 公開データセット + 5人 • CodeCommit レポジトリ Production アカウント • IAM ロール • Client role • Admin role • Rekognition • 実データ 40 Staging アカウント • IAM ロール • Client role • Admin role • Rekognition • 公開データセット + 5人
  • 41. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. セキュリティ上の考慮点 41 一時的な認証情報を利用 オフィスネットワークからの IP 制限 (VPN 接続経由) 顔認証のみではなく 社員証の所持と合わせた 2要素認証 API エンドポイントを 自前で作らない
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. その他考慮事項 • S3, DynamoDB はサーバーサイド暗号化 • TTL を指定し、一定時間経つと自動で削除 • 登録用の写真・認証用の画像は保存しない • Rekognition image への入力画像は学習データとして用いられない (2018.10.17 時点) • サービスチーム (Rekognition 開発チーム) に確認 • 東京リージョンのみを使用 • データが東京リージョンにのみ流れる • RekognitionAPI のレスポンス時間を最小化 • サーバーレスによる高い可用性 • 東京リージョンが止まるような災害時はイベントがそもそも開催されない 42
  • 43. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. 当日設置した看板 • 登録は任意 • 一度登録しても画像・情報は 削除可能 • 使いたくなければ当日その場でも 社員証での入場を選択できる 43 顔認証ゲートでは 撮影を行います • 撮影されることを望まない方は バッジゲートにお並びください • 撮影された画像は、顔認証の目的にのみ 使用されます • 撮影された画像は、ゲート通過後速やか に削除されます 顔認証 ゲート バッジ ゲート バッジ ゲート バッジをご準備の上 列にお並びください
  • 44. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Results 実際に運用してみた結果 44
  • 45. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. Rekognition レスポンス時間 - ネットワーク環境に大きく依存 - オフィス ~ 500 ms - ポケットWi-Fi ~ 700 ms - 幅 120 px へリサイズすると 精度・速度のバランスが最適 45 (Order=2)
  • 46. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. ゲート通過時間 - 目標: 2秒 / 人 - 実測: 3.38 秒 / 人 - ピーク時間帯の中央値 - 設計値に満たなかったのには様々な要因: - ネットワーク環境 (単一リクエスト時間増) - 現地の照明環境 (リトライ増) - 類似度分布の変化 (成功確率減) - メガネなど 46 メガネ あり / なし 閾値 (Face Model v3)
  • 47. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. コスト 47 イベント当日のコストは $20 以下 Rekognition ($15), KMS ($2), CloudTrail ($2), etc…
  • 48. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. ユーザーからの評価 48 5つ星のうち 4.53
  • 49. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. まとめ Ending 49
  • 50. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. まとめ 50 Working Backwards が アイディアを発展させる上での肝 AWS を使うと 新しいアイディアを思いついてから 短時間でサービス構築できる 個人のスキルも大事だけど 何より仲間との信頼関係が大事
  • 51. © 2019, Amazon Web Services, Inc. or its affiliates.All rights reserved. ありがとうございました! 51

Notes de l'éditeur

  1. 年齢差10歳…!?
  2. - マイクロサービスを4人で構築 (もう一人は独自に別サービス): - DeviceService: Greengrass Lambda (Face Detection / SSD) @ Raspberry Pi で写真から人の顔を検出して切り取り → S3 に置く - RecognitionService: StepFunctions/Lambda が Rekognition と DynamoDB を呼び出し人の名前を取得 - DataService: TTL 付きで {名前, 時間, 場所} を保存 - Frontend: vue.js のフロントエンドを S3 に static hosting しているので、画面を表示した裏で 認証付き API-GW を呼び出し
  3. sts assume-role