Put the egg steamer basket in your Instant Pot. It has about 7 holes for eggs to be put in.
Add 2 cups of water to the instant pot.
Put in your 7 eggs in the instant pot.
Cook on High Pressure for 5 minutes. Make sure you venting switch is set to sealing.
After the cooking time is completed then I would let the instant pot natural release for 10 minutes. Then after that you can do a quick release, however watch out for steam or liquid coming from the venting switch.
Get a bowl that is large enough to hold all your eggs. Then fill your bowl with cold water and ice with enough water to submerge the eggs.
After the eggs are done with cooking and the natural release, put them directly into the bowl filled with cold water and ice. Watch out though your eggs will be hot, I work with tongs for this step.
Then have the hard-boiled eggs sit in the cold water for 5 minutes. After that you are good to go!