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 47 certification 6 lab-steps 19 quiz-steps 4 description 2

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

Ready for the real environment experience?

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


Antonio is an IT Manager and a software and infrastructure Engineer with 15 years of experience in designing, implementing and deploying complex webapps.

He has a deep knowledge of the IEEE Software and Systems Engineering Standards and of several programming languages (Python, PHP, Java, Scala, JS).

Antonio has also been using and designing cloud infrastructures for five years, using both public and private cloud services (Amazon Web Services, Google Cloud Platform, Azure, Openstack and Vmware vSphere).

During his past working experiences, he designed and managed large web clusters, also developing a service orchestrator for providing automatic scaling, self-healing and a Disaster Recovery Strategy.

Antonio is currently the Labs Product Manager and a Senior DevOps Engineer at Cloud Academy; his main goal is providing the best learn-by-doing experience possible taking care of the Cloud Academy Labs platform.