Deploy Micro Service | GOOGLE CLOUD PLATFORM | APP ENGINE | CLOUD SQL | SPRING BOOT

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 41

  • @boony862000
    @boony862000 5 років тому

    hi, im getting this error
    Wed Oct 16 19:30:18 UTC 2019
    There was an unexpected error (type=Internal Server Error, status=500).
    Failed to obtain JDBC Connection; nested exception is java.sql.SQLNonTransientConnectionException: Cannot connect to MySQL server on google:3,306. Make sure that there is a MySQL server running on the machine/port you are trying to connect to and that the machine this software is running on is able to connect to this host/port (i.e. not firewalled). Also make sure that the server has not been started with the --skip-networking flag.

  • @TreeThailand
    @TreeThailand 3 роки тому

    thanks you

  • @basantahota514
    @basantahota514 7 років тому +2

    Thanks a bunch for this great tutorial , badly i stuck with in this work now my issue got resolved .

  • @ownagejuice1394
    @ownagejuice1394 5 років тому +1

    better than most tutorials

  • @anuradhamahapatra3070
    @anuradhamahapatra3070 5 років тому

    Hi,
    I am getting the below error. Cloud you please help me on this? I am using your zip file and replacing with my SQL instance and project id in application.yml file.
    Whitelabel Error Page
    This application has no explicit mapping for /error, so you are seeing this as a fallback.
    Thu Aug 22 05:23:24 UTC 2019
    There was an unexpected error (type=Internal Server Error, status=500).
    Could not get JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
    Thanks in advance.

    • @Talk2Amareswaran
      @Talk2Amareswaran  5 років тому

      The video was quite outdated. Let me check with latest one and i will update you

  • @chanakyaniti151
    @chanakyaniti151 5 років тому +1

    How to update the existing app on google cloud app engine?

  • @srkreddydendi
    @srkreddydendi 4 роки тому

    Could you please help me with spring boot with cloud sql and deployed to cloud run..

  • @estebangonzalez6782
    @estebangonzalez6782 6 років тому

    When I try to add class on the project it wont let me cause "not a java project"

  • @easyappscompany
    @easyappscompany 5 років тому +1

    Best Regards From Mexico City. Manuel Silva

  • @ibrahimadabo7508
    @ibrahimadabo7508 6 років тому +1

    Thanks you it's clear

  • @meenakshisundaram3231
    @meenakshisundaram3231 4 роки тому +2

    Nice one. But where is micro service here.

  • @mdmuqtar2224
    @mdmuqtar2224 7 років тому

    Hi amareswaran! I have create spring boot application with spring security. I have uploaded on google cloud through your video after successful upload, when i am calling my services it is show 502 error bad gateway.. I am not getting this error how to fix

    • @Talk2Amareswaran
      @Talk2Amareswaran  7 років тому

      +MD MUQTAR May I know are you connecting Google cloud sql?

    • @mdmuqtar2224
      @mdmuqtar2224 7 років тому

      Talk2 Amareswaran yes I m connecting to google sql cloud

    • @Talk2Amareswaran
      @Talk2Amareswaran  7 років тому

      +MD MUQTAR
      please make sure you have added mysql connection socketfactory dependency is added or not.
      Cloud sql and application should be in same project.
      Make sure cloud sql api(s) are enabled in your GCP.
      Above steps are I mentioned in video itself. Please verify it.
      Otherwise send your code to talk2amareswaran@gmail.com I will verify and reply you very soon

    • @mdmuqtar2224
      @mdmuqtar2224 7 років тому

      I have done all the requirements what ever you have shown in tutorial but am using application properties for connecting. i have send you mail application properties mail please check

    • @Talk2Amareswaran
      @Talk2Amareswaran  7 років тому

      Also, download this zip and extract the project. I used build.gradle file and jdbctemplate for connecting the database. github.com/talk2amareswaran/projects/blob/master/GCP-Appengine-cloudsql.zip

  • @shreeshav1930
    @shreeshav1930 7 років тому

    Thanks for the tutorial.
    Am getting error while deploying the appEngine and below is the error message
    gradle appengineDeploy
    :compileJava UP-TO-DATE
    :processResources UP-TO-DATE
    :classes UP-TO-DATE
    :findMainClass
    :jar
    :bootRepackage
    :assemble
    :appengineStage FAILED
    FAILURE: Build failed with an exception.
    * What went wrong:
    Execution failed for task ':appengineStage'.
    > java.lang.NullPointerException (no error message)
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    BUILD FAILED
    Total time: 11.276 secs
    Any thoughts?

    • @Talk2Amareswaran
      @Talk2Amareswaran  7 років тому

      Have u install Google SDK in your machine? You have to do gcloud auth

    • @shreeshav1930
      @shreeshav1930 7 років тому

      No I have not.
      I have done gcloud auth activate-service-account --key-file=hgh.json, but the issue still exists.
      Can you please share the exact steps to solve this? I did not find anything related to gcloud in this video. Is it outside the scope of this video?
      Thanks!

    • @Talk2Amareswaran
      @Talk2Amareswaran  7 років тому

      Can you please send your application to my mail ID talk2amareswaran@gmail.com. I will verify it and send you the reply soon. Also, You error seems like NullPointerException occurs, but there no messages. With this I can't find the issues?

    • @shreeshav1930
      @shreeshav1930 7 років тому

      I have sent the mail, please check and let me know. thanks for the extended help!

    • @Talk2Amareswaran
      @Talk2Amareswaran  7 років тому

      Your app.yaml file is empty. You need to configure your app with the app.yaml file.
      cloud.google.com/appengine/docs/flexible/java/configuring-your-app-with-app-yaml
      Please look my video at 19:00 minutes.

  • @raghavendrac1053
    @raghavendrac1053 2 роки тому

    Please make vedio on how to deploy spring boot application along with MySQL database containing (more entities (tables)) in Google cloud platform using maven project not gradel project. Please make vedio on this as soon as possible. Thanks in advance

  • @carloskitio2430
    @carloskitio2430 6 років тому

    Hello Mr. very nice tutoreil, but I have a question I develop in back end with spring boot and front end with angular 4 how delpoyer this in app engine please

    • @Talk2Amareswaran
      @Talk2Amareswaran  6 років тому

      If Angular application and spring boot both are in same service(application) you can follow the same whatever I followed in this video. Otherwise deploy it as two applications in app engine.. same process for two times.. (API and UI).. Please make sure your API should support CORS

    • @carloskitio2430
      @carloskitio2430 6 років тому

      @@Talk2Amareswaran my 2 applications can not communicate: I have 2 micoservices spring boot in backend and an application angular 2 in frontend: how to configure the routes between my mmicroservices and angular

  • @alxx736
    @alxx736 3 роки тому

    This is not a microservices