Step 1
Bring a large pot of salted water to a boil. Cook the spaghetti according to the package directions and drain, reserving 1 cup of the starchy pasta water.
Step 2
Heat a skillet over medium heat. Add the pancetta and cook until it crisps around the edges, about 3-4 minutes. Remove from the pan and place on a plate. Wipe out the pan.
Step 3
Reduce the heat to medium low. Add the olive oil to the skillet. Once heated, add the shallot and peas. Cook, stirring occasionally, for 2-3 minutes.
Step 3- continued
Once the shallots are translucent, add ½ cup of the reserved pasta water to the skillet. Let simmer for 2-3 more minutes until the peas are cooked through.
Step 4
Add the cooked spaghetti and pancetta. Top with half of the parmesan cheese and toss until combined using tongs. Add the remainder of the parmesan cheese and toss again, adding more pasta water as needed.