Spray a 7-pocket egg bite mold with baking spray. Put it on the trivet with the long handles while it’s on the counter. This makes it much easier to lower into the Instant Pot.
Whisk together 2 of the eggs, the sour cream or yogurt, cheese, basil, salt and pepper. Pour about a tablespoon of this into each pocket. Break one whole egg into each pockets and top with the remaining egg/cream mixture. Fill them almost to the top. No need to cover them.