What is the rigid layer of the earths surface that is made up of the crust and a part of the upper mantle?

It's called the lithosphere.