Remove these two bolts to remove the brake caliper.
photo mw
The first step in brake disc replacement is removing the brake caliper.
Remove the brake caliper just like you were replacing your brake pads. Once the caliper is unbolted hang it out of the way using a bungee cord or similar hanger. This is so you don't have to unbolt the brake line.