Rare Earth Doped Confined Structures for Lasers and Amplifiers