You want to make a copy of a production Linux virtual machine in the US-Central region.
You want to manage and replace the copy easily if there are changes on the production virtual machine.
You will deploy the copy as a new instance in a different project in the US-East region.
What steps must you take?
Click on the arrows to vote for the correct answer
A. B. C. D.D.
The recommended approach to create a copy of a production Linux virtual machine in the US-Central region that can be easily managed and replaced is to use snapshots and images in Google Cloud Platform (GCP).
Option B is the correct answer. Here are the detailed steps you need to follow:
Create a snapshot of the root disk: a. In the GCP Console, go to the Compute Engine page. b. Select the virtual machine instance that you want to copy. c. Click the "Stop" button to shut down the instance. d. Select the instance and click the "Create Snapshot" button in the "Snapshots" tab. e. Give the snapshot a name and a description, and click "Create".
Create an image from the snapshot: a. In the GCP Console, go to the Compute Engine page. b. Click the "Images" tab. c. Click the "Create Image" button. d. Give the image a name and a description. e. In the "Source disk" section, select the snapshot that you created in step 1. f. Click "Create".
Deploy the copy in a different project in the US-East region: a. In the GCP Console, go to the target project. b. Click the "Compute Engine" page. c. Click the "Create Instance" button. d. Give the instance a name and select the desired region (in this case, US-East). e. In the "Boot disk" section, select "Custom images" and choose the image that you created in step 2. f. Complete the instance creation process.
Using this approach, you can easily manage and replace the copy by updating the original virtual machine and repeating steps 1 and 2 to create a new image. You can then use the new image to create a new instance and replace the old one.