Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

269
Vistas
Accessing AWS Elasticsearch in VPC from API Gateway HTTP Proxy

I would like to know how to access an AWS ES instance created in a VPC and secured with IAM policies from an AWS API Gateway setup as a HTTP Proxy.

I am able to access a public AWS ES instance via the API Gateway. I tried the following first to test using signed (v4 Signing) of the API requests to the ES instance

  1. I created an AWS ElasticSearch public instance (https://search-*******-******.us-west-2.es.amazonaws.com)
  2. Setup IAM policies on ES to restrict access only to a particular user
  3. Created an AWS API Gateway HTTP Proxy ({proxy+}) to forward all requests to the ES instance.
    • Used the public url of the ES instance from step 1 as the EndPoint URL for the API Gateway
    • (had to play around with headers to get the Authorization to be passed through to ElasticSearch successfully)
  4. Created Signed HTTP requests (tested via javascript), sent to the public API Gateway and was able to successfully read data from ES

Now I would like to put the ES instance in a VPC so that it is accessible only via the API Gateway HTTP proxy. Is this possible? I am able to access the private vpc url of the ES instance from another EC2 machine in the same subnet but how do we do this for an API Gateway? I am new to AWS. I have been trying to look at documentation and I seem to be going around in circles, maybe there is something simple that I am missing. Any help is greatly appreciated.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda