SlideShare a Scribd company logo
AWS
Simple Notification Service for iOS
http://docs.aws.amazon.com/sns/latest/dg/mobile-push-apns.html#create-ios-app-apns
Overview
Apple Developer Center Keychain
.p12
Your App on iOS
3. Device Token
AWS SNS APNS
Push
6. Publish
Get
endpoint
1. cer
2. Generate
4. Register 5. Register
AWS ES2 Node.js
7. Publish
Step1 Download a APNS cer
Download	a	cer	for	your	AppID
openssl	x509	-in	aps_development.cer	-inform	DER	-out	myapnsappcert.pem
Convert	the	cer	file	to	a	pem
Step2 Get a private key - .p12
Export	a	.p12	file	from	Keychain
Convert	it	to	a	pem
openssl	pkcs12	-in	aps_dev.p12	-out	myapnsappprivatekey.pem	-nodes	-clcerts
Optional Connecting APNS to verify the certs
You	can	verify	APNS	connections	using	the	pem	files.
openssl	s_client	-connect	gateway.sandbox.push.apple.com:2195		
-cert	myapnsappcert.pem	-key	myapnsappprivatekey.pem
Step3 Get a device token from APNS
Run	a	sample	app	that	retrieve	a	device	token	from	APNS.
Change	Bundle	ID
Step4 Register .p12 with AWS SNS
Head	over	to	AWS	SNS	console,	create	a	platform	app.
http://docs.aws.amazon.com/sns/latest/dg/mobile-push-send-directmobile.html
Step5 Create an endpoint to the device token
Head	over	to	AWS	SNS	console,	create	a	platform	app.
Fill	in	your	token	here
Step6 Publish a message directly to an endpoint
Publish	a	message	from	AWS	SNS	console.
Publish a message from a Lambda (Node.js)
Publish	a	message	from	a	Lambda	(Node.js)
IAM
2. publish
Lambda(Node.js) SNS
Endpoint
APNS
DeviceToken
iPhone
1.Role&Policy
Step1. Creating a Role
IAM	>	Roles	>	Create	New	Role
Step2. Creating a Lambda function
Specify	the	topic	or	endpoint
Step2. Creating a Lambda function
Specify	the	role	you	created	in	the	step	1.
Step2. Test it

More Related Content

RTF
Database sql-mirroring
PPTX
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
PDF
"Building a Production-Grade Serverless Deployment" - Eoin Shanaghy, CTO, fo...
PDF
Deploy Angular to the Cloud (ngBucharest)
PDF
10 Reasons Why Cloud Foundry Rocks!
PDF
How to Install and Configure Jenkins on Centos 7
PPTX
Effective use of amazon web services for web deployment
PDF
fmcsadmin 1.0.0
Database sql-mirroring
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
"Building a Production-Grade Serverless Deployment" - Eoin Shanaghy, CTO, fo...
Deploy Angular to the Cloud (ngBucharest)
10 Reasons Why Cloud Foundry Rocks!
How to Install and Configure Jenkins on Centos 7
Effective use of amazon web services for web deployment
fmcsadmin 1.0.0

What's hot (19)

PDF
GSuite SSO AWS - AWS Meetup POA
PPTX
.NET Fest 2017. Ugo Lattanzi. What's new in ASP.NET Core 2.0?
PDF
Two Years, Zero servers: Lessons learned from running a startup 100% on Serve...
PPTX
Deployment Scenarios KES4B [Kaspersky]
PPTX
Secure deployments keeping your application secrets private - condensed
PDF
Web Security 100
PPTX
Download alice
PDF
Install edq on linux
PPT
Os Geisingerupdated
PDF
FIWARE Tech Summit - How To Deploy Context Broker in 10 Minutes
PDF
5 EASY STEPS TO A MORE SECURE WORDPRESS
PDF
Was is Docker? Or: Docker for Software Developers
PPT
AWS Toolkit for Visual Studio - Version 1
PDF
KGH S02 Introduction to iMacros
PPTX
Apple in 2015 - iOS 9, iOS 9.1 and iOS 9.2
PDF
Enable Mobile Apps Designer in OBIEE
PDF
How to Automatic Register the Images you Upload to Flickr in Safe Creative
PDF
Upgrade OBIEE to 11.1.1.7.1
PPTX
Selenium introduction
GSuite SSO AWS - AWS Meetup POA
.NET Fest 2017. Ugo Lattanzi. What's new in ASP.NET Core 2.0?
Two Years, Zero servers: Lessons learned from running a startup 100% on Serve...
Deployment Scenarios KES4B [Kaspersky]
Secure deployments keeping your application secrets private - condensed
Web Security 100
Download alice
Install edq on linux
Os Geisingerupdated
FIWARE Tech Summit - How To Deploy Context Broker in 10 Minutes
5 EASY STEPS TO A MORE SECURE WORDPRESS
Was is Docker? Or: Docker for Software Developers
AWS Toolkit for Visual Studio - Version 1
KGH S02 Introduction to iMacros
Apple in 2015 - iOS 9, iOS 9.1 and iOS 9.2
Enable Mobile Apps Designer in OBIEE
How to Automatic Register the Images you Upload to Flickr in Safe Creative
Upgrade OBIEE to 11.1.1.7.1
Selenium introduction
Ad

Similar to Aws(sns) (19)

