DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
15.9K 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
📢 DevOps Project-23: ☁️ DevSecOps: Blue-Green Deployment of Swiggy-Clone on AWS ECS with AWS Code Pipeline


🔗 Project Link: HERE

📶 Project Overview :-
To demonstrate Blue-Green deployment, we’ll use AWS ECS to host our Swiggy-clone application. ECS is a highly scalable container orchestration service provided by AWS.

➡️Implementing Blue-Green Deployment with AWS CodePipeline:
AWS CodePipeline is a fully managed continuous integration and continuous delivery (CI/CD) service that automates the build, test, and deployment phases of your release process. Let’s see how to set up a Blue-Green deployment pipeline using AWS CodePipeline:
🔢. Source Stage: Connect your CodePipeline to your source code repository (e.g., GitHub). Trigger the pipeline when changes are detected in the repository.
🔢. Build Stage: Use AWS CodeBuild to build your Swiggy-clone Docker image from the source code. Run any necessary tests during this stage.
🔢. Deploy Stage: Configure AWS CodeDeploy for ECS to manage the deployment of your application to ECS clusters. Here’s where Blue-Green deployment strategy comes into play:

❤️‍🔥 Share with friends and colleagues ❤️‍🔥

📣 Note: Fork this Repository 🧑‍💻 for upcoming future projects, Every week releases new Project.



📱 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
📣 How to Crack a DevOps Interview in One Attempt: A Complete Guide for Freshers and Experienced 🚨


🖥 Read it here: https://dev.to/prodevopsguytech/how-to-crack-a-devops-interview-in-one-attempt-a-complete-guide-for-freshers-and-experienced-24hm

Struggling to prepare for your DevOps interview? 😰
Check out my latest in-depth guide: "How to Crack a DevOps Interview in One Attempt: A Complete Guide for Freshers and Experienced" 🎯

🔑 What you’ll learn:
- Essential DevOps skills & tools
- Common interview questions with expert tips
- Hands-on preparation strategies to land your dream job

📚 Whether you're a fresher or an experienced pro, this guide will help you ace your interview in one go!


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

Here are 13 of the most commonly used kubectl commands for managing a real production Kubernetes environment, along with explanations and common use cases:

𝐂𝐨𝐫𝐞 𝐌𝐚𝐧𝐚𝐠𝐞𝐦𝐞𝐧𝐭

#1 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐠𝐞𝐭
kubectl get pods (list pods)
kubectl get deployments (list deployments)
kubectl get services (list services)
kubectl get all (list most resources in a namespace)

#2 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐝𝐞𝐬𝐜𝐫𝐢𝐛𝐞
kubectl describe pod my-pod
kubectl describe node my-node

#3 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐜𝐫𝐞𝐚𝐭𝐞
→ kubectl create -f my-deployment.yaml

#4 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐚𝐩𝐩𝐥𝐲
kubectl apply -f my-deployment.yaml (apply a deployment definition)

#5 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐝𝐞𝐥𝐞𝐭𝐞
kubectl delete pod my-pod
kubectl delete service my-service

Debugging and Troubleshooting

#6 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐥𝐨𝐠𝐬
kubectl logs my-pod
kubectl logs my-pod -c my-container (specify a container)

#7 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐱𝐞𝐜
kubectl exec -it my-pod -- bash (interactive shell)

#8 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐩𝐨𝐫𝐭-𝐟𝐨𝐫𝐰𝐚𝐫𝐝
kubectl port-forward my-pod 8080:80

#9 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐭𝐨𝐩
kubectl top pod (pod resource usage)
kubectl top node (node resource usage)

#10 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐱𝐩𝐥𝐚𝐢𝐧
kubectl explain pod
kubectl explain pod.spec (more specific)

Managing Workloads

#11 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐫𝐨𝐥𝐥𝐨𝐮𝐭
kubectl rollout status deployment/my-deployment
kubectl rollout undo deployment/my-deployment

#12 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐬𝐜𝐚𝐥𝐞
kubectl scale deployment/my-deployment --replicas=5

#13 𝐤𝐮𝐛𝐞𝐜𝐭𝐥 𝐞𝐝𝐢𝐭
kubectl edit deployment my-deployment


