Like all arthropods, crustaceans have an external carapace.

An excerpt from the article 22 facts about crustacean

When crustaceans grow they must undergo moulting, they then go to a safe place where they shed their outer carapace after which they quickly increase in size before the next carapace hardens.