#AWS #SQS #FIFO Queues

Working with AWS SQS FIFO Queues

You will have to complete the following steps to setup a FIFO Queue.

· First open the SQS Console window https://console.aws.amazon.com/sqs/

· Choose Create queue, specify the correct region.

· Standard queue is selected by default. Choose FIFO

· You cannot change the queue type after you create it

· Enter name for your queue. The name of a FIFO queue must end in the .fifo suffix.

· To create the queue with default parameters, scroll to the bottom and choose Create Queue. Amazon SQS creates the queue and displays the queue’s Details page

Enter name of queue followed by .fifo suffix as viewed below

Click on Create queue.

Click on create queue lower right not displayedaccepting all defaults. Additional queues can be added; for demonstration purposes I am creating one queue

MyFifo.fifo queue has been created successfully.

FIFO queue created above

Next I will send a message to the SQS queue.

  • From the left navigation pane, choose Queues. From the queue list, I will select the queue I created.
  • From the Actions, choose send and receive messages.
  • Place text in message body.
  • Enter a Message group id.
  • Choose send message.
Message being sent by SQS

The message is sent to the console and displays successful message. Choose View Details above right to display information on the sent message.

Below displays details of the message in the SQS queue.

Message is hashed above.

Next, I will receive and delete my message.

  • From the queues page select queue
  • From Queue Actions, select Send and Receive Messages.
  • On the lower half of page, Choose Poll for messages.
Click Poll for messages above right.
Amazon SQS begins to poll servers to find messages in the queue. The progress bar on the right side of the Receive messages section displays the polling duration.

Here is my test message.

SQS configuration is correct.

To delete messages, select the messages that you want to delete and choose Delete.

Click Delete.

Deleting the SQS queue.

Under queues choose queue and delete.

Click Delete.

Queue has been deleted.

Queue has been deleted.

This is a very simple and clean setup.

--

--

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Eric Wainwright

DevOps engineer in search of Cloud Engineer role. Looking for Cloud Operations or Cloud Infrastructure opportunities.