Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Working with AWS SQS Standard Queues

In this hands-on lab, you will learn how to create and interact with SQS standard queues. You will send messages to an SQS queue that you create and learn how to take advantage of SQS queues to use multiple SQS consumers to process queue data at the same time! By the end of this AWS learning activity, you should feel comfortable interacting with the SQS service via the Boto3 SDK for Python. You will also gain an understanding of how to send messages to standard queues, set queue attributes, and consume messages from the queues we create.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 1h 0m
Published
Clock icon Mar 12, 2018

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create a Standard SQS Queue

    Note: Please give the lab an extra 5 minutes before connecting via ssh. Use the EC2 instance provided to create an SQS queue.

    1. Sign in to the EC2 instance using the credentials provided.
    2. Create your SQS queue using the create_queue.py script.
    3. Make sure you copy the queue URL inside the sqs_url.py file.
  2. Challenge

    Interact with the New SQS Queue

    Use the AWS CLI and the Python3 scripts inside of the EC2 instance provided to send and receive messages.

    1. Make sure you have already created the SQS queue and copied the queue URL to the sqs_url.py file.
    2. Review the JSON data files in the EC2 instance.
    3. Remember to start up the queue_status.py script.
    4. Run the Python3 producer scripts to send messages to the SQS queue.
    5. Run the Python3 consumer scripts to get, process, and delete messages in the SQS queue.
    6. If you need to start over at any point, you can start over with the purge_queue.py script.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans