When Vinit Juneja started as a software engineer at Amazon last year, he knew he might leave one day for a more attractive role.

But after watching colleagues lose their jobs during two rounds of layoffs that eliminated roughly 30,000 positions at Amazon, another factor took on new importance: job security.

“I realized that no one’s safe,” Juneja said.

Juneja, who moved to the US from India for graduate school in 2023, is in the US on an F-1 STEM OPT visa. That means that if he lost his job and couldn’t find a new one in time, he’d have to leave the country.

Less than a year into his job at Amazon, Juneja came across a technical product manager…