Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

269
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!