C4W4 Capstone Labs: Terminal window repeatedly crashes

During Part 1 of the capstone, oftentimes the terminal would mysteriously crash.
The most frequent situations of this were with the aws glue get-job-run and the dbt debug commands, but it sometimes just happened anyways.

image

I eventually was able to finish the lab, but only after repeatedly restarting the terminal, rerunning the setup script each time I restarted the terminal, and hoping nothing would break along the way.

What was going on? How would this be avoided in future?

It also seems to be happening on Part 2 of the lab as well, during the initial terraform statements.

Hello @0rb,
I’ve encountered the same issue a few times in different labs. I believe it might happen because the servers we’re working on can become overloaded, which causes the terminal to crash. However, I’ve always been able to start a new terminal and continue without any issues.
While stronger servers could potentially avoid these problems, the team has optimized the configurations as best as possible for each lab to optimize resource usage.