Select Saute mode and allow the Instant Pot to heat up.
Add oil to inner pot of Instant Pot.
Add andouille sausage, and cook until browned, about 5 to 8 minutes. Remove with a slotted spoon to a medium bowl and set aside.
Add onion, bell pepper, celery, and garlic. Stir until onion is translucent, about 5 minutes.
Add thyme, cayenne pepper, salt, black pepper and stir to coat, about 30 seconds.
Add a few tablespoons of broth to deglaze the inner pot, so there's nothing stuck to the bottom.
Stir in remaining broth, bay leaves, red beans, and ham hock.
Close the Instant Pot and pressure cook on High Pressure for 30 minutes.
Allow for a natural pressure release (NPR) and open the Instant Pot. [Read More: The Different Pressure Release Methods]
Make the rice while the red beans are cooking. Serve red beans over rice and garnish with green onions and parsley.
Serve hot sauce on the side (optional).
