A coffee preparation machine can include at least one sealed pod containing unroasted green coffee beans, a roasting system that accepts the at least one sealed pod, a grinding system, and a brewing system, where the brewing system, the roasting system, and the grinding system can be housed within a single self-contained unit.