⚡️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
1712476913889.gif
171.8 KB
📣 Streamlining CI/CD Workflow with GitHub, Jenkins, SonarQube, Docker, Argo-CD and GitOps. ⚙️

𝟏 . 𝐂𝐨𝐧𝐭𝐢𝐧𝐮𝐨𝐮𝐬 𝐈𝐧𝐭𝐞𝐠𝐫𝐚𝐭𝐢𝐨𝐧.
----------------------------------------------------------------------------------
📌 Git Repo consists of source code for the Spring Boot application. Any commit/changes that happen here will be triggered to Jenkins through Webhook.

📌 As we are using Java application, we use Maven to build the application. If it is a success, it will move to the next stage i.e. code analysis. If it fails, then Jenkins will send an alert to the user through email or Slack notification.

📌 Code Analysis is done through SonarQube. It will check for code vulnerabilities and if it does have one, will send an alert to the user through email or Slack notification. If it does not, then it will move to the next step: Docker.

📌 Here, Docker is used for building the docker image. This image will be saved in Docker hub. If it is a success, it will move to the next step: Continuous Deployment. If it fails, then Jenkins will send an alert to the user and the pipeline ends there.

𝟐. 𝐂𝐨𝐧𝐭𝐢𝐧𝐮𝐨𝐮𝐬 𝐃𝐞𝐩𝐥𝐨𝐲𝐦𝐞𝐧𝐭
----------------------------------------------------------------------------------
📌 The CD will get to know that the image is updated in the Docker Hub through Shell script/ArgoCD Image Updater. As a new image is updated, the new version is updated in the manifests folder's deployment.yaml file.

📌 GitOps tools are basically Kubernetes controllers, which are sitting inside the Kubernetes cluster. Argo CD will try to maintain a state between the Git repository and the Kubernetes cluster. Whenever there is a change, ArgoCD will pick those changes and deploy the application in the Kubernetes cluster.

🔗 BLOG URL HERE

🔗 GITHUB URL HERE


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

A Dockerfile is essentially a set of instructions that Docker follows to build a Docker image. These instructions specify what operating system to use, what software packages to install, what files to copy into the container, what environment variables to set, and what commands to run when the container starts.

➡️𝐖𝐡𝐲 𝐔𝐬𝐞 𝐚 𝐃𝐨𝐜𝐤𝐞𝐫𝐟𝐢𝐥𝐞?

🔹Reproducibility: With a Dockerfile, you can ensure that your application environment is consistent across different environments, such as development, testing, and production. This reproducibility eliminates the "it works on my machine" problem.

🔹Version Control: Dockerfiles are text files that can be version controlled using tools like Git. This means you can track changes to your Docker environment over time and easily roll back to previous versions if needed.

🔹Automation: Dockerfiles enable automation of the containerization process. Once you have defined your Dockerfile, you can use it to build your Docker image with a single command, streamlining the deployment process.

🔹Scalability: Dockerfiles allow you to define the components of your application stack in a modular way. This makes it easy to scale your application by adding or removing containers as needed.

🔹Collaboration: Dockerfiles make it easy to share your application environment with collaborators. By sharing your Dockerfile, others can quickly spin up the same environment on their own machines.


😎 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!! // Join for DevOps DOCs: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
➡️ As a software professional, keeping up with the latest DevOps tools is essential for optimizing development and delivery.

The right tools make teams more productive, applications more resilient, and organizations more innovative.

Here are some of the most impactful DevOps tools I recommend learning in 🌟🌟:

✍️ Kubernetes: This open-source container orchestration system simplifies deploying and managing containerized applications. It allows scaling and balancing container workloads.

✍️ Terraform: Infrastructure as code is a must today. Terraform lets you define cloud and on-prem infrastructure in files and provision it automatically.

✍️ Docker: Containerizing apps with Docker packages software into standardized units along with dependencies to run anywhere consistently. It accelerates development.

✍️ Ansible: This configuration management and automation tool executes tasks across nodes via SSH without needing agents. It's simple yet powerful.

✍️ Prometheus: A top open-source monitoring and alerting solution that scrapes metrics and provides robust query capabilities with PromQL.

