You will need a Class-D Type-1 dry chemical fire extinguisher which are yellow in color if you are welding or machining magnesium parts.