Working with SQS FIFO Queues

Working with SQS FIFO Queues
Working with SQS FIFO Queues

CLOUD LABS

Working with SQS FIFO Queues

In this Cloud Lab, you’ll explore the features of Amazon SQS FIFO queues, learn how to create and manage them and understand their unique characteristics compared to standard queues.

8 Tasks

beginner

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

A thorough understanding of SQS FIFO queues
The ability to invoke Lambda function with multiple SQS queues
An understanding of the differences between FIFO and standard queues in Amazon SQS

Technologies
Lambda logoLambda
SQS logoSQS
DynamoDB logoDynamoDB
SNS logoSNS
Cloud Lab Overview

Amazon Simple Queue Service (Amazon SQS) is a serverless service provided by Amazon. It is used to send, store, and receive messages between different applications. Amazon SQS offers two kinds of queues: standard queues and FIFO queues. The order of incoming and outgoing messages may change in standard queues, but the order is retained in FIFO queues.

In this Cloud Lab, you’ll start by creating two SQS queues, a standard queue and a FIFO queue. You’ll then create a DynamoDB table and add some items to it. Each item will have a specific quantity associated with it. You’ll then create an SNS topic with an email subscriber. After this, you’ll create a Lambda function that will receive messages from the SQS queue, fetch the item mentioned in the SQS message from the DynamoDB table, update items in the DynamoDB table, and publish messages to the SNS topic, which will then be delivered to our email address.

Finally, you’ll test this application by sending multiple messages to the SQS queue using Boto3. After completing this Cloud Lab, you’ll have a thorough understanding of SQS FIFO queues and how they’re different from standard queues. The following is the high-level architecture you will create in this Cloud Lab:

Architecture diagram
Architecture diagram
Cloud Lab Tasks
1.Introduction
Getting Started
2.Working with FIFO and Standard Queues
Create SQS Queues
Create the DynamoDB Table
Create the SNS Topic
Create a Lambda Function
Test the SQS Queues
3.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image