Slide 1

Slide 1 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. ぱっと見犬猫っぽいAWSアーキテクチャ図を Amazon Rekognitionで判定しよう atama plus株式会社 / AWS Startup Community Core Member 前田 和樹

Slide 2

Slide 2 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Kazuki Maeda  @kzk_maeda SRE @atama plus AWS Community Builders / AWS Startup Community Core Member ■■■■■■■■■■■■ 日系電機メーカー法務 → Recruitでインフラエンジニアとして、オンプレ、社内 ITシステムなど経験したあとクラウド、 PMなど → スタートアップに転身してEM → 現職 ■■■■■■■■■■■■ 犬派(実家に15歳のトイプードルがいます) 自己紹介

Slide 3

Slide 3 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWSアーキテクチャ図を描いて ちょっとだけ恣意的に配置を調整して Amazon Rekognitionに犬猫判定させてみよう! 今日の発表概要

Slide 4

Slide 4 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS触ってるエンジニアが親の顔よりよく見るやつ AWSアーキテクチャ図とは?

Slide 5

Slide 5 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 恣意的に操作すれば何かに見えてくるよね ※さっきとほぼ 同じ構成です

Slide 6

Slide 6 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. これをAI(Amazon Rekognition) に判定させよう!

Slide 7

Slide 7 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Rekognitionとは? ● 画像や動画の分析を行うことができるマネージドAIサービス ● 顔検出やラベリングなどを高精度に実施できる

Slide 8

Slide 8 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Rekognition利用に際して ● Amazon Rekognitionで判定する際に、最新のAWS公式アイコンでは 色情報が特徴量と捉えられてしまうため、白黒の公式アイコンを 以降では利用させていただきます

Slide 9

Slide 9 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. アーキテクチャ1:猫

Slide 10

Slide 10 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. アーキテクチャ1:データ処理パイプライン 下記は今日は本題じゃないのでチラ見しておいてください • データソースとしてAmazon DynamoDBやAmazon RDSを使用 • Amazon Kinesis Data FirehoseやAWS Lambdaを用いたデータ転送 • DataLakeにはAmazon S3を使用 • AWS Glueを用いたCrawling・ETL処理・DataCatalog生成 • Amazon Athena / Amazon QuickSightを用いた分析

Slide 11

Slide 11 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. アーキテクチャ1:データ処理パイプライン アーキテクチャ図はこちら

Slide 12

Slide 12 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 判定結果がこちら

Slide 13

Slide 13 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. アーキテクチャ1:データ処理パイプライン ほぼ図形だと 認識されていますね

Slide 14

Slide 14 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. アーキテクチャ2:犬

Slide 15

Slide 15 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. アーキテクチャ2:巨大サーバーレスアプリ 下記は今日は本題じゃないのでチラ見しておいてください • とにかく大量のAWS Lambdaを起動してつなげる • while true ▪ AWS LambdaからAWS LambdaをInvoke

Slide 16

Slide 16 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. アーキテクチャ2:巨大サーバーレスアプリ アーキテクチャ図はこちら

Slide 17

Slide 17 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. アーキテクチャ2:巨大サーバーレスアプリ アーキテクチャ図はこちら 無数のLambdaで構 成されています

Slide 18

Slide 18 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 判定結果がこちら

Slide 19

Slide 19 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. アーキテクチャ2:巨大サーバーレスアプリ

Slide 20

Slide 20 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. アーキテクチャ2:巨大サーバーレスアプリ ほぼ犬!

Slide 21

Slide 21 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Slide 22

Slide 22 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. まとめ ● アーキテクチャ図は楽しいのでいっぱい描こう ● Amazon Rekognitionいいサービスなので使ってみよう ● 今日の結果は真に受けないようにしよう

Slide 23

Slide 23 text

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Thank you! © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Kazuki Maeda @kzk_maeda