Which HTTP status code classes and codes should every DevOps engineer know?
BeginnerConceptHTTP, TLS & Certificates
Answer
1xx informational, 2xx success (200, 201, 204), 3xx redirect (301 permanent, 302/307 temporary, 304 not modified), 4xx client error (400, 401 unauthenticated, 403 forbidden, 404, 408, 429 rate limited), 5xx server error (500, 502 bad gateway, 503 unavailable, 504 gateway timeout).
For load balancers: 502 means the upstream sent an invalid response or closed the connection, 503 means no healthy targets, 504 means the upstream did not answer in time.
More on HTTP, TLS & Certificates
What is the structure of an HTTP request and response?BeginnerWhat are the common HTTP methods and which are idempotent?BeginnerWhat changed between HTTP/1.1, HTTP/2 and HTTP/3?IntermediateHow does QUIC differ from TCP+TLS?AdvancedWhat are HTTP keep-alive and connection reuse, and why do they matter?AdvancedWhat is the difference between HTTP and HTTPS?Beginner