Manage Message Queues Using Amazon SQS

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
Validate Manage Message Queues Using Amazon SQS

The hands-on lab is part of these learning paths

Solutions Architect – Professional Certification Preparation for AWS
course-steps 48 certification 6 lab-steps 19 quiz-steps 4 description 2

Ready for the real environment experience?

Time Limit55m
star star star star star-half


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 and Linux Command Line Byte Session Labs to learn more using the AWS CLI in Linux.


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

Matt has worked for multiple Fortune 500 companies as a DevOps Engineer and Solutions Architect. He is an AWS Certified Solution Architect - Associate, AWS Certified SysOps Administrator - Associate and an AWS Certified Developer - Associate. He enjoys reading and learning new technologies.