SlideShare a Scribd company logo
1 of 75
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS 公式 Webinar
https://amzn.to/JPWebinar
過去資料
https://amzn.to/JPArchive
Solutions Architect 下川 賢介
2019/6/4
Amazon Simple Notification Service (SNS)
サービスカットシリーズ
[AWS Black Belt Online Seminar]
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
自己紹介
❏ 名前
下川 賢介
❏ 所属
アマゾン ウェブ サービス ジャパン 株式会社
技術統括本部
ソリューション アーキテクト
❏ 好きなAWSのサービス
AWS Lambda Amazon API Gateway
Amazon Simple
Notification Service
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Black Belt Online Seminar とは
「サービス別」「ソリューション別」「業種別」のそれぞれのテーマに分かれて、アマゾ
ン ウェブ サービス ジャパン株式会社が主催するオンラインセミナーシリーズです。
質問を投げることができます!
• 書き込んだ質問は、主催者にしか見えません
• 今後のロードマップに関するご質問は
お答えできませんのでご了承下さい
① 吹き出しをクリック
② 質問を入力
③ Sendをクリック
Twitter ハッシュタグは以下をご利用ください
#awsblackbelt
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
内容についての注意点
• 本資料では2019年6月4日時点のサービス内容および価格についてご説明しています。最新の情
報はAWS公式ウェブサイト(http://aws.amazon.com)にてご確認ください。
• 資料作成には十分注意しておりますが、資料内の価格とAWS公式ウェブサイト記載の価格に相
違があった場合、AWS公式ウェブサイトの価格を優先とさせていただきます。
• 価格は税抜表記となっています。日本居住者のお客様が東京リージョンを使用する場合、別途消
費税をご請求させていただきます。
• AWS does not offer binding price quotes. AWS pricing is publicly available and is subject to
change in accordance with the AWS Customer Agreement available at
http://aws.amazon.com/agreement/. Any pricing information included in this document is provided
only as an estimate of usage charges for AWS services based on certain information that you
have provided. Monthly charges will be based on your actual use of AWS services, and may vary
from the estimates provided.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
 Amazon Simple Notification Service の概要
 機能の紹介
 ご利用の始め方
 高度な利用方法
 アプリケーション統合
 価格とまとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
 Amazon Simple Notification Service の概要
 機能の紹介
 ご利用の始め方
 高度な利用方法
 アプリケーション統合
 価格とまとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
よくある企業業務システム
処理受付
クライアント
在庫管理
処理
会計管理
処理
販売管理
処理
発注管理
処理複数の処理が複雑に連携
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
独立分散型 + ポーリング
処理受付
クライアント
処理A
処理B
処理C
処理D
保留
polling
polling
polling
polling
複数の処理がポーリング
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
独立分散型 + ファンアウト
受付
クライアント
処理A
処理B
処理C
処理D
fan out
(一括送信)
保留
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Simple Notification Service (Amazon SNS)
処理A
処理B
処理C
処理D
Amazon Simple
Notification Service
Subscriber(購読者)
push
 Message や Topic (後述) の設定、
操作、および送信ができる
 「publish-subscribe (pub-sub)」
(後述) は、定期的なポーリングを行
う必要のない「push」通知メカニ
ズムを使ってfan out (一括送信) で
きる
 HTTP/SやEメールなど複数の「プロ
トコル」 (後述) に対応
Publisher(発行者)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TOPIC OWNER
(所有者)(発行者)
(購読者)
publish-subscribe (pub-sub)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Simple
Notification
Service (SNS)
Amazon
Pinpoint
Amazon Simple
Queue
Service (SQS)
Amazon Simple Email
Service (SES)
顧客エンゲージメント
Amazon MQ
汎用特化
アプリケーション統合
Amazon
Simple Notification
Service (SNS)
Mobile push
Emailに特化
Apache MQ
からの移行
向け
Queue
サービス
Messaging
サービス
キャンペーン、
効果測定、利用
状況把握
Pinpointのセグメントプッシュ
に置き換えも検討可能
Pub/Sub
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
 Amazon Simple Notification Service の概要
 機能の紹介
 ご利用の始め方
 高度な利用方法
 アプリケーション統合
 価格とまとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Simple Notification Service (SNS)
 Amazon SNS には、代表的な機能として Mobile Pushとpub-sub 機能があ
ります。
• Mobile Push (プッシュ通知)
 モバイルアプリが起動していなくても通知。
 モバイルユーザは通知を受け取るか否か選択可能。
 通知をきっかけにアプリを起動してもらう。
• pub-sub
 通知もできるが、分散アプリケーションの統合用途に用いられる。
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Pub-Sub
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS (pub-sub)
Amazon Simple
Notification Service
Subscriber
Topic Filter policy
AWS Lambda
Amazon Simple Queue
Service
HTTP/S
Mobile
Fan out
Publisher
Email
TOPIC OWNER
(所有者)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Topic Owner (所有者)
 Topic Owner がTopicを作成、管理します。
 Topic は、Publisher がメッセージを送信し、Subscriber が通知を受信する
ための通信チャネルとして機能します。
Subscriber
Topic Filter policy
Publisher
TOPIC OWNER
(所有者)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Subscriber (購読者)
 Subscriberは購読したいTopicを選び、購読を開始します。
 購読するTopicごとに、Filter Policy を設定できPublisherから配信される
メッセージをフィルター (後述) することができます。
Topic Filter policy
Publisher
SUBSCRIBER
(購読者)
Subscriber
AWS Lambda
Amazon Simple Queue
Service
HTTP/S
Mobile
Email
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Publisher (発行者)
 Publisherは発行したいTopicにmessageを送信します。
 PublisherはSubscriberの購読プロトコルごとに、messageをカスタマイズして発行で
きます。(後述)
 PublisherとしてAWS Step Functions (後述)や Amazon CloudWatch Events (後述)な
どAWSサービスを指定することもできます。
Subscriber
Topic
Publisher
PUBLISHER
(発行者)
AWS
Step Functions
Amazon
CloudWatch Events
AWS Management
Console
AWS Command Line
Interface
AWS Tools
and SDKs
Amazon
API Gateway
Amazon S3
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
配信プロトコル/トランスポート
 KHTTP/HTTPS 購読登録時に URL を指定します。HTTP POST を通じて、
通知が指定された URL に届けられます。
Email テキストが E メールとして、登録されたアドレスに送信
されます。
Email-JSON 通知が JSON オブジェクトとして送信されます。
Amazon SQS 指定されたキューに message を投入します。(FIFO
キューは対象外)
AWS Lambda AWS Lambda 関数にmessageを配信します。
Platform application endpoint サポートされているプラットフォームにpush通知します。
SMS SMS テキストメッセージとして、登録された電話番号に
送信されます。
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS のシンプルな API
CreateTopic 新規Topicの作成
DeleteTopic 以前作成されたTopicの削除
ListTopics 所有されたTopicのリスト
Topic Owner (所有者) のオペレーション
Subscribe 特定のTopicに新規Subscriptionを登録
ConfirmSubscription Subscription確認メッセージへの応答
UnSubscribe 登録済みのSubscriptionの解除
Subscriber (購読者) のオペレーション
Publish Topicに新しいmessageをpublish
Publisher (発行者) のオペレーション
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
 Amazon Simple Notification Service の概要
 機能の紹介
 ご利用の始め方
 高度な利用方法
 アプリケーション統合
 価格とまとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の始め方 (Email)
1. Topic を作成
2. Topic を Subscribe
3. Topic へ向けて message を publish
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の始め方 (Email)
1. Topic を作成
必須項目はNameのみ
Create topicで作成
TOPIC OWNER
(所有者)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の始め方 (Email)
1. Topic を作成
2. Topic を Subscribe
作成済みのTopicを選択
Protocolを選択
Create subscription
で作成
account id
SUBSCRIBER
(購読者)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の始め方 (Email)
1. Topic を作成
2. Topic を Subscribe
account id
Subscriber側 で Confirm するaccount id
SUBSCRIBER
(購読者)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の始め方 (Email)
1. Topic を作成
2. Topic を Subscribe
3. Topic へ向けてmessageを publish
PUBLISHER
(発行者)
account id
Subject を入力
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の始め方 (Email)
1. Topic を作成
2. Topic を Subscribe
3. Topic へ向けてmessageを publish
Message Bodyを入力
Publish message
で送信
PUBLISHER
(発行者)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の始め方 (Email)
1. Topic を作成
2. Topic を Subscribe
3. Topic へ向けてメッセージを publish
入力された Message Body
入力された Subject
SUBSCRIBER
(購読者)
account id
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
 Amazon Simple Notification Service の概要
 機能の紹介
 ご利用の始め方
 高度な利用方法
 アプリケーション統合
 価格とまとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
アクセスコントロール
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Topic のアクセスコントロール
 Topic Owner は Access policy を通
じて誰がTopicにアクセスできるか
を設定できます。
 デフォルトではTopic Owner だけ
がアクセスできます。
{
"Sid": "sns-cross-account-access",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::[account id]:user/mike"
},
"Action": [
"SNS:Subscribe",
"SNS:ListSubscriptionsByTopic",
"SNS:Receive"
],
"Resource": "arn:aws:sns:ap-northeast-1:
[account id]:BBtopic"
}
Topic
Publisher2
Subscriber1
Publisher1
TOPIC OWNER
(所有者)
Accesspolicy
Access policy
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
フィルター
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Publish時の Message Attributes
 Message Attributes ( メッセージ属性 ) を使用すると、メッセージに関する
