SlideShare a Scribd company logo
BADIR - Riyadh
29-12-2018
AWS Messaging
AWS Riyadh
User Group
Ahmed Aziz
21
@Ahmed_Aziz
/in/ahmedsleem
Ahmed.aziz.sleem@gmail.com
Agenda
• Events-Driven Architecture
• Overview
• Amazon MQ
• Amazon SQS
• Amazon Kinesis data stream
• Amazon SNS
• Amazon PinPoint
• AWS IoT Message Broker
If your application is
cloud-native, or large-scale,
or distributed, and doesn’t
include a messaging component,
that’s probably a bug
Tim Bray
Senior Principe Engineer
Events-Driven Architecture
Overview
• Enables different systems to communicate or
exchange information.
• Decouple and scale microservices, distributed
systems, and serverless applications.
• Stores messages redundantly across multiple AZs.
• Fully manage service:
– The underlying infrastructure is automatically provisioned
for high availability and message durability to support the
reliability of your applications.
Amazon MQ (1 of 2)
• Reduces your operational load by managing the provisioning,
setup, and maintenance of ActiveMQ.
• Uses standards(JMS, NMS, AMQP, STOMP, MQTT, WebSocket)
• There’s no need to rewrite any messaging code when you
migrate to AWS.
• With active/standby brokers, Amazon MQ automatically fails
over to a standby instance.
• Single-instance brokers (if the node fails, it will be unavailable
until it is restarted).
Amazon MQ (2 of 2)
• Uses the “network of brokers”.
• Brokers in the network share information about the
clients and destinations each broker hosts.
• You are charged for broker instance and storage usage,
and standard data transfer fees.
• Provides encryption of your messages at rest and in
transit.
• Integrated with AWS Identity and Access Management
(IAM)
Amazon SQS (1 of 3)
Standard Queues FIFO Queues
Unlimited Throughput • Up to 300 messages per second.
• Batch: 10 messages per operation(max)
At-Least-Once Delivery Exactly-Once Processing
Best-Effort Ordering First-In-First-Out Delivery
Tag the messages to form an ordered
groups
Amazon SQS
Amazon SQS (2 of 3)
• Message payload (single/Batch) size is (256 KB)
• Messages more than 256KB  use JAVA extended lib.
• Retain messages in queues up to 14 days (default 4d).
• Long polling is more cost effective than short polling.
• Message is locked once handled by the consumer.
• Message is not getting processed -> lock expired.
• Dead Letter Queue must be the same as source queue.
Amazon SQS (3 of 3)
• Exchange sensitive data between applications using
Server-Side Encryption (SSE) to encrypt each message
body.
• AWS Key Management Service (KMS) allows you to
centrally manage the keys that protect SQS messages.
• Transfer data between Amazon SQS and Amazon EC2
or AWS Lambda free of charge within a single region.
Amazon Kinesis (1 of 3)
• Collect, process, streaming data and analyze real-time.
• Transform the data before emitting to a data store.
• Designed to scale without limits via increasing the
number of shards.
• Records of a stream are accessible for up to 24 hours,
You can raise this limit to up to 7 days.
• The maximum size of a data blob 1 MB.
• Each shard can support up to 1000PUT records/second.
• It provides ordering of records.
Amazon Kinesis (2 of 3)
Amazon Kinesis (3 of 3)
Producer 1 Producer 2
Increase throughput Consumer Affinity
Amazon SNS (1 of 3)
• Push-based, many-to-many messaging. Using Amazon
SNS topics.
• Pub/Sub messaging architecture.
• Can fan out messages to a large number of endpoints.
• Subscribing endpoints receive only the messages of
interest.
• Data is encrypted in transit, and can also encrypt data
at rest.
Amazon SNS (2 of 3)
Amazon SNS (3 of 3)
• Push-based, many-to-many messaging uing SNS topics.
• Pub/Sub messaging architecture.
• Can fan out messages to a large number of endpoints.
• Subscribing endpoints filtration.
• Data is encrypted in transit, and at rest.
• maximum limit of 256 KB for published messages. Each
64KB chunk of published data is billed as 1 request.
• First 1 million  free, 1 million  $0.50 thereafter
Amazon PinPoint
• Messaging for real-time user engagement.
• Event-based campaigns to your customers when they
take specific actions within your applications.
• Deliverability Dashboard helps you improve your inbox
placement rate.
• Automatic responses when customers send you
messages that contain certain keywords.
• Reach your customers using dedicated, local number
AWS IoT Message Broker
• Pub/Sub broker service.
• Sending / receiving of messages to / from AWS IoT.
• Client sends a message addressed to a topic like
Sensor/temp/room1
• The message broker, in turn, sends the message to all
clients that have registered to receive messages for
that topic.
• The topic namespace is isolated for each AWS account
and region pair.
Questions
See You Next Meetup
AWS Riyadh User Group
Ad

