Amazon.com plans to announce thousands of corporate job cuts across the organization as early as Tuesday, according to people familiar with the matter, the latest cost-cutting move for the tech giant that is seeking to slim down and conserve cash.

The layoffs cut across the organization, hitting human resources, cloud computing, advertising and a number of other business units, the people said. While the total number of reductions hasn’t been finalized—and not all of them will happen immediately—as many as 30,000 people could be affected, one of the people said.

Amazon Chief Executive Andy Jassy has been on a yearslong campaign to cut expenses as the company ramped up spending on artificial intelligence, as it faced increased competition for its cloud computing business.