Bring a pot of water to a boil. Make sure there is enough water to have the eggs completely submerged.
Carefully add the eggs one at a time.
Boil the eggs for 8 minutes.
Once the 8 minutes are up, bring the pot of water to the sink and run cold water over the eggs for 5 minutes.
Crack a tray of ice cubes to give the eggs an ice bath. Let them sit in the cold water for 10 minutes.
Pour all of the water out of the pot. Shake the eggs in the pot for 10 seconds, allowing the eggs to crack into one another.
This allows the eggs to peel perfectly out of their shells in one piece.