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
Please open Telegram to view this post
VIEW IN TELEGRAM
❤️‍🔥 𝗕𝗲𝘀𝘁 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗲𝘀 𝗙𝗼𝗿 𝗔𝗪𝗦 𝗘𝗖𝟮 - 𝗗𝗼'𝘀 𝗮𝗻𝗱 𝗗𝗼𝗻'𝘁𝘀 💡
Amazon Elastic Compute Cloud (Amazon EC2) is a web service offered by Amazon Web Services (AWS) that provides resizable compute capacity in the cloud. EC2 allows users to launch and manage virtual machines.

❗️ 𝗗𝗼'𝘀
✔️ 𝗣𝗹𝗮𝗻 𝗔𝗵𝗲𝗮𝗱 📝
Map your requirements and select the right instance type to optimize performance and costs.
✔️ 𝗦𝗲𝗰𝘂𝗿𝗶𝘁𝘆 𝗙𝗶𝗿𝘀𝘁 🔐
Prioritize security groups, IAM roles, and key pairs to safeguard your EC2 instances.
✔️ 𝗕𝗮𝗰𝗸𝘂𝗽𝘀 𝗠𝗮𝘁𝘁𝗲𝗿 💾
Regularly back up your data to S3 or use automated snapshots for peace of mind.
✔️ 𝗠𝗼𝗻𝗶𝘁𝗼𝗿𝗶𝗻𝗴 & 𝗔𝗹𝗲𝗿𝘁𝘀 📊
Set up CloudWatch for real-time insights into your instances and establish alerts for critical metrics.
✔️ 𝗦𝗰𝗮𝗹𝗶𝗻𝗴 𝗦𝗺𝗮𝗿𝘁𝗹𝘆 ⚖️
Use Auto Scaling to adjust capacity based on demand, saving costs during lulls.

❗️𝗗𝗼𝗻'𝘁𝘀
✔️ 𝗦𝗸𝗶𝗽𝗽𝗶𝗻𝗴 𝗦𝗲𝗰𝘂𝗿𝗶𝘁𝘆 𝗨𝗽𝗱𝗮𝘁𝗲𝘀
Don't neglect OS and software updates; this can lead to vulnerabilities.
✔️ 𝗢𝘃𝗲𝗿-𝗣𝗿𝗼𝘃𝗶𝘀𝗶𝗼𝗻𝗶𝗻𝗴💸
Avoid selecting instances with excessive resources; it's costly and unnecessary.
✔️ 𝗜𝗴𝗻𝗼𝗿𝗶𝗻𝗴 𝗖𝗼𝘀𝘁 𝗠𝗮𝗻𝗮𝗴𝗲𝗺𝗲𝗻𝘁 💰
Failing to monitor costs can lead to budget surprises. Set up billing alerts.
✔️ 𝗡𝗲𝗴𝗹𝗲𝗰𝘁𝗶𝗻𝗴 𝗠𝗼𝗻𝗶𝘁𝗼𝗿𝗶𝗻𝗴 🚫
Don't disregard CloudWatch; it's your eyes and ears in the cloud.
✔️ 𝗙𝗼𝗿𝗴𝗲𝘁𝘁𝗶𝗻𝗴 𝗧𝗲𝗿𝗺𝗶𝗻𝗮𝘁𝗶𝗼𝗻 🗑
Deallocate resources and terminate instances you no longer need.


🔵 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
1702874710982.pdf
128.1 KB
🚀 𝟱𝟬 𝗠𝗼𝘀𝘁 𝗨𝘀𝗲𝗳𝘂𝗹 𝗟𝗶𝗻𝘂𝘅 𝗖𝗼𝗺𝗺𝗮𝗻𝗱𝘀 & 𝗧𝗿𝗶𝗰𝗸𝘀 𝗳𝗼𝗿 𝗗𝗲𝘃𝗢𝗽𝘀 𝗧𝗮𝘀𝗸𝘀 🐧

Greetings, #Devops People 👋

As a DevOps engineer, a harmonious dance with Linux commands is part of our daily routine. 🕺💻 Here's a sneak peek into my toolbox - the Linux commands that light up my workdays! 🌟
Below document will give insights of the most important LINUX commands I use on regular basis.



