aws opensearch/elasticsearch in vpc private subnet times out after cognito redirection

0

nginx server redirects to cognito and authentication is successful but redirect to the elasticsearch URL times out. Both the EC2 and opensearch are in the same VPC, same security group. Opensearch is in private subnet, nginx EC2 is in public subnet. All other troubleshooting steps in user pool, user identity pool, opensearch cognito config including IAM roles/policies looks right to me. What am I missing? Please let me know for more details. Thanks for your help.

1 Respuesta
0

Hi,

Please read this medium post a read it carefully following all the steps ( I have written the post 6 months ago).

https://medium.com/p/1f0b784cab3b

Let me know!

profile pictureAWS
respondido hace un año
  • Thanks for sharing. We got rid of cognito. However, if the ES is placed in VPC, how do we upload data or send a POST request from outside of VPC. Seems instance profile auth or any http signing request fails by timing out. I could access the kibana dashboard using nginx proxy. But ES just redirects to the root so we are able to upload data to the ES API.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas