Skip to main content

Compute Engine instance creation made easy with machine images



Today, we’re pleased to introduce machine images, a new type of Compute Engine resource that contains all the information you need to create, backup or restore a virtual machine, reducing the amount of time you spend managing your environment.
If you administer applications that run on Compute Engine, you probably spend a lot of time creating images that you can use to create new instances. But even though Compute Engine features like custom images capture necessary information like disk data, you still need to manually capture instance configuration and metadata to create a new virtual machine. Machine images eliminates these extra steps and streamlines your operations. 

How are machine images different from images?

Custom images capture the contents of a single disk, for example, a boot disk, which can be used to create new instances that are preconfigured with the apps that you need, so that you don’t have to configure public images from scratch. 
Machine images are a more comprehensive resource that can contain multiple disks, as well as all of the information required to capture and create a new instance, including:
  • Instance properties (machine type, labels, volume mapping, network tags)
  • Data of all attached disks (one or multiple)
  • Instance metadata
  • Permissions, including the service account used to create the instance
Together, the additional information contained in a machine image not only simplifies image creation, but it also lays the foundation for a number of advanced capabilities.  

A better backup solution

Backing up an instance requires more than just disk data. To recreate an instance you need instance properties like the machine type, network tags, labels, and more. Capturing this information is easier with machine images. When you create a machine image from an instance, it stores the instance information and disk data into a single resource. When it comes time to restore the instance, all you need to do is provide the machine image and a new instance name. Machine images can be created whether the source instance is running or stopped. 
In addition to storing complete instance properties and data, machine images use the same differential disk backup technology that powers incremental snapshots, giving you fast, reliable and cost-effective instance backups. 
On top of existing incremental snapshots, machine images guarantee crash-consistency across all the attached disks at a given point in time. 
Compute Engine lets specify the storage location for your machine image disk data.This may help you meet availability or compliance goals. For example, choosing a multi-region such as ‘US’ ensures that the data is safe in multiple copies across multiple zones. Similarly, you can choose a single region to restrict the disk data to a particular region.

Machine image as golden image

Imagine that you’ve created and configured an instance as part of your web application, and you want to use it as the basis of other instances. With machine images, you can capture your web application exactly as you want it and save it as a golden machine image. You can then use that machine image to launch as many instances as you need, configured in the exact same way as your source instance. You can also share the machine image with other projects. If you need to change the properties of your new VMs, you can define new instance properties using machine images’ override functionality.
For replication use cases, we recommend creating a machine image from a stopped instance, which guarantees system integrity and performs OS generalization (i.e., Windows Sysprep). To learn more about best practices for creating machine images for replication purposes, including Windows VMs, visit the documentation.

Getting started with machine images

You can start using machine images via the Cloud Console, gcloud or the API. Let’s look at how to create a machine image from an instance from the console. First, visit the new ‘Machine images’ option from the left navigation bar in the Compute Engine console. Then select “Create a machine image” from the menu. In this case, we’re creating a machine image of an application server.


gcp compute machine image.jpg

To create an instance from a machine image, you can either create it directly from the Machine images page, or from the instance creation page by selecting the “New VM instance from machine image” option from the left menu.


gcp compute machine image 2.jpg

Get started with machine images today by visiting Compute Engine Cloud Console. The new machine images make it easy to create new instances at the heart of your scalability, backup and disaster recovery strategy.






Comments

Popular posts from this blog

People are going wild for a handy new shortcut that will change the way you use Google Docs

- Google has introduced new URLs that can open up blank Google Docs with the click of a button. - To try it out, simply point your browser to  doc.new  or other Google URLs. - Here's an incomplete list of these new URLs, along with a way to take the shortcut to the next level. Last month, Google rolled out a new time-saving shortcut for anyone who spends a lot of time in Google Docs. To open a new, blank document — or spreadsheet, or presentation — all you have to do is go to one of Google's handy new URLs. So if you want to start a new document, you just have to type " doc.new " into your browser. Google Docs ✔ @googledocs Introducing a .new time-saving trick for users. Type any of these .new domains to instantly create Docs, Sheets, Slides, Sites or Forms ↓ 9:35 PM - Oct 25, 2018 4,550 2,812 people are talking about this Twitter Ads info and privacy Here&#

Set start times and import reminders in Tasks

Here comes one of the most awaited features. Tasks is one of the goals to follow what you have to do in G Suite. These new updates will help ensure the majority of your to-dos are in Tasks, and guarantee that you can monitor the due dates related with them. Moreover, importing reminders to Tasks can support your users if your association is at present changing from Inbox to Gmail. Set a date and time for your tasks and receive notifications - You’ll find a place to add date & time. Create repeating tasks - Also you can make an event recur. Import reminders into Tasks This import tool will pull your reminders (from Inbox/Gmail, Calendar, or the Assistant) into Tasks.When importing reminders into Tasks, we’ll copy over the title, date, time and recurrence of the reminder. Please note, reminders with locations associated will not be imported. Additionally, this is a one-time import and not a constant sync. - When you open Tasks on the web or your mobile app, you’ll se

Use Vault for Gmail Confidential Messages and Jamboard Files

Google vault will be supporting two new formats in the future, Gmail confidential mode emails & Jamboard files stored in Google Drive. Google Vault gives you a chance to retain, hold, search, and export data to support your organization’s retention and eDiscovery needs. This dispatch includes support for new information types with the goal that you can thoroughly oversee your association's information. What happens when individuals in your association sends confidential messages? Vault can hold, retain, search, and export all confidential mode messages sent by users in your association. Messages are constantly accessible to Vault, notwithstanding when the sender sets a termination date or denies access to private messages. Here’s an example of what admin@ink-42.com will see in Vault when they search for sam@ink-42.com and preview this email sent by lisa@ink-42.com . But It’ll not work vise versa. Admins can hold, retain, search and export message headers and s