🌐 Network Protocols Explained for DevOps Engineers
1. What Is a Network Protocol?
A network protocol is a set of rules that defines how data is sent, received, and understood between devices on a network.
It ensures that computers, servers, routers, and switches can “speak the same language” — even if they use different hardware or software.
In DevOps, protocols are everywhere — from connecting to AWS EC2 via SSH, to delivering web apps through HTTP/HTTPS, to configuring DNS for domain routing.
2. Common Network Protocols and DevOps Use Cases
Protocol
Full Form
DevOps Use Case
Port(s)
Example Command
HTTP / HTTPS
Hypertext Transfer Protocol (Secure)
Communication between browsers, APIs, and web servers
80 / 443
curl -I https://example.com
FTP / SFTP
File Transfer Protocol / Secure File Transfer Protocol
Transfer build artifacts, log files, or configs between servers
21 / 22
sftp user@server
SMTP / SMTPS
Simple Mail Transfer Protocol (Secure)
Send build notifications (e.g., Jenkins → Email)
25 / 465
Jenkins email plugin setup
DNS
Domain Name System
Maps domain names to IPs (e.g., myapp.devops.com → 52.31.12.4)
53
nslookup myapp.devops.com
DHCP
Dynamic Host Configuration Protocol
Automatically assigns IPs to instances in a subnet
67 / 68
AWS assigns IP automatically
SSH
Secure Shell
Secure remote login to EC2, Kubernetes nodes, and containers
22
ssh ec2-user@54.160.12.11
TCP / IP
Transmission Control Protocol / Internet Protocol
Backbone of all internet and intranet communication
0–65535
Used by all major protocols
POP3 / IMAP
Post Office Protocol v3 / Internet Message Access Protocol
Retrieve Jenkins or monitoring system emails
110 / 143
Email client configuration
UDP
User Datagram Protocol
Used for DNS, video streaming, and real-time logs (fast, no error checking)
53 / 67 / 123
dig example.com
ARP
Address Resolution Protocol
Maps IP to MAC address inside LAN or VPC
N/A
arp -a
Telnet
Terminal Network Protocol
Legacy insecure protocol (replaced by SSH)
23
telnet host port
SNMP
Simple Network Management Protocol
Used by monitoring tools (e.g., Prometheus, Nagios)
161 / 162
Device metric collection
ICMP
Internet Control Message Protocol
Network diagnostics (ping, traceroute)
N/A
ping google.com
NTP
Network Time Protocol
Synchronizes system clocks (used in AWS, logs, CI/CD)
123
timedatectl status
RIP / OSPF
Routing Information Protocol / Open Shortest Path First
Network routing between routers or VPCs
Dynamic
AWS route tables, routers
3. Why Protocols Matter in DevOps
DevOps Scenario
Protocols Involved
Explanation
Deploying a web app
HTTP/HTTPS, TCP/IP, DNS
HTTP routes traffic to your web server; DNS resolves the URL.
Top comments (0)