Hi Mathieu,
Thanks for your patience here and you're right to push back. You've already done the isolation work that matters, so let me skip the generic checklist and focus on where this actually points and how to get it to the team that can fix it.
What your evidence already tells us
The pattern you describe type, freeze for a few seconds, then it all catches up in a burst, on a freshly booted instance running nothing but a terminal is the signature of backpressure on the notebook/terminal WebSocket path, not CPU, memory, or VM size.
The strongest signal is that it reproduces across multiple workspaces and multiple compute instances, but only in East US 2, while every other region is smooth. That combination effectively rules out your compute, your configuration, and your VM size, and points at something region-scoped in the Azure ML notebook/terminal connectivity tier for East US 2.
So to be clear: This isn't something you'll fix by resizing, restarting, or switching browsers. I don't want to send you around that loop again. The one thing worth confirming is where the stall sits (backend vs. the WebSocket path in between), because that's what makes the escalation land quickly.
A few quick things to rule out (fast, and each one strengthens the escalation)
- Service Health / Resource Health. Portal > Service Health >Service issues (and Resource Health on the workspace), filtered to East US 2. This confirms whether there's already a known regional event for Azure ML if so, it ties your case straight to it.
- Confirm it's the relay, not the VM.
During a freeze, open F12 > Network > WS and watch the terminal/notebook socket.
If the frames stall while the box is idle, that's the backend path, not your compute. Cross-check by running top (compute should stay idle) and by opening a terminal via SSH or VS Code Remote instead of the Studio UI. If SSH is smooth but the Studio terminal still stutters, that isolates it to the Studio notebook/terminal service path in that region.
- WebSocket egress from your network. Jupyter/terminal rely on open WebSocket connections to *.instances.azureml.net and *.instances.azureml.ms. A corporate proxy or firewall that buffers or throttles WebSocket traffic to the East US 2 endpoints specifically can produce this same type-then-burst stall. Since a different region means different endpoint hosts, this is the one client-side factor that region-to-region comparison doesn't fully eliminate — worth a quick check with your network team, and easy to test from an off-corp-network connection.
- Session backpressure (unlikely in your case, noting it only so it doesn't get raised again): too many lingering notebook/terminal sessions on a compute can cause the same typing lag, but that clearly doesn't apply on a fresh box. You can confirm via Manage active sessions in the terminal toolbar. Ref: Manage notebook and terminal sessions.
How to get this properly investigated
Because this looks like a regional, service-side pattern, the Q&A thread alone can't resolve it — it needs the Azure Machine Learning team to look at the East US 2 notebook/terminal infrastructure. We need some details:
- 3–5 freeze timestamps in UTC, with workspace + compute names and region (East US 2),
- the WebSocket timing capture (F12 → Network → WS) during a freeze,
- confirmation that top/vmstat shows the instance idle during the stall,
- whether SSH / VS Code Remote to the same instance is smooth while the Studio terminal isn't,
- whether the stall persists from a network path outside your corporate proxy.
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-manage-compute-sessions?view=azureml-api-2
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-access-terminal?view=azureml-api-2
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-manage-compute-instance?view=azureml-api-2&tabs=python
https://learn.microsoft.com/en-us/azure/machine-learning/concept-compute-instance?view=azureml-api-2
https://learn.microsoft.com/en-us/azure/service-health/overview
Thanks.