AWS For Developers For Dummies
Book image
Explore Book Buy On Amazon
Before you can do much with SQS, you need a queue. It’s possible to create a queue using the AWS console, CLI, or programmatically. Using the console to create the queue simply to allow you to see how the console appears..
  1. Sign into AWS using your user account.
  2. Navigate to the SQS Console.

    You see a Welcome page that contains interesting information about SQS and what it can do for you. However, you don’t see the actual console at this point.

  3. Click Get Started with Amazon SQS for Free.

    You see a second helpful page of SQS information.

  4. Click Get Started Now.

    You finally see a Create New Queue page. You can create a standard queue or a First In/First Out (FIFO) queue. The two queue types are quite different, and you need to exercise care in choosing one over the other. The FIFO queue is the best option when working in a transactional environment in which you require precise message control. The standard queue serves most development needs.

    choose queue AWS Choose between a standard and FIFO queue based on application requirements.
  5. Type TestQueue in the Queue Name field.

    Every queue you own must have a unique name.

  6. Verify that the value in the Region field is correct.

    You should normally use the same region you use for your EC2 and S3 setups. If the region value is incorrect, choose a new value from the region drop-down list at the top, right side of the page.

  7. Choose Standard Queue and then click Quick-Create Queue.

    You see the SQS Console. The console starts with the new queue selected so that you can see queue details. The console shows that the queue currently has no messages available and no messages being processed.

    SQS console AWS The SQS Console shows the queues you have in place and their status.

    You also have an option to configure the queue before you use it. In this case, you click Configure Queue instead. This option lets you change the default parameters, such as the maximum message size and the number of days that the queue retains messages. In most cases, the default parameters work fine for test setups used by developers.

About This Article

This article is from the book:

About the book author:

John Mueller is an author and technical editor who has written 103 books. Some of his current works include Python development books. He has also written AWS For Admins For Dummies, which provides administrators a great place to start with Amazon Web Services (AWS). John has had an interest in AWS since its inception. In fact, he wrote Mining Amazon Web Services based on that humble beginning. Be sure to read John's blog at http://blog.johnmuellerbooks.com/.

This article can be found in the category: