GCP Cloud Functions with spring cloud function and spring native

319 views Asked by At

I have been trying to deploy a GCP cloud function using Spring Cloud Function and Spring Native unfortunately it seems that GCP is blocking the AOT mode as shown in the photo "AOT mode disabled"

enter image description here

Does anyone had success deploying a native spring cloud function ?

Jonathan.

1

There are 1 answers

0
Zeenath S N On

As Mentioned by @guillaume blaquiere,

AOT isn’t supported by Cloud Functions, you can use Cloud Run instead, to compile and deploy your container.

You can also try referring to this codelabs quickstart to get you started with the Spring Native on Google Cloud.