✍️ Grafana: The leading analytics and visualization platform for monitoring. It’s easy to create rich dashboards for operational insights.

✍️ ELK Stack: Combines Elasticsearch, Logstash, and Kibana for centralized logging, searching, and visualizing log data for troubleshooting.

I aim to provide actionable insights on leading tools so you can advance your skills efficiently.


📱 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
Here are the main Azure CLI command groups:

1. Account
- az account
- az account clear
- az account list
- az account show
- az account set
2. AD
- az ad
- az ad app
- az ad group
- az ad sp
- az ad user
3. Advisor
- az advisor
- az advisor recommendation
4. Aks
- az aks
- az aks browse
- az aks create
- az aks delete
- az aks get-credentials
- az aks list
- az aks scale
- az aks show
- az aks update
5. Api
- az api
- az api create
- az api delete
- az api list
- az api show
- az api update
6. Appconfig
- az appconfig
- az appconfig create
- az appconfig delete
- az appconfig list
- az appconfig show
- az appconfig update
7. Appservice
- az appservice
- az appservice create
- az appservice delete
- az appservice list
- az appservice show
- az appservice update
8. Backup
- az backup
- az backup container
- az backup item
- az backup job
- az backup policy
- az backup protected-item
- az backup recovery-point
- az backup vault
9. Batch
- az batch
- az batch account
- az batch application
- az batch certificate
- az batch job
- az batch node
- az batch pool
10. Billing
- az billing
- az billing account
- az billing enrollment-account
- az billing invoice
- az billing period
- az billing profile
- az billing subscription

...and many more! You can use az --help to explore more command groups and commands.

Some other commonly used Azure CLI commands include:

- az group: Manage resource groups
- az resource: Manage resources
- az storage: Manage storage accounts
- az vm: Manage virtual machines
- az network: Manage network resources

Remember to use az --help to get more information about each command and its usage



📱 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
📢 Kubernetes All End-to-End Content 2024

▶️ This Includes:
- All Kubernetes Content
- Kubernetes Realtime scenarios
- All Kubernetes Exercises with solutions
- No More AWS PDFs needed
- Easy to Learn from anywhere
- Detailed Explanation guide
- All Kubernetes Tricks & Techniques for DevOps guy
- Added Certified Kubernetes Administrator (CKA) Notes
- All Kubernetes Realtime examples included

📱 Link: https://github.com/NotHarshhaa/into-the-devops/tree/master/topics/kubernetes


📱 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
Docker 🐬 & Containers All End-to-End Content 2024 ❤️


⚡️This Includes:
- All Docker-Containers Content
- Docker Realtime scenarios
- All Docker Exercises with solutions
- No More Docker PDFs needed
- Easy to Learn from anywhere
- Detailed Explanation guide
- All Docker file examples for DevOps Engineer

📱 Link : https://github.com/NotHarshhaa/into-the-devops/tree/master/topics/containers


📱 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
☁️ Git/GitHub All End-to-End Content 2024

➡️This Includes:

- All Git/GitHub Content with use cases
- Git Realtime scenarios
- All Git/GitHub Exercises with solutions
- No More Git PDFs needed
- Easy to Learn from anywhere
- Detailed Explanation guide
- All Git/GitHub Branching Strategies for DevOps guy

🔗 Link : https://github.com/NotHarshhaa/into-the-devops/tree/master/topics/git

💥 Follow me on 🌐GitHub : https://www.github.com/NotHarshhaa


✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
⚡️ Before spending hours on YouTube Videos/Courses, just know what you are signing up for.

➡️ 𝗜𝗻𝗳𝗿𝗮𝘀𝘁𝗿𝘂𝗰𝘁𝘂𝗿𝗲: Spend 25% of the time dealing with Infrastructure from provisioning to preventing configuration drift and being cloud agnostic.

➡️ 𝗦𝗲𝗰𝘂𝗿𝗶𝘁𝘆: Shift left the security. From removing unwanted binaries to enforcing runtime security.

➡️ 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻: Write 100s of shell scripts or Ansible Playbooks or build a pipeline to automate the workflow.

