September 28, 2021 . 1 MIN READ
I was able to make the connection by making Nginx changes. I created a configuration file for nginx to proxy messages to my AWS ES.
So in my /etc/nginx/conf.d/ a .conf file with the following content:
server {
listen 8080;
location / {
proxy_pass https://myAwsElasticsearchServiceEndpoint.com;
}
}
Then in
“stores configuration > Catalog > Catalog > Catalog Search”
I configured:
A successfull connection was made, and running reindex I could comprove that data was sent to AWS ES.
If someone knows a better way or why this way is not good please let me know!
Thanks!
Resource: https://magento.stackexchange.com/questions/285826/magento-2-integration-with-aws-elasticsearch-service
Read more: https://www.emizentech.com/blog/magento-2-4-with-elasticsearch-complete-guide.html
https://www.cloudways.com/blog/configuring-elasticsearch-magento/
https://community.magento.com/t5/Installing-Magento-2-x/magento2-cloud-installation-guide-with-AWS-Elasticsearch/td-p/475320