RabbitMQ 3
RabbitMQ is an AMQP message broker that provides reliable and flexible data routing between microservices and applications.
-
Create a service account and assign it the
lockbox.payloadViewerrole. -
Create a secret:
-
Enter a password for web console access:
- Key: For example, set it to
password. - Value: Any value to use as a password.
- Key: For example, set it to
-
Add the Erlang cookie for connecting to the cluster via the CLI or cluster settings:
-
Key: For example, set it to
erlang-cookie. -
Value: Erlang cookie value.
If this is your first time deploying RabbitMQ, you can generate a random string of 20 or more characters using this command:
openssl rand -base64 32
-
When using KMS key encryption for the secret, assign the
kms.keys.decrypterrole to the service account. -
-
Create a security group in the cloud network and configure the rules as follows:
Traffic direction Port range Protocol Source / Destination CIDR blocks Ingress15672TCPCIDR0.0.0.0/0Ingress5672TCPCIDR0.0.0.0/0Egress0-65535AnyCIDR0.0.0.0/0 -
In our Marketplace, find RabbitMQ 3 and click Create VM on its page.
-
Under Product configuration, do the following:
- Enter your username.
- In the Password field, select the ID of the previously created secret, version ID, and password key.
- In the Erlang Cookie field, select the secret ID, version ID, and Erlang cookie key.
-
Under Disks and file storages, specify at least
15 GBas your disk size. -
Under Network settings:
- Select the cloud network and subnet you created earlier.
- Select the previously created security group.
-
Under Additional, specify the service account.
-
Complete setting up your VM and click Create VM.
Wait until the VM status changes to
Running. It may take a few more minutes to start RabbitMQ.
-
-
Connect to RabbitMQ:
- Via the web console at
http://<VM_IP_address>:15672. - Via AMQP port
5672.
- Via the web console at
Yandex Cloud technical support is available 24/7. The types of requests you can submit and the relevant response times depend on your pricing plan. You can switch to the paid support plan in the management console. You can learn more about the technical support terms and conditions here.