hands-on lab

Manage Message Queues Using Amazon SQS

Up to 55m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


Amazon Simple Queue Service (Amazon SQS) offers fast, reliable and scalable queues for storing messages. By using Amazon SQS, you can move data between distributed components of your applications that perform different tasks without losing messages or requiring each component to be always available. A queue is a temporary repository for messages that are awaiting processing.

During this introductory Lab, you will learn how to create an SQS queue, send queue messages and retrieve and delete them.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Create SQS queues
  • Send SQS messages
  • Retrieve and delete SQS messages using the AWS Management Console
  • Work with SQS messages using the AWS CLI

Lab Prerequisites

You should be familiar with:

  • AWS Management Console and AWS CLI familiarity are helpful but not required

You can complete the Introduction to the AWS CLI Lab to learn more using the AWS CLI in Linux.


June 23rd, 2023 - Resolved deprecation warning

October 30th, 2022 - Updated instructions and screenshots to improve clarity

August 3rd, 2022 - Resolved deployment issue

July 11th, 2022 - Resolved deployment issue

January 14th, 2022 - Updated instructions and screenshots to reflect the latest UI

September 6th, 2021 - Updated screenshot for Sending Messages to an SQS Queue lab step

June 4th, 2019 - Included a Lab Step showing how to use the AWS CLI with an SQS queue, reformatted the Lab, upgraded to a custom validation Lab Step

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

Environment before

Environment after

About the author

Learning paths

Stefano studies Computer Science and is passionate about technology. He loves working with Cloud services and learning all the best practices for them. Google Cloud Platform and Amazon Web Services are the cloud providers he prefers. He is a Google Cloud Certified Associate Cloud Engineer. Node.js is the programming language he always uses to code. When he's not involved in studying or working, Stefano loves riding his motorbike and exploring new places.

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Creating an SQS Queue
Sending Messages to an SQS Queue
Polling for SQS Messages
Deleting a Queue Message
Opening the AWS Cloud9 IDE
Interacting with Amazon SQS Using the AWS CLI
Deleting an SQS Queue