Wash the cucumbers thoroughly and cut them into bite-sized pieces.
Sterilize a glass jar and prepare it.
Put water, vinegar, sugar, salt, whole black peppercorns, and bay leaves into a pot and bring to a boil.
Place the cucumbers and herbs (such as dill) in the jar.
Pour the hot brine into the jar while it's still hot.
Close the lid and let it cool, then refrigerate for at least one day to allow it to pickle.