構造化メタデータ項目 (タイムスタンプ、地理空間データ、署名、識別子な
ど) を指定することができます。
 Message Attributes は、Subscriber が Topicに送られてくるmessageをフィ
ルターする際に利用されます。
PUBLISHER
(発行者)
"MessageAttributes": {
”Author": {
"Type": "String",
"Value": ”Tom Simpson"
}
}
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Subscriberによる Filter Policy
 Subscriberが Filter policy を設定すると、購読中のTopicに送られてくる
messageをフィルターして部分的に受信することができます。
Subscriber
Topic Filter policy
Publisher
SUBSCRIBER
(購読者)
filter
Message
属性 A B C B
B match !
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Filter Policy の設定
 MessageAttributesを設定し発行  filter policyがMatchすれば受付
SUBSCRIBER
(購読者)
PUBLISHER
(発行者)
"MessageAttributes": {
”author": {
"Type": "String",
"Value": ”Simpson"
},
”age": {
"Type": ”Number",
"Value": 48.0
},
” genres": {
"Type": ” String.Array",
"Value": ["drama", ”science", " comedy"]
}
}
{
" author ": [" Simpson "],
" age : [{"numeric": [">=", 30]}] ,
" genres ": [ ” science ", ” romance ", ”horror" ]
}
MessageAttributes FilterPolicy A
{
" author ": [" James "],
" age : [{"numeric": [">=", 30]}] ,
" genres ": [ ” science ", ” romance ", ”horror" ]
}
FilterPolicy B
AND
OR
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Filter Policy の設定
 WHITE LIST  BLACK LIST
SUBSCRIBER
(購読者)
{
" author ": [" Simpson "],
" age : [{"numeric": [">=", 30]}] ,
" genres ": [ ”SciFi", ” romance ", ”horror" ]
}
FilterPolicy
{
" author ": [{"anything-but": [”James", ”Steve"]}]
" age : [{"numeric": [">=", 30]}] ,
" genres ": [ ”SciFi", ” romance ", ”horror" ]
}
FilterPolicy
SimpsonのみOK JamesとSteve以外はOK
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
配信方法
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
raw message の配信
 Subscriberは、Amazon SQS および、HTTP/S への配信時に、raw 形式、つ
まりPublishされた通りに message が配信されるようにオプトインするこ
とができます。
 default
 raw message
{
"Type": "Notification",
"MessageId": "73e34cbd-0455-57e1-b18b-19d95aba62d8",
"TopicArn": "arn:aws:sns:ap-northeast-1:[account id]:BBtopic20190513",
"Message": "{"Input":"this is a sample message."}",
"Timestamp": "2019-05-26T09:30:23.766Z",
"SignatureVersion": "1",
"Signature": ”xxxxxxx==",
"SigningCertURL": "https://sns.ap-northeast-1.amazonaws.com/SimpleNotificationService.pem",
"UnsubscribeURL": "https://sns.ap-northeast-1.amazonaws.com/?
Action=Unsubscribe&SubscriptionArn=arn:aws:sns:ap-northeast-1:[account id]:BBtopic20190513"
}
this is a sample message.
SUBSCRIBER
(購読者)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
購読プロトコルに合わせた発行
 PublisherはSubscriberの購読プロトコルごとに、messageをカスタマイズ
して発行できます。(デフォルトはプロトコルによらず同一)
Topic Filter policy
Publisher
PUBLISHER
(発行者)
Subscriber
AWS Lambda
Amazon Simple
Queue Service
HTTP/S
Email
{
"lambda": "Lambdaです",
"sqs": "SQSです",
“https”: “HTTPSです",
"email": "Eメールです",
〜省略〜
}
Lambdaです
SQSです
HTTPSです
Eメールです
Custom Payload
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
リトライ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の Retry Policy
 Amazon SNS に送信されたすべてのメッセージは、直ちに配信されます。
 最初の試行でメッセージが正常に配信されない場合、Amazon SNS では次
の 4 段階の Retry Policy に従った処理が行われます。
1) 遅延なしのリトライ
2) 最小遅延間隔でのリトライ
3) バックオフモデル (線形または指数的) を使用したリトライ
4) 最大遅延間隔での再試行
 Retry Policy はエンドポイントによって、異なります。
 発行 message の信頼性を高めたい場合、 (他のトランスポート経由の通知
に加えて) Amazon SQSにも 配信されるように設計してください。
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の Retry Policy
プロトコル 1)即時
numNoDelayRetries
2)最小遅延
numMinDelayRetries
3)バックオフ 4)最大遅延
numMaxDelayRetries
最大リトライ
Amazon SQS 10 回 20 秒間隔で
100,000 回の
再試行
ー ー 23 日あまりで
合計 100,010
回
AWS Lambda ー 1 秒間隔で 2
回
1 秒から 20 分
まで指数的に
10 回
20 分間隔で
38 回
13 時間あまり
で合計 50 回
Email 1 回 10 秒置いて 1
回
10 秒から 5 分
まで線形的に
10 回
5 分間隔で 90
回
7 時間あまり
で合計 102 回
HTTP/S ー ー 20 秒から 60
秒まで線形的
に3 回
ー 60秒 あまりで
合計 3 回
※再試行後に配信されないメッセージは SNS から破棄されます。
※ numRetries >= numNoDelayRetries + numMinDelayRetries + numMaxDelayRetries
※ back off retry の回数 = numRetries – (numNoDelayRetries + numMinDelayRetries + numMaxDelayRetries)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の Retry Policy (Emailの場合)
送信回数
時間
102
12
1
2
0
10s 5m 7h
即時
最小遅延
最大遅延
10 秒から 5 分ま
で線形的に10 回
10m
10 秒置いて 1 回
即時に1 回
線形バックオフ
5 分間隔で 90 回
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
HTTP/S での Retry Policy オーバーライド
 Subscriberは、購読単位で Retry Policy を設定できます。
 Topic Owner は HTTP/S エンドポイント用にTopic単位の Retry Policy を設
定できます。(SubscriberのRetry Policyをオーバーライドを無効化可能)
※Topic の“disableSubscriptionOverrides”がtrueの場合のみオーバーライド無効化
Topic
Publisher
HTTP/S
SUBSCRIBER
(購読者)
Topic Owner
(所有者)
{
"healthyRetryPolicy": {
"numRetries": 3,
"numNoDelayRetries": 3,
"minDelayTarget": 20,
"maxDelayTarget": 20,
"numMinDelayRetries": 0,
"numMaxDelayRetries": 0,
"backoffFunction": "linear"
} ,
"throttlePolicy": {
"maxReceivesPerSecond": 10
}
}
Retry
Policy
{
"http": {
"defaultHealthyRetryPolicy": {
"numRetries": 3,
"numNoDelayRetries": 0,
"minDelayTarget": 20,
"maxDelayTarget": 20,
"numMinDelayRetries": 0,
"numMaxDelayRetries": 0,
"backoffFunction": "linear"
},
"disableSubscriptionOverrides": true
}
}
Retry
Policy
Amazon SNS が 1 秒あ
たりに送信する
message の最大数
即時Retry回数を3から0に上書き
trueに設定するとオーバーライド停
止
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
プライベートな発行
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon
SNS
Amazon VPC から プライベートで発行する
Amazon VPC
AWS Cloud
Private subnet
EC2 Instance VPC endpoint
network
interface
Topic
Amazon
VPC
PrivateLink
Internet
https://docs.aws.amazon.com/ja_jp/sns/latest/dg/sns-vpc-tutorial.html
Subscriber
Publisher
VPC を Amazon SNS に
接続する VPC
エンドポイント
Public Internetからの
切断
Server Side Encryption
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
 Amazon Simple Notification Service の概要
 機能の紹介
 ご利用の始め方
 高度な利用方法
 アプリケーション統合
 価格とまとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon CloudWatch Events からの発行
 CloudWatch Eventsの Event Sourceとして任意のサービスを指定します。(例:EC2
のステート変化)
 EventのTargetとしてSNS topicが指定できます。
PUBLISHER
(発行者)
事前作成しておいた
Topic
Amazon
CloudWatch Events
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Step Functions からの発行
 Step Functions の StateとしてSNS Topicが指定できます。
PUBLISHER
(発行者)
account id
AWS
Step Functions
事前作成しておいた
Topic
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Simple Storage Service (S3) からの発行
 S3 のオブジェクト操作イベントに SNS Topicが指定できます。
PUBLISHER
(発行者)
バケット状のオブジェクト
操作をトリガーに指定
事前作成しておいた
Topic
Amazon Simple Storage
Service (S3)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Simple Queue Serviceとの連携
 Amazon Simple Queue Service (Amazon SQS) は、完全マネージド型のメッセージ