➡️ 𝗢𝗯𝘀𝗲𝗿𝘃𝗮𝗯𝗶𝗹𝗶𝘁𝘆: Make sure Logging + Profiling + Tracing + Monitoring are in sync.

➡️ 𝗗𝗼𝗰𝘂𝗺𝗲𝗻𝘁𝗮𝘁𝗶𝗼𝗻: Write tons of docs for releases, post-mortems and internal operations.

➡️ 𝗧𝗿𝗼𝘂𝗯𝗹𝗲𝘀𝗵𝗼𝗼𝘁𝗶𝗻𝗴: Do the RCA and spend days cluelessly staring at the screen.


📱 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🚨 AWS with Terraform and Jenkins Pipeline

In this article, we will explain how to create and manage the public and private subnets using terraform and create instance in the desired subnet.

🌐 Blog Link: https://blog.prodevopsguy.xyz/aws-with-terraform-and-jenkins-pipeline

☁️ Source Code Link: https://github.com/NotHarshhaa/Jenkins-Terraform-AWS-Infra


💬 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
➡️ Mastering GitHub Actions for DevOps Engineers: A Complete Guide from Beginner to Advanced


🖥 Read it now: https://dev.to/prodevopsguytech/mastering-github-actions-for-devops-engineers-a-complete-guide-from-beginner-to-advanced-2lc1

Are you ready to level up your DevOps skills with GitHub Actions? Whether you're a beginner or an experienced engineer, this comprehensive guide has everything you need to know about automating CI/CD pipelines, integrating with popular DevOps tools, and optimizing workflows.

🔥 Topics Covered:
Core Concepts (Workflows, Jobs, Actions)
CI/CD Pipeline Automation
Advanced Concepts like Matrix Builds & Self-Hosted Runners
Best Practices for Optimization
Real-World Use Cases

👨‍💻 This guide is packed with practical tips and examples to help you master GitHub Actions!



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

ReplicaSet and Deployment are both Kubernetes resources used for managing and scaling application instances, but they serve different purposes and have distinct features:

🔖 ReplicaSet:
➡️A ReplicaSet ensures that a specified number of pod replicas are running at any given time.
It is a lower-level controller in Kubernetes.
It does not support declarative updates or rollback strategies.
➡️When using a ReplicaSet, you manage updates manually by creating new ReplicaSets with updated configurations and then deleting the old ReplicaSets.
It is often used directly only in advanced scenarios where finer control over scaling and updates is required.


🔖 Deployment:
➡️A Deployment is a higher-level resource that manages ReplicaSets and provides declarative updates and rollback strategies.
It is a higher-level abstraction built on top of ReplicaSets.
➡️Deployments allow you to describe the desired state of your application, and Kubernetes handles the process of creating and managing the ReplicaSets to achieve that state.


🎄 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
⚠️ As a DevOps engineer, understanding Splunk commands is essential for effective log analysis and monitoring.

Here are some commonly used Splunk commands:

1. search: The primary command for searching data in Splunk. Use it to retrieve events based on specific criteria.

2. index: Specifies the index from which to retrieve data. You can filter data by index using this command.

3. source: Filters events based on the source of the data (e.g., log files, network streams).

4. sourcetype: Filters events based on the type of data source (e.g., Apache logs, Windows Event Logs).

5. eval: Creates calculated fields or modifies existing fields. Useful for creating custom fields or transforming data.

6. stats: Aggregates and summarizes data. You can use it to calculate counts, averages, and other statistics.

7. timechart: Generates time-based charts and visualizations. Useful for trend analysis and identifying patterns over time.

8. rex: Extracts fields using regular expressions. Helpful when dealing with unstructured data.

9. dedup: Removes duplicate events based on specified fields.

10. transaction: Groups related events into transactions. Useful for analyzing multi-step processes.

11. top: Identifies the top values for a specific field (e.g., top IP addresses, top error codes).

12. lookup: Enriches events by joining them with external lookup tables (e.g., mapping IP addresses to geolocation data).

Remember that these commands are just a starting point. Depending on your use case, you might need to explore additional commands and features. Happy Splunking! 🚀🔍


For more detailed information, check out the Splunk Cheat Sheet and the Splunk Quick Reference Guide[1][2].

