Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Data inconsistency while creating an instance from the machine image

Hi everyone,

I am facing an issue with data inconsistency while launching the instance from the machine image. 

As it says in the docs: "

A machine image contains a VM’s properties, metadata, permissions, and data from all its attached disks. You can use a machine image to create, backup, or restore a VM", so the data in the disk should be the latest one.
 
But, in my case, the data(some files) in a specific path is quite outdated (apporx. 2 years old) while In the running instance the data (same files) are updated yesterday.
 
I am not sure why this inconsistency is! 
Am I missing something? Any help would be appreciated!
 
2 1 77
1 REPLY 1

Hi @chaitanya_2208,

Welcome to the Google Cloud Community!

To verify, when exactly this machine image was taken?

You can easily find the creation date in the Google Cloud Console under your Cloud Console > 'Compute Engine' > 'Machine images', or if you're comfortable using the command line, you can run gcloud compute machine-images list to see a list of your images and their creation times. 

Next, double-check that you created the image from the right source instance. Sometimes, the issue might be as simple as mixing up instances or not having all the necessary disks attached at the time. Especially if your instance uses multiple disks or if there were any snapshots taken around that time. This way, we can be sure we're looking at the right data set and that it includes all the updates you made.

You can always contact Google Cloud Support to further look into your case. Thank you!