In a small bowl, stir together the spice rub ingredients.
Place the chicken in a baking dish to catch any excess juices. If there is a bag of innards in the cavity of the chicken, remove it and discard.
Pat the chicken dry with paper towels. Rub 1 tablespoon of the olive oil and then half of the spice rub over the chicken, trying to get some under the skin on the breasts if possible.
Add 1 tablespoon olive oil to the Instant Pot and turn on saute mode. When the pot is hot, carefully put the chicken in, breast-side up. Brown for 5-7 minutes, without moving.
Then flip the chicken over to brown it on the breast side. When turning the chicken, be careful to not put your face over the Instant Pot since there is hot oil and steam. I find the easiest way to flip the chicken is to stick a long handled spoon or tongs into the cavity and then use another long spoon to turn the chicken first onto its side and then flip it over.
Brown the chicken for 5-7 minutes on the second side and then use the two long handled spoons/tongs to carefully remove it to a clean plate. Press “cancel” to turn off saute mode.
Add 1 cup of water to the instant pot and scrape up any browned bits from the bottom of the pot. Place a handled trivet in the bottom of the Instant Pot. (If you do not have a handled trivet, you can use a regular trivet with a foil sling to make it easier to remove the cooked chicken.)
If desired, place half a lemon, half an onion and/or fresh herbs in the cavity of the chicken. Rub the remaining seasoning rub over the chicken.
Place the chicken on top of the trivet in the Instant Pot, breast side up. Close the lid and turn the steam release valve to the sealing position.
Use the Pressure Cook/Manual setting and set the cook time on high pressure for 6 minutes per pound for a fresh chicken. A 4 pound fresh chicken will need to cook for 24 minutes, a 4.5 pound chicken will cook for 27 minutes, and a 5 pound fresh chicken will cook for 30 minutes, for example.
After you set the cook time, the Instant Pot will take some time to reach pressure and then the cook time will begin counting down. When the cook time ends, allow the pot to release naturally for 15 minutes by leaving the pot alone. After 15 minutes, carefully turn the steam release valve to the venting position to release any remaining pressure and steam. When the pin drops down, carefully open the Instant Pot lid.
Use an instant read thermometer to check that the temperature of the chicken has reached at least 165 degrees F at the thickest part of the leg, not touching the bone.