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

268
Vistas
Is it possible to host the contents of a Google Cloud Storage Bucket as a 'subfolder' in the url hierarchy of an App Engine Nodejs/Expressjs app?

Essentially, I would like map the url customdomain.com/gcdownload/* to a gc storage bucket so that the download actually comes from the customdomain.com site, rather than from storage.googleapis.com/%bucketname%. Eg. mapping customdomain.com/gcdownload/a/b/c.pdf to %bucketname%/a/b/c.pdf while still serving c.pdf from customdomain.com.

I did successfully rewrite the download request urls to the storage bucket urls but then the downloads are cross-site requests to the storage.googleapis.com domain so doesn't achieve the goal.

Any way to configure the storage bucket/app engine domain/app code to support serving the static files of a storage bucket as a 'subfolder' of a custom domain?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

I think you can do this if you put a Google Cloud Load Balancer in front of your GAE.

You would first have to setup a GCLB with a serverless NEG for your app engine services:

https://cloud.google.com/load-balancing/docs/negs#serverless-neg

You would then add a backend bucket to your GCS bucket:

https://cloud.google.com/load-balancing/docs/https/ext-load-balancer-backend-buckets

You would then setup the URL map of the GCLB to route /gcdownload/* to your backend bucket and all other traffic to your app engine.

over 4 years ago · Santiago Trujillo Denunciar
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