HomeServerlessMessaging and QueuingHow to
Get started with Messaging and Queuing
Jump toUpdate content

How to get started with Messaging and Queuing

Reviewed on 03 October 2023Published on 03 October 2023

This page shows how to get started with Scaleway Messaging and Queuing. The process differs depending on the messaging protocol you want to use:

  • For NATS, you need to create a NATS account.
  • For SQS or SNS, you need to activate the protocol.

Both procedures are described in full below.

Security & Identity (IAM):

You may need certain IAM permissions to carry out some actions described on this page. This means:

  • you are the Owner of the Scaleway Organization in which the actions will be carried out, or
  • you are an IAM user of the Organization, with a policy granting you the necessary permission sets
Requirements:

How to create a NATS account

To start using a NATS message broker, you must first create a NATS account. This sets a scope for your NATS credentials, messages, queues and stream.

  1. Click Messaging in the Serverless section of the Scaleway console side menu. The following screen displays:

  2. Click NATS. The NATS welcome screen displays.

  3. Click Create a NATS account. The creation wizard displays:

  4. Complete the following steps in the wizard:

    • Choose a region, which is the geographical location in which your NATS account will be created. Currently, only the PARIS region is available.
    • Enter a name for your NATS account, or use the auto-generated name suggested for you.
    • Optional: Use the Estimated cost* calculator to simulate how messages sent and stored with NATS streams will be billed. Note that simply creating a NATS account does not in itself incur any billing. For more information about NATS billing, see the FAQ.
    • Click Create NATS account to finish.

    You are directed to the listing of your NATS accounts, where your newly-created NATS account now appears.

    Tip:

    You can create more NATS accounts if you wish, by clicking on the + Create NATS account button.

How to activate SQS or SNS

SQS and SNS are handled as two separate protocols. Each one needs to be activated before you can start creating credentials, queues, topics, etc. for this protocol. You can choose to activate one or both protocols as you like. You can deactivate each protocol at any time.

  1. Click Messaging in the Serverless section of the Scaleway console side menu. The following screen displays:

  2. Click Activate next to SQS or SNS, depending on the protocol you want to activate.

    A message displays prompting you to click a button to activate the protocol. It also reminds you that activating the protocol does not trigger any billing, and that you can deactivate at any time.

  3. Click Activate SQS (or SNS).

    The protocol is activated, and you are invited to generate credentials.

See Also