Gently put eggs in the bottom of a large pot. Add enough warm water just to cover the eggs.
Turn on heat and bring water to a boil, then immediately turn off heat. (Boiling the eggs will make them rubbery.)
Let eggs sit in the water until done: soft-boiled eggs 2 to 4 minutes; hard-boiled eggs 15 to 18 minutes.
Drain and let them cool completely.
Easy peazy lemon squeezy.