You can create more NATS accounts in your pre-selected region if you wish, by clicking on the + Create NATS account
button. To create NATS accounts in other regions, repeat the steps above starting from step 2 and selecting the required region.
How to get started with Messaging and Queuing
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.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
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.
-
Click Messaging in the Serverless section of the Scaleway console side menu. The following screen displays:
-
Select a region from the drop-down menu. The region designates the geographical area where the NATS account will be hosted.
-
Click NATS. The NATS welcome screen displays.
-
Click Create a NATS account. The creation wizard displays:
-
Complete the following steps in the wizard:
- Check the region, which is the geographical location in which your NATS account will be created. If you want to use a different region to the one shown, go back to step 2 to change it.
- 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
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.
-
Click Messaging in the Serverless section of the Scaleway console side menu. The following screen displays:
-
Select a region from the drop-down menu. The region designates the geographical area where the service will be hosted.
-
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.
-
Click Activate SQS (or SNS).
The protocol is activated for the selected region, and you are invited to generate credentials. You can repeat these steps to activate the protocol for additional regions, if required.