Move an app on Google Compute Engine to Google App Engine - google-app-engine

I have an app running on Google Compute Engine. Now it's time, to move this app to Google App Engine.
Is there a checklist on what needs to be done regarding DNS and other configurations?
Thanks

App Engine is a Platform as a service offering while Compute Engine is Infrastructure as a service. It may not be completely straightforward to lift and shift your app from Compute Engine to App Engine.
It depends on your app's current architecture, programming language etc. Some considerations include:
Whether your app is stateful or stateless
whether it uses a database(if so, your method of connecting to the database might change)
Which programming language and framework your app is using.
Whether you want to migrate to App Engine Standard Environment(Limited by programming language and framework) or App Engine Flexible environment(Docker images).

Related

Compute engine to app engine queuing system changes in php project

Our project was running in GCP compute engine. For scaling purpose, it is moved to app engine. We had rabbitmq implemented for push messages and chatbots in compute engine. In app engine it is not feasible to implement rabbitmq. So I was going through alternate options. There I found cloud task option. But I have doubts in certain areas even after reading their documentation
In my understanding, we need an app engine instance for cloud tasks. In that case, can I implement it in same project itself as a different service? Will this affect the performance of the existing project?
Is there any better solution than cloud tasks in this case?
You can implement additional services under your app in the App Engine as shown in this diagram.
By default, App Engine scales your app to match the load. Your apps will scale up the number of instances that are running to provide consistent performance, or scale down to minimize idle instances and reduces costs.
You can consider running a RabbitMQ Cluster on Google Kubernetes Engine. You can find more information in the following documentation: rabbitmq.

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.

Google Cloud Datastore requires app engine?

Im creating a Node.js website that probably won't have loads of traffic, and was looking into cheap solutions to host the site. Came across Google cloud services offering free usage for their services with limits. A f1-mirco is more than enough for my needs, but I will happily pay for some usage if it goes over by any chance.
I wanted to setup a linux centOS 7 on GCE (which I already did), and run my application and REST API on it. Now here comes the problem.
I tried to use Google's datastore service, but it sprung an app engine instance and without it datastore won't work.
Is datastore entirely relying on app engine to function?? In the docs, it said if you use any of the client API, it requires app engine. What can I do to not use the client api and query data then? Don't want to use the app engine at the moment or datastore is just not for me then?
Thanks for any help!
Some of the underlying infrastructure of Cloud Datastore and App Engine are still tied together for creation, etc. So while creating an Cloud Datastore database also defines an App Engine instance for the project, it doesn't require you to use it. You don't get charged for App Engine either, unless you decide to deploy an App using it.
You should be totally fine use the Google Cloud Node client library on the f1 micro instance.

Why App Engine running Rails app spins up Compute Engine instances?

I am running Rails on the App Engine. My question is why Google is running the Compute Engine. I just want to run the App Engine. Google starts the App Engine and the Compute Engine when I deploy.
App Engine provides two environments - standard "sandboxed" environment and Managed VMs. Currently the standard environment supports only Java, Python, PHP and Go. If you want to use something else, you have to go with Managed VMs. In fact, Managed VMs are Google Compute Engine virtual machines.
You can find more details here.

Google App Engine for e-commerce web site?

I just learned about Google App Engine, and I must say it is fantastic.
But, based on the nature of Google app engine, is it possible to design an e-commerce website using Google App Engine? I mean, based on the huge cloud server platform provided by Google App Engine, we have a built-in content delivery network. But, should it be that way?
is it possible to design an e-commerce website using Google App Engine?
If you want to develop such a website then why not go for more portable alternative? For example, develop your e-commerce website on web2py or django. Both can be hosted on GAE (in case of web2py it just needs minor modifications). GAE imposes a lot of restrictions, but you can stop worrying about system administration and scaling as GAE takes care of it.
If you want to focus on developing an e-commerce website rather than on learning development specifically for GAE then I suggest you use web2py, because porting is very easy.
http://wiki.web2py.com/Deploying_web2py_on_Google_App_Engine_GAE_
I have tested it myself, you can check it if you like: http://memstats-w2py.appspot.com/
Now Google App Engine supports SSL over custom domain names.
https://developers.google.com/appengine/docs/ssl

Resources