DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
16K subscribers
1.33K photos
14 videos
501 files
1.28K links
https://projects.prodevopsguytech.com // https://blog.prodevopsguytech.com

• We post Daily Trending DevOps/Cloud content
• All DevOps related Code & Scripts uploaded
• DevOps/Cloud Job Related Posts
• Real-time Interview questions & preparation guides
Download Telegram
𝗠𝗮𝘀𝘁𝗲𝗿𝗶𝗻𝗴 𝗞𝘂𝗯𝗲𝗿𝗻𝗲𝘁𝗲𝘀 𝗗𝗲𝗽𝗹𝗼𝘆𝗺𝗲𝗻𝘁 𝗦𝘁𝗿𝗮𝘁𝗲𝗴𝗶𝗲𝘀!

Kubernetes offers a variety of deployment strategies to ensure smooth and efficient application updates. Here are some of the key strategies every DevOps engineer should know:

1️⃣ 𝑹𝒆𝒄𝒓𝒆𝒂𝒕𝒆 𝑫𝒆𝒑𝒍𝒐𝒚𝒎𝒆𝒏𝒕
Process: Terminates all old pods before creating new ones.
Use Case: Suitable for stateful applications where downtime is acceptable.

2️⃣ 𝑹𝒐𝒍𝒍𝒊𝒏𝒈 𝑼𝒑𝒅𝒂𝒕𝒆
Process: Gradually replaces old pods with new ones.
Use Case: Ideal for stateless applications to ensure zero downtime during updates.

3️⃣ 𝑩𝒍𝒖𝒆-𝑮𝒓𝒆𝒆𝒏 𝑫𝒆𝒑𝒍𝒐𝒚𝒎𝒆𝒏𝒕
Process: Runs two identical environments (blue and green) and switches traffic from blue to green.
Use Case: Ensures quick rollback if issues are detected, perfect for critical applications.

4️⃣ 𝑪𝒂𝒏𝒂𝒓𝒚 𝑫𝒆𝒑𝒍𝒐𝒚𝒎𝒆𝒏𝒕
Process: Releases new versions to a small subset of users before full rollout.
Use Case: Mitigates risk by testing updates on a limited scale.


🛫 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
1707716097980.gif
1.5 MB
🐧 The Linux file system isn't just a bunch of folders - it's the organizational bedrock of your entire system.

Mastering it can take your tech career to the next level. Here's why:
𝗞𝗲𝘆 𝗗𝗶𝗿𝗲𝗰𝘁𝗼𝗿𝗶𝗲𝘀 & 𝗧𝗵𝗲𝗶𝗿 𝗥𝗼𝗹𝗲𝘀:
➡️ Root (/): The central hub, connecting everything.
➡️ Bin & Sbin: Essential tools for basic system operation and advanced tasks.
➡️ Etc: Configuration files that make your system tick.
➡️ Home: Your personal storage space for files and documents.
➡️ Var: Holds dynamic data like logs and emails, constantly changing.
➡️ Usr: A vast library of applications, libraries, and data used by the system.
➡️ Lib & Opt: Support files for other programs and optional software.
➡️ Tmp: Temporary storage for the system's ongoing work.
➡️ Boot & Dev: Responsible for booting the system and interacting with hardware.
➡️ Proc & Root: Special directories for system information and the root user.
➡️ Run & Srv: Temporary files for running processes and data for system services.
➡️ Sys & Mnt: Virtual system info and mount points for external storage.
➡️ Media: Where removable media like CDs and cameras connect.

𝗪𝗵𝘆 𝗦𝗵𝗼𝘂𝗹𝗱 𝗬𝗼𝘂 𝗖𝗮𝗿𝗲?
Linux powers countless technologies, and familiarity with its file system gives you an edge in various tech fields:
✔️ Software Engineering: Navigating codebases and system files with ease.
✔️ DevOps: Automating tasks and managing infrastructure efficiently.
✔️ Data Engineering: Working with data stored on Linux systems.
✔️ AI: Understanding where data and resources are located.
✔️ System Administration: Maintaining and troubleshooting Linux systems like a pro.

