How can i auto-provision Google App engine? - google-app-engine

I know Hashicorp's terraform can be used in auto-provisioning compute instances on clouds like AWS, Google, Azure etc. Similarly is there a way to auto-provision Google App engine? Does Terraform have that capability?Or is there any other tool/SDKs which can achieve this?

Currently, the answer is no. If you'd like to help, you can involve to raise pull request to add the features.
You can go through below link to write own providers
https://www.hashicorp.com/blog/writing-custom-terraform-providers/

Here are some options:
Spinnaker includes a Google App Engine provisioner (source code)
Chef has an App Engine cookbook

Related

How to deploy app on Google Compute engine similar to app engine?

I want to deploy and app using compute engine as my company does not provide access to app engine yet. Is there a way to deploy the same app using compute engine rather than app engine on google cloud. I have searched multiple forum but unable to find relevant answers.
Any help would be much appreciated.
With python3, I recommend you to write a Flask web application. Your web application will be similar on App Engine and on your compute.
However, you have several things to perform at the infrastructure level. I recommend you to have a look to managed Instances group with auto scaling and health check and Global load balancer.
Note: Because, it's not serverless, you have to pay at least 1 instance even if there isn't traffic on your app
Alternatively, you can have a look to GKE (easier VM management and scaling) and Cloud Run.

I want to choose my own Server and own database in google app engine

I am very newly in google app engine.. There are three Questoins on google app engine and in google app engine i want to choose JAVA language.
Does google app engine provide private cloude ?
I want to deploy my application with my own server( E.x.glassfish or JBoss) on google app engine ?
I want to use my own database instead of cloud SQL in google app engine?
Is it possible or not?
With Google Cloud Appengine - no, it's impossible.
With Google Cloud Instances or Google Cloud Containers - all of this is possible.
Appengine is just one piece of Google Cloud, designed for very specific job, with infrastructure managed by Google. You can only write some code (with lot of restrictions too) that runs inside it. You can read some details about code restritions there: https://cloud.google.com/appengine/docs/java/#Java_The_sandbox
What you're looking for is Google Cloud Instances, that are more standard virtual machines, where you can run anything you want. See https://cloud.google.com/compute/
There is still tools for Load Balancing, Health Check, Centralized Logging for Cloud Instances, and other stuff similar to features provided by Appengine.

Google App Engine Access Cloud Datastore from Different Project

I have been trying to find a solution to accessing a datastore in one project from a different google app engine project. I went through the tutorial on accessing a datastore from a different project's compute engine, however, this is not what I am looking for. What is required here is accessing a datastore on one project from a different app engine project. Has anyone done this successfully? Any ideas?
Cheers
As #Patrice says, this is possible by using the Remote API for Java (or for Python), which lets you access different App Engine services from any other application, as stated in the documentation.
For a more specific information on how to access the Datastore remotely with the Remote API, please take a look at this article from the documentation that explains step by step all the procedure.
Please, take into account that if your Google account is configured to use 2-Step Verification, you will need an App Password that authorizes the app to access your account resources.
there is actually an API that lets you make calls to App Engine services from anywhere, even from another App, as long as the credentials are ok, it's called the "remote API"

Do I need my own domain with Google App Engine?

My application is to use the Google App Engine to provide an embarrassingly parallel computation (and to serve the results to www-browsers). I've been through the Google App Engine "getting started" tutorial but I'm not sure if I need to register my own domain. Do I?
Nope. You can get at your app using the URL <<your-app-id>>.appspot.com. If you later want to wire that up to a separate domain that you own, you can do that, too.

Does Google uses AppEngine for its own products?

I've been wondering: does Google uses AppEngine for its own products?
Yes.
Google's app engine is a consumer-facing front-end for the same server resources that google uses internally.
None of the major world-facing google products DIRECTLY use app engine through the API, but many internal tools built by googlers for googlers do use it, including all the limitations that are placed on the public.
​Run corporate applications on Google App Engine? Yes [they] do.

Resources