- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Working with AWS SQS FIFO Queues
In this hands-on lab, you will learn how to create and interact with first-in-first-out (FIFO) SQS queues. This lab will provide an important distinction from SQS standard queues, noting the key characteristics and functionality differences between the two. By the end of the lab, you should feel comfortable creating and interacting with SQS FIFO queues. You will also learn and become familiar with various API actions used to interact with the SQS service via the AWS CLI and AWS SDKs.

Lab Info
Table of Contents
-
Challenge
Create a FIFO SQS Queue
You'll need to create an AWS SQS Queue using the AWS CLI on the EC2 instance provided.
- Sign in to the EC2 instance provided using the credentials in Cloud Assessments
- Run the Python script to create the SQS queue
create_queue.py
- Remember to copy the URL that is printed to the screen and paste it into to the
sqs_url.py
file for later
-
Challenge
Send and Process Messages to Your SQS FIFO Queue
Use the EC2 instance provided to send messages to your SQS queue and process them.
- Make sure you've updated the sqs_url.py file with the SQS queue URL
- Review the
data.json
file - Remember to start up the
queue_status.py
script - Run the Python3
fifo_producer.py
script to send messages to the SQS queue - Run the Python3
fifo_consumer.py
script to consume the messages in the queue - If you need to start over at any point you can start over with the
purge_queue.py
script
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.