Understanding the different hardware components of a server and how they relate to each other will give the foundation you’ll need when making coding and architectural choices. I recommend building a computer from scratch at some point in your career to help solidify these things in your mind.
We’ll start with the basic components for any computer and move into specific considerations when deploying in the cloud with services like Amazon Web Services or Digital Ocean.