➡️Reference links: [1] [2] [3]


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

System Monitoring & Management
1.⁠ ⁠⁠ top ⁠/⁠ htop ⁠: Monitor real-time system resource usage (CPU, memory, etc.).
2.⁠ ⁠⁠ ps aux ⁠: Display currently running processes.
3.⁠ ⁠⁠ free -h ⁠: Check memory usage.
4.⁠ ⁠⁠ df -h ⁠: View disk space usage.
5.⁠ ⁠⁠ du -sh /path/to/directory ⁠: Check the size of a specific directory.
6.⁠ ⁠⁠ uptime ⁠: See how long the system has been running and load average.
7.⁠ ⁠⁠ iostat ⁠: Monitor system input/output device loading.
8.⁠ ⁠⁠ sar ⁠: Collect, report, or save system activity information.

Networking
1.⁠ ⁠⁠ ifconfig ⁠/⁠ ip a ⁠: Display network interfaces and IP addresses.
2.⁠ ⁠⁠ ping <host> ⁠: Check connectivity to a remote host.
3.⁠ ⁠⁠ traceroute <host> ⁠: Trace the path packets take to a network host.
4.⁠ ⁠⁠ netstat -tuln ⁠/⁠ ss -tuln ⁠: List open ports and services.
5.⁠ ⁠⁠ nslookup <domain> ⁠/⁠ dig <domain> ⁠: Query DNS records.
6.⁠ ⁠⁠ wget <url> ⁠: Download files from the web.

Additional Tools
1.⁠ ⁠⁠ journalctl ⁠: View system logs (Linux).
2.⁠ ⁠⁠ syslog-ng ⁠: Configure system logging.
3.⁠ ⁠⁠ tcpdump ⁠: Capture network traffic.
4.⁠ ⁠⁠ strace ⁠: Debug system calls.
5.⁠ ⁠⁠ lsof ⁠: List open files and network connections.

Troubleshooting Steps
1.⁠ ⁠Identify symptoms.
2.⁠ ⁠Gather logs and system info.
3.⁠ ⁠Analyze data.
4.⁠ ⁠Isolate issues.
5.⁠ ⁠Apply fixes.

Best Practices
1.⁠ ⁠Regularly monitor system performance.
2.⁠ ⁠Implement logging and alerting.
3.⁠ ⁠Document troubleshooting processes.
4.⁠ ⁠Continuously learn new tools and techniques.


😎 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🚀 Mastering AWS DevOps: Elevate Your Cloud Game! 🌩


Dive into the world of AWS DevOps and transform your cloud infrastructure with cutting-edge tools and practices. Here's what you need to know:

🔧 Core Components:
1. AWS CodePipeline: Automate your release pipelines with ease.
2. AWS CodeBuild: Scalable build service to compile your source code, run tests, and produce software packages.
3. AWS CodeDeploy: Automate code deployments to any instance, be it EC2 or on-premises.
4. AWS CodeCommit: Secure and scalable source control service to host Git repositories.

📊 Monitoring and Logging:
- Amazon CloudWatch: Monitor and log your AWS resources and applications.
- AWS X-Ray: Trace and debug applications built using a microservices architecture.

🔐 Security:
- AWS Identity and Access Management (IAM): Fine-grained access control for users and services.
- AWS Key Management Service (KMS): Create and manage cryptographic keys securely.

🔄 Continuous Integration & Continuous Deployment (CI/CD):
- Integrate with Jenkins, GitHub Actions, or GitLab CI for streamlined CI/CD workflows.

🚀 Scalability and Performance:
- AWS Elastic Beanstalk: Quickly deploy and manage applications in the AWS Cloud without worrying about the infrastructure.
- AWS Auto Scaling: Ensure your application scales automatically to meet demand.

🔧 Infrastructure as Code (IaC):
- AWS CloudFormation: Model and set up your AWS resources using code.

🌍 Global Reach:
- Utilize AWS Global Infrastructure for deploying your applications across multiple regions.

Stay tuned for more insights and tips on leveraging AWS DevOps to boost your cloud efficiency and productivity. Happy DevOps-ing! 🤖💻


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
1728623046131.gif
833.8 KB
🐱 Git can be confusing at first. But trust me, once you grasp the basics, it's a game-changer.

