DevOps Basics
Essential terms every DevOps and cloud engineer should know.
No terms found
Try adjusting your search query
Architecture
Microservices
An architectural style that structures an application as a collection of small, independently deployable services, each responsible for a specific business function.
Example
Code Snippet
# Each service runs in its own container and communicates via HTTP or message queuesAutomation
CI/CD (Continuous Integration / Continuous Delivery)
A set of practices that automate the building, testing, and deployment of applications, enabling teams to release software faster and more reliably.
Example
Code Snippet
on: [push] jobs: build: runs-on: ubuntu-latestPipeline
An automated sequence of steps that takes source code from version control through build, test, and deployment stages.
Example
Code Snippet
pipeline { stages { stage("Build") { steps { sh "docker build ." } } } }GitOps
An operational framework that applies DevOps best practices like version control, collaboration, and CI/CD to infrastructure automation, using Git as the single source of truth.
Example
Code Snippet
argocd app create my-app --repo https://github.com/org/repo --path k8s/Version Control
A system that records changes to files over time so you can recall specific versions later, enabling collaboration and change tracking across a team.
Example
Code Snippet
git commit -m "feat: add Kubernetes deployment manifest"Artifact
Any file produced during a CI/CD pipeline such as a compiled binary, Docker image, or test report that is stored and used in subsequent pipeline stages.
Example
Code Snippet
```yaml- uses: actions/upload-artifact@v3 with: name: build-output path: ./dist```Cloud
Cloud Provider
A company that offers on-demand computing resources and services over the internet, including compute, storage, networking, and managed services.
Example
Code Snippet
aws ec2 describe-instances --region us-east-1AWS (Amazon Web Services)
Amazon's comprehensive cloud platform offering over 200 services including compute (EC2), storage (S3), databases (RDS), and container orchestration (EKS).
Example
Code Snippet
aws s3 sync ./dist s3://my-bucket --deleteConfiguration
Environment Variable
A dynamic named value that can affect the way running processes behave, commonly used to store configuration settings and secrets outside of source code.
Example
Code Snippet
export DATABASE_URL=postgres://user:pass@localhost:5432/mydbContainerization
Container
A lightweight, standalone, executable package that includes everything needed to run a piece of software code, runtime, libraries, and settings.
Example
Code Snippet
docker run -d -p 80:80 nginxDocker
An open platform for developing, shipping, and running applications inside containers, enabling consistent environments across development and production.
Example
Code Snippet
```dockerfileFROM node:18WORKDIR /appCOPY . .RUN npm installCMD ["node", "index.js"]```Dockerfile
A text file containing a set of instructions used by Docker to automatically build a container image.
Example
Code Snippet
FROM python:3.11COPY requirements.txt .RUN pip install -r requirements.txtDocker Image
A read-only template used to create Docker containers. Images are built from a Dockerfile and stored in a container registry.
Example
Code Snippet
docker pull postgres:15Container Registry
A storage and distribution system for Docker images, allowing teams to push and pull images for use in deployments.
Example
Code Snippet
docker push myrepo/myapp:latestDeployment Strategies
Blue/Green Deployment
A release strategy that runs two identical production environments (blue and green) simultaneously, routing traffic to the new version only after it passes validation.
Example
Code Snippet
# Switch traffic by updating the load balancer target group to the green environmentCanary Deployment
A deployment technique that gradually rolls out a new version to a small subset of users before releasing it to everyone, reducing the risk of widespread failures.
Example
Code Snippet
```yamlspec: strategy: type: RollingUpdate rollingUpdate: maxSurge: 1 maxUnavailable: 0```Rollback
The process of reverting an application or infrastructure to a previous stable state after a failed or problematic deployment.
Example
Code Snippet
kubectl rollout undo deployment/my-appInfrastructure
Infrastructure as Code (IaC)
The practice of managing and provisioning infrastructure through machine-readable configuration files rather than manual processes or interactive tools.
Example
Code Snippet
```hclresource "aws_vpc" "main" { cidr_block = "10.0.0.0/16"}```Terraform
An open-source IaC tool by HashiCorp that lets you define cloud and on-prem resources in human-readable configuration files that can be versioned and shared.
Example
Code Snippet
```hclresource "aws_instance" "web" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro"}```Ansible
An open-source automation tool used for configuration management, application deployment, and task automation using human-readable YAML playbooks.
Example
Code Snippet
```yaml- name: Install nginx apt: name: nginx state: present```Networking
Load Balancer
A device or service that distributes incoming network traffic across multiple backend servers to ensure availability, scalability, and reliability.
Example
Code Snippet
```hclresource "aws_lb" "main" { load_balancer_type = "application"}```Observability
Monitoring
The practice of continuously collecting, tracking, and analyzing metrics from systems and applications to detect issues and understand performance.
Example
Code Snippet
kubectl top nodesLogging
The process of recording events, errors, and informational messages generated by applications and infrastructure to support debugging and auditing.
Example
Code Snippet
kubectl logs -f deployment/my-app --all-containers=trueAlerting
A mechanism that automatically notifies engineers when monitored metrics exceed defined thresholds or when critical events occur in a system.
Example
Code Snippet
```yamlalert: HighCPUexpr: container_cpu_usage_seconds_total > 0.8for: 5m```Orchestration
Kubernetes (K8s)
An open-source container orchestration platform that automates deploying, scaling, and managing containerized applications across a cluster of machines.
Example
Code Snippet
```yamlapiVersion: apps/v1kind: Deploymentmetadata: name: my-appspec: replicas: 3```Pod
The smallest deployable unit in Kubernetes, consisting of one or more containers that share the same network namespace and storage.
Example
Code Snippet
```yamlapiVersion: v1kind: Podmetadata: name: nginxspec: containers: - name: nginx image: nginx```Deployment
A Kubernetes resource that declaratively manages a set of identical pods, handling rollouts and rollbacks automatically.
Example
Code Snippet
kubectl set image deployment/my-app my-app=myrepo/myapp:v2Service (Kubernetes)
A Kubernetes abstraction that defines a logical set of pods and a policy to access them, providing stable networking and load balancing.
Example
Code Snippet
```yamlkind: Servicespec: selector: app: backend ports: - port: 80```Namespace
A Kubernetes mechanism that partitions cluster resources between multiple users or teams, providing scope for names and resource isolation.
Example
Code Snippet
kubectl create namespace productionIngress
A Kubernetes API object that manages external HTTP/HTTPS access to services within a cluster, typically providing routing rules and TLS termination.
Example
Code Snippet
```yamlkind: Ingressspec: rules: - host: app.example.com```Helm
A package manager for Kubernetes that allows you to define, install, and upgrade complex Kubernetes applications using reusable charts.
Example
Code Snippet
helm install prometheus prometheus-community/kube-prometheus-stackReliability
SLA (Service Level Agreement)
A formal commitment between a service provider and a customer that defines the expected level of service, including uptime guarantees and response times.
Example
Code Snippet
# SLA is a business contract, not a code constructSecurity
Secret Management
The practice of securely storing, accessing, and auditing sensitive information such as API keys, passwords, and certificates used by applications and pipelines.
Example
Code Snippet
aws secretsmanager get-secret-value --secret-id prod/db/passwordYou might also enjoy
Check out some of our other posts on similar topics
2 related posts