Russia bombarded a swath of Ukraine early Wednesday, killing at least seven people in the western city of Lviv, local Ukrainian officials said, a day after a ballistic missile attack in the eastern city of Poltava left dozens of people dead.

Air raid sirens sounded in a number of places across Ukraine on Wednesday morning as guided missiles and drones flew in, with the authorities urging people to take cover or go to shelters.

Ukraine’s Air Force said the country had been targeted with two ballistic missiles, 11 cruise missiles and 29 drones overnight and that 22 of the drones and seven of the cruise missiles had been shot down.

In the Lviv region, the military administrator, Maksym Kozytskyi, said drones and cruise missiles were headed toward the city of Lviv and, later, that there was “very loud” impact. He told residents to remain in shelters.

Mr. Kozytskyi said seven people, including three children, had been killed and that dozens of others were injured. He posted a video on Telegram in which a heavily damaged building could be seen in the background.

At least one residential building near Lviv’s main train station was on fire, the city’s mayor, Andriy Sadovyi, said on the messaging app Telegram.

President Volodymyr Zelensky of Ukraine said on the social media platform X that residential buildings, schools, and medical facilities had been damaged and repeated a call for allies to provide more long-range weapons capability.

The Russian military also bombarded the Kherson region, in Ukraine’s south, on Tuesday and Wednesday, the head of the regional administration, Oleksandr Prokudin, said on Telegram. The attacks hit a number of targets, including five high-rise buildings, and killed three people, Mr. Prokudin said.

The central Ukrainian city of Kryvyi Rih was also targeted with attacks that damaged a hotel, high-rise buildings and educational institutions, injuring at least five people, according to Serhiy Lysak, governor of the Dnipropetrovsk region.

On Tuesday, Russian missiles hit a military academy in Poltava, minutes after air raid alarms had sounded, giving people little time to seek shelter.

That attack left more than 50 people dead and wounded at least 271. Rescue work there was continuing, Mr. Zelensky of Ukraine said in his nightly address on Tuesday.