Learning/AWS SQS/29 — Hands-on Labs/Lab 01 — Create your first queue
Beginner outline
This chapter is an outline. The curriculum, learning objectives and structure are settled; the prose, diagrams and code are still being written. What is below is the plan for the chapter, not the chapter.

Lab 01 — Create your first queue

Goal

Queue URL vs ARN, and the four attributes worth setting before anything else.

Setup

To be written — CLI commands and an IaC equivalent for every resource, all prefixed sqs-course-.

Steps

  1. Create a queue in the console and inspect every default attribute
  2. Create the same queue from the CLI with explicit attributes
  3. Compare: note that ReceiveMessageWaitTimeSeconds defaults to 0 via the API
  4. Read the queue URL and derive the ARN
  5. Change the visibility timeout and re-read the attributes

What you should observe

  • The console and the API give you different defaults
  • The queue URL contains the Region and account id
  • Every attribute you did not set has a default, and the defaults are rarely what you want

Why it happened

To be written — ties each observation back to the mechanism in 04 — Sending and Receiving Messages.

Experiments to try

To be written — deliberate variations that change the outcome.

Teardown

To be written — every resource created above, in dependency order.


Back to: 29 — Hands-on Labs