More Related Content

Similar to AWS Messaging (18)

Highlights of AWS ReInvent 2023 (Announcements and Best Practices)
Highlights of AWS ReInvent 2023 (Announcements and Best Practices)Highlights of AWS ReInvent 2023 (Announcements and Best Practices)
Highlights of AWS ReInvent 2023 (Announcements and Best Practices)
Emprovise
 
JustGiving – Serverless Data Pipelines, API, Messaging and Stream Processing
JustGiving – Serverless Data Pipelines,  API, Messaging and Stream ProcessingJustGiving – Serverless Data Pipelines,  API, Messaging and Stream Processing
JustGiving – Serverless Data Pipelines, API, Messaging and Stream Processing
Luis Gonzalez
 
JustGiving | Serverless Data Pipelines, API, Messaging and Stream Processing
JustGiving | Serverless Data Pipelines, API, Messaging and Stream ProcessingJustGiving | Serverless Data Pipelines, API, Messaging and Stream Processing
JustGiving | Serverless Data Pipelines, API, Messaging and Stream Processing
BEEVA_es
 
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
QCloudMentor
 
AWS basics
AWS basicsAWS basics
AWS basics
mbaric
 
AWS Serverless key services
AWS Serverless key servicesAWS Serverless key services
AWS Serverless key services
Faisal Ahmed Farooqui
 
Aws image recognition
Aws image recognitionAws image recognition
Aws image recognition
Monika Mishra
 
Embrace the Cloud - Inspiring Conference 2015
Embrace the Cloud - Inspiring Conference 2015Embrace the Cloud - Inspiring Conference 2015
Embrace the Cloud - Inspiring Conference 2015
Henrik Møller Rasmussen
 
AWS GLOBAL INFRA AND SERVICE LIST01.pptx
AWS GLOBAL INFRA AND SERVICE LIST01.pptxAWS GLOBAL INFRA AND SERVICE LIST01.pptx
AWS GLOBAL INFRA AND SERVICE LIST01.pptx
susilmoharana621
 
UCT AWS_IOT
UCT AWS_IOTUCT AWS_IOT
UCT AWS_IOT
uniconvergetechnologies
 
AWS Chicago user group - October 2015 "reInvent Replay"
AWS Chicago user group - October 2015 "reInvent Replay"AWS Chicago user group - October 2015 "reInvent Replay"
AWS Chicago user group - October 2015 "reInvent Replay"
Cohesive Networks
 
AWS Summit Seoul 2015 - AWS 클라우드를 활용한 빅데이터 및 실시간 스트리밍 분석
AWS Summit Seoul 2015 -  AWS 클라우드를 활용한 빅데이터 및 실시간 스트리밍 분석AWS Summit Seoul 2015 -  AWS 클라우드를 활용한 빅데이터 및 실시간 스트리밍 분석
AWS Summit Seoul 2015 - AWS 클라우드를 활용한 빅데이터 및 실시간 스트리밍 분석
Amazon Web Services Korea
 
Mule sqs
Mule sqsMule sqs
Mule sqs
Srikrishna k
 
