More Info:

Ensure Opensearch cluster is in VPC

Risk Level

Medium

Address

Configuration

Compliance Standards

CISAWS,HIPAA,ISO27001,RBI_MD_ITF,RBI_UCB

Triage and Remediation

Remediation

To remediate the misconfiguration of OpenSearch not being in a VPC for AWS, you can follow these steps using the AWS Management Console:

  1. Create a VPC (Virtual Private Cloud):

    • Go to the AWS Management Console and navigate to the VPC service.
    • Click on “Your VPCs” in the left-hand menu and then click on “Create VPC”.
    • Enter the details for your VPC such as name, IPv4 CIDR block, and any additional settings as needed.
    • Click “Create” to create the VPC.
  2. Create Subnets within the VPC:

    • Inside the VPC dashboard, click on “Subnets” in the left-hand menu.
    • Click on “Create subnet” and select the VPC you created in the previous step.
    • Enter the details for the subnet such as name, VPC, availability zone, and IPv4 CIDR block.
    • Click “Create” to create the subnet.
  3. Modify OpenSearch Domain:

    • Go to the Amazon OpenSearch Service console.
    • Find the OpenSearch domain that you want to modify and click on its name to go to the domain details page.
    • Click on the “Edit domain” button.
    • In the “Network configuration” section, select the VPC that you created in step 1 from the dropdown.
    • Select the subnets within the VPC that you created in step 2.
    • Click “Save changes” to apply the VPC configuration to the OpenSearch domain.
  4. Verify the Configuration:

    • Once the changes are saved, verify that the OpenSearch domain is now within the VPC.
    • You can check the network configuration details in the OpenSearch domain settings to ensure that it is using the VPC and subnets you specified.

By following these steps, you will successfully remediate the misconfiguration of OpenSearch not being in a VPC for AWS using the AWS Management Console.