キューイングサービスです。
 Amazon SNS は通常、即時にmessageを配信しますが、即時性の必要がない場合や、
通知の信頼性を向上し、バックエンドの負荷やタイミングをコントロールしたい場合
に、 Amazon SQS を組み合わせて、処理をキューイングすることができます。
※Amazon SQS の標準キュー (Standard Queue) のみが Amazon SNS のエンドポイントとしてご利用いただけます。
Subscriber
Topic
Publisher
Amazon SQSAmazon SNS
Standard Queue
Backend
即時処理
処理量を
コントロール
pollingpush
SUBSCRIBER
(購読者)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Simple Queue Serviceとの連携
 Amazon SQS キュー は、複数のAmazon SNS Topic を購読できます。
 Amazon SNS Topic は、複数のAmazon SQS キュー に配信できます。
Subscriber
Topic X
Publisher1
Amazon SQSAmazon SNS
Queue A
push
Queue B
Topic Y
pushPublisher2
SUBSCRIBER
(購読者)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambdaとの連携
 AWS Lambda は、コードを実行するための完全マネージド型のサービスです。
 AWS Lambda と連携し、Amazon SNS が標準でサポートしていない プロトコルや
AWSサービスに対しての配信を行うことができます。
 AWS Lambda をメッセージコンバーターやフィルターとして使うことで、Amazon
SNS 標準の custom payload や filter policy よりさらに高度な処理が実装できます。
Subscriber
Topic
Publisher
AWS LambdaAmazon SNS
Lambda Function
push
SUBSCRIBER
(購読者)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda 連携による配信プロトコルの拡張
 AWS Lambda は、Amazon DynamoDB、Amazon Simple Storage Service (S3)、
Amazon Kinesis など多様なAWSサービスと連携できます。
 Amazon SNS のエンドポイントとして AWS Lambdaを指定することで、多様なサー
ビスをSubscriberのように扱えます。
Subscriber
Topic
Publisher
AWS LambdaAmazon SNS
push Amazon DynamoDB
Amazon
Simple Storage Service (S3)
Amazon Kinesis
SUBSCRIBER
(購読者)
Email
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda 連携による 高度な配信
 AWS Lambda ではプログラミング言語を用いて任意の処理を記述できます。をメッ
セージコンバーターやフィルターとして使うことで、Amazon SNS 標準の custom
payload や filter policy よりさらに高度な処理が実装できます。
Subscriber
Topic A
Publisher
AWS LambdaAmazon SNS
push
Topic B
Publisher
Amazon SNS Subscriber
AWS Lambda
Amazon SQS
HTTP/S
Message filter
Message
ローカライズ
SUBSCRIBER
(購読者)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ロギング
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の配信ステータスロギング
 配信ステータス機能を使用することにより、成功率、失敗率に関する情報
を収集できます。
 ステータス情報は、Amazon SNS が作成する Amazon CloudWatch Log
Group に記録されます。
 配信ステータスロギングに対応しているプロトコル
 AWS Lambda
 Amazon SQS
 HTTP/S
 Platform application endpoint
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の配信ステータスロギング
 Success sample rate によって、ロ
グ出力する際の成功率閾値を設定で
きます。これにより、許容範囲内の
不要なログ出力を抑制できます。
 Amazon SNS に適切なRoleを設定す
ることで、Success用 と Failure用の
Amazon Cloud Watch Log Groupが
作成され記録されます。
account id
account id
Amazon Simple
Notification
Service (SNS)
Amazon
CloudWatch
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ログの確認 (sns/ap-northeast-1/[account
id]/[Topic]/Failure)
{
"notification": {
"messageMD5Sum": "95177b1e9ec60276af031c756c1df1d4",
"messageId": "f636f1ab-8322-5074-ab04-a4c8bf1af78f",
"topicArn": "arn:aws:sns:ap-northeast-1:[account id]:[Topic]",
"timestamp": "2019-05-25 12:50:00.252"
},
"delivery": {
"deliveryId": "26c59e90-8c51-5974-bd0a-cbf3b069520b",
"destination": "arn:aws:sqs:ap-northeast-1:[account id]:SNSStandardQueue",
"providerResponse":
"{"ErrorCode":"AccessDenied","ErrorMessage":
"Access to the resource
https://sqs.ap-northeast-1.amazonaws.com/[account id]/[Topic] is denied.",
"sqsRequestId":"Unrecoverable"}",
"dwellTimeMs": 48,
"attempts": 1,
"statusCode": 403
},
"status": "FAILURE"
}
Amazon
CloudWatch
Topic
Subscriber
配信ステータス
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Mobile Push (プッシュ通知)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS Mobile Push と Amazon Pinpoint との使
い分け
 デバイストークンを運用者が管理
できるため、特定期間での破棄が
義務付けられている場合に、運用
者側で破棄できる。
 SMSによる通知は、単方向通知と
なる。(購読停止のみ逆方向通
知)
 これからプッシュ通知を作るので
あれば、基本的にはPinpointがお
すすめ。
 デバイストークンの管理をサービ
ス側で行う。
 分析ダッシュボードが標準でつい
てくる。
 セグメントプッシュではプッシュ
配信基盤が不要。
 SMSの双方向通知が可能
Amazon Pinpoint
Amazon
Simple Notification Service (SNS)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS でのセグメントプッシュ
Amazon RDS
Auto Scaling
group
Amazon EC2
Amazon SQS
Queue
Mobile
Amazon SNS
EC2
Instances
DBから送信先
セグメントを抽出
抽出した大量の通知先に高
速にプッシュ配信するため
に大量のWorkerを用意
Marketer
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Pinpoint でのセグメントプッシュ
Mobile
Marketer
Amazon Pinpoint
セグメントC(
• 音楽ジャンル:ロックが好き
• アプリ起動:直近一週間起動なし
• iOSアプリバージョン:最新バージョンを利用
)
に対してプッシュ通知で、すぐに送信可能
セグメントA
セグメントB
セグメントC
モニタリング
分析 スケジュール A/B テスト
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Pinpointのより詳しい情報はこちら
https://www.slideshare.net/AmazonWebServicesJapan
/amazon-pinpoint-x
https://www.slideshare.net/AmazonWebServicesJapan/aws-black-belt-
online-seminar-2017-amazon-pinpoint-81953543
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
 Amazon Simple Notification Service の概要
 機能の紹介
 ご利用の始め方
 高度な利用方法
 アプリケーション統合
 価格とまとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Publish (発行)
種類 無料利用枠 料金
Amazon SNS リクエスト 100 万件/月 以降、100万件あたり0.50USD
※Amazon SNS では、発行されるメッセージの上限は 256 KB となっています。発行されるデータの 64 KB のチャンクが、
1 リクエストとして課金されます。例えば、256 KB のペイロードを持つ単一の API コールは、4 件のリクエストとして課金されます。
通知配信
エンドポイントの種類 無料利用枠 料金
E メール/JSON 形式のメール 1,000 件/月 10 万件あたり 2 USD
HTTP/S 10 万件/月 100 万件あたり 0.6 USD
Amazon SQS - 無料
AWS Lambda - 無料
※配信されるデータの 64 KB のチャンクは、それぞれ 1 リクエストとして課金されます。例えば、256 KB のペイロードを含む単一通知は、
4 件の配信として課金されます。
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
データ転送 ( Asia Pacific (Tokyo) )
受信 (イン)
種類 料金
すべてのデータ転送受信 (イン) 無料
送信 (アウト)
種類 料金
1 GB/月まで 無料
次の 9.999 TB/月 0.114USD/GB
次の 40 TB/月 0.089USD/GB
次の 100 TB/月 0.086USD/GB
150 TB/月を上る場合 0.084USD/GB
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SIMPLE MONTHLY CALCULATOR
https://calculator.s3.amazonaws.com/index.html
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNS の主な制限
• Service Level Agreement :99.9%
( https://aws.amazon.com/jp/messaging/sla/ )
• トピック:アカウントあたり 100,000
• サブスクリプション:トピックあたり 12,500,000
• 保留中のサブスクリプション:アカウントあたり 5,000
• E メールメッセージの配信レート:1 秒あたり 10 メッセージ
• サブスクリプションフィルタポリシー :アカウントあたり 200
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SNSが利用可能なリージョン
Amazon SNS は 21 のリージョンでご利用可能
(2019/06/04現在)
Sydney
Tokyo
Beijing
Seoul
Ningxia
Hong Kong
Singapore
Mumbai
Sweden
Ireland London
Frankfurt
Paris
São Paulo
Montreal
AWS GovCloud
East
N.Virginia
Ohio
AWS GovCloud
West
Oregon
N. California Osaka
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
まとめ
Amazon SNS は、フィ
ルターロジックをエ
ンドポイント側で実
装する必要がありま
せん。
Amazon SNS は、アプ
リケーションを動的
にスケールします。
Amazon SNS は完全マ
ネージド型サービス
です。
アーキテクチャ
を簡素化
簡単に
ファンアウト
ワークロードを
スケーリング
Amazon SNS は、複数
の異なるエンドポイ
ントに簡単にファン
アウトできます。
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Q&A
頂いたご質問については
AWS Japan Blog 「https://aws.amazon.com/jp/blogs/news/」にて
資料公開と併せて、後日掲載します。
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS の日本語資料の場所「AWS 資料」で検索
https://amzn.to/JPArchive
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS 公式 Webinar
https://amzn.to/JPWebinar
過去資料
https://amzn.to/JPArchive
ご視聴ありがとうございました

More Related Content

What's hot

20190806 AWS Black Belt Online Seminar AWS Glue
20190806 AWS Black Belt Online Seminar AWS Glue20190806 AWS Black Belt Online Seminar AWS Glue
20190806 AWS Black Belt Online Seminar AWS GlueAmazon Web Services Japan
 
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...Amazon Web Services Japan
 
AWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
AWS Black Belt Online Seminar 2017 AWS Elastic BeanstalkAWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
AWS Black Belt Online Seminar 2017 AWS Elastic BeanstalkAmazon Web Services Japan
 
20200826 AWS Black Belt Online Seminar AWS CloudFormation
20200826 AWS Black Belt Online Seminar AWS CloudFormation 20200826 AWS Black Belt Online Seminar AWS CloudFormation
20200826 AWS Black Belt Online Seminar AWS CloudFormation Amazon Web Services Japan
 
20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMRAmazon Web Services Japan
 
20210526 AWS Expert Online マルチアカウント管理の基本
20210526 AWS Expert Online マルチアカウント管理の基本20210526 AWS Expert Online マルチアカウント管理の基本
20210526 AWS Expert Online マルチアカウント管理の基本Amazon Web Services Japan
 
20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)
20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)
20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)Amazon Web Services Japan
 
