A magnitude 5.5 earthquake struck the west coast of the northern Sumatra region in Indonesia, on Tuesday, the German Research Centre for Geosciences (GFZ) said.