1. Gather Your Access Package
You should have received:- The public IP address (or DNS name) of the managed VM.
- An SSH private key (for example
grid-enterprise.pem) tied to a user account on that machine. - Optional notes such as the default username (
grid,ubuntu, etc.).
2. Prepare the SSH Key
Ensure the key has restrictive permissions (required by OpenSSH on macOS/Linux):~/.ssh/ or another secure location owned by your account.
3. Add the Host to ~/.ssh/config
Create or edit ~/.ssh/config on your local workstation:
ssh command) connect without repeating long arguments.
4. Install VS Code Remote Extensions
On your local machine:- Install VS Code.
- From the Extensions view, install the Remote Development pack (it bundles Remote-SSH and Dev Containers).
5. Open the Remote VM from VS Code
- Launch VS Code.
- Press
F1(or⌘⇧P/Ctrl+Shift+P) and run Remote-SSH: Connect to Host…. - Select
grid-managed. The first connection may prompt for host fingerprint confirmation. - VS Code will open a remote window (green status bar) with the server-side VS Code agent installed automatically.
Tip: you can reuse existing SSH tunnels created outside VS Code, but connecting via Remote-SSH usually handles everything for you.
6. Work from the Integrated Terminal
Inside the remote VS Code window:- Open a new terminal (
Terminal > New Terminal). It runs on the managed VM. - Run
grid --versionorgridto confirm the CLI is available. The environment already containsGRID_DATA_DIR,license.json, andresource_config.json. - Start using GRID normally:
To develop directly inside the running container, follow VS Code with GRID Containers after you launch your session.
7. Forward Ports Through VS Code
When you need to open notebooks or simulations in your local browser:- Open the PORTS tab in VS Code (bottom panel).
- Click “Forward a Port” and enter the remote port number (
8890,3080,9090,9877, etc.). - VS Code creates a secure forwarding URL you can open locally.
~/.ssh/config:
8. Maintain the Managed Environment
- Leave the
/opt/grid(or configuredGRID_DATA_DIR) contents in place; GRID support manages updates there. - Use
terminatein the CLI when you are done to shut down containers cleanly. - Reach out to GRID before installing extra system packages so the managed image stays compliant.