HTTP, HTTPS, DNS, SSH, FTP, APIs, DHCP, Email Protocols, and Modern Application Communication
Learning Objectives
By the end of this chapter, you should be able to:
- Explain the purpose of the Application Layer in the OSI model.
- Identify common Layer 7 protocols and their use cases.
- Understand how browsers, servers, APIs, and cloud services communicate.
- Explain how HTTP and HTTPS work.
- Understand REST APIs, gRPC, and WebSockets.
- Explain the role of DNS in application communication.
- Understand SSH, FTP/SFTP, DHCP, and email protocols.
- Connect Layer 7 concepts to Docker, Kubernetes, AWS, CI/CD, and everyday DevOps tasks.
- Troubleshoot common Layer 7 issues.
Introduction
When you open a web browser, send an email, clone a Git repository, connect to a Linux server with SSH, or use the Kubernetes API, you're interacting with the Application Layer (Layer 7).
Despite its name, the Application Layer does not refer to the application itself (such as Chrome or Visual Studio Code). Instead, it provides the protocols and services that allow software applications to communicate across a network.
It is the closest layer to the user and the one most visible during day-to-day DevOps work.
What Is the Application Layer?