Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.
- What's New
- Function Overview
- Product Bulletin
- Service Overview
- Billing
- Getting Started
-
User Guide
- Process of Using RabbitMQ
- Permissions Management
- Buying a RabbitMQ Instance
- Configuring Virtual Hosts
- Accessing a RabbitMQ Instance
- Managing Messages
- Advanced Features
-
Managing Instances
- Viewing and Modifying Basic Information of a RabbitMQ Instance
- Viewing RabbitMQ Client Connection Addresses
- Managing RabbitMQ Instance Tags
- Resetting the RabbitMQ Instance Password
- Enabling RabbitMQ Plug-ins
- Using the rabbitmq_tracing Plug-in
- Exporting the RabbitMQ Instance List
- Restarting a RabbitMQ Instance
- Deleting a RabbitMQ Instance
- Logging In to RabbitMQ Management UI
- Modifying RabbitMQ Instance Specifications
- Migrating RabbitMQ Services
- Applying for Increasing RabbitMQ Quotas
- Viewing Metrics and Configuring Alarms
- Viewing RabbitMQ Audit Logs
- Best Practices
- Developer Guide
- API Reference
- SDK Reference
-
FAQs
-
Instances
- What RabbitMQ Version Does DMS for RabbitMQ Use?
- What SSL Version Does DMS for RabbitMQ Use?
- Why Can't I View the Subnet and Security Group Information During Instance Creation?
- What If One RabbitMQ VM Fails to Be Restarted When a Cluster RabbitMQ Instance Is Being Restarted?
- How Are Requests Evenly Distributed to Each VM of a Cluster RabbitMQ Instance?
- Do Queues Inside a Cluster RabbitMQ Instance Have Any Redundancy Backup?
- Does DMS for RabbitMQ Support Data Persistence? How Do I Perform Scheduled Data Backups?
- How Do I Obtain the Certificate After SSL Has Been Enabled?
- Can I Change the SSL Setting of a RabbitMQ Instance?
- Can RabbitMQ Instances Be Scaled Up?
- Does RabbitMQ Support Two-Way Authentication?
- Does DMS for RabbitMQ Support CPU and Memory Upgrades?
- How Do I Disable the RabbitMQ Management UI?
- Can I Change the AZ for an Instance?
- How Do I Obtain the Region ID?
- Why Can't I Select Two AZs?
- How to Change Single-node RabbitMQ Instances to Cluster Ones?
- Can I Change the VPC and Subnet After a RabbitMQ Instance Is Created?
-
Connections
- How Do I Configure a Security Group?
- Why Does a Client Fail to Connect to a RabbitMQ Instance?
- Does DMS for RabbitMQ Support Public Access?
- Does DMS for RabbitMQ Support Cross-Region Deployment?
- Do RabbitMQ Instances Support Cross-VPC Access?
- Do RabbitMQ Instances Support Cross-Subnet Access?
- What Should I Do If I Fail to Access a RabbitMQ Instance with SSL Encryption?
- Can I Access a RabbitMQ Instance Using DNAT?
- Why Can't I Open the Management Web UI?
- Can a Client Connect to Multiple Virtual Hosts of a RabbitMQ Instance?
- Why Does a RabbitMQ Cluster Have Only One Connection Address?
- Messages
- Monitoring & Alarm
-
Instances
Configuring RabbitMQ Public Access
To access a RabbitMQ instance over a public network, enable public access and configure EIPs for the instance. If you no longer need public access to the instance, you can disable it as required.
In comparison with intra-VPC access, packet loss and jitter may occur and the access delay increases during public access. Therefore, you are advised to enable public access to RabbitMQ instances only during the service development and testing phase.
Prerequisite
Public access can only be enabled for instances in the Running state.
Enabling Public Access
- Log in to the console.
- In the upper left corner, click
and select a region.
NOTE:
Select the region where your RabbitMQ instance is.
- Click
and choose Application > Distributed Message Service for RabbitMQ to open the console of DMS for RabbitMQ.
- Click the desired instance to view its details.
- Click
next to Public Access.
- Select an EIP from the Elastic IP Address drop-down list and click
.
If no EIP exists in the Elastic IP Address drop-down list box, click Create Elastic IP to create an EIP on the page that is displayed. After the EIP is created, return to the RabbitMQ console, click
next to Elastic IP Address, and select the new EIP from the drop-down list.
It takes 10s to 30s to enable public access. After public access is enabled, the Background Tasks page is displayed. If the task status is Successful, public access is enabled successfully.
NOTE:
After enabling public access, configure the following settings:- If SSL is not enabled, add an inbound rule to the security group, allowing access to ports 5672 and 15672.
To access the RabbitMQ management plane, visit http://{public IP address of the RabbitMQ instance}:15672, and enter your username and password.
To access the instance through clients, use port 5672.
- If SSL is enabled, add an inbound rule to the security group, allowing access to ports 5671 and 15671.
To access the RabbitMQ management plane, visit https://{public IP address of the RabbitMQ instance}:15671, and enter your username and password.
To access the instance through clients, use port 5671.
- If SSL is not enabled, add an inbound rule to the security group, allowing access to ports 5672 and 15672.
Disabling Public Access
- Log in to the console.
- In the upper left corner, click
and select a region.
NOTE:
Select the region where your RabbitMQ instance is.
- Click
and choose Application > Distributed Message Service for RabbitMQ to open the console of DMS for RabbitMQ.
- Click the desired instance to view its details.
- Click
next to Public Access.
- Click
.
It takes 10s to 30s to disable public access. After this operation, the Background Tasks page is displayed. If the task status is Successful, public access is disabled successfully.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.