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.
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.
Below document will give insights of the most important LINUX commands I use on regular basis.
Please open Telegram to view this post
VIEW IN TELEGRAM
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 💬
Follow
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
https://drive.google.com/drive/u/0/folders/1I8QqnzZonRewbSnUMyfC9-tRduEJ4gyB
https://drive.google.com/drive/u/0/folders/1xWFAJguXXuvjRKYB5aWBiyrftCxxozK-
https://drive.google.com/drive/u/0/folders/1oiJn-YcJwZ7_UQ_keW6qA3-GUW19sK6Q
https://drive.google.com/drive/u/0/folders/1cgUttmyCZcFsqqk8uKZVSV_qi7oe32Ov
https://drive.google.com/drive/u/0/folders/17iQT-S9qT0HUyA-Ks1QDJs_cTBZp5gGN
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
1. 𝐏𝐞𝐫𝐦𝐢𝐬𝐬𝐢𝐨𝐧 𝐈𝐬𝐬𝐮𝐞𝐬:
-
-
2. 𝐁𝐮𝐢𝐥𝐝 𝐅𝐚𝐢𝐥𝐮𝐫𝐞𝐬:
-
-
3. 𝐖𝐨𝐫𝐤𝐬𝐩𝐚𝐜𝐞 𝐂𝐥𝐞𝐚𝐧𝐮𝐩 𝐈𝐬𝐬𝐮𝐞𝐬:
-
-
4. 𝐏𝐥𝐮𝐠𝐢𝐧 𝐂𝐨𝐦𝐩𝐚𝐭𝐢𝐛𝐢𝐥𝐢𝐭𝐲:
-
-
5. 𝐌𝐚𝐬𝐭𝐞𝐫-𝐒𝐥𝐚𝐯𝐞 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧 𝐏𝐫𝐨𝐛𝐥𝐞𝐦𝐬:
-
-
6. 𝐎𝐮𝐭 𝐨𝐟 𝐌𝐞𝐦𝐨𝐫𝐲 𝐄𝐫𝐫𝐨𝐫𝐬:
-
-
7. 𝐉𝐞𝐧𝐤𝐢𝐧𝐬 𝐍𝐨𝐭 𝐒𝐭𝐚𝐫𝐭𝐢𝐧𝐠:
-
-
8. 𝐏𝐥𝐮𝐠𝐢𝐧 𝐈𝐧𝐬𝐭𝐚𝐥𝐥𝐚𝐭𝐢𝐨𝐧 𝐈𝐬𝐬𝐮𝐞𝐬:
-
-
9. 𝐒𝐥𝐨𝐰 𝐁𝐮𝐢𝐥𝐝 𝐄𝐱𝐞𝐜𝐮𝐭𝐢𝐨𝐧:
-
-
10. 𝐄𝐦𝐚𝐢𝐥 𝐂𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐚𝐭𝐢𝐨𝐧 𝐏𝐫𝐨𝐛𝐥𝐞𝐦𝐬:
-
-
11. 𝐒𝐂𝐌 𝐂𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐚𝐭𝐢𝐨𝐧 𝐄𝐫𝐫𝐨𝐫𝐬:
-
-
12. 𝐉𝐞𝐧𝐤𝐢𝐧𝐬 𝐉𝐨𝐛 𝐓𝐫𝐢𝐠𝐠𝐞𝐫𝐢𝐧𝐠:
-
-
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.
Please open Telegram to view this post
VIEW IN TELEGRAM
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.
Please open Telegram to view this post
VIEW IN TELEGRAM
𝟭. 𝗴𝗶𝘁 𝗺𝗲𝗿𝗴𝗲 𝘃𝘀 𝗴𝗶𝘁 𝗿𝗲𝗯𝗮𝘀𝗲:
- 𝘨𝘪𝘵 𝘮𝘦𝘳𝘨𝘦 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.
Please open Telegram to view this post
VIEW IN TELEGRAM
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.
Please open Telegram to view this post
VIEW IN TELEGRAM
𝐓𝐨𝐩 𝐔𝐬𝐞𝐝 𝐃𝐨𝐜𝐤𝐞𝐫 𝐂𝐨𝐦𝐦𝐚𝐧𝐝𝐬 🐋
🐳 𝐃𝐨𝐜𝐤𝐞𝐫 𝐁𝐚𝐬𝐢𝐜𝐬:
•🏁
•📦
•🔍
•🗑
•🏗
•🛑
•♻️
•💡
🐋 𝐃𝐨𝐜𝐤𝐞𝐫 𝐍𝐞𝐭𝐰𝐨𝐫𝐤𝐢𝐧𝐠:
•🌐
•🔗
•🛠
•🔄
📁 𝐃𝐨𝐜𝐤𝐞𝐫 𝐕𝐨𝐥𝐮𝐦𝐞𝐬:
•📂
•🔌
•🔄
•🗑
⚙️ 𝐃𝐨𝐜𝐤𝐞𝐫 𝐂𝐨𝐦𝐩𝐨𝐬𝐞:
•📋
•🗄
•🔧
•📊
•🔄
•📈
🔵 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
•
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.Please open Telegram to view this post
VIEW IN TELEGRAM
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.
1. Kubernetes
2. Helm
3. Operator
4. Prometheus
5. EKS
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 💬
Follow
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 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Follow
Please open Telegram to view this post
VIEW IN TELEGRAM
https://harshhaa.hashnode.dev/devops-case-study-5-upi
Follow🍩 Like 👍 Share 👍 Comment Your thoughts 💬
✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Follow
Please open Telegram to view this post
VIEW IN TELEGRAM
Cloud & DevOps Blogs and Stories
DevOps Case Study: 5 (UPI 💳)
UPI — Unified Payment Interface (UPI) is a real-time payment system developed by the National Payments Corporation of India (NPCI). It enables users to link their multiple bank accounts to a single mobile application and make cashless transactions be...
kubectl get pods --all-namespaces -o jsonpath="{.items[*].spec.containers[*].image}" | sort | uniq -c𝐏𝐫𝐨 𝐓𝐢𝐩: Mastering jsonpath with kubectl can unlock powerful ways to query and manipulate your Kubernetes resources directly from the command line.
Please open Telegram to view this post
VIEW IN TELEGRAM