Questions tagged [google-cloud-workstations]

Cloud Workstations provides a managed experience using predefined or custom containers to specify your environment configuration, such as pre-installed tools, libraries, IDE extensions, preloaded files, and start-up scripts.

Cloud Workstations can run inside your VPC, allowing you to develop and run code inside your private network and in your staging environment, so you don’t need to emulate your services. You can also enforce “no source code on local devices” policies and bring the same security mechanisms used for production workloads to your development environments, such as VPC Service Controls (VPC SC), private ingress/egress, Cloud Audit Logs, and granular IAM controls.

8 questions
1
vote
0 answers

How to login as a user to Google Cloud Workstations

I'm trying to figure out whether it's possible to login as a given user to a Google Cloud Workstation. Currently, when I create a Cloud Workstation, the logged in user is "user". For context, when setting up a standalone (not a Cloud Workstation)…
1
vote
0 answers

Google Cloud Workstation - Unable to access service from external clients, CORS headers not being passed to workstation generated 302 redirects

When using Google Cloud's workstation for multi-service development, I ran into a CORs issue due to multiple cloud workstation redirects being generated. When I try to make an external REQUEST from an a client: Example: Service 2 to Service 1, or…
1
vote
1 answer

Python 3.10.7 Import Error ModuleNotFoundError: No module named '_bz2'

I am trying to create a Google Cloud Workstation that has all of my required tooling built-in such as PHP, MYSQL and PYTHON with BZ2 support. I understand that this involves creating a custom container image. Here is the Dockerfile that I used: FROM…
0
votes
1 answer

GCP Cloud Workstations config degraded error

I am trying to get Cloud workstations to work in a project with VPC service controls. I am getting this error: System images cannot be pulled onto workstation VMs using this configuration. Since you have disabled public IP addresses, ensure you have…
0
votes
0 answers

ModuleNotFoundError: No module named '_bz2' in Google Cloud Workstation

I launched a new Google Cloud Workstation and create a single python file with these contents: import bz2 import binascii original_data = 'This is the original text.' print ('Original :', len(original_data), original_data) compressed =…
0
votes
1 answer

Install PHP in home folder of Persistent Disk in Google Cloud Workstations

I am trying to install PHP on a Google Cloud Workstation, and have it persist after reboot. The problem I am having is that although I can get it installed in the default location, it does not persist after reboot. Here are the steps I tried: First…
DanielAttard
  • 3,467
  • 9
  • 55
  • 104
0
votes
2 answers

How to debug PHP application in Google Cloud Workstations

Currently I use Google Cloud Shell Editor as my chosen IDE. I like the code editor based on VS Code, and also like the persistent 5GB home directory. This allows me to install PHP on the home directory, which in turn means that I can run my app…
DanielAttard
  • 3,467
  • 9
  • 55
  • 104
-1
votes
1 answer

Unable to locate package apt-get when building a custom Google Cloud Workstation image

I am trying to "build and push a modified workstations image to a container registry" as explained in this previous SO answer. This is the Dockerfile that I am trying to use: FROM…