Skip to main content
Version: v3

Cloud Engine Overview

Cloud Engine is a platform that lets you host backends for your applications. If you have web apps or backend programs built with Node.js, Python, Java, PHP, .NET, Go, or C++, you can deploy them to Cloud Engine and it will automatically build runnable versions from the source code and run them in independent containers. Cloud Engine provides capabilities including log viewing, monitoring, load balancing, zero downtime deployment, and autoscaling that you can use out of the box. Additional features provided by Cloud Engine include scheduled tasks, domain and certificate management, and hosted database management systems including Redis, MySQL, MongoDB, and Elasticsearch.

Deploying Apps

tip

Ready to deploy your first app? Check out this guide to learn how to get your app running on Cloud Engine in seconds. From there you can explore the different runtime environments supported by Cloud Engine.

Runtime environmentSupported versionsSupported package managersDocumentationDemo projects
FrontendNode.js >= 0.12NPM / YarnFrontend Runtime EnvironmentFrontend Runtime Environment § Getting Started
Node.js>= 0.12NPM / YarnNode.js Runtime Environmentnode-js-getting-started (Express)
Python>= 2.7pipPython Runtime Environmentpython-getting-started (Flask)
Java8, 11–15MavenJava Runtime Environmentservlet-getting-started
spring-boot-getting-started
PHP5.6, 7.0–8.0Composer (v1)PHP Runtime Environmentslim-getting-started
.NET3.1dotnet.NET Runtime Environmentdotnet-core-getting-started
Go>= 1.10go modGo Runtime Environmentgolang-getting-started (Echo)
C++GCC 9.4BazelC++ Runtime Environmentcpp-socket (Bazel)

Cloud Functions and Hooks

Cloud Functions lets you run backend code on the cloud in response to various types of events. It automatically serializes objects that have the data types provided by our Data Storage service and is supported by our client-side SDKs. Hooks allows you to trigger custom logics or perform additional permission checks when there are objects created, updated, or deleted in the Data Storage service, users logged in or verified, or messages sent, conversations created, or clients logged in or logged out in the Instant Messaging service.

tip

You can start using Cloud Functions with little experience in traditional backend development. Check out this guide to learn how to write your first Cloud Function.

Cloud Functions comes with features like Scheduled Tasks and Cloud Queue that make it convenient for you to manage your Cloud Functions in a more complex manner. You can have your Cloud Functions triggered routinely, retry failed function calls, skip duplicate function calls, look up function outputs, and delay function calls.

LeanDB

Cloud Engine hosts a collection of popular database management systems that you can use as alternatives to the Data Storage service:

DBMSClustersCluster availabilityDocumentation
RedisMaster/slave (1M/1S)High availability by default with automatic failoverLeanCache Guide
MongoDBReplica set (1P/1S/1A)High availability by default with automatic failoverLeanDB MongoDB Guide
MySQLMaster/slave (1M/1S)High availability by default with automatic failoverLeanDB MySQL Guide
ElasticsearchOne or three nodesHigh availability by default with automatic failover when using three nodesLeanDB Elasticsearch Guide

More

  • With the CLI, you can easily deploy and debug projects that use Cloud Functions. See CLI Guide for more information.
  • You can use Cloud Functions with its REST API besides the Data Storage SDK. See Cloud Engine REST API Guide for more information.
  • For those curious about the stuff behind the scenes, Deep Dive Into Cloud Engine lists a few technical details about Cloud Engine.