▶️ Here's a quick rundown:

⚡️𝐘𝐨𝐮𝐫 𝐖𝐨𝐫𝐤𝐬𝐩𝐚𝐜𝐞: This is where you actually code. Simple.

⚡️𝐒𝐭𝐚𝐠𝐢𝐧𝐠 (𝐠𝐢𝐭 𝐚𝐝𝐝): Think of it as a prep area. You're telling Git, "Hey, these changes are important."

⚡️𝐋𝐨𝐜𝐚𝐥 𝐑𝐞𝐩𝐨 (𝐠𝐢𝐭 𝐜𝐨𝐦𝐦𝐢𝐭): This is your personal save point. Commit often, thank yourself later.

⚡️𝐑𝐞𝐦𝐨𝐭𝐞 𝐑𝐞𝐩𝐨 (𝐆𝐢𝐭𝐇𝐮𝐛, 𝐆𝐢𝐭𝐋𝐚𝐛 𝐞𝐭𝐜.): The cloud where your team's code lives. This is where the collaboration magic happens.

⚡️𝐊𝐞𝐲 𝐦𝐨𝐯𝐞𝐬:
- 𝑷𝒖𝒔𝒉: Send your local commits to the remote repo.
- 𝑷𝒖𝒍𝒍: Grab the latest changes from remote. It's actually fetch + merge in one go.
- 𝑭𝒆𝒕𝒄𝒉: Download changes, but don't apply them yet.
- 𝑴𝒆𝒓𝒈𝒆: Combine those fetched changes with your work.


🎄 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
☄️ 𝗕𝗲𝘀𝘁 𝐘𝐨𝐮𝐭𝐮𝐛𝐞 📱 𝐜𝐡𝐚𝐧𝐧𝐞𝐥𝐬 𝗧𝗼 𝗟𝗲𝗮𝗿𝗻 𝗗𝗲𝘃𝗢𝗽𝘀


🌐 LogicOps Lab by Ravish Rawat ( Real time Interview's )
🔗 https://lnkd.in/g3rtbjHb

🌐 Real time projects @mr.cloudbook
🔗 https://lnkd.in/gWWqHnJx

🌐 Train With Shubham by Shubham Londhe
🔗 https://lnkd.in/g9SwADkB

🌐 Tech Tutorials with Piyush by Piyush sachdeva (Azure and GCP cloud)
🔗 https://lnkd.in/g4iWpScc

🌐 TechWorld With Nana by Nana Janashia
🔗 https://lnkd.in/g7iFKKb9

🌐 KodeKloud by Mumshad Mannambeth
🔗 https://lnkd.in/g2jdc__p

🌐 Stéphane Maarek
🔗 https://lnkd.in/gzSbeKFt

🌐 Technical Guftgu by Bhupinder Rajput l भूपिंदर राजपूत l بھوپندر راجپوت In Hindi
🔗 https://lnkd.in/g8FYMCAS

🌐 Cloud Advocate by Krishna Chaitanya Gadhiraju (GK)
🔗 https://lnkd.in/giNb536Y

🌐 Abhishek Veeramalla
🔗 https://lnkd.in/gMfRacqy

🌐 Cloud Champ by Nasiullha Chaudhari
🔗 https://lnkd.in/gYUQ4r5x

🌐 Praveen Singampalli
🔗 https://lnkd.in/gVAeX8dZ


🔵 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
📢 100 Terraform Basic To Advanced Interview Questions & Answers


➡️Terraform is an open-source infrastructure as code software tool created by HashiCorp. It allows users to define and provision infrastructure using a high-level configuration language known as HashiCorp Configuration Language (HCL).

𝑓𝑜𝑟 𝑚𝑜𝑟𝑒 𝑖𝑛𝑓𝑜, 𝑦𝑜𝑢 𝑐𝑎𝑛 𝑐ℎ𝑒𝑐𝑘 𝑡ℎ𝑖𝑠 𝑙𝑖𝑛𝑘:
🖥 https://prodevopsguy.site/100-terraform-basic-to-advanced-interview-questions-answers


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