Although buying dry ice from a store is probably less expensive, you can alternatively produce your own by using a CO2 fire extinguisher or pressurized carbon dioxide in a tank or cartridge.