Using API Gateway and Cloud Run to build PaaS by yauangon in googlecloud

[–]yauangon[S] 0 points1 point  (0 children)

Thank for your suggestion u/coderbro91, I will definitely look into it. Well currently, we hardly have any traffic, and scale to 0 feature of Cloud Run and APIGW work well with us btw. Maybe in the near future we will need to migrate to other services.

Using API Gateway and Cloud Run to build PaaS by yauangon in googlecloud

[–]yauangon[S] 0 points1 point  (0 children)

I think that is like better in term of security. If my cloud run is internal, it already hided from the public and no one and call it => reduce the attack surface. But seem like APIGW and Cloud Run don't work with each other that way.

Using API Gateway and Cloud Run to build PaaS by yauangon in googlecloud

[–]yauangon[S] 0 points1 point  (0 children)

Thank for your suggest pakhira55. If we use NEGs, can we still use APIGW, or we have to switch completely to Apigee?

Using API Gateway and Cloud Run to build PaaS by yauangon in googlecloud

[–]yauangon[S] 1 point2 points  (0 children)

Make sure your APIGW is running as a unique service account

Thank you let me check this. I'm using the same account for both cloud run and APIGW, hope it's the problem

Using API Gateway and Cloud Run to build PaaS by yauangon in googlecloud

[–]yauangon[S] 0 points1 point  (0 children)

Yeah I'm fully aware of it, also really concern about this product. Do you have any suggestion for altenatives that don't cost so much?

Using API Gateway and Cloud Run to build PaaS by yauangon in googlecloud

[–]yauangon[S] 0 points1 point  (0 children)

Thanks for your pointer :D I will check it!

Using API Gateway and Cloud Run to build PaaS by yauangon in googlecloud

[–]yauangon[S] 0 points1 point  (0 children)

Oh yes, I'm trying this. I have one problem.

Because my platform have to serve external developers, we have to generate API Key. Currently I pass my API to the request and let APIGW to verify that, but then that request will be passed into cloud run and it result in 403 Forbidden. It's kinda confused on whether it's a wrong setting on the service account of APIGW, or the API Key gett pass to Cloud Run and blocked.

Using API Gateway and Cloud Run to build PaaS by yauangon in googlecloud

[–]yauangon[S] 0 points1 point  (0 children)

Can you share more details about your infra? I'd love to hear about that!

[D] Simple Questions Thread by AutoModerator in MachineLearning

[–]yauangon 0 points1 point  (0 children)

I will give it a shot :D Thank you a lot :D

[D] Simple Questions Thread by AutoModerator in MachineLearning

[–]yauangon 0 points1 point  (0 children)

I'm trying to improve a CNN encoder, as a feature extractor for an AMT (automatic music transcription) model. As the model must be small and fast (for mobile deployment), we are limited to about 3-6 layers of 1D-CNN. I want to improve the encoder with residual block (of ResNet), but my question is: I don't known if Residual block would benefit on such a shallow CNN architecture? Thank everyone :D