🔵 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
https://harshhaa.hashnode.dev/zomato-clone-secure-deployment-with-devsecops-cicd

Follow 🍩 Like 👍 Share 👍 Comment Your thoughts 💬
Please open Telegram to view this post
VIEW IN TELEGRAM
☄️ EXCLUSIVE WITH SOURCE CODE (SCRIPTS INCLUDED) ☄️

🔥 Zomato Clone: Secure Deployment with DevSecOps CI/CD

💎 Blog LINK : https://harshhaa.hashnode.dev/zomato-clone-secure-deployment-with-devsecops-cicd

💎 Source Code LINK : https://github.com/NotHarshhaa/Zomato-Clone

🌐FORK THE REPO


🔵 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥 AWS DEVOPS REAL-TIME DEPLOYMENT

Development → Pre-PROD → Production

🔗 Detailed Project Explanation with Screenshots : https://harshhaa.hashnode.dev/aws-devops-real-time-deployment-dev-pre-prod-production

🔗Project Source code: https://github.com/NotHarshhaa/AWS-DevOps_Real-Time_Deployment


✈️ Follow for more: @prodevopsguy
Please open Telegram to view this post
VIEW IN TELEGRAM
𝐓𝐡𝐞 𝐦𝐨𝐬𝐭 𝐜𝐨𝐦𝐦𝐨𝐧 𝐉𝐞𝐧𝐤𝐢𝐧𝐬 𝐞𝐫𝐫𝐨𝐫𝐬 𝐚𝐧𝐝 𝐭𝐡𝐞𝐢𝐫 𝐬𝐨𝐥𝐮𝐭𝐢𝐨𝐧𝐬

1. 𝐏𝐞𝐫𝐦𝐢𝐬𝐬𝐢𝐨𝐧 𝐈𝐬𝐬𝐮𝐞𝐬:
- 😣 𝐄𝐫𝐫𝐨𝐫: Jenkins can't access files.
- 𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Give Jenkins proper access rights or run it as the right user.

2. 𝐁𝐮𝐢𝐥𝐝 𝐅𝐚𝐢𝐥𝐮𝐫𝐞𝐬:
- 😡 𝐄𝐫𝐫𝐨𝐫: Builds fail.
- 𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Check logs, fix issues like missing stuff or wrong settings.

3. 𝐖𝐨𝐫𝐤𝐬𝐩𝐚𝐜𝐞 𝐂𝐥𝐞𝐚𝐧𝐮𝐩 𝐈𝐬𝐬𝐮𝐞𝐬:
- 🚫 𝐄𝐫𝐫𝐨𝐫: Workspace gets messy.
- 𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Configure Jenkins to clean up after builds.

4. 𝐏𝐥𝐮𝐠𝐢𝐧 𝐂𝐨𝐦𝐩𝐚𝐭𝐢𝐛𝐢𝐥𝐢𝐭𝐲:
- 😬 𝐄𝐫𝐫𝐨𝐫: Plugins don't work with Jenkins.
- 𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Update or find compatible plugins.

5. 𝐌𝐚𝐬𝐭𝐞𝐫-𝐒𝐥𝐚𝐯𝐞 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧 𝐏𝐫𝐨𝐛𝐥𝐞𝐦𝐬:
- 😞 𝐄𝐫𝐫𝐨𝐫: Master can't talk to slaves.
- 𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Check the network, slave online, and credentials right.

6. 𝐎𝐮𝐭 𝐨𝐟 𝐌𝐞𝐦𝐨𝐫𝐲 𝐄𝐫𝐫𝐨𝐫𝐬:
- 😰 𝐄𝐫𝐫𝐨𝐫: Jenkins runs out of memory.
- 𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Give Jenkins more memory.

7. 𝐉𝐞𝐧𝐤𝐢𝐧𝐬 𝐍𝐨𝐭 𝐒𝐭𝐚𝐫𝐭𝐢𝐧𝐠:
- 😨 𝐄𝐫𝐫𝐨𝐫: Jenkins won't start.
- 𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Check logs for issues, like port conflicts or wrong configs.

8. 𝐏𝐥𝐮𝐠𝐢𝐧 𝐈𝐧𝐬𝐭𝐚𝐥𝐥𝐚𝐭𝐢𝐨𝐧 𝐈𝐬𝐬𝐮𝐞𝐬:
- 😒 𝐄𝐫𝐫𝐨𝐫: Can't install plugins.
- 𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Fix internet, firewall, and proxy settings.

