For stovetop version, you can check my blog post:
If you are new to Instant pot, then you can boil the eggs following these instructions.
Pour 1 cup water into the steel insert.
Place a steam rack or a trivet.
Rinse and place the eggs on the rack.
Secure the IP with the lid & position the steam release value or vent to sealing.
Press pressure cook and set the timer to 7 minutes.
When the Instant pot beeps, wait for the natural pressure release for 7 to 8 mins.
Release the rest of the pressure manually.
Remove the eggs and keep them immersed in a bowl of cold water.
Peel the shells carefully.
Use these boiled eggs to make egg biryani in instant pot.
Recipe – https://www.indianhealthyrecipes.com/egg-biryani-recipe-how-to-make-easy-egg-biryani/