Place sliced jalapeños and shallots in a quart-sized deli container.
Combine vinegar, sugar, water, and salt in a saucepan over medium-high heat.
Once the liquid begins to steam, remove from the heat and pour directly over the jalapeños and red onion.
Allow jalapeños and shallots to soften and come to room temperature before covering and refrigerating.