𝗞𝗻𝗼𝘄𝗶𝗻𝗴 𝘁𝗵𝗲 𝗳𝗶𝗹𝗲 𝘀𝘆𝘀𝘁𝗲𝗺:
🔶 Saves you time by finding files quickly.
🔶 Empowers you to troubleshoot issues effectively.
🔶 Makes you a valuable asset to any team.

𝗚𝗼 𝗕𝗲𝘆𝗼𝗻𝗱 𝘁𝗵𝗲 𝗕𝗮𝘀𝗶𝗰𝘀:
This is just a starting point. Dive deeper, explore each directory, and unlock your tech potential. Share your questions in the comments, and let's learn together!


✉️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy & @devopsdocs 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀
Please open Telegram to view this post
VIEW IN TELEGRAM
Docker 🏖

🔖 Official
https://www.docker.com/

🔖 Introduction to Containers - AWS Skill Builder
https://lnkd.in/drHegvBN

🔖 Understanding containers
https://lnkd.in/dfb_x4YJ

🔖 Docker: Beginner to Pro
https://lnkd.in/dbBeqgrN

🔖 How does Docker ACTUALLY work? The Hard Way: A Comprehensive Technical Deep Diving
https://lnkd.in/dv8YvSWr

🔖 Data Persistence - Docker Documentation
https://lnkd.in/dfGaBZnT

🔖 Docker Hub Registry
https://hub.docker.com/

🔖 Docker Samples
https://lnkd.in/din2CZPH


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
𝗢𝘂𝘁𝗱𝗮𝘁𝗲𝗱 𝗗𝗲𝘃𝗢𝗽𝘀 𝗧𝗼𝗼𝗹𝘀 🔠 𝗩𝘀. 𝗠𝗼𝗱𝗲𝗿𝗻 𝗔𝗹𝘁𝗲𝗿𝗻𝗮𝘁𝗶𝘃𝗲𝘀 🔠

🔠Ditch the old:
🔠 Jenkins
🔠 Maven
🔠 Puppet
🔠 Chef
🔠 Nagios
🔠 Docker Swarm

🔠Embrace the new:
🔠 GitLab & GitHub Actions for CI/CD
🔠 Ansible for configuration management
🔠 Terraform for IaC
🔠 Gradle for faster builds
🔠 Red Hat OpenShift > Kubernetes
🔠 Grafana for monitoring
🔠 Vector & Fluent Bit for log forwarding
🔠 ELK or Loki for log storage
🔠 Prometheus or InfluxDB for metrics


🛫 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
1737474805358.gif
🔠Let's talk about Linux 🐧 File System🔠


◾️ The top-level directory, the starting point of the entire file system.

🔠/bin (Binaries)
◾️ Essential command binaries used by both the system and all users.
◾️ Contains executable programs like ls, cat, cp, mv, and more.

🔠/boot (Boot)
◾️ Files required for the system to boot up.
◾️ Includes the kernel (vmlinuz or similar), bootloader (grub) and initrd/initramfs.

🔠/dev (Devices)
◾️ Special files representing devices connected to the system.
◾️ Includes files for terminals, storage devices, network interfaces, etc.

🔠/etc (Etcetera)
◾️ Configuration files for the system and applications.
◾️ Includes files for network settings, user accounts, system services, etc.

🔠/home (Home)
◾️ Contains home directories for each user on the system.
◾️ Each user's home directory stores their personal files, settings and configurations.

🔠/lib (Library)
◾️ Essential shared libraries and kernel modules.
◾️ Libraries are used by multiple programs and provide common functions.

🔠/media (Media)
◾️ Mount point for removable media like USB drives, CDs and DVDs.
◾️ Automatically mounted when the device is plugged in.

