Preheat oven to 180°C (350°F). Lightly grease your baking dish.
In a large bowl, whisk together 5 eggs and 1 cup milk.
Add ⅔ cup gluten-free all-purpose/plain flour and 1 teaspoon gluten-free baking powder. Use an electric mixer to combine - this helps eliminate any lumps, but you can also whisk by hand.
Stir in 1 cup cheese, ½ onion, 4 slices bacon (or ham), ½ cup corn kernels, and salt and pepper,.
Pour mixture into the prepared dish and smooth out the top, placing sliced or halved cherry tomatoes gently on top.
Bake for 35–40 minutes, or until golden and centre is set.
Let cool slightly before slicing. Serve warm or chilled.