Check this sight:
Home Coffee Roasting Supplies -Sweet Maria's Also, green beans can be kept for a few months without issue. Once they are roasted they deteriorate much more quickly. I roast mine,and once cooled, keep them in an air sealed container for 3-4 days to rest and offgas. Then they are ready to grind. I usually grind enough for 7-10 days. Unfortunatley, I don't have unlimited resources with the coast of good roasters, burr grinders, and of course our beloved razors, that I have a $20 whirly style grinder.
Dan