PDF
PPT
Apple push notification service
PPTX
push_notification
KEY
How to build a server and a iPhone client application using the Apple Push No...
PPTX
Mule (aws)sns
DOCX
Configure & send push notification on i os device
PPTX
Apple notification push
PDF
AWS IoT 핸즈온 워크샵 - 실습 2. SNS 연동과 Lambda로 메시지 처리하기 (김무현 솔루션즈 아키텍트)
PPTX
AWS User Group Dublin - Using AWS Lambda as a push notification cannon
PDF
Get step-by-step instructions on implementing notifications in your apps.
PPTX
Azure notification hubs
PPTX
Amazon_SNS.pptx
PPTX
AWS SNS - Notifications through SMS and Email
PDF
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
PDF
PDF
Push notification technicaltalk
PDF
iOS Remote Notifications
PDF
Firebase Cloud Messaging for iOS
PPTX
AWS SQS SNS
Apple push notification service
push_notification
How to build a server and a iPhone client application using the Apple Push No...
Mule (aws)sns
Configure & send push notification on i os device
Apple notification push
AWS IoT 핸즈온 워크샵 - 실습 2. SNS 연동과 Lambda로 메시지 처리하기 (김무현 솔루션즈 아키텍트)
AWS User Group Dublin - Using AWS Lambda as a push notification cannon
Get step-by-step instructions on implementing notifications in your apps.
Azure notification hubs
Amazon_SNS.pptx
AWS SNS - Notifications through SMS and Email
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
Push notification technicaltalk
iOS Remote Notifications
Firebase Cloud Messaging for iOS
AWS SQS SNS
Ad

More from Futada Takashi (20)

PDF
ES6 ECMA2015
PDF
PDF
Aws(sdk)
PDF
Objective c(lang)
PDF
PDF
PDF
PDF
PDF
PDF
PDF
PDF
Bootstrap
PDF
Coffee script
PDF
AngularJS
PDF
PDF
Swift study: Closure
PDF
Swift study: iBeacon
PDF
Swift Map
ES6 ECMA2015
Aws(sdk)
Objective c(lang)
Bootstrap
Coffee script
AngularJS
Swift study: Closure
Swift study: iBeacon
Swift Map

Recently uploaded (20)

PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
CapCut Video Editor 6.8.1 Crack for PC Latest Download (Fully Activated) 2025
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PDF
Website Design Services for Small Businesses.pdf
PDF
Complete Guide to Website Development in Malaysia for SMEs
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Download FL Studio Crack Latest version 2025 ?
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
17 Powerful Integrations Your Next-Gen MLM Software Needs
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
Reimagine Home Health with the Power of Agentic AI​
Operating system designcfffgfgggggggvggggggggg
CapCut Video Editor 6.8.1 Crack for PC Latest Download (Fully Activated) 2025
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
Website Design Services for Small Businesses.pdf
Complete Guide to Website Development in Malaysia for SMEs
Design an Analysis of Algorithms I-SECS-1021-03
Download FL Studio Crack Latest version 2025 ?
Design an Analysis of Algorithms II-SECS-1021-03
Digital Systems & Binary Numbers (comprehensive )
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Navsoft: AI-Powered Business Solutions & Custom Software Development
Designing Intelligence for the Shop Floor.pdf
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
17 Powerful Integrations Your Next-Gen MLM Software Needs
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
CHAPTER 2 - PM Management and IT Context
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
Weekly report ppt - harsh dattuprasad patel.pptx

Aws(sns)

  • 1. AWS Simple Notification Service for iOS http://docs.aws.amazon.com/sns/latest/dg/mobile-push-apns.html#create-ios-app-apns
  • 2. Overview Apple Developer Center Keychain .p12 Your App on iOS 3. Device Token AWS SNS APNS Push 6. Publish Get endpoint 1. cer 2. Generate 4. Register 5. Register AWS ES2 Node.js 7. Publish
  • 3. Step1 Download a APNS cer Download a cer for your AppID openssl x509 -in aps_development.cer -inform DER -out myapnsappcert.pem Convert the cer file to a pem
  • 4. Step2 Get a private key - .p12 Export a .p12 file from Keychain Convert it to a pem openssl pkcs12 -in aps_dev.p12 -out myapnsappprivatekey.pem -nodes -clcerts
  • 5. Optional Connecting APNS to verify the certs You can verify APNS connections using the pem files. openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert myapnsappcert.pem -key myapnsappprivatekey.pem
  • 6. Step3 Get a device token from APNS Run a sample app that retrieve a device token from APNS. Change Bundle ID
  • 7. Step4 Register .p12 with AWS SNS Head over to AWS SNS console, create a platform app. http://docs.aws.amazon.com/sns/latest/dg/mobile-push-send-directmobile.html
  • 8. Step5 Create an endpoint to the device token Head over to AWS SNS console, create a platform app. Fill in your token here
  • 9. Step6 Publish a message directly to an endpoint Publish a message from AWS SNS console.
  • 10. Publish a message from a Lambda (Node.js) Publish a message from a Lambda (Node.js) IAM 2. publish Lambda(Node.js) SNS Endpoint APNS DeviceToken iPhone 1.Role&Policy
  • 11. Step1. Creating a Role IAM > Roles > Create New Role
  • 12. Step2. Creating a Lambda function Specify the topic or endpoint
  • 13. Step2. Creating a Lambda function Specify the role you created in the step 1.