Trains, stations and bridges will be teeming with cops Friday after both Gov. Andrew Cuomo and NYPD Commissioner James O’Neill ordered extra security in the wake of a terrorist attack in the London subway.

“Out of an abundance of caution, I am directing state law enforcement to increase security at vital assets across New York, including airports, bridges, tunnels and mass transit systems,” Cuomo said in a statement early Friday.

O’Neill said cops are “closely monitoring” the situation.

The rush-hour blast shook the London Underground, injuring nearly two dozen riders.

Photos from the scene show a scorched white bucket with wires coming out of it sitting on the subway floor.