Khader and colleagues demonstrated that a successful protective vaccine strategy will rely on populating the bacterial entry areas with IL-17-expressing cells that will respond rapidly to the infection. Here, IL17A is linked to infection.