DDM uses VPCs and security groups to ensure security of your instances. The following provides guidance for you on how to correctly configure a security group.
Access to a DDM instance includes access to the DDM instance from the ECS where a client is located and access to its associated data nodes.
The ECS, DDM instance, and data nodes must be in the same VPC. In addition, correct rules should be configured for their security groups to allow network access.
Add the rules described in the following figure to the security group of the ECS to ensure that your client can access the DDM instance.
Figure 1 ECS security group rules

Add the rules shown in the following figure to the security group of the ECS where your DDM instance is located so that your DDM instance can access associated data nodes and can be accessed by your client.
Figure 2 Configuring security group inbound rules for your DDM instance

Figure 3 Configuring security group outbound rules for your DDM instance

Add the rules shown in the following figure to the security group of the ECS where the data node is located so that your DDM instance can access the node.
Figure 4 Configuring security group inbound rules for the associated RDS instance

Figure 5 Configuring security group outbound rules for the associated RDS instance
