The App Engine Node
The App Engine Node runtime doesn’t have any language or any type of API restrictions. The developers can easily utilize their favorite modules of Node.js by means of declaring them in the file named package.json. The App Engine will install them automatically after the deployment. The close relationship of Google with Node.js resulted in Google offering a wide range of Node.js client libraries which make it easy for any node.js developer to utilize the different products of Google Cloud Platform like Cloud Datastore.
Google App Engine
The Platform-as-a-Service (PaaS) offering named as Google App Engine provides support to a standard and a flexible environment. This flexible environment inherently runs the different application instances within the containers called Docker on the VM of Google Compute Engine, and hence it can provide support for any language runtime which can be easily Dockerized.
The standard edition essentially rune the applications within a particular sandbox environment for a specified runtime. Up till the recent introduction of Node.js, the standard environment was being supported by Java, Python, PHP and Go. While the recently released Standard Environment is much more involved and constrained, it provides much faster scale-up times, in the range of seconds in comparison to scale up times of minutes in case of Flexible Environment.
The Latest Offering
In order to securely run Node.js in the Google App Engine Standard Environment, the Google utilizes the recently released gVisor sandbox container runtime. It is a new way to sandbox the containers. It provides a secure and better isolation boundary between the application running with the specified container and the host operating system. It is achieved via offering a Linux user-space kernel which is written in Go.
The Google App Engine standard environment with the Node.js provides an idiomatic runtime environment for a node which means that it is the same Node.js’s officially published version which you can essentially run anywhere. As there aren’t any API or language restrictions, any particular module from the NPM registry is being available to the node.js developers. Along with this, as the services are completely managed, the Google is trying to keep the things updated as well as patched. Along with this, the environment also provides support to Node.js 8x.
Google stressed on the tools which are available on the App Engine to the users of Node.js that when they are running Node.js on the Google App Engine, they can utilize the databases and tools which they already know about. The developers can use Parse-server, Express Hapi or any other type of web server in order to build the app. They can also use Redis, MongoDB as well as Google Cloud Datastore in order to store the data.
The users can also utilize the different Google tools like Container Engine of Google for the purpose of running Docker containers or the Google Compute Engine which provides virtual machines. The latest cloud NPM module enables the utilization of Google APIs as well as services which include Google Cloud Vision API for the purpose of integrating the feature of vision detection like image labeling as well as Google BigQuery, for the purpose of querying the large data sets.