🔠/mnt (Mount)
◾️ Temporary mount point for manually mounted filesystems.
◾️ Used to access filesystems from other devices or network shares.

🔠/opt (Optional)
◾️ Reserved for add-on application software packages.

🔠/proc (Process)
◾️ A virtual filesystem providing information about running processes.
◾️ Each process is represented by a numbered directory containing details like memory usage, environment variables, etc.

🔠/root (Root User)
◾️ Home directory of the root user (the system administrator).
◾️ Not to be confused with the root directory (/).

🔠/run (Run-time variable data)
◾️ Stores volatile runtime data, including process IDs, sockets and other temporary files.
◾️ This directory is cleared on boot.

🔠/sbin (System Binaries)
◾️ Essential system binaries used for system administration.
◾️ Contains commands for booting, repairing, restoring the system, etc.

🔠/srv (Service)
◾️ Data for services provided by the system.

🔠/sys (System)
◾️ A virtual filesystem containing information about the system and hardware devices.

🔠/tmp (Temporary)
◾️ Holds temporary files created by programs and users.

🔠/usr (Unix System Resources)
◾️ Secondary hierarchy for read-only user data.

🔠/var (Variable)
◾️ Variable data files like log files, spool files and cache data.
◾️ Content changes frequently, so it's separated from /usr.


🛫 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥Join the Ultimate AWS Bootcamp 2025 with Certification Training🔥

🎓 Ready to enroll? Click here to secure your spot: https://topmate.io/prodevopsguytech/1376820

🔖 Check out the course details: https://cloud.prodevopsguy.xyz/complete-aws-bootcamp-2025-with-certification-training

🔖 Check out the Full Syllabus of Bootcamp: https://cloud.prodevopsguy.xyz/complete-aws-bootcamp-2025-syllabus

🚀 Master AWS, the world's most in-demand cloud platform!
Comprehensive syllabus covering 50+ AWS services.
Hands-on projects, real-world use cases, and expert mentoring.
Perfect for beginners, professionals, and anyone preparing for AWS certifications.

💡 Why Choose Our Bootcamp?
✔️ Learn everything from EC2, S3, VPC, Lambda, and more!
✔️ Hands-on labs to build and deploy real-world projects.
✔️ Tips for cracking AWS certifications and job interviews.

🎓 Cost: Only ₹400/-
🗓️ Purchase Fast – Limited Slots!

✉️ Register now to book your spot and level up your career in 2025!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔠Ultimate SRE Concepts for Reliability & Scalability❗️


🔹 SLO – Target reliability/performance goal
🔹 SLA – Customer-facing reliability commitment
🔹 SLI – Metrics measuring service performance
🔹 Error Budget – Acceptable failure within SLO
🔹 Toil – Repetitive, automatable manual work
🔹 Incident Management – Handling outages efficiently
🔹 Observability – Logging, metrics, tracing for insights
🔹 Chaos Engineering – Failure injection for resilience
🔹 Blameless Postmortem – Learn from failures, not blame
🔹 Capacity Planning – Scaling resources for future demand
🔹 Auto Remediation – Self-healing systems via automation
🔹 Blue-Green Deployment – Zero-downtime releases
🔹 Canary Releases – Gradual feature rollouts for safety
🔹 Progressive Delivery – Controlled deployments with feature flags
🔹 Service Mesh – Secure, reliable service-to-service communication
🔹 Runbooks & Playbooks – Standardized incident response guides
🔹 RTO & RPO – Recovery Time & Recovery Point Objectives
🔹 MTTR & MTBF – Time to recover & failure intervals
🔹 Circuit Breakers – Prevent cascading failures in services
🔹 Feature Flags – Toggle features without redeploying
🔹 Game Days – Simulating outages to test response readiness
🔹 Load Balancing – Distributing traffic for high availability
🔹 Rate Limiting – Controlling request flow to prevent overload
🔹 Shadow Traffic Testing – Running live traffic on test infra
🔹 Failover Strategies – Switchover mechanisms for redundancy
🔹 Distributed Tracing – End-to-end request tracking across microservices
🔹 Cell-Based Architecture – Fault isolation for high availability
🔹 Error Budgets Policy – Defining risk tolerance for deployments
🔹 Adaptive Paging – Smart alerting to reduce burnout
🔹 Operational Maturity – Measuring reliability processes
🔹 Dependency Management – Ensuring service reliability across dependencies
🔹 Platform Engineering – Building reliable internal dev platforms


