Do you have to join the armed forces to join the coast guard?

The Coast Guard is a branch of the US Military, so yes.
The Coast Guard is a branch of the US Military, so yes.