This topic describes how to deploy RabbitMQ on an ECS instance.
Prerequisites
- An Alibaba Cloud account is created. To create an Alibaba Cloud account, go to the Alibaba Cloud official website.
- A security group of the VPC type is created. An inbound rule that allows traffic on ports 80, 5672, and 15672 is added to the security group. If you want to connect to a Linux instance in the security group by using SSH, you must also allow traffic on port 22 in the rule. For more information, see Add security group rules.
Background information
RabbitMQ is an open source message broker that implements the Advanced Message Queuing Protocol (AMQP) to store and forward messages in a distributed system. It is easy to use, scalable, and highly available. The RabbitMQ server is written in the Erlang programming language. RabbitMQ supports multiple types of clients, such as Python, Ruby, .NET, Java, JMS, C, PHP, ActionScript, XMPP, STOMP, and AJAX.
Manually deploy RabbitMQ. This method is suitable for users who have a basic knowledge
of Linux commands and allows for personalized deployment. Use the following operating
system and software versions to manually deploy RabbitMQ:
- Operating system: public image CentOS 7.3 64-bit
- RabbitMQ: RabbitMQ Server 3.6.9
- Erlang: Erlang 19.3
- JDK: JDK 1.8.0_121