Updated on 2023-06-13 GMT+08:00

Getting Started

(Optional) Modifying Security Group Rules

  • This solution uses port 22 to remotely log in to the ECS. By default, the VPC subnet created in this solution allows access from port 22. Configure an IP address whitelist by referring to Modifying a Security Group Rule.

A security group is a collection of access control rules for cloud resources, such as cloud servers, containers, and databases, to control inbound and outbound traffic. Cloud resources associated with the same security group have the same security requirements and are mutually trusted within a VPC.

You can modify the security group policy, for example, by adding, modifying, or deleting a TCP port, as follows:

  • Adding a security group rule: Add an inbound rule and enable a TCP port if needed.
  • Modifying a security group rule: Inappropriate security group settings can be a serious security risk. You can modify security group rules to ensure the network security of your ECSs.
  • Deleting a security group rule: If the source or destination IP address of an inbound or outbound security group rule changes, or a port does not need to be enabled, you can delete the security group rule.

(Optional) Changing the RabbitMQ Password

  1. Log in to the ECS console, select any of the ECSs created, and click Remote Login or use any other tool to log in to the Linux ECS.

    Figure 1 ECS console
    Figure 2 Logging in to a Linux ECS

  2. On the ECS, enter the username and password and press Enter.

    Figure 3 Logging in to an ECS

  3. Run rabbitmqctl change_password Username New password to change the password.

    Figure 4 Changing the password

Verifying Deployment of the RabbitMQ Cluster

  1. Click the Outputs tab and select any node.

    Figure 5 Outputs
    Figure 6 RabbitMQ webpage

  1. Enter the username and password, and click Login.

    Figure 7 Entering the username and password

    Figure 8 RabbitMQ cluster page