Versions
Now, let's imagine that we want to update the application with new content:
- Let's modify the welcome message to
Hello Packt people!
:Figure 5.11 – Modifying the application
- We will save the changes and deploy the application again:
gcloud app deploy app.yaml --project <project_id>
- Now, if we switch to the Google Cloud Console and go to App Engine | Versions, we will see that a new version of the application has been deployed:
Figure 5.12 – Traffic allocation
Note that all the traffic is directed toward the new version.
Go back to your browser and refresh to see that the new version of the application has been deployed:
Figure 5.13 – Viewing the new application version
In the next section, we will look at splitting traffic.