Creating a OpenSearch Service connection
Prerequisites:
-
Identify the domain endpoint,
aosEndpointand port,aosPortyou would like to read from, or create the resource by following instructions in the Amazon OpenSearch Service documentation. For more information on creating a domain, see Creating and managing Amazon OpenSearch Service domains in the Amazon OpenSearch Service documentation.An Amazon OpenSearch Service domain endpoint will have the following default form, https://search-
domainName-unstructuredIdContent.region.es.amazonaws.com. For more information on identifying your domain endpoint, see Creating and managing Amazon OpenSearch Service domains in the Amazon OpenSearch Service documentation.Identify or generate HTTP basic authentication credentials,
aosUserandaosPasswordfor your domain.
To configure a connection to OpenSearch Service:
In AWS Secrets Manager, create a secret using your OpenSearch Service credentials. To create a secret in Secrets Manager, follow the tutorial available in Create an AWS Secrets Manager secret in the AWS Secrets Manager documentation. After creating the secret, keep the Secret name,
secretNamefor the next step.-
When selecting Key/value pairs, create a pair for the key
USERNAMEwith the valueaosUser. -
When selecting Key/value pairs, create a pair for the key
PASSWORDwith the valueaosPassword.
-
In the AWS Glue console, create a connection by following the steps in Adding an AWS Glue connection. After creating the connection, keep the connection name,
connectionName, for future use in AWS Glue.When selecting a Connection type, select OpenSearch Service.
When selecting a Domain endpoint, provide
aosEndpoint.When selecting a port, provide
aosPort.When selecting an AWS Secret, provide
secretName.