To Stop GCP instance . 1. Open your web browser and go to the Google Cloud Console. 2. In the Google Cloud Console, go to the Compute Engine section by selecting the Navigation menu (three horizontal lines) and then Compute Engine > VM instances. 3. You will see a list of your VM instances. Find the instance you want to stop. 4. Click the checkbox next to the instance name to select it. At the top of the page, click the Stop button. To Stop MySQL Instance 1. Open your web browser and go to the Google Cloud Console. 2. In the Google Cloud Console, go to the Navigation menu (three horizontal lines) and then SQL > Instances. 3. You will see a list of your Cloud SQL instances. Find the MySQL instance you want to delete. 4. Click on the instance name to open its details page. 5. At the top of the instance details page, click the Delete button. 6. In the confirmation dialog, type the instance ID to confirm and then click Delete.
Thank for the video, it's really helpful and solved some of my problems. But... I deployed my Spring Boot app to Google Cloud App Engine, and it stops suddenly and randomly. When I hit any endpoint, the app restarts, taking around 30 seconds to spin up again. In the logs, the only thing I see is a warning that the app is stopping. Locally, the app works perfectly without any issues. Can U help me to keep alive the app in GCloud?
Hi , yes it is an issue with the app engine . You can create a .yaml file at the root directory of appenginer and there something called as min_instance you can set that value to 1 that way if your application is ideal then also it will not stop . automatic_scaling: min_instances: 1
@@codeWithRaman Great! Your response solved my bug. I've created an app.yaml with this info: runtime: java env: flex runtime_config: operating_system: "ubuntu22" runtime_version: "21" manual_scaling: instances: 1 handlers: - url: /.* script: this field is required, but ignored Thank's for all!
1. Could you please also add one more info in the video, that once you started your spring application, how to stop the application, how to stop MySQL database instance, the reason I am asking, I guess after watching your video I forgot to stop the same, now after 3 days I can see they have charged 10,500/- INR [ 125.40 USD]. For meanwhile I have stopped billing at the same amount. 2. This is really important to stop services, please provide video to stop all services. 3. I have seen where $300 can be used as a trial, then in this case they should not charge me ?
Hi @BalMukundSingh241 , yes that is a miss in my video . They charge as per your DB requests and the time your instance is up . Surely your feedback taken will update this that how to stop the instance . Below are few steps to stop your GCP instance and also stopping your Mysql Instance 1. Open your web browser and go to the Google Cloud Console. 2. In the Google Cloud Console, go to the Compute Engine section by selecting the Navigation menu (three horizontal lines) and then Compute Engine > VM instances. 3. You will see a list of your VM instances. Find the instance you want to stop. 4. Click the checkbox next to the instance name to select it. At the top of the page, click the Stop button. To Stop MySQL Instance 1. Open your web browser and go to the Google Cloud Console. 2. In the Google Cloud Console, go to the Navigation menu (three horizontal lines) and then SQL > Instances. 3. You will see a list of your Cloud SQL instances. Find the MySQL instance you want to delete. 4. Click on the instance name to open its details page. 5. At the top of the instance details page, click the Delete button. 6. In the confirmation dialog, type the instance ID to confirm and then click Delete.
what if i want to make some changes in my application.properties file do i need to make new jar ever time for build or is there any alternative way to do cloud run
No , you don't need to make the Jar again and again . You can externalize your configuration using environment variables. This way, you can update the environment variables without changing the JAR file.
Surely you can do that , by deploying your application to cloud and the containerizing it , configure/ expose your application using appropriate networking configurations and then you can make a single link of you application either by domain or IP and access it .
i did a payment more then 12 times but unfortunately the Google billing is not getting completed & throwing me error obasch typee accurately I didn't recognised if you know please help mee
Hi, thanks for writing. I did not get your query, is there any issue related to code? If it is related to google account setup I would rather say you should contact google customer service, as they are better of in helping you in the setup process
@@codeWithRaman Can you help me link my account to my credit card because it appears I have orchi type problems and I tried multiple accounts and more than one device and more than one card and I made sure that this process is stopped in Africa Is it possible to help me since you are in India to do this feature for me and thank you again
@@almobarmg1 Hi, I can guide you, but i can not take your details n do it on your behalf nor I can do it for by my details. If any help required in code , I am surely available to help you. But i would request to either find out some alternative solutions.
To Stop GCP instance .
1. Open your web browser and go to the Google Cloud Console.
2. In the Google Cloud Console, go to the Compute Engine section by selecting the Navigation menu (three horizontal lines) and then Compute Engine > VM instances.
3. You will see a list of your VM instances. Find the instance you want to stop.
4. Click the checkbox next to the instance name to select it.
At the top of the page, click the Stop button.
To Stop MySQL Instance
1. Open your web browser and go to the Google Cloud Console.
2. In the Google Cloud Console, go to the Navigation menu (three horizontal lines) and then SQL > Instances.
3. You will see a list of your Cloud SQL instances. Find the MySQL instance you want to delete.
4. Click on the instance name to open its details page.
5. At the top of the instance details page, click the Delete button.
6. In the confirmation dialog, type the instance ID to confirm and then click Delete.
Thank you sir
Welcome
when you are going to launch the springboot application with database deployment of GCP?
Hello , thanks for your comment .I am planning on this surely soon the video will be out .
This Thursday we are uploading a video of how to work with my SQL using GCP .Do watch it and share among your contacts .
Thanks
Thank for the video, it's really helpful and solved some of my problems.
But... I deployed my Spring Boot app to Google Cloud App Engine, and it stops suddenly and randomly. When I hit any endpoint, the app restarts, taking around 30 seconds to spin up again. In the logs, the only thing I see is a warning that the app is stopping. Locally, the app works perfectly without any issues.
Can U help me to keep alive the app in GCloud?
Hi , yes it is an issue with the app engine . You can create a .yaml file at the root directory of appenginer and there something called as min_instance you can set that value to 1 that way if your application is ideal then also it will not stop .
automatic_scaling:
min_instances: 1
@@codeWithRaman Great! Your response solved my bug. I've created an app.yaml with this info:
runtime: java
env: flex
runtime_config:
operating_system: "ubuntu22"
runtime_version: "21"
manual_scaling:
instances: 1
handlers:
- url: /.*
script: this field is required, but ignored
Thank's for all!
Error: Server Error
The server encountered an error and could not complete your request.
Please try again in 30 seconds.
1. Could you please also add one more info in the video, that once you started your spring application, how to stop the application, how to stop MySQL database instance, the reason I am asking, I guess after watching your video I forgot to stop the same, now after 3 days I can see they have charged 10,500/- INR [ 125.40 USD]. For meanwhile I have stopped billing at the same amount.
2. This is really important to stop services, please provide video to stop all services.
3. I have seen where $300 can be used as a trial, then in this case they should not charge me ?
Hi @BalMukundSingh241 , yes that is a miss in my video . They charge as per your DB requests and the time your instance is up . Surely your feedback taken will update this that how to stop the instance . Below are few steps to stop your GCP instance and also stopping your Mysql Instance
1. Open your web browser and go to the Google Cloud Console.
2. In the Google Cloud Console, go to the Compute Engine section by selecting the Navigation menu (three horizontal lines) and then Compute Engine > VM instances.
3. You will see a list of your VM instances. Find the instance you want to stop.
4. Click the checkbox next to the instance name to select it.
At the top of the page, click the Stop button.
To Stop MySQL Instance
1. Open your web browser and go to the Google Cloud Console.
2. In the Google Cloud Console, go to the Navigation menu (three horizontal lines) and then SQL > Instances.
3. You will see a list of your Cloud SQL instances. Find the MySQL instance you want to delete.
4. Click on the instance name to open its details page.
5. At the top of the instance details page, click the Delete button.
6. In the confirmation dialog, type the instance ID to confirm and then click Delete.
I followed each step as shown in the video, but when I run the browser it says Service Unavailable
Need to identify is it GCP issue or your service issue . Can you share the logs from there we can identify the issue
do u deploy this project on vm or not?
Hi thanks for commenting.No I did not deploy this project on VM
what if i want to make some changes in my application.properties file do i need to make new jar ever time for build or is there any alternative way to do cloud run
No , you don't need to make the Jar again and again . You can externalize your configuration using environment variables. This way, you can update the environment variables without changing the JAR file.
Can u please tell how I can run my spring boot project globally with with just single link
Surely you can do that , by deploying your application to cloud and the containerizing it , configure/ expose your application using appropriate networking configurations and then you can make a single link of you application either by domain or IP and access it .
Can u please explain how to deploy on aws and also how to load balance our project on aws and Google cloud
Thanks
Sure I'll make a video of how to deploy an application on AwS elastic beanstalk .
i did a payment more then 12 times but unfortunately the Google billing is not getting completed & throwing me error obasch typee accurately I didn't recognised if you know please help mee
Hi, thanks for writing. I did not get your query, is there any issue related to code? If it is related to google account setup I would rather say you should contact google customer service, as they are better of in helping you in the setup process
Mi app funciona muy bien localmente, pero al subirlo : Service Unavailable
Tendría que comprobar sus registros de GCP. Sólo entonces sabremos por qué viene el servicio no disponible.
I keep getting this error
Error: Server Error
The server encountered an error and could not complete your request.
Please try again in 30 seconds.
Hi, thanks for writing. When are you getting this error, while deploying or after you have deployed and trying to hit some endpoint?
@@codeWithRaman after I’ve deployed
@@gideonamoako7658 hi, please can you share the exact logs from your IDE so that i can check and revert. Please share on ramanpopli19@gmail.com
I completed the credit card registration steps, but an error occurred
Hi thanks for writing. I guess some server error, as not something technical in it. You can refresh and check again.
@@codeWithRaman Can you help me link my account to my credit card because it appears I have orchi type problems and I tried multiple accounts and more than one device and more than one card and I made sure that this process is stopped in Africa Is it possible to help me since you are in India to do this feature for me and thank you again
@@almobarmg1 Hi, I can guide you, but i can not take your details n do it on your behalf nor I can do it for by my details. If any help required in code , I am surely available to help you. But i would request to either find out some alternative solutions.