> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-dms-replication-instance-is-publicly-accessible.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS DMS replication instance is publicly accessible

### Synopsis

| Field               | Value                                               |
| ------------------- | --------------------------------------------------- |
| Rule Type           | Detection                                           |
| Finding Type        | AWS DMS replication instance is publicly accessible |
| Finding ID          | 60000611                                            |
| Generates a Finding | This detection rule also generates a finding        |
| Severity            | High                                                |
| Category            | CONFIGURATION                                       |
| Cloud Providers     | AWS                                                 |
| Platform Module     | CSPM                                                |
| Asset Types         | AWS\_DMS\_REPLICATION\_INSTANCE                     |
| ATT\&CK Tactic      | TA0001 (TA0001)                                     |
| ATT\&CK Technique   | T1190 (T1190)                                       |

### Description

Publicly accessible AWS Database Migration Service (DMS) replication instances pose a significant security risk. These instances, responsible for data transfer between databases, become vulnerable to unauthorized access when exposed to the public internet.

AWS DMS replication instances require network configurations to manage inbound and outbound connections. Enabling public accessibility bypasses intended security controls, leaving the instance open to attacks from untrusted IPs. Attackers could exploit this misconfiguration to gain unauthorized access to sensitive data during migration processes, leading to data breaches or service disruption.

The impact of this misconfiguration includes data exfiltration, unauthorized database modifications, and potential service disruptions. Maintaining a private network configuration for DMS replication instances significantly reduces the attack surface, protecting sensitive data during migration. Restricting access to only trusted IP addresses is crucial for data security.

To mitigate this risk, ensure all DMS replication instances utilize a private subnet within a Virtual Private Cloud (VPC). Configure security groups to allow only necessary inbound and outbound traffic from trusted sources. Regularly review security group rules and network configurations to maintain a strong security posture and prevent unauthorized access.

### Remediation

**Manual steps:**

AWS DMS Replication Instance - Manual remediation steps:

Public accessibility can be disabled only at the time of creation, please follow the below steps to create a new DMS replication instance:

1. Sign in to the AWS Management Console and navigate to the AWS DMS console.
2. In the navigation pane, choose 'Replication instances' and then click the 'Create replication instance' button.
3. Under the 'Connectivity and security' section, Leave the 'Publicly accessible' option unchecked to ensure that the replication instance does not have public IP addresses or DNS names.
4. Configure other settings based on your requirements.
5. Click the 'Create replication instance' button to create the replication instance.

To delete the reported AWS DMS replication instance, Please follow the below steps:

1. Sign in to the AWS Management Console and navigate to the AWS DMS console.
2. In the navigation pane, choose 'Replication instances' to see a list of your existing replication instances.
3. Select the replication instance that you want to delete from the list.
4. After selecting the replication instance, choose 'Actions' and then 'Delete' from the menu.
5. A confirmation dialog box will appear. Review the details and confirm that you want to delete the replication instance by selecting the 'Delete' button.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-dms-replication-instance-is-publicly-accessible.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
