Connecting to OpenSearch running in the private subnet of AWS VPC from your DevBox.
Follow Connecting to AWS guide.
Go to Amazon OpenSearch Service > Domains.
Select your domain and copy your Domain Endpoint.
Go to your DevBox and connect to Service:
Go to Amazon OpenSearch Service > Create domain.
Give a unique Domain name.
Select Standard create in the Creation method.
Use the default configurations for creating the service.
Keep the Data nodes according to your requirements.
Go to Network section and choose your VPC and Subnets.
In the next section, choose the Security Group. Make sure the specified Security Group allows inbound connection from the VPC
Click on Create.
Go to your OpenSearch and copy Domain endpoint.
Go to your DevBox and connect to Service: