How to repackage/store green coffee beans, dry milk and bouillon?

In stocking my long-term storage pantry, I've come across three specific food products that I can't seem to figure out how to store or repackage properly to extend their shelf life:

Green (unroasted) coffee beans
Powdered (dry) milk
Bouillon powder

I understand the "best by" date is really more of a guideline for peak flavor, however I'm looking to extend the life of these foods as far as possible beyond that guideline. If I repackage them, what is the recommended method: mylar? food saver? freezer? glass jars? OAs or desiccants? Short of a freeze dryer -- which I want very badly! -- I have every method of preservation available to me. I just don't know which is best for these specific products.

The bouillon powder has me the most stumped. I've come across some folks who claim bouillon has an infinite shelf life, but I say hogwash. Bouillon, particularly beef, contains oils and fats (meat) so it will likely go rancid at some point. But in repackaging it, am I trying to keep oxygen out? Or moisture? It seems to me it must be one or the other.

Thanks.

Edit: UPDATE — Thank you everyone for the suggestions. Based on your feedback, I’ve settled on Mylar with OAs for all three.

I originally tried vacuum sealing the bouillon, first inside a paper sack and then sealing that sack inside a vacuumed food saver bag. The very next day I realized the paper sack had turned dark from the oils it had absorbed out of the bouillon. That’s how I knew this was never going to work. Whole dry milk would also contain fats so I would expect to have the problem. As such, it seems to me Mylar with OAs is probably the best solution. Thanks again!