Set instant pot in saute mode. When hot, add 1-2 tablespoons vegetable oil. Add eggs and scramble, remove on to a plate when done. (You don't have to continuously stir eggs. Stir 'em every 20 seconds or so, until cooked. This will yield larger pieces of scrambled eggs)Into the now empty pot (still in saute mode), add frozen peas. Saute, until thawed completely . The moisture from peas will help in loosening the eggs sticking to the bottom of the pan. Try scraping most of it. Transfer peas to the plate.
Add 1-2 tablespoons oil to the now empty instant pot, Add chicken in a single layer, cook undisturbed for 2 minutes. Stir around and then add chopped onions and garlic, cook (stirring occasionally) for another 2-3 minutes.
Add rinsed and drained rice and saute for about 20 seconds and then stir in chicken stock and carrots. Scrape sides, close Instant pot, lock lid, set valve to sealing, press cancel. (Refer notes below to see which method is right for you).
Cooking Method-1 : Select rice mode. (This is an automatic setting and mine took 12 minutes). When cook time is done, let the Instant pot be in warm mode for 5 minutes. When 5 minutes is done, turn valve to vent and let pressure release.Press cancel and open lid. Stir in cooked eggs, peas, soy sauce, sesame oil and ground pepper.
Cooking Method-2 : Cook for 3 minutes on manual mode. When cook time is done, let it be in warm mode for 10 minutes (for al dente rice) and 15 minutes (for more softer rice) When cooking time is done, turn valve to vent and let pressure release.Press cancel and open lid. Stir in cooked eggs, peas, soy sauce, sesame oil and ground pepper.
Some readers have suggested that doubling the recipe results in slightly overcooked rice. So, I'd suggest using the recipe as is.
Remove pot insert from the instant pot base and place on a wire rack to cool for 5-10 minutes, before serving. Enjoy hot Instant pot chicken fried rice for lunch/dinner or cool and pack into meal prep containers for the week.