Indonesia has issued fresh tsunami warning after a powerful aftershock with a magnitude of 8.2 shook the western coast of Indonesia.

Though the first earthquake of magnitude 8.6 generated a wave of around 30 inches (80 centimeters) high, it caused no damage, reported the Associated Press.

According to the U.S. Geological Survey, the strong tremor that followed the first quake was centered 10 miles (16 kilometers) beneath the ocean around 380 miles (615 kilometers) from the provincial capital, Banda Aceh.

Earlier, the USGS put the epicenter of first tremor at 308 miles southwest of Banda Aceh.

Meanwhile thousands of panicked residents fled their homes following the tsunami warning as the country's disaster mitigation agency's rescue team was on their way to the affected areas.

Residents ran for safety in high grounds in cars and motorcycles. Cries of "God is Great," was heard across the streets, reports said.

As many as 28 countries have issued tsunami warnings following the Indonesia earthquake.

The Pacific Tsunami Warning Centre (PTWC) has issued a tsunami watch for Indonesia, India, Sri Lanka, Australia, Myanmar, Thailand, Maldives, United Kingdom, Malaysia, Mauritius, Reunion, Seychells, Pakistan, Somalia, Oman, Madagascar, Iran, UAE, Yemen, Bangladesh, South Africa and Kenya.

The PTWC advised the national governments across the Indian Ocean to take appropriate action in case of a tsunami. It has said that tsunami has been generated, but its likey impact was yet to be ascertained, according to a BBC report.

Meanwhile, a 17cm (6.7in) tsunami had been generated and was heading for the coast of Aceh, Reuters said.

The region felt strong aftershocks following the tremor and the shocks were felt nearly for five minutes.

In 2004, Aceh was devastated by a tsunami that left 170,000 dead or missing. An estimated 230,000 people in 13 Indian Ocean nations lost their lives in the monster waves.