please make vedio on how to host or deploy the spring boot application along with mysql databse(containing many entites) in the google cloud platform .Thanks in advance
Hi Basant. I followed all your steps to deploy the app in GCP. But still I am getting the below error 'RROR] Failed to execute goal com.google.cloud.tools:appengine-maven-plugin:1.3.1:deploy (default-cli) on project sample-gcp-springboot: Execution default-cli of goal com.google.cloud.tools:appengine-maven-plugin:1.3.1:deploy failed: app.yaml not found in the App Engine directory' . I also tried to refresh and did the same thing as you did, but the prob is same, can you please advice? would be helpful
Hi, Thanks for the tutorial. I am facing the following issue while deploying, "GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [4] Your deployment has failed to become healthy in the allotted time and therefore was rolled back. If you believe this was an error, try adjusting the 'app_start_timeout_sec' setting in the 'readiness_check' section." Any idea? After some search, I have updated my configuration as below and still facing the same issue, Also any idea how to enable verbose while deploying to have more information? runtime: java env: flex runtime_config: jdk: openjdk8 handlers: - url: /.* script: ignored readiness_check: path: "/readiness_check" check_interval_sec: 5 timeout_sec: 4 failure_threshold: 2 success_threshold: 2 app_start_timeout_sec: 600 resources: cpu: 1 memory_gb: 2 disk_size_gb: 10
@@JavatechieThanks for the quick return! I was doing some more google and now I am able to deploy and start the service in GCP Here the configuration (copied from GCP). runtime: java api_version: '1.0' env: flexible threadsafe: true handlers: - url: /.* script: ignored automatic_scaling: cool_down_period: 120s min_num_instances: 2 max_num_instances: 20 cpu_utilization: target_utilization: 0.5 network: {} resources: cpu: 1 memory_gb: 4 disk_size_gb: 10 Was able to start the service, but still facing 502
Hi, I found the root cause of the 502. This is because I am starting my application in a specific port, but that's not exposed. When i launched with default port 8080 as like your example its good.
@@sureshkumar-tm7qz good job , one small request once you deployed your application and tested then kindly remove that project from gc Because in free trial we have some threshold limit so once we exceed it . Gc will charge you , as you already provided bank details they have authorized to deduct directly.
@@Javatechie I am stopping the version (all the versions) which I am running, but I am not able to delete all the versions or the default service itself. Not sure if I am charged for this.
Shashank I tried this 1.5 year back now they might change their implementation please Google it else check GitHub issue definitely you will find solution
@@Javatechie Hey Basant , Thanks for your quick response. I tried to google and github to solve this problem but i am not able to find correct solution. Could you just let me know if you have configured the SDK path in your POM.xml or yaml file? and can you please share the deployment document with me if you have it.
Hi, Thank you for sharing this video. I have implemented one web application similar to your application. Deployed successfully. The issue is when i'm accessing the URL i got 404 error. Checked logs there also the same 404 error showing. Can you help me to resolve my app. Thanks in advance
I am getting this error. Please try to resolve this error. [ERROR] Failed to execute goal com.google.cloud.tools:appengine-maven-plugin:1.3.1:deploy (default-cli) on project user-management-service: Execution default-cli of goal com.google.cloud.tools:appengine-maven-plugin:1.3.1:deploy failed: Non zero exit: 1 -> [Help 1]
Hi you need to enable your billing account else it won't work . Just enable then deploy and test after that remove project from GC .then you will be safe
GCLOUD: ERROR: (gcloud.app.deploy) Error [400] Operation does not satisfy the following requirements: billing-enabled {Billing must be enabled for activation of service '' in project 'ashwaniproj' to proceed., console.developers.google.com/project/ashwaniproj/settings}