Do NOT use a vacuum to clean dust from your PC. Not inside, and not outside. Vacuums create static discharge, and that is a BAD thing for computer hardware.
ONLY use compressed air from a can or from an air compressor, in short bursts of 3-4 seconds, to avoid frosting components, when cleaning the inside of your PC. You CAN technically probably use a brush with long, soft bristles, but you'd still need to use air to actually get the dust OUT of the case, so it's kind of pointless. Plus, there is likely an argument to be made for that causing ESD or static discharge as well. I'd recommend only using compressed air from either a can or an air compressor.