🛫 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
Azure Cloud Bootcamp 2025 with projects live now 🔥

Claim/Register for all benifits 🐦 (Free Azure DevOps Course Included) 🆓

⚡️ Bootcamp Syllabus: https://blog.prodevopsguy.xyz/complete-azure-bootcamp-2024-with-azure-devops-your-ultimate-course-to-mastering-the-cloud

⚡️ Purchase link: https://topmate.io/prodevopsguytech/1181373

- Complete Azure Cloud
- Free real time projects
- Life time access to content
- Unlimited downloads, offline viewing
- 24/7 Support available



⚡️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
➡️ 𝐃𝐨𝐜𝐤𝐞𝐫𝐟𝐢𝐥𝐞 𝐈𝐧𝐬𝐭𝐫𝐮𝐜𝐭𝐢𝐨𝐧𝐬:
- FROM: Sets the base image.
- RUN: Executes commands in the container.
- MAINTAINER: Identifies the image creator.
- LABEL: Adds metadata.
- ADD: Copies files (supports URLs).
- COPY: Copies files (no URLs).
- VOLUME: Creates a shared mount point.
- EXPOSE: Specifies listening port.
- WORKDIR: Sets the working directory.
- USER: Defines the user for processes.
- STOPSIGNAL: Specifies stop signal.
- ENTRYPOINT: Sets the start command.
- CMD: Sets the default command.
- ENV: Sets environment variables.

➡️ 𝐃𝐨𝐜𝐤𝐞𝐫 𝐑𝐮𝐧 𝐂𝐨𝐦𝐦𝐚𝐧𝐝𝐬:
- --name: Names the container.
- -v, --volume: Mounts a volume.
- --network: Connects to a network.
- -d, --detach: Runs in background.
- -i, --interactive: Keeps STDIN open.
- -t, --tty: Allocates a pseudo-TTY.
- --rm: Auto-removes container on exit.
- -e, --env: Sets environment variables.
- --restart: Sets restart policy.

➡️ 𝐂𝐨𝐫𝐞 𝐃𝐨𝐜𝐤𝐞𝐫 𝐂𝐨𝐧𝐜𝐞𝐩𝐭𝐬:
- Docker Image: Read-only snapshot of a container.
- Docker Container: Executable package with software and dependencies.
- Docker Client: Tool to interact with Docker.
- Docker Daemon: Service managing Docker objects.
- Docker Registry: Storage for Docker images.


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🔠DevSecOps Projects


🖥 CI/CD Pipeline for Uptime-Kuma | Get Real-Time Call Alerts for Server Downtime | Open Source Monitoring
#️⃣https://lnkd.in/d-AMpA_R

🖥 CI-CD DevSecOps project with Jenkins | Python webapp
#️⃣https://lnkd.in/dpfSnrrc

🖥 Zomato Clone App with DevSecOps CI/CD
#️⃣https://lnkd.in/dquyVMAH

🖥 AWS Resources with Terraform, Jenkins ci-cd, and Hosting a static website in s3
#️⃣https://lnkd.in/da4nubRY

🖥 Reddit Clone App Deployment with DevSecOps | Ingress
#️⃣https://lnkd.in/djiKd4aA

🖥 Automate EC2 provisioning in AWS using Jenkins and Ansible Playbook
#️⃣https://lnkd.in/d9iRgBtu

