NEWPORT -- Ukraine's president expressed "careful optimism" Thursday that a peace deal could be reached with Russian-backed separatists at their upcoming talks, even as he and NATO leaders agreed that Moscow should be punished for its role in the insurgency.

President Petro Poroshenko said he was ready to order a cease-fire in eastern Ukraine if a deal is signed at scheduled talks Friday in Minsk, Belarus. The rebels said they were ready to declare a truce if agreement can be reached on a political settlement for the mostly Russian-speaking region.

"Look, Ukraine is fighting for peace," Poroshenko told a news conference, speaking in English. "It's Ukraine which pays the highest price every single day, losing lives of soldiers, innocent civilians."

As head of state, Poroshenko said he is "ready to do my best to stop the war," and he voiced "careful optimism" about the meeting.

Before flying to Wales for the meetings with NATO leaders, Poroshenko discussed the outlines of a peace deal with Russian President Vladimir Putin, who also voiced optimism about the chances of reaching agreement.

Since mid-April, Moscow-backed separatists have been fighting government troops in a conflict the U.N. estimates has killed nearly 2,600 people. On Thursday, a NATO military officer told The Associated Press the ranks of Russian soldiers directly involved in the conflict have grown.

"Our current assessment is that several thousand Russian combat troops are actively engaged in fighting in Ukraine," said the officer, who spoke on condition of anonymity because he was not allowed to make public remarks on intelligence matters. NATO previously had put the number of Russians at 1,000.

Russian forces "are equipped with a spectrum of combat capabilities, including hundreds of tanks and armoured vehicles, as well as artillery and combat support elements," the NATO officer said.

Kremlin officials repeatedly have denied their troops or military assets are involved.

Facing major challenges with simultaneous conflicts in Ukraine, Syria and Iraq and a winding-down of operations in Afghanistan, NATO leaders began a two-day summit at a golf resort in southern Wales. Before the official proceedings started, Poroshenko met with Obama and the leaders of NATO's four major European powers: British Prime Minister David Cameron, French President Francois Hollande, German Chancellor Angela Merkel and Italian Prime Minister Matteo Renzi.

A White House official said Obama and the other Western leaders expressed solidarity with Ukraine and agreed Russia should be punished for its conduct.

"The leaders reiterated their condemnation of Russia's continued flagrant violation of Ukraine's sovereignty and territorial integrity, and agreed on the need for Russia to face increased costs for its actions," U.S. Deputy National Security Advisor Ben Rhodes said. "The leaders also expressed their strong support for President Poroshenko's efforts to achieve a peaceful resolution to the conflict."

Rhodes told reporters the U.S. and European Union were co-ordinating on additional sanctions against Russia that could be levied "in the days to come."

Poroshenko also met with the heads of state and government from all 28 NATO member states, even though NATO officials have made clear that membership for Ukraine isn't in the cards anytime soon, and that NATO cannot and will not provide it with weapons.

To aid Ukraine's military, NATO leaders instead agreed on a 15 million euro ($20 million) package to help in the areas of cyberdefense, logistics, rehabilitating soldiers injured by the rebels, and command, communications and control capabilities.

Specifics of the hoped-for peace deal have yet to be finalized. Putin has suggested that rebels halt their offensive while the Ukrainian government forces should pull back from shelling residential areas.

During a meeting in the wings of the NATO summit with Secretary of State John Kerry, Poroshenko said, "the only thing we need now for peace and stability is just two main things: First, that Russia withdraw their troops, and second, to close the border."

If those conditions are met, Poroshenko said, a "peace solution" could be found in within days.

He has also called for establishing a buffer zone on the border and the release of all Ukrainian prisoners held in Russia.

In Moscow, Russian Foreign Minister Sergey Lavrov said reports that Ukraine was seeking to join NATO were "a blatant attempt to derail all the efforts" to seek a peaceful solution to the fighting.

In the past two weeks, the rebels have made substantial advances against Ukrainian forces, including opening a new front along the Sea of Azov. That offensive has raised concerns the rebels are aiming to seize Mariupol, a major port of about 500,000 people, and create a land corridor between Russia and Crimea, the Black Sea peninsula that Russia annexed in March.

An AP reporter saw three military-type vehicles ablaze Thursday in Berezove, a village along the main road connecting Mariupol with Donetsk, the largest rebel-held city. Rebel fighters were on the move, indicating they could be trying to take control of the strategic highway.

Ukraine's U.N. ambassador said a convoy of Russian tanks and armoured vehicles had moved Thursday from the eastern resort town of Novoazovsk toward Mariupol and was stopped by Ukrainian forces. Yuriy Sergeyev told reporters in New York that "the fight is still going on" and said the convoy had four tanks, three armoured vehicles and about 50 soldiers.

Later, columns of smoke rose outside the nearby village of Olenivka, suggesting that Ukrainian forces were trying to retake it.

Ukrainian officials said in a statement that as of Thursday evening, fighting was continuing around Shirokine, a village about 20 kms (12 miles) east of Mariupol.

The battles have taken a heavy toll on Ukraine's army. National Security Council spokesman Col. Andriy Lysenko said 837 Ukrainian servicemen have been killed and 3,044 wounded since the fighting began.

In a visit to Kyiv, U.S. Sen. John McCain said Washington should enact "truly crushing sanctions" against Russia and provide Ukraine with defensive weapons.

"The real provocation for Putin has been the perception of Western weakness. What should be clear is that Putin's appetite only grows with the eating," said the Arizona Republican and former presidential candidate.

Obama missed the start of the full-dress NATO meeting on the crisis in Ukraine. White House officials said his meeting with Jordan's King Abdullah II ran late, delaying the president's arrival.

- Nataliya Vasilyeva and Vladimir Isachenkov in Moscow, Peter Leonard in Berezove, Ukraine, Jim Heintz in Kyiv, Ukraine, and Julie Pace in Newport contributed to this report.