Why are some vaccines not suitable for all diseases?

Simply put there are to many diseases. Some of the existing vaccines, pneumovax for

example,only protect against a certain bacteria, and the flu vaccine is redeveloped each year to protect against the strain that is predicted to be the most prevalent. Others, like shingles vaccine protect against the disease, do NOT guarantee immunity but help to lessen the severity and pain associated with the disease.