Determining the image

Determine the image name that will be used for your bastion instance. An OS image and its corresponding name can be selected from Images under Compute Engine > Storage > Images.

You can also get new image name by running OS-based commands:

gcloud compute images list --filter=family:rocky-linux-8-optimized-gcp --show-deprecated

Example output:

NAME                                         PROJECT            FAMILY                             DEPRECATED  STATUS
rocky-linux-8-optimized-gcp-arm64-v20220714  rocky-linux-cloud  rocky-linux-8-optimized-gcp-arm64  DEPRECATED  READY
rocky-linux-8-optimized-gcp-arm64-v20220719  rocky-linux-cloud  rocky-linux-8-optimized-gcp-arm64  DEPRECATED  READY
rocky-linux-8-optimized-gcp-arm64-v20220822  rocky-linux-cloud  rocky-linux-8-optimized-gcp-arm64  DEPRECATED  READY
rocky-linux-8-optimized-gcp-arm64-v20220920  rocky-linux-cloud  rocky-linux-8-optimized-gcp-arm64  DEPRECATED  READY
rocky-linux-8-optimized-gcp-arm64-v20221102  rocky-linux-cloud  rocky-linux-8-optimized-gcp-arm64  DEPRECATED  READY
rocky-linux-8-optimized-gcp-arm64-v20221206  rocky-linux-cloud  rocky-linux-8-optimized-gcp-arm64  DEPRECATED  READY
rocky-linux-8-optimized-gcp-arm64-v20230202  rocky-linux-cloud  rocky-linux-8-optimized-gcp-arm64  DEPRECATED  READY
rocky-linux-8-optimized-gcp-arm64-v20230306  rocky-linux-cloud  rocky-linux-8-optimized-gcp-arm64  DEPRECATED  READY
rocky-linux-8-optimized-gcp-arm64-v20230411  rocky-linux-cloud  rocky-linux-8-optimized-gcp-arm64  DEPRECATED  READY
rocky-linux-8-optimized-gcp-arm64-v20230509  rocky-linux-cloud  rocky-linux-8-optimized-gcp-arm64  DEPRECATED  READY
rocky-linux-8-optimized-gcp-arm64-v20230615  rocky-linux-cloud  rocky-linux-8-optimized-gcp-arm64  DEPRECATED  READY
rocky-linux-8-optimized-gcp-arm64-v20230711  rocky-linux-cloud  rocky-linux-8-optimized-gcp-arm64              READY
rocky-linux-8-optimized-gcp-v20220712        rocky-linux-cloud  rocky-linux-8-optimized-gcp        DEPRECATED  READY
rocky-linux-8-optimized-gcp-v20220719        rocky-linux-cloud  rocky-linux-8-optimized-gcp        DEPRECATED  READY
rocky-linux-8-optimized-gcp-v20220822        rocky-linux-cloud  rocky-linux-8-optimized-gcp        DEPRECATED  READY
rocky-linux-8-optimized-gcp-v20220920        rocky-linux-cloud  rocky-linux-8-optimized-gcp        DEPRECATED  READY
rocky-linux-8-optimized-gcp-v20221102        rocky-linux-cloud  rocky-linux-8-optimized-gcp        DEPRECATED  READY
rocky-linux-8-optimized-gcp-v20221206        rocky-linux-cloud  rocky-linux-8-optimized-gcp        DEPRECATED  READY
rocky-linux-8-optimized-gcp-v20230202        rocky-linux-cloud  rocky-linux-8-optimized-gcp        DEPRECATED  READY
rocky-linux-8-optimized-gcp-v20230306        rocky-linux-cloud  rocky-linux-8-optimized-gcp        DEPRECATED  READY
rocky-linux-8-optimized-gcp-v20230411        rocky-linux-cloud  rocky-linux-8-optimized-gcp        DEPRECATED  READY
rocky-linux-8-optimized-gcp-v20230509        rocky-linux-cloud  rocky-linux-8-optimized-gcp        DEPRECATED  READY
rocky-linux-8-optimized-gcp-v20230615        rocky-linux-cloud  rocky-linux-8-optimized-gcp        DEPRECATED  READY
rocky-linux-8-optimized-gcp-v20230711        rocky-linux-cloud  rocky-linux-8-optimized-gcp                    READY

Record the Name and Project values of the chosen image in the Google Cloud worksheet.