Customization http.bind_host

Foreword

This article explains how you can customize your OpenSearch server so that you can then connect it to your Shopware server via the VPC network, for example.


Prerequisites



change http.bind_host

To make the desired adjustment, log in to the creoline Customer Center and navigate to the OpenSearch server for which you want to make the adjustment. Select the Configuration files tab and then click Edit.


To navigate more quickly when editing large configuration files, you can also search for a specific term or similar within the configuration file using Ctrl + F (Windows) or Command + F (MacOs).


Add the following line to the configuration here. Select the corresponding VPC IP address of your OpenSearch server:


http.bind_host: 10.20.0.2



Finally, click on Save changes at the bottom right.


Saving the configuration automatically triggers the deployment of the configuration and the subsequent restart of OpenSearch. Inform active users in advance about the planned action.


You can check the result of the change by executing the following command on your Shopware server or similar:


curl -XGET --insecure https://<VPC IP address>:9200 -u admin:<your OpenSearch password>


You can find the access data for your OpenSearch server in the password vault of the corresponding server.


You should then receive the following output:

{
  "name" : "sXXXXX.creolineserver.com",
  "cluster_name" : "opensearch",
  "cluster_uuid" : "oVOfN-1fQpWQDP0SUH0ELA",
  "version" : {
    "distribution" : "opensearch",
    "number" : "2.15.0",
    "build_type" : "deb",
    "build_hash" : "61dbcd0795c9bfe9b81e5762175414bc38bbcadf",
    "build_date" : "2024-06-20T03:27:12.329408119Z",
    "build_snapshot" : false,
    "lucene_version" : "9.10.0",
    "minimum_wire_compatibility_version" : "7.10.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}