Coupling of a locally implanted rare-earth ion ensemble to a superconducting micro-resonator