Amazon.com has said it plans to cut about 10,000 jobs, the largest ever headcount reduction at the e-commerce giant, as it braces for slower growth and a possible recession.

The layoffs, which could begin as soon as this week, will likely target Amazon’s devices group, responsible for the Echo smart speakers and Alexa digital assistant, as well as Amazon’s retail divisions and human resources, according to people familiar with the matter.

Teams are making the decisions on where to reduce headcount as part of the company’s annual planning process, said the people, who requested anonymity to discuss a confidential matter.