🖥 Jenkins CI/CD | DOTNET webapp DevSecOps Project
#️⃣https://lnkd.in/d6mpa4fM

🖥 Kubernetes Project: Deploy Cloud Native Voting Application on EKS
#️⃣https://lnkd.in/dUnhUMge

🖥 DEVSECOPS Project : Complete CI-CD (3 tier app)-Petshop
#️⃣https://lnkd.in/dFrFM422

🖥 DevSecOps CI/CD : Deploying a Secure Hotstar Clone (Even if You’re Not a Pro)
#️⃣https://lnkd.in/dU7aswYb

🖥 Open Source Project: DevSecOps for OpenAI Chatbot UI Deployment | DevSecOps
#️⃣https://lnkd.in/d3aQy5af

🖥 DevSecOps CI/CD : Deploying a Secure Hotstar Clone (Even if You’re Not a Pro)
#️⃣https://lnkd.in/dU7aswYb


📱 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
Basic 📱 Git Flow in DevOps CI-CD!

1️⃣. Developer Creates Feature Branch: The developer creates a new feature branch and is used to work on a new feature or a specific task.

2️⃣. Developer Writes Code: The developer writes the necessary code for the feature in their local development environment.

3️⃣. Developer Commits Changes: Once the developer is satisfied with the changes, they commit the changes to the feature branch in the local Git repository.

4️⃣. Developer Creates Pull Request: The developer pushes the committed changes by creating a pull request to merge the feature branch into the main branch.

5️⃣. Code Review by Team: The pull request initiates a code review process where team members review the changes.

6️⃣. Approval of Pull Request: After addressing any feedback and making necessary adjustments, the pull request is approved by the reviewers.

7️⃣. Merge to Main Branch: The approved pull request is merged into the main branch of the Git repository.

8️⃣. Triggers CI/CD Pipeline: This automation ensures that the changes are continuously integrated and deployed.

9️⃣. Then we follow the procedure for building and testing the code, deploying to staging env. Once the tests in the staging environment pass, a manual approval is required to deploy the changes to the production environment. Once the code is deployed to production env, the prod env is monitored using Prometheus to track the performance and health of the application. The collected metrics are visualized using Grafana. Finally alerts are configured.


❤️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🚀 Terraform Commands for DevOps Engineers 🌍

Mastering Terraform can greatly enhance your infrastructure management. Here’s a quick reference to essential Terraform commands:


1️⃣ terraform init - Initialize a Terraform working directory.

2️⃣ terraform validate - Check the configuration for syntax errors.

3️⃣ terraform plan - Generate and show an execution plan.

4️⃣ terraform apply - Apply the changes required to reach the desired state.

5️⃣ terraform destroy - Destroy the Terraform-managed infrastructure.

6️⃣ terraform show - Show the current state or a saved plan.

7️⃣ terraform output - Extract the value of an output variable from the state file.

8️⃣ terraform state - Advanced state management commands:
- terraform state list - List resources in the state.
- terraform state show - Show a resource in the state.
- terraform state rm - Remove a resource from the state.

9️⃣ terraform fmt - Reformat configuration files to the canonical format.

1️⃣0️⃣ terraform taint - Manually mark a resource for recreation.

1️⃣1️⃣ terraform untaint - Manually unmark a resource as tainted.

1️⃣2️⃣ terraform import - Import existing infrastructure into your Terraform state.

1️⃣3️⃣ terraform refresh - Update the state file with the real infrastructure.

📘 Helpful Links:
- Terraform Documentation: https://www.terraform.io/docs/index.html
- Terraform Best Practices: https://www.terraform-best-practices.com

Keep this cheat sheet handy and automate your infrastructure with confidence! 💡


✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps Zero to Hero


🖥 AWS Zero to Hero Course
🔠https://lnkd.in/dgZ446me

🖥 DevOps Zero to Hero Course
🔠https://lnkd.in/dbfYhieG

