Upgrade an existing application

You must upgrade your applications to the latest supported runtime version to continue receiving security updates and be eligible for technical support.

The process of upgrading an existing app depends on the runtime version that your app currently uses:

  • Go 1.11 (first-generation runtime): You must migrate your app to the latest supported Go version. Go 1.11 has reached end of support on January 30, 2024. Your existing Go 1.11 applications will continue to run and receive traffic. However, App Engine might block re-deployment of applications that use runtimes after their end of support date. To migrate to the latest supported version of Go, see Migrate from Go 1.11 to the latest Go runtime.

  • Go second-generation runtimes (after end of support): To upgrade to a supported version of Go, update the app.yaml file by specifying a version of Go that you want your app to run. For example:

    runtime: goVERSION
    

    Where VERSION is the Go MAJOR and MINOR version numbers. For example, to use the latest Go version, Go 1.22, specify 122. For more information, see the Go runtime overview.