9. 𝐒𝐥𝐨𝐰 𝐁𝐮𝐢𝐥𝐝 𝐄𝐱𝐞𝐜𝐮𝐭𝐢𝐨𝐧:
- 😴 𝐄𝐫𝐫𝐨𝐫: Builds take forever.
- 𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Speed up builds by parallelizing tasks, optimizing code, or upgrading hardware.

10. 𝐄𝐦𝐚𝐢𝐥 𝐂𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐚𝐭𝐢𝐨𝐧 𝐏𝐫𝐨𝐛𝐥𝐞𝐦𝐬:
- 😟 𝐄𝐫𝐫𝐨𝐫: Email notifications messed up.
- 𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Check email settings.

11. 𝐒𝐂𝐌 𝐂𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐚𝐭𝐢𝐨𝐧 𝐄𝐫𝐫𝐨𝐫𝐬:
- 😤 𝐄𝐫𝐫𝐨𝐫: Source code setup is wrong.
- 𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Verify settings for Git, SVN, etc.

12. 𝐉𝐞𝐧𝐤𝐢𝐧𝐬 𝐉𝐨𝐛 𝐓𝐫𝐢𝐠𝐠𝐞𝐫𝐢𝐧𝐠:
- 😕𝐄𝐫𝐫𝐨𝐫: Jobs not running.
- 𝐒𝐨𝐥𝐮𝐭𝐢𝐨𝐧: Review job triggering settings.

Remember, always read the error messages and logs, and you can usually figure things out. If you're still stuck, ask the Jenkins community for help. 😊


❤️ Follow for more: @prodevopsguy
Please open Telegram to view this post
VIEW IN TELEGRAM
🚀 DevOps Project-09: DevSecOps : Netflix Clone CI-CD with Monitoring | Email 🚀

🔗 Project Link: https://github.com/NotHarshhaa/DevOps-Projects/tree/master/DevOps%20Project-09 🔗

🌐 Project Overview :-
I will be deploying a Netflix clone. I will be using Jenkins as a CICD tool and deploying our application on a Docker container and Kubernetes Cluster and I will monitor the Jenkins and Kubernetes metrics using Grafana, Prometheus and Node exporter.

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

❤️ Follow for more: @prodevopsguy
Please open Telegram to view this post
VIEW IN TELEGRAM
❤️‍🔥6 Most Confusing GIT Commands 👇

🟡 Simplified and concise illustration of commands for better understanding

𝟭. 𝗴𝗶𝘁 𝗺𝗲𝗿𝗴𝗲 𝘃𝘀 𝗴𝗶𝘁 𝗿𝗲𝗯𝗮𝘀𝗲:
- 𝘨𝘪𝘵 𝘮𝘦𝘳𝘨𝘦 combines branch changes with new merge commits
- 𝘨𝘪𝘵 𝘳𝘦𝘣𝘢𝘴𝘦 moves branch changes on top, creating a linear history

𝟮. 𝗴𝗶𝘁 𝗿𝗲𝘀𝗲𝘁 𝘃𝘀 𝗴𝗶𝘁 𝗿𝗲𝘃𝗲𝗿𝘁:
- 𝘨𝘪𝘵 𝘳𝘦𝘴𝘦𝘵 undoes changes and moves the branch pointer, discarding subsequent commits
- 𝘨𝘪𝘵 𝘳𝘦𝘷𝘦𝘳𝘵 creates new undo commits, preserving history

𝟯. 𝗴𝗶𝘁 𝗳𝗲𝘁𝗰𝗵 𝘃𝘀 𝗴𝗶𝘁 𝗽𝘂𝗹𝗹:
- 𝘨𝘪𝘵 𝘧𝘦𝘵𝘤𝘩 downloads remote changes without auto-merging
- 𝘨𝘪𝘵 𝘱𝘶𝘭𝘭 fetches and auto-merges remote changes

In short,
git pull = git fetch + git merge

DevOps is the most happening and integral part of almost all organizations.


❤️ Follow for more: @prodevopsguy
Please open Telegram to view this post
VIEW IN TELEGRAM
🌟 Azure vs AWS vs GCP

Lately, I've been noticing a surge in discussions comparing different cloud services across various providers.🌩🔍

It sparked my curiosity, and I thought, "Why not create my own comparison?" 🤔

So, after diving deep and gathering insights, I've put together my version. 🚀


✈️ Follow for more: @prodevopsguy
Please open Telegram to view this post
VIEW IN TELEGRAM
𝐓𝐨𝐩 𝐔𝐬𝐞𝐝 𝐃𝐨𝐜𝐤𝐞𝐫 𝐂𝐨𝐦𝐦𝐚𝐧𝐝𝐬 🐋

🐳 𝐃𝐨𝐜𝐤𝐞𝐫 𝐁𝐚𝐬𝐢𝐜𝐬:
🏁 docker run: Run a container from an image.
📦 docker build: Build an image from a Dockerfile.
🔍 docker images: List all images on the system.
🗑 docker rmi: Remove one or more images.
🏗 docker-compose up: Start services defined in a Compose file.
🛑 docker stop: Stop a running container.
♻️ docker rm: Remove one or more containers.
💡 docker ps: List running containers.


🐋 𝐃𝐨𝐜𝐤𝐞𝐫 𝐍𝐞𝐭𝐰𝐨𝐫𝐤𝐢𝐧𝐠:
🌐 docker network create: Create a network.
🔗 docker network connect: Connect a container to a network.
🛠 docker network inspect: Inspect a network.
🔄 docker network disconnect: Disconnect a container from a network.


📁 𝐃𝐨𝐜𝐤𝐞𝐫 𝐕𝐨𝐥𝐮𝐦𝐞𝐬:
📂 docker volume create: Create a volume.
🔌 docker volume ls: List volumes.
🔄 docker volume inspect: Inspect a volume.
🗑 docker volume rm: Remove one or more volumes.



⚙️ 𝐃𝐨𝐜𝐤𝐞𝐫 𝐂𝐨𝐦𝐩𝐨𝐬𝐞:
📋 docker-compose up: Start services defined in a Compose file.
🗄 docker-compose down: Stop and remove services defined in a Compose file.
🔧 docker-compose build: Build or rebuild services.
📊 docker-compose logs: View output logs from services.
🔄 docker-compose restart: Restart services.
📈 docker-compose scale: Scale services to a specified number.


🔵 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥 Becoming a Certified Kubernetes Administrator, an EXPERT in K8s from scratch, and much MORE! 🔥

🔗 Link: https://github.com/NotHarshhaa/Certified_Kubernetes_Administrator

If you want to become a Certified Kubernetes Administrator, or you want to become an EXPERT in Kubernetes, learn Kubernetes from scratch and understand everything, this repo is a good choice.

🟡 Table of Contexts:

1. Kubernetes
2. Helm
3. Operator
4. Prometheus
5. EKS



❤️ Follow for more: @prodevopsguy
Please open Telegram to view this post
VIEW IN TELEGRAM
https://harshhaa.hashnode.dev/deploying-an-application-on-kubernetes-a-complete-guide

Follow 🍩 Like 👍 Share 👍 Comment Your thoughts 💬
Please open Telegram to view this post
VIEW IN TELEGRAM
https://harshhaa.hashnode.dev/the-devops-roadmap-your-path-to-success

Follow 🍩 Like 👍 Share 👍 Comment Your thoughts 💬

✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
🚀 𝐊𝐮𝐛𝐞𝐫𝐧𝐞𝐭𝐞𝐬 𝐂𝐨𝐦𝐦𝐚𝐧𝐝 𝐨𝐟 𝐭𝐡𝐞 𝐃𝐚𝐲! 🚀

kubectl get pods --all-namespaces -o jsonpath="{.items[*].spec.containers[*].image}" | sort | uniq -c

➡️ Dive deeper into your Kubernetes clusters with this power command! It lists all container images used by your pods across all namespaces, sorts them, and gives you a count of each unique image. It's a great way to audit and manage your container images and ensure consistency across your deployments.

𝐏𝐫𝐨 𝐓𝐢𝐩: Mastering jsonpath with kubectl can unlock powerful ways to query and manipulate your Kubernetes resources directly from the command line.



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