🖥 Terraform Zero to Hero
🔠https://lnkd.in/dafDXUh6

🖥 Docker
🔠https://lnkd.in/dV2myVq6

🖥 Kubernetes
🔠https://lnkd.in/dynrCFVy

🖥 Observability Zero to Hero
🔠https://lnkd.in/dHwdSa4W

🖥 Azure Zero to Hero
🔠https://lnkd.in/d3PCGrrA

🖥 What is CICD ?
🔠https://lnkd.in/d7EN3Ymi

🖥 Jenkins ZERO to HERO
🔠https://lnkd.in/dvPCQ9XZ

🖥 Real-Time Projects for DevOps and Cloud
🔠https://lnkd.in/dtuqFPNQ

🖥 GitOps & Argo CD
🔠https://lnkd.in/dBCpzJ5f

🖥 Python for DevOps
🔠https://lnkd.in/dewqThFz

🖥 Shell Scripting for DevOps
🔠https://lnkd.in/dbXVPbyT

🖥 Ansible Zero to Hero
🔠https://lnkd.in/df_Gnn74

🖥 Real DevOps Podcasts
🔠https://lnkd.in/ds6XAx_S


📱 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps made easy with these beginner-friendly resources


🔖 Complete DevOps Roadmap 2025 - Master these 4 Levels!
https://lnkd.in/dBh_Yi69

🔖 What is DevOps? REALLY understand it | DevOps vs SRE
https://lnkd.in/d836Ss8w

🔖 Docker Tutorial for Beginners [FULL COURSE in 3 Hours]
https://lnkd.in/dpd-9bSN

🔖 Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]
https://lnkd.in/dN3NG4-5

🔖 Golang Tutorial for Beginners | Full Go Course
https://lnkd.in/dRQWUg-Q

🔖 Python Tutorial for Beginners - Learn Python in 5 Hours [FULL COURSE]
https://lnkd.in/d8jN_yJK

🔖 Terraform explained in 15 mins | Terraform Tutorial for Beginners
https://lnkd.in/dtQxm9yR

🔖 GitHub Actions Tutorial - Basic Concepts and CI/CD Pipeline with Docker
https://lnkd.in/dtQxm9yR

🔖 Azure DevOps Tutorial for Beginners | CI/CD with Azure Pipelines
https://lnkd.in/d_5ii_cK

🔖 GitLab CI CD Tutorial for Beginners [Crash Course]
https://lnkd.in/dqUZUiRy

🔖 How Prometheus Monitoring works | Prometheus Architecture explained
https://lnkd.in/d4BUF_UV

🔖 Ultimate Docker Compose Tutorial
https://lnkd.in/d-MyfQ7N

🔖 HashiCorp Vault Tutorial for Beginners - What, Why and How
https://lnkd.in/d_w8yGnX

🔖 Full NGINX Tutorial - Demo Project with Node.js, Docker
https://lnkd.in/d-eNKDhV

🔖 ArgoCD Tutorial for Beginners | GitOps CD for Kubernetes
https://lnkd.in/dbnUManC

🔖 Proxy vs Reverse Proxy vs Load Balancer | Simply Explained
https://lnkd.in/dUeWPMmH

🔖 What is Ansible | Ansible Playbook explained | Ansible Tutorial for Beginners
https://lnkd.in/dVSkkwCn

🔖 What is Infrastructure as Code? Difference of Infrastructure as Code Tools
https://lnkd.in/dEQAQJtF

🔖 What is GitOps, How GitOps works and Why it's so useful
https://lnkd.in/ddXkthWb


📱 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
1716484743963.gif
7.9 MB
How Docker 🐬 Works Explained

Docker is a platform that simplifies application development and deployment through containerization.

➡️Here's a brief overview of how it works:

