Is it necessary to be cpr certified as a spin instructor?

No. That would be entirely dependent on the facility at which you are an instructor. Meaning - you'd only need to be CPR certified if it's their policy. It's always a good idea however to get basic CPR training whether you're an athletic/exercise instructor or not.