Big technology companies are doubling down on New York City by adding millions of square feet in office space and creating thousands of new jobs, with few aftereffects from Amazon.com Inc.’s nixing of a Queens headquarters.

Alphabet Inc.’s Google last week closed a deal to lease 1.3 million square feet in lower Manhattan, part of Google’s plans to add 7,000 in staff to the city over 10 years.

Facebook Inc. is in talks to lease one million square feet of office space at 50 Hudson Yards, a skyscraper under construction on Manhattan’s far West Side, according to a person familiar with the talks. Uber Technologies Inc. and Amazon have been looking for large office space at the Farley Building, say people briefed on the matter. Part of the former James A. Farley Post Office will be used as a train hall for Penn Station.

New York is emerging as an East Coast hub for technology because of the size of its labor force, its extensive transportation infrastructure and the cultural and entertainment activities that come with a big city, analysts and real-estate executives said.

“New York has lured the talent, and now the employers need to set up shop to lure that talent,” said Kevin Egan, an executive at Oxford Properties Group, which is one of Google’s Manhattan landlords. “These tenants want to be here and need to be here.”