Help Center> EventGrid> FAQs> How Do I Configure a Security Group When Creating an Event Source?
Updated on 2023-10-26 GMT+08:00

How Do I Configure a Security Group When Creating an Event Source?

Before creating a DMS for RabbitMQ or DMS for RocketMQ event source, configure security group rules.

  • If the security group of DMS has incorrect inbound rules, the event target FunctionGraph cannot consume DMS events.
  • If the default security group has incorrect outbound rules, the event source cannot be created.

Configure the following security group rules:

  • Configure inbound rules for the security group of a DMS for RabbitMQ instance. For details, see Adding a Security Group Rule.

    The following ports must be allowed in the inbound rules:

    • ICMP: All
    • TCP: 5672
    • TCP: 15672

      To obtain the TCP ports to enable access, go to the RabbitMQ instance details page, choose Basic Information, and find the ports in the Connection area.

      Figure 1 RabbitMQ inbound rules
  • Configure inbound rules for the security group of a DMS for RocketMQ instance.

    The following ports must be allowed in the inbound rules:

    • ICMP: All
    • TCP: 10100–10102
    • TCP: 8100

      To obtain the TCP ports to enable access, go to the RocketMQ instance details page, choose Basic Information, and find the ports in the Connection area.

      Figure 2 RocketMQ inbound rules
  • Configure outbound rules for the default security group.

    Allow ICMP: All in the outbound rules.

    Figure 3 Outbound rules of the default security group