How do you beat Hraezlyr in God of War?

Quick answer: Throw a Shatter Crystal into Hraezlyr’s mouth when it breathes lightning to stun it, then hack its head. Block its stomp shockwaves with your shield and hit its claws between attacks.
Show walkthrough (quest spoilers)
Where it happens
Hraezlyr is the lightning dragon near the top of the mountain in the Inside the Mountain quest. It first grabs the platform with its claw, so attack the claw and avoid its bite. After a cutscene you chop your way out of its mouth and the real fight begins.
Stun it with Shatter Crystals
Shatter Crystals lie at the edges of the arena. When the dragon breathes lightning, pick one up and throw it into its mouth. The blast stuns it, its head drops and you can hack at it freely.
Stomps and claws
When it stands up and stomps, raise your shield to block the shockwaves. Hit its claws in the short window after a stomp, and roll away from claw swipes. Do not carry a crystal near the lightning, because it can blow up in your hands.
The finish
Keep stunning it and attacking its head until its health is low. Then Atreus drops the crane onto it and a final sequence ends the fight. Sindri then gives Atreus Shock Arrows, as shown in the Inside the Mountain walkthrough.
