<p>I would like to get shell access to the Persistent Volume I created on the Google Cloud Platform.  </p>

<p>I tried using Google Cloud Shell for this. But to be able to do that I need to attach the Persistent Volume through the gcloud commands, and the command requires the instance name. But I don't see the instance name of the Google Cloud Shell when I list the instance names (in gcloud). </p>

<p>Is it possible to get shell access over Google Cloud Shell to the persistent disks? If not how can I get access to the Persistent Volume that I created?</p>

<p>Yes, all disks need to be attached to an instance to allow access to them - you will need to create a compute instance and mount the persistent disk with <code>gcloud compute instances attach-disk [INSTANCE_NAME] --disk [DISK_NAME]</code>. </p>

<p>Once you create the new instance the instance name will become visible to you for usage by running <code>gcloud compute instances list</code></p>

<p>You will then be able to access the disk by ssh'ing into the instance and mounting it.</p>

<p>The following will help with mounting:</p>

<p><a href="https://cloud.google.com/compute/docs/disks/add-persistent-disk" rel="noreferrer">https://cloud.google.com/compute/docs/disks/add-persistent-disk</a></p>
