DEV Community

Discussion on: Dynamic nginx config on Cloud Run

Collapse
 
bamnet profile image
Brian Michalski

Yea, I've been following this issue to see when VPC support will land.

Cloud Functions is good workaround, I hadn't considered that! Having each request spin up a new nginx instance feels like a bit of overhead but workable. There might be a messy hybrid approach pointing Cloud Run -> Cloud Function using something lighter weight than a full nginx instance on Cloud Functions.

Collapse
 
mattwelke profile image
Matt Welke

Cloud Functions would only spin up a new backing container if it needs to scale up. The first nginx instance would keep running until traffic warrants a second instance being spun up. Thanks for the issue link! I'll be watching that closely too.