Cloud computing aws -key services
Cloud computing  aws -key servicesCloud computing  aws -key services
Cloud computing aws -key services
Selvaraj Kesavan
 
Introduction to cloud computing
Introduction to cloud computingIntroduction to cloud computing
Introduction to cloud computing
Vijay Kalangi
 
Cloud Service.pptx
Cloud Service.pptxCloud Service.pptx
Cloud Service.pptx
SibinBharathi
 
Em tempo real: Ingestão, processamento e analise de dados
Em tempo real: Ingestão, processamento e analise de dadosEm tempo real: Ingestão, processamento e analise de dados
Em tempo real: Ingestão, processamento e analise de dados
Amazon Web Services LATAM
 
An Introduction to the Message Queuing Technology & IBM WebSphere MQ
An Introduction to the Message Queuing Technology & IBM WebSphere MQAn Introduction to the Message Queuing Technology & IBM WebSphere MQ
An Introduction to the Message Queuing Technology & IBM WebSphere MQ
Ravi Yogesh
 
Highlights of AWS ReInvent 2023 (Announcements and Best Practices)
Highlights of AWS ReInvent 2023 (Announcements and Best Practices)Highlights of AWS ReInvent 2023 (Announcements and Best Practices)
Highlights of AWS ReInvent 2023 (Announcements and Best Practices)
Emprovise
 
JustGiving – Serverless Data Pipelines, API, Messaging and Stream Processing
JustGiving – Serverless Data Pipelines,  API, Messaging and Stream ProcessingJustGiving – Serverless Data Pipelines,  API, Messaging and Stream Processing
JustGiving – Serverless Data Pipelines, API, Messaging and Stream Processing
Luis Gonzalez
 