20210119 AWS Black Belt Online Seminar AWS CloudTrail
20210119 AWS Black Belt Online Seminar AWS CloudTrail20210119 AWS Black Belt Online Seminar AWS CloudTrail
20210119 AWS Black Belt Online Seminar AWS CloudTrailAmazon Web Services Japan
 
20190129 AWS Black Belt Online Seminar AWS Identity and Access Management (AW...
20190129 AWS Black Belt Online Seminar AWS Identity and Access Management (AW...20190129 AWS Black Belt Online Seminar AWS Identity and Access Management (AW...
20190129 AWS Black Belt Online Seminar AWS Identity and Access Management (AW...Amazon Web Services Japan
 
20190821 AWS Black Belt Online Seminar AWS AppSync
20190821 AWS Black Belt Online Seminar AWS AppSync20190821 AWS Black Belt Online Seminar AWS AppSync
20190821 AWS Black Belt Online Seminar AWS AppSyncAmazon Web Services Japan
 
20200623 AWS Black Belt Online Seminar Amazon Elasticsearch Service
20200623 AWS Black Belt Online Seminar Amazon Elasticsearch Service20200623 AWS Black Belt Online Seminar Amazon Elasticsearch Service
20200623 AWS Black Belt Online Seminar Amazon Elasticsearch ServiceAmazon Web Services Japan
 
20200422 AWS Black Belt Online Seminar Amazon Elastic Container Service (Amaz...
20200422 AWS Black Belt Online Seminar Amazon Elastic Container Service (Amaz...20200422 AWS Black Belt Online Seminar Amazon Elastic Container Service (Amaz...
20200422 AWS Black Belt Online Seminar Amazon Elastic Container Service (Amaz...Amazon Web Services Japan
 
20190522 AWS Black Belt Online Seminar AWS Step Functions
20190522 AWS Black Belt Online Seminar AWS Step Functions20190522 AWS Black Belt Online Seminar AWS Step Functions
20190522 AWS Black Belt Online Seminar AWS Step FunctionsAmazon Web Services Japan
 
AWS Black Belt Online Seminar 2017 Amazon Kinesis
AWS Black Belt Online Seminar 2017 Amazon KinesisAWS Black Belt Online Seminar 2017 Amazon Kinesis
AWS Black Belt Online Seminar 2017 Amazon KinesisAmazon Web Services Japan
 
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)Amazon Web Services Japan
 
20180509 AWS Black Belt Online Seminar Amazon GuardDuty
20180509 AWS Black Belt Online Seminar Amazon GuardDuty20180509 AWS Black Belt Online Seminar Amazon GuardDuty
20180509 AWS Black Belt Online Seminar Amazon GuardDutyAmazon Web Services Japan
 
AWS Black Belt Online Seminar 2017 Amazon DynamoDB
AWS Black Belt Online Seminar 2017 Amazon DynamoDB AWS Black Belt Online Seminar 2017 Amazon DynamoDB
AWS Black Belt Online Seminar 2017 Amazon DynamoDB Amazon Web Services Japan
 
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 Black Belt Online Seminar AWS Key Management Service (KMS)
AWS Black Belt Online Seminar AWS Key Management Service (KMS) AWS Black Belt Online Seminar AWS Key Management Service (KMS)
AWS Black Belt Online Seminar AWS Key Management Service (KMS) Amazon Web Services Japan
 

What's hot (20)

20190806 AWS Black Belt Online Seminar AWS Glue
20190806 AWS Black Belt Online Seminar AWS Glue20190806 AWS Black Belt Online Seminar AWS Glue
20190806 AWS Black Belt Online Seminar AWS Glue
 
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
20190402 AWS Black Belt Online Seminar Let's Dive Deep into AWS Lambda Part1 ...
 
AWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
AWS Black Belt Online Seminar 2017 AWS Elastic BeanstalkAWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
AWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
 
20200826 AWS Black Belt Online Seminar AWS CloudFormation
20200826 AWS Black Belt Online Seminar AWS CloudFormation 20200826 AWS Black Belt Online Seminar AWS CloudFormation
20200826 AWS Black Belt Online Seminar AWS CloudFormation
 
20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR
 
20210526 AWS Expert Online マルチアカウント管理の基本
20210526 AWS Expert Online マルチアカウント管理の基本20210526 AWS Expert Online マルチアカウント管理の基本
20210526 AWS Expert Online マルチアカウント管理の基本
 
Black Belt Online Seminar AWS Amazon S3
Black Belt Online Seminar AWS Amazon S3Black Belt Online Seminar AWS Amazon S3
Black Belt Online Seminar AWS Amazon S3
 
20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)
20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)
20191029 AWS Black Belt Online Seminar Elastic Load Balancing (ELB)
 
20210119 AWS Black Belt Online Seminar AWS CloudTrail
20210119 AWS Black Belt Online Seminar AWS CloudTrail20210119 AWS Black Belt Online Seminar AWS CloudTrail
20210119 AWS Black Belt Online Seminar AWS CloudTrail
 
20190129 AWS Black Belt Online Seminar AWS Identity and Access Management (AW...
20190129 AWS Black Belt Online Seminar AWS Identity and Access Management (AW...20190129 AWS Black Belt Online Seminar AWS Identity and Access Management (AW...
20190129 AWS Black Belt Online Seminar AWS Identity and Access Management (AW...
 
20190821 AWS Black Belt Online Seminar AWS AppSync
20190821 AWS Black Belt Online Seminar AWS AppSync20190821 AWS Black Belt Online Seminar AWS AppSync
20190821 AWS Black Belt Online Seminar AWS AppSync
 
20200623 AWS Black Belt Online Seminar Amazon Elasticsearch Service
20200623 AWS Black Belt Online Seminar Amazon Elasticsearch Service20200623 AWS Black Belt Online Seminar Amazon Elasticsearch Service
20200623 AWS Black Belt Online Seminar Amazon Elasticsearch Service
 
20200422 AWS Black Belt Online Seminar Amazon Elastic Container Service (Amaz...
20200422 AWS Black Belt Online Seminar Amazon Elastic Container Service (Amaz...20200422 AWS Black Belt Online Seminar Amazon Elastic Container Service (Amaz...
20200422 AWS Black Belt Online Seminar Amazon Elastic Container Service (Amaz...
 
20190522 AWS Black Belt Online Seminar AWS Step Functions
20190522 AWS Black Belt Online Seminar AWS Step Functions20190522 AWS Black Belt Online Seminar AWS Step Functions
20190522 AWS Black Belt Online Seminar AWS Step Functions
 
AWS Black Belt Online Seminar 2017 Amazon Kinesis
AWS Black Belt Online Seminar 2017 Amazon KinesisAWS Black Belt Online Seminar 2017 Amazon Kinesis
AWS Black Belt Online Seminar 2017 Amazon Kinesis
 
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
 
20180509 AWS Black Belt Online Seminar Amazon GuardDuty
20180509 AWS Black Belt Online Seminar Amazon GuardDuty20180509 AWS Black Belt Online Seminar Amazon GuardDuty
20180509 AWS Black Belt Online Seminar Amazon GuardDuty
 
AWS Black Belt Online Seminar 2017 Amazon DynamoDB
AWS Black Belt Online Seminar 2017 Amazon DynamoDB AWS Black Belt Online Seminar 2017 Amazon DynamoDB
AWS Black Belt Online Seminar 2017 Amazon DynamoDB
 
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 Black Belt Online Seminar AWS Key Management Service (KMS)
AWS Black Belt Online Seminar AWS Key Management Service (KMS) AWS Black Belt Online Seminar AWS Key Management Service (KMS)
AWS Black Belt Online Seminar AWS Key Management Service (KMS)
 

Similar to 20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)

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
 
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
 
20200630 AWS Black Belt Online Seminar Amazon Cognito
20200630 AWS Black Belt Online Seminar Amazon Cognito20200630 AWS Black Belt Online Seminar Amazon Cognito
20200630 AWS Black Belt Online Seminar Amazon CognitoAmazon Web Services Japan
 
[CTO Night & Day 2019] Amazon Pinpoint でかゆいところに手が届くユーザー動向分析とセグメント通知 #ctonight
[CTO Night & Day 2019] Amazon Pinpoint でかゆいところに手が届くユーザー動向分析とセグメント通知 #ctonight[CTO Night & Day 2019] Amazon Pinpoint でかゆいところに手が届くユーザー動向分析とセグメント通知 #ctonight
[CTO Night & Day 2019] Amazon Pinpoint でかゆいところに手が届くユーザー動向分析とセグメント通知 #ctonightAmazon Web Services Japan
 
20190619 AWS Black Belt Online Seminar Dive Deep into AWS Chalice
20190619 AWS Black Belt Online Seminar Dive Deep into AWS Chalice20190619 AWS Black Belt Online Seminar Dive Deep into AWS Chalice
20190619 AWS Black Belt Online Seminar Dive Deep into AWS ChaliceAmazon Web Services Japan
 
AWS Black Belt Online Seminar 2017 Amazon Pinpoint で始めるモバイルアプリのグロースハック
AWS Black Belt Online Seminar 2017 Amazon Pinpoint で始めるモバイルアプリのグロースハックAWS Black Belt Online Seminar 2017 Amazon Pinpoint で始めるモバイルアプリのグロースハック
AWS Black Belt Online Seminar 2017 Amazon Pinpoint で始めるモバイルアプリのグロースハックAmazon Web Services Japan
 
[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
 
AWS Black Belt Techシリーズ Amazon SNS モバイルプッシュ
AWS Black Belt Techシリーズ Amazon SNS モバイルプッシュAWS Black Belt Techシリーズ Amazon SNS モバイルプッシュ
AWS Black Belt Techシリーズ Amazon SNS モバイルプッシュAmazon Web Services Japan
 
20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...
20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...
20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...Amazon Web Services Japan
 
Security Operations and Automation on AWS
Security Operations and Automation on AWSSecurity Operations and Automation on AWS
Security Operations and Automation on AWSNoritaka Sekiyama
 
20200728 AWS Black Belt Online Seminar What's New in Serverless
20200728 AWS Black Belt Online Seminar What's New in Serverless20200728 AWS Black Belt Online Seminar What's New in Serverless
20200728 AWS Black Belt Online Seminar What's New in ServerlessAmazon Web Services Japan
 
AWS Black Belt Online Seminar 2018 re:Invent 2017 Recap Machine Learning / Da...
AWS Black Belt Online Seminar 2018 re:Invent 2017 Recap Machine Learning / Da...AWS Black Belt Online Seminar 2018 re:Invent 2017 Recap Machine Learning / Da...
AWS Black Belt Online Seminar 2018 re:Invent 2017 Recap Machine Learning / Da...Amazon Web Services Japan
 
[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A...
[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A...[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A...
[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A...Amazon Web Services Japan
 
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報Amazon Web Services Japan
 
[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...
[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...
[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...Amazon Web Services Japan
 

Similar to 20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS) (20)

20201125 EC Solution Seminar Notification
20201125 EC Solution Seminar Notification20201125 EC Solution Seminar Notification
20201125 EC Solution Seminar Notification
 
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
 
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
 
20200630 AWS Black Belt Online Seminar Amazon Cognito
20200630 AWS Black Belt Online Seminar Amazon Cognito20200630 AWS Black Belt Online Seminar Amazon Cognito
20200630 AWS Black Belt Online Seminar Amazon Cognito
 
[CTO Night & Day 2019] Amazon Pinpoint でかゆいところに手が届くユーザー動向分析とセグメント通知 #ctonight
[CTO Night & Day 2019] Amazon Pinpoint でかゆいところに手が届くユーザー動向分析とセグメント通知 #ctonight[CTO Night & Day 2019] Amazon Pinpoint でかゆいところに手が届くユーザー動向分析とセグメント通知 #ctonight
[CTO Night & Day 2019] Amazon Pinpoint でかゆいところに手が届くユーザー動向分析とセグメント通知 #ctonight
 
20190619 AWS Black Belt Online Seminar Dive Deep into AWS Chalice
20190619 AWS Black Belt Online Seminar Dive Deep into AWS Chalice20190619 AWS Black Belt Online Seminar Dive Deep into AWS Chalice
20190619 AWS Black Belt Online Seminar Dive Deep into AWS Chalice
 
AWS Nightschool20180618
AWS Nightschool20180618AWS Nightschool20180618
AWS Nightschool20180618
 
AWS Black Belt Online Seminar 2017 Amazon Pinpoint で始めるモバイルアプリのグロースハック
AWS Black Belt Online Seminar 2017 Amazon Pinpoint で始めるモバイルアプリのグロースハックAWS Black Belt Online Seminar 2017 Amazon Pinpoint で始めるモバイルアプリのグロースハック
AWS Black Belt Online Seminar 2017 Amazon Pinpoint で始めるモバイルアプリのグロースハック
 
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~
 
[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
 
AWS Black Belt Techシリーズ Amazon SNS モバイルプッシュ
AWS Black Belt Techシリーズ Amazon SNS モバイルプッシュAWS Black Belt Techシリーズ Amazon SNS モバイルプッシュ
AWS Black Belt Techシリーズ Amazon SNS モバイルプッシュ
 
20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...
20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...
20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...
 
Security Operations and Automation on AWS
Security Operations and Automation on AWSSecurity Operations and Automation on AWS
Security Operations and Automation on AWS
 
20170705 blackbelt AWS Lambda
20170705 blackbelt AWS Lambda20170705 blackbelt AWS Lambda
20170705 blackbelt AWS Lambda
 
20200728 AWS Black Belt Online Seminar What's New in Serverless
20200728 AWS Black Belt Online Seminar What's New in Serverless20200728 AWS Black Belt Online Seminar What's New in Serverless
20200728 AWS Black Belt Online Seminar What's New in Serverless
 
AWS Black Belt Online Seminar 2018 re:Invent 2017 Recap Machine Learning / Da...
AWS Black Belt Online Seminar 2018 re:Invent 2017 Recap Machine Learning / Da...AWS Black Belt Online Seminar 2018 re:Invent 2017 Recap Machine Learning / Da...
AWS Black Belt Online Seminar 2018 re:Invent 2017 Recap Machine Learning / Da...
 
20201125 EC Solution Seminar Live Commerce
20201125 EC Solution Seminar Live Commerce20201125 EC Solution Seminar Live Commerce
20201125 EC Solution Seminar Live Commerce
 
[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A...
[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A...[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A...
[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A...
 
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
 
[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...
[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...
[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...
 

More from Amazon Web Services Japan

202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)Amazon Web Services Japan
 
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFSAmazon Web Services Japan
 
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
202204 AWS Black Belt Online Seminar AWS IoT Device Defender202204 AWS Black Belt Online Seminar AWS IoT Device Defender
202204 AWS Black Belt Online Seminar AWS IoT Device DefenderAmazon Web Services Japan
 
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現Amazon Web Services Japan
 
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...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
 
20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したこと20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したことAmazon Web Services Japan
 
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用Amazon Web Services Japan
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdfAmazon Web Services Japan
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介Amazon Web Services Japan
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon Web Services Japan
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことAmazon Web Services Japan
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチAmazon Web Services Japan
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介Amazon Web Services Japan
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer ProfilesAmazon Web Services Japan
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Web Services Japan
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨Amazon Web Services Japan
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介Amazon Web Services Japan
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介Amazon Web Services Japan
 

More from Amazon Web Services Japan (20)

202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
 
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
 
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
202204 AWS Black Belt Online Seminar AWS IoT Device Defender202204 AWS Black Belt Online Seminar AWS IoT Device Defender
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
 
Infrastructure as Code (IaC) 談義 2022
Infrastructure as Code (IaC) 談義 2022Infrastructure as Code (IaC) 談義 2022
Infrastructure as Code (IaC) 談義 2022
 
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
 
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
 
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデートAmazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
 
20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したこと20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したこと
 
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDD
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのこと
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
 

Recently uploaded

論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNetToru Tamaki
 
スマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムスマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムsugiuralab
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Yuma Ohgami
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A surveyToru Tamaki
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdftaisei2219
 
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略Ryo Sasaki
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものですiPride Co., Ltd.
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)Hiroki Ichikura
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...Toru Tamaki
 

Recently uploaded (9)

論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet
 
スマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムスマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システム
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdf
 
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
 

20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)

  • 1. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS 公式 Webinar https://amzn.to/JPWebinar 過去資料 https://amzn.to/JPArchive Solutions Architect 下川 賢介 2019/6/4 Amazon Simple Notification Service (SNS) サービスカットシリーズ [AWS Black Belt Online Seminar]
  • 2. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 自己紹介 ❏ 名前 下川 賢介 ❏ 所属 アマゾン ウェブ サービス ジャパン 株式会社 技術統括本部 ソリューション アーキテクト ❏ 好きなAWSのサービス AWS Lambda Amazon API Gateway Amazon Simple Notification Service
  • 3. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Black Belt Online Seminar とは 「サービス別」「ソリューション別」「業種別」のそれぞれのテーマに分かれて、アマゾ ン ウェブ サービス ジャパン株式会社が主催するオンラインセミナーシリーズです。 質問を投げることができます! • 書き込んだ質問は、主催者にしか見えません • 今後のロードマップに関するご質問は お答えできませんのでご了承下さい ① 吹き出しをクリック ② 質問を入力 ③ Sendをクリック Twitter ハッシュタグは以下をご利用ください #awsblackbelt
  • 4. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 内容についての注意点 • 本資料では2019年6月4日時点のサービス内容および価格についてご説明しています。最新の情 報はAWS公式ウェブサイト(http://aws.amazon.com)にてご確認ください。 • 資料作成には十分注意しておりますが、資料内の価格とAWS公式ウェブサイト記載の価格に相 違があった場合、AWS公式ウェブサイトの価格を優先とさせていただきます。 • 価格は税抜表記となっています。日本居住者のお客様が東京リージョンを使用する場合、別途消 費税をご請求させていただきます。 • AWS does not offer binding price quotes. AWS pricing is publicly available and is subject to change in accordance with the AWS Customer Agreement available at http://aws.amazon.com/agreement/. Any pricing information included in this document is provided only as an estimate of usage charges for AWS services based on certain information that you have provided. Monthly charges will be based on your actual use of AWS services, and may vary from the estimates provided.
  • 5. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ  Amazon Simple Notification Service の概要  機能の紹介  ご利用の始め方  高度な利用方法  アプリケーション統合  価格とまとめ
  • 6. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ  Amazon Simple Notification Service の概要  機能の紹介  ご利用の始め方  高度な利用方法  アプリケーション統合  価格とまとめ
  • 7. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. よくある企業業務システム 処理受付 クライアント 在庫管理 処理 会計管理 処理 販売管理 処理 発注管理 処理複数の処理が複雑に連携
  • 8. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 独立分散型 + ポーリング 処理受付 クライアント 処理A 処理B 処理C 処理D 保留 polling polling polling polling 複数の処理がポーリング
  • 9. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 独立分散型 + ファンアウト 受付 クライアント 処理A 処理B 処理C 処理D fan out (一括送信) 保留
  • 10. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Notification Service (Amazon SNS) 処理A 処理B 処理C 処理D Amazon Simple Notification Service Subscriber(購読者) push  Message や Topic (後述) の設定、 操作、および送信ができる  「publish-subscribe (pub-sub)」 (後述) は、定期的なポーリングを行 う必要のない「push」通知メカニ ズムを使ってfan out (一括送信) で きる  HTTP/SやEメールなど複数の「プロ トコル」 (後述) に対応 Publisher(発行者)
  • 11. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TOPIC OWNER (所有者)(発行者) (購読者) publish-subscribe (pub-sub)
  • 12. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Notification Service (SNS) Amazon Pinpoint Amazon Simple Queue Service (SQS) Amazon Simple Email Service (SES) 顧客エンゲージメント Amazon MQ 汎用特化 アプリケーション統合 Amazon Simple Notification Service (SNS) Mobile push Emailに特化 Apache MQ からの移行 向け Queue サービス Messaging サービス キャンペーン、 効果測定、利用 状況把握 Pinpointのセグメントプッシュ に置き換えも検討可能 Pub/Sub
  • 13. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ  Amazon Simple Notification Service の概要  機能の紹介  ご利用の始め方  高度な利用方法  アプリケーション統合  価格とまとめ
  • 14. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Notification Service (SNS)  Amazon SNS には、代表的な機能として Mobile Pushとpub-sub 機能があ ります。 • Mobile Push (プッシュ通知)  モバイルアプリが起動していなくても通知。  モバイルユーザは通知を受け取るか否か選択可能。  通知をきっかけにアプリを起動してもらう。 • pub-sub  通知もできるが、分散アプリケーションの統合用途に用いられる。
  • 15. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Pub-Sub
  • 16. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS (pub-sub) Amazon Simple Notification Service Subscriber Topic Filter policy AWS Lambda Amazon Simple Queue Service HTTP/S Mobile Fan out Publisher Email TOPIC OWNER (所有者)
  • 17. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Topic Owner (所有者)  Topic Owner がTopicを作成、管理します。  Topic は、Publisher がメッセージを送信し、Subscriber が通知を受信する ための通信チャネルとして機能します。 Subscriber Topic Filter policy Publisher TOPIC OWNER (所有者)
  • 18. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Subscriber (購読者)  Subscriberは購読したいTopicを選び、購読を開始します。  購読するTopicごとに、Filter Policy を設定できPublisherから配信される メッセージをフィルター (後述) することができます。 Topic Filter policy Publisher SUBSCRIBER (購読者) Subscriber AWS Lambda Amazon Simple Queue Service HTTP/S Mobile Email
  • 19. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Publisher (発行者)  Publisherは発行したいTopicにmessageを送信します。  PublisherはSubscriberの購読プロトコルごとに、messageをカスタマイズして発行で きます。(後述)  PublisherとしてAWS Step Functions (後述)や Amazon CloudWatch Events (後述)な どAWSサービスを指定することもできます。 Subscriber Topic Publisher PUBLISHER (発行者) AWS Step Functions Amazon CloudWatch Events AWS Management Console AWS Command Line Interface AWS Tools and SDKs Amazon API Gateway Amazon S3
  • 20. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 配信プロトコル/トランスポート  KHTTP/HTTPS 購読登録時に URL を指定します。HTTP POST を通じて、 通知が指定された URL に届けられます。 Email テキストが E メールとして、登録されたアドレスに送信 されます。 Email-JSON 通知が JSON オブジェクトとして送信されます。 Amazon SQS 指定されたキューに message を投入します。(FIFO キューは対象外) AWS Lambda AWS Lambda 関数にmessageを配信します。 Platform application endpoint サポートされているプラットフォームにpush通知します。 SMS SMS テキストメッセージとして、登録された電話番号に 送信されます。
  • 21. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS のシンプルな API CreateTopic 新規Topicの作成 DeleteTopic 以前作成されたTopicの削除 ListTopics 所有されたTopicのリスト Topic Owner (所有者) のオペレーション Subscribe 特定のTopicに新規Subscriptionを登録 ConfirmSubscription Subscription確認メッセージへの応答 UnSubscribe 登録済みのSubscriptionの解除 Subscriber (購読者) のオペレーション Publish Topicに新しいmessageをpublish Publisher (発行者) のオペレーション
  • 22. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ  Amazon Simple Notification Service の概要  機能の紹介  ご利用の始め方  高度な利用方法  アプリケーション統合  価格とまとめ
  • 23. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の始め方 (Email) 1. Topic を作成 2. Topic を Subscribe 3. Topic へ向けて message を publish
  • 24. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の始め方 (Email) 1. Topic を作成 必須項目はNameのみ Create topicで作成 TOPIC OWNER (所有者)
  • 25. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の始め方 (Email) 1. Topic を作成 2. Topic を Subscribe 作成済みのTopicを選択 Protocolを選択 Create subscription で作成 account id SUBSCRIBER (購読者)
  • 26. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の始め方 (Email) 1. Topic を作成 2. Topic を Subscribe account id Subscriber側 で Confirm するaccount id SUBSCRIBER (購読者)
  • 27. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の始め方 (Email) 1. Topic を作成 2. Topic を Subscribe 3. Topic へ向けてmessageを publish PUBLISHER (発行者) account id Subject を入力
  • 28. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の始め方 (Email) 1. Topic を作成 2. Topic を Subscribe 3. Topic へ向けてmessageを publish Message Bodyを入力 Publish message で送信 PUBLISHER (発行者)
  • 29. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の始め方 (Email) 1. Topic を作成 2. Topic を Subscribe 3. Topic へ向けてメッセージを publish 入力された Message Body 入力された Subject SUBSCRIBER (購読者) account id
  • 30. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ  Amazon Simple Notification Service の概要  機能の紹介  ご利用の始め方  高度な利用方法  アプリケーション統合  価格とまとめ
  • 31. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. アクセスコントロール
  • 32. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Topic のアクセスコントロール  Topic Owner は Access policy を通 じて誰がTopicにアクセスできるか を設定できます。  デフォルトではTopic Owner だけ がアクセスできます。 { "Sid": "sns-cross-account-access", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::[account id]:user/mike" }, "Action": [ "SNS:Subscribe", "SNS:ListSubscriptionsByTopic", "SNS:Receive" ], "Resource": "arn:aws:sns:ap-northeast-1: [account id]:BBtopic" } Topic Publisher2 Subscriber1 Publisher1 TOPIC OWNER (所有者) Accesspolicy Access policy
  • 33. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. フィルター
  • 34. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Publish時の Message Attributes  Message Attributes ( メッセージ属性 ) を使用すると、メッセージに関する 構造化メタデータ項目 (タイムスタンプ、地理空間データ、署名、識別子な ど) を指定することができます。  Message Attributes は、Subscriber が Topicに送られてくるmessageをフィ ルターする際に利用されます。 PUBLISHER (発行者) "MessageAttributes": { ”Author": { "Type": "String", "Value": ”Tom Simpson" } }
  • 35. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Subscriberによる Filter Policy  Subscriberが Filter policy を設定すると、購読中のTopicに送られてくる messageをフィルターして部分的に受信することができます。 Subscriber Topic Filter policy Publisher SUBSCRIBER (購読者) filter Message 属性 A B C B B match !
  • 36. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Filter Policy の設定  MessageAttributesを設定し発行  filter policyがMatchすれば受付 SUBSCRIBER (購読者) PUBLISHER (発行者) "MessageAttributes": { ”author": { "Type": "String", "Value": ”Simpson" }, ”age": { "Type": ”Number", "Value": 48.0 }, ” genres": { "Type": ” String.Array", "Value": ["drama", ”science", " comedy"] } } { " author ": [" Simpson "], " age : [{"numeric": [">=", 30]}] , " genres ": [ ” science ", ” romance ", ”horror" ] } MessageAttributes FilterPolicy A { " author ": [" James "], " age : [{"numeric": [">=", 30]}] , " genres ": [ ” science ", ” romance ", ”horror" ] } FilterPolicy B AND OR
  • 37. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Filter Policy の設定  WHITE LIST  BLACK LIST SUBSCRIBER (購読者) { " author ": [" Simpson "], " age : [{"numeric": [">=", 30]}] , " genres ": [ ”SciFi", ” romance ", ”horror" ] } FilterPolicy { " author ": [{"anything-but": [”James", ”Steve"]}] " age : [{"numeric": [">=", 30]}] , " genres ": [ ”SciFi", ” romance ", ”horror" ] } FilterPolicy SimpsonのみOK JamesとSteve以外はOK
  • 38. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 配信方法
  • 39. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. raw message の配信  Subscriberは、Amazon SQS および、HTTP/S への配信時に、raw 形式、つ まりPublishされた通りに message が配信されるようにオプトインするこ とができます。  default  raw message { "Type": "Notification", "MessageId": "73e34cbd-0455-57e1-b18b-19d95aba62d8", "TopicArn": "arn:aws:sns:ap-northeast-1:[account id]:BBtopic20190513", "Message": "{"Input":"this is a sample message."}", "Timestamp": "2019-05-26T09:30:23.766Z", "SignatureVersion": "1", "Signature": ”xxxxxxx==", "SigningCertURL": "https://sns.ap-northeast-1.amazonaws.com/SimpleNotificationService.pem", "UnsubscribeURL": "https://sns.ap-northeast-1.amazonaws.com/? Action=Unsubscribe&SubscriptionArn=arn:aws:sns:ap-northeast-1:[account id]:BBtopic20190513" } this is a sample message. SUBSCRIBER (購読者)
  • 40. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 購読プロトコルに合わせた発行  PublisherはSubscriberの購読プロトコルごとに、messageをカスタマイズ して発行できます。(デフォルトはプロトコルによらず同一) Topic Filter policy Publisher PUBLISHER (発行者) Subscriber AWS Lambda Amazon Simple Queue Service HTTP/S Email { "lambda": "Lambdaです", "sqs": "SQSです", “https”: “HTTPSです", "email": "Eメールです", 〜省略〜 } Lambdaです SQSです HTTPSです Eメールです Custom Payload
  • 41. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. リトライ
  • 42. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の Retry Policy  Amazon SNS に送信されたすべてのメッセージは、直ちに配信されます。  最初の試行でメッセージが正常に配信されない場合、Amazon SNS では次 の 4 段階の Retry Policy に従った処理が行われます。 1) 遅延なしのリトライ 2) 最小遅延間隔でのリトライ 3) バックオフモデル (線形または指数的) を使用したリトライ 4) 最大遅延間隔での再試行  Retry Policy はエンドポイントによって、異なります。  発行 message の信頼性を高めたい場合、 (他のトランスポート経由の通知 に加えて) Amazon SQSにも 配信されるように設計してください。
  • 43. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の Retry Policy プロトコル 1)即時 numNoDelayRetries 2)最小遅延 numMinDelayRetries 3)バックオフ 4)最大遅延 numMaxDelayRetries 最大リトライ Amazon SQS 10 回 20 秒間隔で 100,000 回の 再試行 ー ー 23 日あまりで 合計 100,010 回 AWS Lambda ー 1 秒間隔で 2 回 1 秒から 20 分 まで指数的に 10 回 20 分間隔で 38 回 13 時間あまり で合計 50 回 Email 1 回 10 秒置いて 1 回 10 秒から 5 分 まで線形的に 10 回 5 分間隔で 90 回 7 時間あまり で合計 102 回 HTTP/S ー ー 20 秒から 60 秒まで線形的 に3 回 ー 60秒 あまりで 合計 3 回 ※再試行後に配信されないメッセージは SNS から破棄されます。 ※ numRetries >= numNoDelayRetries + numMinDelayRetries + numMaxDelayRetries ※ back off retry の回数 = numRetries – (numNoDelayRetries + numMinDelayRetries + numMaxDelayRetries)
  • 44. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の Retry Policy (Emailの場合) 送信回数 時間 102 12 1 2 0 10s 5m 7h 即時 最小遅延 最大遅延 10 秒から 5 分ま で線形的に10 回 10m 10 秒置いて 1 回 即時に1 回 線形バックオフ 5 分間隔で 90 回
  • 45. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. HTTP/S での Retry Policy オーバーライド  Subscriberは、購読単位で Retry Policy を設定できます。  Topic Owner は HTTP/S エンドポイント用にTopic単位の Retry Policy を設 定できます。(SubscriberのRetry Policyをオーバーライドを無効化可能) ※Topic の“disableSubscriptionOverrides”がtrueの場合のみオーバーライド無効化 Topic Publisher HTTP/S SUBSCRIBER (購読者) Topic Owner (所有者) { "healthyRetryPolicy": { "numRetries": 3, "numNoDelayRetries": 3, "minDelayTarget": 20, "maxDelayTarget": 20, "numMinDelayRetries": 0, "numMaxDelayRetries": 0, "backoffFunction": "linear" } , "throttlePolicy": { "maxReceivesPerSecond": 10 } } Retry Policy { "http": { "defaultHealthyRetryPolicy": { "numRetries": 3, "numNoDelayRetries": 0, "minDelayTarget": 20, "maxDelayTarget": 20, "numMinDelayRetries": 0, "numMaxDelayRetries": 0, "backoffFunction": "linear" }, "disableSubscriptionOverrides": true } } Retry Policy Amazon SNS が 1 秒あ たりに送信する message の最大数 即時Retry回数を3から0に上書き trueに設定するとオーバーライド停 止
  • 46. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. プライベートな発行
  • 47. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS Amazon VPC から プライベートで発行する Amazon VPC AWS Cloud Private subnet EC2 Instance VPC endpoint network interface Topic Amazon VPC PrivateLink Internet https://docs.aws.amazon.com/ja_jp/sns/latest/dg/sns-vpc-tutorial.html Subscriber Publisher VPC を Amazon SNS に 接続する VPC エンドポイント Public Internetからの 切断 Server Side Encryption
  • 48. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ  Amazon Simple Notification Service の概要  機能の紹介  ご利用の始め方  高度な利用方法  アプリケーション統合  価格とまとめ
  • 49. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CloudWatch Events からの発行  CloudWatch Eventsの Event Sourceとして任意のサービスを指定します。(例:EC2 のステート変化)  EventのTargetとしてSNS topicが指定できます。 PUBLISHER (発行者) 事前作成しておいた Topic Amazon CloudWatch Events
  • 50. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Step Functions からの発行  Step Functions の StateとしてSNS Topicが指定できます。 PUBLISHER (発行者) account id AWS Step Functions 事前作成しておいた Topic
  • 51. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Storage Service (S3) からの発行  S3 のオブジェクト操作イベントに SNS Topicが指定できます。 PUBLISHER (発行者) バケット状のオブジェクト 操作をトリガーに指定 事前作成しておいた Topic Amazon Simple Storage Service (S3)
  • 52. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Queue Serviceとの連携  Amazon Simple Queue Service (Amazon SQS) は、完全マネージド型のメッセージ キューイングサービスです。  Amazon SNS は通常、即時にmessageを配信しますが、即時性の必要がない場合や、 通知の信頼性を向上し、バックエンドの負荷やタイミングをコントロールしたい場合 に、 Amazon SQS を組み合わせて、処理をキューイングすることができます。 ※Amazon SQS の標準キュー (Standard Queue) のみが Amazon SNS のエンドポイントとしてご利用いただけます。 Subscriber Topic Publisher Amazon SQSAmazon SNS Standard Queue Backend 即時処理 処理量を コントロール pollingpush SUBSCRIBER (購読者)
  • 53. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Queue Serviceとの連携  Amazon SQS キュー は、複数のAmazon SNS Topic を購読できます。  Amazon SNS Topic は、複数のAmazon SQS キュー に配信できます。 Subscriber Topic X Publisher1 Amazon SQSAmazon SNS Queue A push Queue B Topic Y pushPublisher2 SUBSCRIBER (購読者)
  • 54. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambdaとの連携  AWS Lambda は、コードを実行するための完全マネージド型のサービスです。  AWS Lambda と連携し、Amazon SNS が標準でサポートしていない プロトコルや AWSサービスに対しての配信を行うことができます。  AWS Lambda をメッセージコンバーターやフィルターとして使うことで、Amazon SNS 標準の custom payload や filter policy よりさらに高度な処理が実装できます。 Subscriber Topic Publisher AWS LambdaAmazon SNS Lambda Function push SUBSCRIBER (購読者)
  • 55. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda 連携による配信プロトコルの拡張  AWS Lambda は、Amazon DynamoDB、Amazon Simple Storage Service (S3)、 Amazon Kinesis など多様なAWSサービスと連携できます。  Amazon SNS のエンドポイントとして AWS Lambdaを指定することで、多様なサー ビスをSubscriberのように扱えます。 Subscriber Topic Publisher AWS LambdaAmazon SNS push Amazon DynamoDB Amazon Simple Storage Service (S3) Amazon Kinesis SUBSCRIBER (購読者) Email
  • 56. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda 連携による 高度な配信  AWS Lambda ではプログラミング言語を用いて任意の処理を記述できます。をメッ セージコンバーターやフィルターとして使うことで、Amazon SNS 標準の custom payload や filter policy よりさらに高度な処理が実装できます。 Subscriber Topic A Publisher AWS LambdaAmazon SNS push Topic B Publisher Amazon SNS Subscriber AWS Lambda Amazon SQS HTTP/S Message filter Message ローカライズ SUBSCRIBER (購読者)
  • 57. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ロギング
  • 58. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の配信ステータスロギング  配信ステータス機能を使用することにより、成功率、失敗率に関する情報 を収集できます。  ステータス情報は、Amazon SNS が作成する Amazon CloudWatch Log Group に記録されます。  配信ステータスロギングに対応しているプロトコル  AWS Lambda  Amazon SQS  HTTP/S  Platform application endpoint
  • 59. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の配信ステータスロギング  Success sample rate によって、ロ グ出力する際の成功率閾値を設定で きます。これにより、許容範囲内の 不要なログ出力を抑制できます。  Amazon SNS に適切なRoleを設定す ることで、Success用 と Failure用の Amazon Cloud Watch Log Groupが 作成され記録されます。 account id account id Amazon Simple Notification Service (SNS) Amazon CloudWatch
  • 60. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ログの確認 (sns/ap-northeast-1/[account id]/[Topic]/Failure) { "notification": { "messageMD5Sum": "95177b1e9ec60276af031c756c1df1d4", "messageId": "f636f1ab-8322-5074-ab04-a4c8bf1af78f", "topicArn": "arn:aws:sns:ap-northeast-1:[account id]:[Topic]", "timestamp": "2019-05-25 12:50:00.252" }, "delivery": { "deliveryId": "26c59e90-8c51-5974-bd0a-cbf3b069520b", "destination": "arn:aws:sqs:ap-northeast-1:[account id]:SNSStandardQueue", "providerResponse": "{"ErrorCode":"AccessDenied","ErrorMessage": "Access to the resource https://sqs.ap-northeast-1.amazonaws.com/[account id]/[Topic] is denied.", "sqsRequestId":"Unrecoverable"}", "dwellTimeMs": 48, "attempts": 1, "statusCode": 403 }, "status": "FAILURE" } Amazon CloudWatch Topic Subscriber 配信ステータス
  • 61. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Mobile Push (プッシュ通知)
  • 62. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS Mobile Push と Amazon Pinpoint との使 い分け  デバイストークンを運用者が管理 できるため、特定期間での破棄が 義務付けられている場合に、運用 者側で破棄できる。  SMSによる通知は、単方向通知と なる。(購読停止のみ逆方向通 知)  これからプッシュ通知を作るので あれば、基本的にはPinpointがお すすめ。  デバイストークンの管理をサービ ス側で行う。  分析ダッシュボードが標準でつい てくる。  セグメントプッシュではプッシュ 配信基盤が不要。  SMSの双方向通知が可能 Amazon Pinpoint Amazon Simple Notification Service (SNS)
  • 63. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS でのセグメントプッシュ Amazon RDS Auto Scaling group Amazon EC2 Amazon SQS Queue Mobile Amazon SNS EC2 Instances DBから送信先 セグメントを抽出 抽出した大量の通知先に高 速にプッシュ配信するため に大量のWorkerを用意 Marketer
  • 64. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Pinpoint でのセグメントプッシュ Mobile Marketer Amazon Pinpoint セグメントC( • 音楽ジャンル:ロックが好き • アプリ起動:直近一週間起動なし • iOSアプリバージョン:最新バージョンを利用 ) に対してプッシュ通知で、すぐに送信可能 セグメントA セグメントB セグメントC モニタリング 分析 スケジュール A/B テスト
  • 65. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Pinpointのより詳しい情報はこちら https://www.slideshare.net/AmazonWebServicesJapan /amazon-pinpoint-x https://www.slideshare.net/AmazonWebServicesJapan/aws-black-belt- online-seminar-2017-amazon-pinpoint-81953543
  • 66. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ  Amazon Simple Notification Service の概要  機能の紹介  ご利用の始め方  高度な利用方法  アプリケーション統合  価格とまとめ
  • 67. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Publish (発行) 種類 無料利用枠 料金 Amazon SNS リクエスト 100 万件/月 以降、100万件あたり0.50USD ※Amazon SNS では、発行されるメッセージの上限は 256 KB となっています。発行されるデータの 64 KB のチャンクが、 1 リクエストとして課金されます。例えば、256 KB のペイロードを持つ単一の API コールは、4 件のリクエストとして課金されます。 通知配信 エンドポイントの種類 無料利用枠 料金 E メール/JSON 形式のメール 1,000 件/月 10 万件あたり 2 USD HTTP/S 10 万件/月 100 万件あたり 0.6 USD Amazon SQS - 無料 AWS Lambda - 無料 ※配信されるデータの 64 KB のチャンクは、それぞれ 1 リクエストとして課金されます。例えば、256 KB のペイロードを含む単一通知は、 4 件の配信として課金されます。
  • 68. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. データ転送 ( Asia Pacific (Tokyo) ) 受信 (イン) 種類 料金 すべてのデータ転送受信 (イン) 無料 送信 (アウト) 種類 料金 1 GB/月まで 無料 次の 9.999 TB/月 0.114USD/GB 次の 40 TB/月 0.089USD/GB 次の 100 TB/月 0.086USD/GB 150 TB/月を上る場合 0.084USD/GB
  • 69. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SIMPLE MONTHLY CALCULATOR https://calculator.s3.amazonaws.com/index.html
  • 70. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNS の主な制限 • Service Level Agreement :99.9% ( https://aws.amazon.com/jp/messaging/sla/ ) • トピック:アカウントあたり 100,000 • サブスクリプション:トピックあたり 12,500,000 • 保留中のサブスクリプション:アカウントあたり 5,000 • E メールメッセージの配信レート:1 秒あたり 10 メッセージ • サブスクリプションフィルタポリシー :アカウントあたり 200
  • 71. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SNSが利用可能なリージョン Amazon SNS は 21 のリージョンでご利用可能 (2019/06/04現在) Sydney Tokyo Beijing Seoul Ningxia Hong Kong Singapore Mumbai Sweden Ireland London Frankfurt Paris São Paulo Montreal AWS GovCloud East N.Virginia Ohio AWS GovCloud West Oregon N. California Osaka
  • 72. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. まとめ Amazon SNS は、フィ ルターロジックをエ ンドポイント側で実 装する必要がありま せん。 Amazon SNS は、アプ リケーションを動的 にスケールします。 Amazon SNS は完全マ ネージド型サービス です。 アーキテクチャ を簡素化 簡単に ファンアウト ワークロードを スケーリング Amazon SNS は、複数 の異なるエンドポイ ントに簡単にファン アウトできます。
  • 73. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Q&A 頂いたご質問については AWS Japan Blog 「https://aws.amazon.com/jp/blogs/news/」にて 資料公開と併せて、後日掲載します。
  • 74. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS の日本語資料の場所「AWS 資料」で検索 https://amzn.to/JPArchive
  • 75. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS 公式 Webinar https://amzn.to/JPWebinar 過去資料 https://amzn.to/JPArchive ご視聴ありがとうございました