For the sake of avoiding duplication in the lab, steps such as initializing the SQS, SNS or EventGeneratorConfigurationUrl interfaces will be summarized. In addition, we will perform SQS in the lab in the style of Standard
In this lab, you will start by building a simple pub/sub implementation. An Amazon SNS topic will be used to publish events you an Amazon SQS queue subscriber. This will allow you to easily verify the successful delivery of your messages.
An Amazon SNS topic is a logical access point that acts as a communication channel. A topic lets you group multiple endpoints (such as AWS Lambda, Amazon SQS, HTTP/S, or an email address).
To broadcast the messages of a message-producer system (for example, an e-commerce website) working with multiple other services that require its messages (for example, checkout and fulfilment systems), you can create a topic for your producer system.
Open AWS Management Console
If you have not created an Amazon SQS queue before, you will see the Simple Queue Service homepage. Select Get Started Now, otherwise click Create queue at the top of your queue list
In the Create queue interface
OrdersQueue
To receive published notifications for a topic, you must subscribe to an endpoint for that topic. In this case, we will register the SQS queue you created in the previous step as the endpoint. When you subscribe to an endpoint for a topic, the endpoint starts receiving published messages for the associated topic.
Start message push test with Event Generator
You will need to choose the correct Region.
Access to SQS
In the detail screen
The steps in the lab are quite long, so be careful to avoid mistakes. You can learn more about Pub/sub pattern