1. Developer: Writes code and prepares a Dockerfile with instructions to build an image.
2. Client: Uses Docker commands (docker build, docker pull, docker run, docker push) to interact with Docker.
3. Dockerfile: Script containing instructions to create an image, specifying base images and configurations.
4. Registry: Stores Docker images, which can be pulled or pushed by developers.
5. Docker Host: Runs the Docker daemon, managing images and containers.
6. Docker Daemon: Background service that manages the lifecycle of containers.
7. Images: Templates for creating containers, containing applications and dependencies.
8. Containers: Isolated environments where applications run, sharing the host system's kernel.

➡️Workflow:
- Build: Developer creates an image from a Dockerfile.
- Push: Image is uploaded to a registry.
- Pull: Image is downloaded from the registry.
- Run: Container is created and started from the image.

Docker ensures applications are portable and consistent across different environments, simplifying deployment and scaling.



❤️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
A Dockerfile 🐬 is a text-based document that provides instructions for creating a container image. Let's walk through the basics of writing one:

1. Choose a Base Image:
Start by specifying the base image you want to use. It serves as the foundation for your custom image. For example:
FROM node:14


2. Set the Working Directory:
Use the WORKDIR instruction to define the working directory inside the container:
WORKDIR /usr/src/app


3. Copy Files:
Use COPY or ADD to copy files from your local machine into the image:
COPY package\.json package-lock\.json \./


4. Install Dependencies:
Run any necessary commands to install dependencies (e.g., using RUN npm install for Node.js):
RUN npm install


5. Expose Ports:
Specify which ports your application will listen on using EXPOSE:
EXPOSE 3000


6. Define Startup Command:
Finally, set the command that runs when the container starts:
CMD ["npm", "start"]



Remember, this is just a basic example. You can customize your Dockerfile based on your specific application and requirements.


For a hands-on tutorial, check out this Dockerfile tutorial from Docker's official documentation. [1]

➡️Reference links: [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]


📱 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 New to Ansible or already working on it?

🔹These blogs are a must-read for anyone in the automation game.


🔠Terraform vs. Ansible : Key Differences and Comparison of Tools
https://lnkd.in/dT7a46Py

🔠How to Install Ansible on Ubuntu, RHEL, macOS & CentOS
https://lnkd.in/exBhN5Vq

🔠Ansible Tutorial for Beginners: Ultimate Playbook & Examples
https://lnkd.in/ewnXcbQp

🔠Ansible Playbooks: Complete Guide with Examples
https://lnkd.in/eAXmjbQz

🔠How to Use Different Types of Ansible Variables (Examples)
https://lnkd.in/eJaCkdPW

🔠Ansible Roles: Basics, Creating & Using
https://lnkd.in/ewvZ_USj

🔠Ansible Modules – How To Use Them Efficiently (Examples)
https://lnkd.in/eCPhJ3gs

🔠Ansible + Spacelift = Better Together
https://lnkd.in/eujmriSd

🔠50 Ansible Best Practices to Follow [Tips & Tricks]
https://lnkd.in/eFkBnzB5

🔠Working with Ansible Inventory – Basics and Examples
https://lnkd.in/eK6DfnMz

🔠Ansible Vault: How to Securely Encrypt Sensitive Data
https://lnkd.in/eFv-TrAA

🔠Using Ansible Shell Module to Execute Remote Commands
https://lnkd.in/etcSiNCw

🔠Using Terraform & Ansible Together
https://lnkd.in/eeEzFk5v

🔠How to Use Ansible Copy Module [Examples]
https://lnkd.in/esqkSCXY

🔠How to Use Blocks in Ansible Playbooks
https://lnkd.in/edQ2qh-P

🔠Handlers in Ansible Playbooks: How to Use Them
https://lnkd.in/ebvtmPdj

🔠How to Use Ansible Become Keyword to Secure Playbooks
https://lnkd.in/eAtrEd_u

🔠Ansible Lineinfile Module : Managing Lines in Text Files
https://lnkd.in/em9uqpPM

🔠Ansible Cheat Sheet: CLI Commands and Basics
https://lnkd.in/ePzbfwQQ