JustGiving | Serverless Data Pipelines, API, Messaging and Stream Processing
JustGiving | Serverless Data Pipelines, API, Messaging and Stream ProcessingJustGiving | Serverless Data Pipelines, API, Messaging and Stream Processing
JustGiving | Serverless Data Pipelines, API, Messaging and Stream Processing
BEEVA_es
 
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
AWS Study Group - Chapter 07 - Integrating Application Services [Solution Arc...
QCloudMentor
 
AWS basics
AWS basicsAWS basics
AWS basics
mbaric
 
Aws image recognition
Aws image recognitionAws image recognition
Aws image recognition
Monika Mishra
 
Embrace the Cloud - Inspiring Conference 2015
Embrace the Cloud - Inspiring Conference 2015Embrace the Cloud - Inspiring Conference 2015
Embrace the Cloud - Inspiring Conference 2015
Henrik Møller Rasmussen
 
AWS GLOBAL INFRA AND SERVICE LIST01.pptx
AWS GLOBAL INFRA AND SERVICE LIST01.pptxAWS GLOBAL INFRA AND SERVICE LIST01.pptx
AWS GLOBAL INFRA AND SERVICE LIST01.pptx
susilmoharana621
 
AWS Chicago user group - October 2015 "reInvent Replay"
AWS Chicago user group - October 2015 "reInvent Replay"AWS Chicago user group - October 2015 "reInvent Replay"
AWS Chicago user group - October 2015 "reInvent Replay"
Cohesive Networks
 
AWS Summit Seoul 2015 - AWS 클라우드를 활용한 빅데이터 및 실시간 스트리밍 분석
AWS Summit Seoul 2015 -  AWS 클라우드를 활용한 빅데이터 및 실시간 스트리밍 분석AWS Summit Seoul 2015 -  AWS 클라우드를 활용한 빅데이터 및 실시간 스트리밍 분석
AWS Summit Seoul 2015 - AWS 클라우드를 활용한 빅데이터 및 실시간 스트리밍 분석
Amazon Web Services Korea
 
Cloud computing aws -key services
Cloud computing  aws -key servicesCloud computing  aws -key services
Cloud computing aws -key services
Selvaraj Kesavan
 
Introduction to cloud computing
Introduction to cloud computingIntroduction to cloud computing
Introduction to cloud computing
Vijay Kalangi
 
Em tempo real: Ingestão, processamento e analise de dados
Em tempo real: Ingestão, processamento e analise de dadosEm tempo real: Ingestão, processamento e analise de dados
Em tempo real: Ingestão, processamento e analise de dados
Amazon Web Services LATAM
 
An Introduction to the Message Queuing Technology & IBM WebSphere MQ
An Introduction to the Message Queuing Technology & IBM WebSphere MQAn Introduction to the Message Queuing Technology & IBM WebSphere MQ
An Introduction to the Message Queuing Technology & IBM WebSphere MQ
Ravi Yogesh
 

More from AWS Riyadh User Group (15)

AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul MaddoxAWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
AWS Riyadh User Group
 
AWS reinvent 2019 recap - Riyadh - Database and Analytics - Assif Abbasi
AWS reinvent 2019 recap - Riyadh - Database and Analytics - Assif AbbasiAWS reinvent 2019 recap - Riyadh - Database and Analytics - Assif Abbasi
AWS reinvent 2019 recap - Riyadh - Database and Analytics - Assif Abbasi
AWS Riyadh User Group
 
AWS reinvent 2019 recap - Riyadh - Network and Security - Anver Vanker
AWS reinvent 2019 recap - Riyadh - Network and Security - Anver VankerAWS reinvent 2019 recap - Riyadh - Network and Security - Anver Vanker
AWS reinvent 2019 recap - Riyadh - Network and Security - Anver Vanker
AWS Riyadh User Group
 
AWS reinvent 2019 recap - Riyadh - AI And ML - Ahmed Raafat
AWS reinvent 2019 recap - Riyadh - AI And ML - Ahmed RaafatAWS reinvent 2019 recap - Riyadh - AI And ML - Ahmed Raafat
AWS reinvent 2019 recap - Riyadh - AI And ML - Ahmed Raafat
AWS Riyadh User Group
 
Demistifying serverless on aws
Demistifying serverless on awsDemistifying serverless on aws
Demistifying serverless on aws
AWS Riyadh User Group
 
Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...
Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...
Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...
AWS Riyadh User Group
 
Amazon SageMaker Build, Train and Deploy Your ML Models
Amazon SageMaker Build, Train and Deploy Your ML ModelsAmazon SageMaker Build, Train and Deploy Your ML Models
Amazon SageMaker Build, Train and Deploy Your ML Models
AWS Riyadh User Group
 
AWS Technical Day Riyadh Nov 2019 - The art of mastering data protection on aws
AWS Technical Day Riyadh Nov 2019 - The art of mastering data protection on awsAWS Technical Day Riyadh Nov 2019 - The art of mastering data protection on aws
AWS Technical Day Riyadh Nov 2019 - The art of mastering data protection on aws
AWS Riyadh User Group
 
AWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in aws
AWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in awsAWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in aws
AWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in aws
AWS Riyadh User Group
 
AWS Technical Day Riyadh Nov 2019 [Migration]
AWS Technical Day Riyadh Nov 2019 [Migration]AWS Technical Day Riyadh Nov 2019 [Migration]
AWS Technical Day Riyadh Nov 2019 [Migration]
AWS Riyadh User Group
 
AWS Amplify
AWS AmplifyAWS Amplify
AWS Amplify
AWS Riyadh User Group
 
Devops on AWS
Devops on AWSDevops on AWS
Devops on AWS
AWS Riyadh User Group
 
AWS AI Services
AWS AI ServicesAWS AI Services
AWS AI Services
AWS Riyadh User Group
 
AWS Cloudformation Session 01
AWS Cloudformation Session 01AWS Cloudformation Session 01
AWS Cloudformation Session 01
AWS Riyadh User Group
 
AWS Cloud Security
AWS Cloud SecurityAWS Cloud Security
AWS Cloud Security
AWS Riyadh User Group
 
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul MaddoxAWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
AWS Riyadh User Group
 
AWS reinvent 2019 recap - Riyadh - Database and Analytics - Assif Abbasi
AWS reinvent 2019 recap - Riyadh - Database and Analytics - Assif AbbasiAWS reinvent 2019 recap - Riyadh - Database and Analytics - Assif Abbasi
AWS reinvent 2019 recap - Riyadh - Database and Analytics - Assif Abbasi
AWS Riyadh User Group
 
AWS reinvent 2019 recap - Riyadh - Network and Security - Anver Vanker
AWS reinvent 2019 recap - Riyadh - Network and Security - Anver VankerAWS reinvent 2019 recap - Riyadh - Network and Security - Anver Vanker
AWS reinvent 2019 recap - Riyadh - Network and Security - Anver Vanker
AWS Riyadh User Group
 
AWS reinvent 2019 recap - Riyadh - AI And ML - Ahmed Raafat
AWS reinvent 2019 recap - Riyadh - AI And ML - Ahmed RaafatAWS reinvent 2019 recap - Riyadh - AI And ML - Ahmed Raafat
AWS reinvent 2019 recap - Riyadh - AI And ML - Ahmed Raafat
AWS Riyadh User Group
 
Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...
Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...
Cutting to the chase for Machine Learning Analytics Ecosystem & AWS Lake Form...
AWS Riyadh User Group
 
Amazon SageMaker Build, Train and Deploy Your ML Models
Amazon SageMaker Build, Train and Deploy Your ML ModelsAmazon SageMaker Build, Train and Deploy Your ML Models
Amazon SageMaker Build, Train and Deploy Your ML Models
AWS Riyadh User Group
 
AWS Technical Day Riyadh Nov 2019 - The art of mastering data protection on aws
AWS Technical Day Riyadh Nov 2019 - The art of mastering data protection on awsAWS Technical Day Riyadh Nov 2019 - The art of mastering data protection on aws
AWS Technical Day Riyadh Nov 2019 - The art of mastering data protection on aws
AWS Riyadh User Group
 
AWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in aws
AWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in awsAWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in aws
AWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in aws
AWS Riyadh User Group
 
AWS Technical Day Riyadh Nov 2019 [Migration]
AWS Technical Day Riyadh Nov 2019 [Migration]AWS Technical Day Riyadh Nov 2019 [Migration]
AWS Technical Day Riyadh Nov 2019 [Migration]
AWS Riyadh User Group
 
Ad

Recently uploaded (20)

ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Ad

AWS Messaging

  • 1. BADIR - Riyadh 29-12-2018 AWS Messaging AWS Riyadh User Group Ahmed Aziz 21 @Ahmed_Aziz /in/ahmedsleem [email protected]
  • 2. Agenda • Events-Driven Architecture • Overview • Amazon MQ • Amazon SQS • Amazon Kinesis data stream • Amazon SNS • Amazon PinPoint • AWS IoT Message Broker
  • 3. If your application is cloud-native, or large-scale, or distributed, and doesn’t include a messaging component, that’s probably a bug Tim Bray Senior Principe Engineer
  • 5. Overview • Enables different systems to communicate or exchange information. • Decouple and scale microservices, distributed systems, and serverless applications. • Stores messages redundantly across multiple AZs. • Fully manage service: – The underlying infrastructure is automatically provisioned for high availability and message durability to support the reliability of your applications.
  • 6. Amazon MQ (1 of 2) • Reduces your operational load by managing the provisioning, setup, and maintenance of ActiveMQ. • Uses standards(JMS, NMS, AMQP, STOMP, MQTT, WebSocket) • There’s no need to rewrite any messaging code when you migrate to AWS. • With active/standby brokers, Amazon MQ automatically fails over to a standby instance. • Single-instance brokers (if the node fails, it will be unavailable until it is restarted).
  • 7. Amazon MQ (2 of 2) • Uses the “network of brokers”. • Brokers in the network share information about the clients and destinations each broker hosts. • You are charged for broker instance and storage usage, and standard data transfer fees. • Provides encryption of your messages at rest and in transit. • Integrated with AWS Identity and Access Management (IAM)
  • 8. Amazon SQS (1 of 3) Standard Queues FIFO Queues Unlimited Throughput • Up to 300 messages per second. • Batch: 10 messages per operation(max) At-Least-Once Delivery Exactly-Once Processing Best-Effort Ordering First-In-First-Out Delivery Tag the messages to form an ordered groups
  • 10. Amazon SQS (2 of 3) • Message payload (single/Batch) size is (256 KB) • Messages more than 256KB  use JAVA extended lib. • Retain messages in queues up to 14 days (default 4d). • Long polling is more cost effective than short polling. • Message is locked once handled by the consumer. • Message is not getting processed -> lock expired. • Dead Letter Queue must be the same as source queue.
  • 11. Amazon SQS (3 of 3) • Exchange sensitive data between applications using Server-Side Encryption (SSE) to encrypt each message body. • AWS Key Management Service (KMS) allows you to centrally manage the keys that protect SQS messages. • Transfer data between Amazon SQS and Amazon EC2 or AWS Lambda free of charge within a single region.
  • 12. Amazon Kinesis (1 of 3) • Collect, process, streaming data and analyze real-time. • Transform the data before emitting to a data store. • Designed to scale without limits via increasing the number of shards. • Records of a stream are accessible for up to 24 hours, You can raise this limit to up to 7 days. • The maximum size of a data blob 1 MB. • Each shard can support up to 1000PUT records/second. • It provides ordering of records.
  • 14. Amazon Kinesis (3 of 3) Producer 1 Producer 2 Increase throughput Consumer Affinity
  • 15. Amazon SNS (1 of 3) • Push-based, many-to-many messaging. Using Amazon SNS topics. • Pub/Sub messaging architecture. • Can fan out messages to a large number of endpoints. • Subscribing endpoints receive only the messages of interest. • Data is encrypted in transit, and can also encrypt data at rest.
  • 16. Amazon SNS (2 of 3)
  • 17. Amazon SNS (3 of 3) • Push-based, many-to-many messaging uing SNS topics. • Pub/Sub messaging architecture. • Can fan out messages to a large number of endpoints. • Subscribing endpoints filtration. • Data is encrypted in transit, and at rest. • maximum limit of 256 KB for published messages. Each 64KB chunk of published data is billed as 1 request. • First 1 million  free, 1 million  $0.50 thereafter
  • 18. Amazon PinPoint • Messaging for real-time user engagement. • Event-based campaigns to your customers when they take specific actions within your applications. • Deliverability Dashboard helps you improve your inbox placement rate. • Automatic responses when customers send you messages that contain certain keywords. • Reach your customers using dedicated, local number
  • 19. AWS IoT Message Broker • Pub/Sub broker service. • Sending / receiving of messages to / from AWS IoT. • Client sends a message addressed to a topic like Sensor/temp/room1 • The message broker, in turn, sends the message to all clients that have registered to receive messages for that topic. • The topic namespace is isolated for each AWS account and region pair.
  • 21. See You Next Meetup AWS Riyadh User Group

Editor's Notes

  • #8: NMS : the open source .Net Messaging API. This allows you to build .Net applications in C# or VB to a single API  STOMP: formerly known as TTMP, is a simple text-based protocol, designed for working with message-oriented middleware (MOM). It provides an interoperable wire format that allows STOMP clients to talk with any message broker supporting the protocol. MQTT: Message Queuing Telemetry Transport) is an ISO standard (ISO/IEC PRF 20922) publish-subscribe-based messaging protocol.
  • #22: You can safely remove this slide. This slide design was provided by SlideModel.com – You can download more templates, shapes and elements for PowerPoint from http://slidemodel.com
  • #23: You can safely remove this slide. This slide design was provided by SlideModel.com – You can download more templates, shapes and elements for PowerPoint from http://slidemodel.com