Book Image

AWS Certified Developer - Associate Guide

By : Vipul Tankariya, Bhavin Parmar
Book Image

AWS Certified Developer - Associate Guide

By: Vipul Tankariya, Bhavin Parmar

Overview of this book

AWS Certified Developer - Associate Guide starts with a quick introduction to AWS and the prerequisites to get you started. Then, this book gives you a fair understanding of core AWS services and basic architecture. Next, this book will describe about getting familiar with Identity and Access Management (IAM) along with Virtual private cloud (VPC). Moving ahead you will learn about Elastic Compute cloud (EC2) and handling application traffic with Elastic Load Balancing (ELB). Going ahead you we will talk about Monitoring with CloudWatch, Simple storage service (S3) and Glacier and CloudFront along with other AWS storage options. Next we will take you through AWS DynamoDB – A NoSQL Database Service, Amazon Simple Queue Service (SQS) and CloudFormation Overview. Finally, this book covers understanding Elastic Beanstalk and overview of AWS lambda. At the end of this book, we will cover enough topics, tips and tricks along with mock tests for you to be able to pass the AWS Certified Developer - Associate exam and develop as well as manage your applications on the AWS platform.
Table of Contents (29 chapters)
Title Page
Credits
About the Author
Acknowledgments
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface
Index

Sending Amazon SNS messages to Amazon SQS queues


The Amazon SNS topic's publisher can send a notification to an Amazon SQS queue. It is essential that the SQS queue is subscribed to a topic.

Note

A prerequisite is to have an SNS topic and an SQS queue.

Consider the steps as following:

  1. Go to the SQS dashboard, as shown in Figure 13.30:

Figure 13.30: Amazon SQS dashboard

  1. Select the queue and click the Queue Actions drop-down menu. Select Subscribe Queue to SNS Topic, as shown in Figure 13.31:

Figure 13.31: Subscribe Queue to SNS Topic

  1. In the pop-up, select the appropriate AWS region where the SNS topic is created, choose the appropriate SNS topic to subscribe to the selected SQS queue and click Subscribe, as shown in Figure 13.32:

Figure 13.32: Subscribe to a Topic

Note

In the preceding pop-up, typing an ARN helps an SNS topic in another AWS account.

  1. On successful subscription of an SQS queue to an SNS topic, a pop-up will appear, as shown in Figure 13.33:

Figure 13.33: Subscription result

  1. To verify whether...