📱 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
▶️ List of all 🐬 Docker commands for DevOps Engineer, along with their usage:


⚡️Container Commands:
1. docker create [OPTIONS] IMAGE [COMMAND] [ARG...] - Create a new container from an image.
2. docker run [OPTIONS] IMAGE [COMMAND] [ARG...] - Run a command in a new container.
3. docker start [OPTIONS] CONTAINER [CONTAINER...] - Start one or more stopped containers.
4. docker stop [OPTIONS] CONTAINER [CONTAINER...] - Stop one or more running containers.
5. docker restart [OPTIONS] CONTAINER [CONTAINER...] - Restart one or more containers.
6. docker rm [OPTIONS] CONTAINER [CONTAINER...] - Remove one or more containers.
7. docker kill [OPTIONS] CONTAINER [CONTAINER...] - Kill one or more running containers.

⚡️Image Commands:
1. docker images [OPTIONS] [REPOSITORY[:TAG]] - List images.
2. docker pull [OPTIONS] NAME[:TAG|@DIGEST] - Pull an image or a repository from a registry.
3. docker push [OPTIONS] NAME[:TAG] - Push an image or a repository to a registry.
4. docker rmi [OPTIONS] IMAGE [IMAGE...] - Remove one or more images.
5. docker tag [OPTIONS] IMAGE REF - Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE.
6. docker build [OPTIONS] PATH | URL | - - Build an image from a Dockerfile.
7. docker history [OPTIONS] IMAGE - Show the history of an image.

⚡️Volume Commands:
1. docker volume create [OPTIONS] [VOLUME] - Create a volume.
2. docker volume inspect [OPTIONS] VOLUME [VOLUME...] - Display detailed information on one or more volumes.
3. docker volume ls [OPTIONS] [FILTER] - List volumes.
4. docker volume rm [OPTIONS] VOLUME [VOLUME...] - Remove one or more volumes.
5. docker volume prune [OPTIONS] - Remove all unused local volumes.

⚡️Network Commands:
1. docker network create [OPTIONS] NETWORK - Create a network.
2. docker network connect [OPTIONS] NETWORK CONTAINER - Connect a container to a network.
3. docker network disconnect [OPTIONS] NETWORK CONTAINER - Disconnect a container from a network.
4. docker network inspect [OPTIONS] NETWORK [NETWORK...] - Display detailed information on one or more networks.
5. docker network ls [OPTIONS] [FILTER] - List networks.
6. docker network rm [OPTIONS] NETWORK [NETWORK...] - Remove one or more networks.

⚡️System Commands:
1. docker info [OPTIONS] - Display system-wide information.
2. docker version [OPTIONS] - Show the Docker version information.
3. docker system prune [OPTIONS] - Remove unused data.

⚡️Security Commands:
1. docker login [OPTIONS] [SERVER] - Log in to a Docker registry.
2. docker logout [OPTIONS] [SERVER] - Log out from a Docker registry.

⚡️Experimental Commands:
1. docker manifest [OPTIONS] COMMAND [ARG...] - Work with Docker image manifests.
2. docker swarm [OPTIONS] COMMAND [ARG...] - Work with Docker Swarm.
3. docker service [OPTIONS] COMMAND [ARG...] - Work with Docker services.

⚡️Other Commands:
1. docker exec [OPTIONS] CONTAINER COMMAND [ARG...] - Run a command in a running container.
2. docker logs [OPTIONS] CONTAINER - Fetch the logs of a container.
3. docker port [OPTIONS] CONTAINER PRIVATE_PORT - List port mappings or a specific mapping for the container.
4. docker top [OPTIONS] CONTAINER - Display the running processes of a container.
5. docker unpause [OPTIONS] CONTAINER [CONTAINER...] - Unpause all processes in one or more containers.
6. docker update [OPTIONS] CONTAINER [CONTAINER...] - Update configuration of one or more containers.


📱 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM