The Go runtime is available as a Managed VM standard runtime. Many existing App Engine applications can run in a Managed VM. Before you migrate, be sure that your app only uses App Engine service APIs that are supported by the Managed VM environment. Currently, Managed VMs support these services:
- Datastore
- Memcache
- Task Queues
- Logging
- Users
Configuring an app for managed VMs
You can switch your app to Managed VMs by changing just a few lines in your
application's app.yaml file:
vm and runtime keys are required:
runtime: go
vm: true
You must also take into account these differences when migrating an exisitng app:
- Managed VMs support manual and automatic scaling. If your app uses basic scaling, you'll need to change that.
- Managed VMs do not assign instance classes. Instead, you select resources in the
app.yamlfile.
All the settings for managed VMs are described in the configuration instructions
Testing and deploying managed VMs
Managed VM development requires that you install Docker and the Google Cloud SDK.
The setup steps are explained on the managed VM Getting Started page.
Developing and Deploying Managed VMs describes the use of the gcloud Cloud SDK
commands.