Location of the endoplasmic reticulum?

The endoplasmic reticulum is attached to the cytoplasm of the cellular membrane. It is composed of two regions, the rough endoplasmic reticulum and the smooth endoplasmic reticulum.