Explain the Creation of SNS topic

This recipe explains what the Creation of SNS topic

Recipe Objective - Explain the Creation of the SNS topic?

The Amazon Simple Notification Service or Amazon SNS is widely used and is defined as a fully managed messaging service for both the application-to-application (A2A) and application-to-person (A2P) communication. For The A2A pub/sub, the functionality provides topics for the high-throughput, push-based, many-to-many messaging between the distributed systems, microservices, and event-driven serverless applications. Using the Amazon SNS topics, users publisher systems can find out the messages to a large number of subscriber systems which includes Amazon SQS queues, AWS Lambda functions, HTTPS endpoints, and Amazon Kinesis Data Firehose, for parallel processing. The A2P functionality further enables users to send messages to users at a scale via SMS, mobile push, and email. The Amazon SNS topic is also can be defined as a logical access point that acts as a communication channel. The topic lets group multiple endpoints (such as AWS Lambda, Amazon SQS, HTTP/S, or an email address). For broadcasting the messages of a message-producer system working with multiple other services that require its messages (for example, fulfilment systems), a topic can be created for the producer system. The first and most common Amazon SNS task is for creating a topic. During the creation, a topic type (standard or FIFO) can be chosen and further naming of the topic can be done.

Yelp Dataset Analysis with Spark and Parquet

Benefits of Amazon Simple Notification Service

  • The Amazon SQS reliably delivers messages. Also, Using Amazon SQS to transmit any volume of data, at any level of throughput can be done without losing the messages or requiring other services to be available. Amazon SQS lets users decouple application components so that they run and fail independently, further increasing the overall fault tolerance of the system. Multiple copies of every message are stored redundantly across multiple availability zones so that they are available whenever needed. The Amazon SNS ensures accuracy with the message ordering and deduplication. The Amazon SNS FIFO topics work with Amazon SQS FIFO queues to further ensure messages are delivered in a strictly-ordered manner and are only processed once. This enables users to maintain accuracy and consistency when processing the transactions across the single or multiple independent services.

System Requirements

  • Any Operating System(Mac, Windows, Linux)

This recipe explains Amazon SNS and the creation of Amazon SNS.

Creation of Amazon Simple Notification Service

    • Open Amazon SNS console at https://console.aws.amazon.com/sns/v3/home?region=us-east-1 and choose Topics if topics have been created under your AWS account before, on the navigation panel.

Amazon SNS can be created using the link and further choose topics in the AWS account on the navigation panel.

    • On the Topics page, choose Create topic.

Amazon SNS offers the Create Topic option on the Topics page.

    • Choose a topic type (Standard or FIFO) on the Create topic page in the Details section and Enter a Name for the topic. For a FIFO topic, add .fifo to the end of the name

Amazon SNS offers a Topic type option by the user on the Create topic page in the Details section and further enter a name for the topic. Further, a fifo topic is to be added at the end of the name.

    • (Optional) For the topic, Enter a Display name.

Amazon SNS offers to display the name for the topic.

    • (Optional)Choose content-based message deduplication to enable default message deduplication for a FIFO topic,

Amazon SNS offers to choose the content-based message deduplication for enabling default message deduplication for FIFO topics.

    • (Optional) Open the Encryption section and Choose Enable Encryption option.

Amazon SNS offers Enable Encryption option by opening the Encryption section.

    • Choose Send and receive messages from Actions.

Amazon SNS offers the choose send and receives messages from the actions.

    • Optional) By default, the only topic owner has the right to publish or subscribe to the topic.

Amazon SNS offers only the rights to publish or subscribe to the topic.

    • (Optional) Expand the Delivery status logging section for configuring how the Amazon SNS logs the delivery of messages to CloudWatch.

Amazon SNS logs the delivery of messages to the CloudWatch by expanding the delivery status logging section for configuring.

    • (Optional) Expand the Tags section, enter a Key and a Value (optional) and choose the Add tag option for adding the metadata tags to the topic.

Amazon SNS offers a key option where users can enter values and further choose add tag option for adding the metadata tags to the topic.

  • Choose Create Topic.

    Finally, Choose the create the topic option in Amazon SNS.

What Users are saying..

profile image

Ameeruddin Mohammed

ETL (Abintio) developer at IBM
linkedin profile url

I come from a background in Marketing and Analytics and when I developed an interest in Machine Learning algorithms, I did multiple in-class courses from reputed institutions though I got good... Read More

Relevant Projects

Build an Analytical Platform for eCommerce using AWS Services
In this AWS Big Data Project, you will use an eCommerce dataset to simulate the logs of user purchases, product views, cart history, and the user’s journey to build batch and real-time pipelines.

Databricks Data Lineage and Replication Management
Databricks Project on data lineage and replication management to help you optimize your data management practices | ProjectPro

SQL Project for Data Analysis using Oracle Database-Part 7
In this SQL project, you will learn to perform various data wrangling activities on an ecommerce database.

SQL Project for Data Analysis using Oracle Database-Part 3
In this SQL Project for Data Analysis, you will learn to efficiently write sub-queries and analyse data using various SQL functions and operators.

AWS Project for Batch Processing with PySpark on AWS EMR
In this AWS Project, you will learn how to perform batch processing on Wikipedia data with PySpark on AWS EMR.

Python and MongoDB Project for Beginners with Source Code-Part 2
In this Python and MongoDB Project for Beginners, you will learn how to use Apache Sedona and perform advanced analysis on the Transportation dataset.

Python and MongoDB Project for Beginners with Source Code-Part 1
In this Python and MongoDB Project, you learn to do data analysis using PyMongo on MongoDB Atlas Cluster.

Getting Started with Pyspark on AWS EMR and Athena
In this AWS Big Data Project, you will learn to perform Spark Transformations using a real-time currency ticker API and load the processed data to Athena using Glue Crawler.

Orchestrate Redshift ETL using AWS Glue and Step Functions
ETL Orchestration on AWS - Use AWS Glue and Step Functions to fetch source data and glean faster analytical insights on Amazon Redshift Cluster

Build an ETL Pipeline with DBT, Snowflake and Airflow
Data Engineering Project to Build an ETL pipeline using technologies like dbt, Snowflake, and Airflow, ensuring seamless data extraction, transformation, and loading, with efficient monitoring through Slack and email notifications via SNS