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 réponse
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
répondu il y a un an
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions