Instances Flashcards
Managed Instance Group Updater
The Managed Instance Group Updater helps you deploy new versions of software to instances in your managed instance groups, while controlling the speed of deployment, the level of disruption to your service, and the scope of the update. The Updater offers two primary advantages:
- The rollout of an update happens automatically to your specifications, without the need for additional user input after the initial request.
- You can perform partial rollouts, which allows for testing.
Without the Updater, new software versions must be deployed either by creating a new managed instance group with a new software version, requiring additional set up each time, or through a manual, user-initiated, instance-by-instance recreate.
Managed Instance Group
A managed instance group (MIG) contains one or more virtual machine (VM) instances that are created by using an instance template.
To update instances in a MIG, you can make update requests to the group as a whole, using the MIG Updater feature.
App Engine Standard Environment
Sandbox using the runtime environment of a supported language.
Applications that need to deal with rapid scaling.
Source code is written in specific versions of the supported programming languages: Python 2.7, Python 3.7 Java 8, Java 11 Node.js 8, Node.js 10 PHP 5.5, PHP 7.2, and PHP 7.3 Ruby 2.5 (beta) Go 1.11, Go 1.12 and Go 1.13 (beta)
Free or very less cost, pay only what you need
Application can scale to 0 instances when there is no traffic.
Experiences sudden and extreme spikes of traffic which require immediate scaling.
App Engine Flexible Environment
Application instances run within Docker containers on Compute Engine virtual machines (VM).
Applications that receive consistent traffic, experience regular traffic fluctuations, or meet the parameters for scaling up and down gradually.
Source code that is written in a version of any of the supported programming languages:
Python, Java, Node.js, Go, Ruby, PHP, or .NET
Runs in a Docker container that includes a custom runtime or source code written in other programming languages.
Uses or depends on frameworks that include native code.
Accesses the resources or services of your Google Cloud project that reside in the Compute Engine network.
Preemptible VMs
A preemptible VM is an instance that you can create and run at a much lower price than normal instances. However, Compute Engine might terminate (preempt) these instances if it requires access to those resources for other tasks
Preemptible VMs are highly affordable, short-lived compute instances suitable for batch jobs and fault-tolerant workloads. Preemptible VMs offer the same machine types and options as regular compute instances and last for up to 24 hours. If your applications are fault tolerant and can withstand possible instance preemptions, then preemptible instances can reduce your Compute Engine costs significantly.