DEV Community
Migrating to the Cloud: A Step-by-Step Guide for DevOps Engineers
Table of Contents Introduction Why Migrate to the Cloud? Types of Cloud...
Looking to migrate your infrastructure to the cloud? My latest article is here to guide you through the entire process!
In this detailed guide, It cover everything you need to successfully migrate to the cloud. From planning and choosing the right strategy to executing a seamless migration, this article is packed with practical advice and insights. Whether you're opting for Lift and Shift or Refactoring, you'll find the tips and tools necessary for a smooth transition.
Here’s what you’ll learn:
This guide is a must-read for any DevOps engineer looking to master cloud migrations. Don’t miss out!🌟
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps ♾ Learning path for beginners ▶️
😥 Linux
https://lnkd.in/eDU5WpKi
⚙️ Networking
https://lnkd.in/e99zv7tF
😴 Git/GitHub
https://lnkd.in/ecqMXBRX
☁️ Cloud
AWS - https://lnkd.in/ef3K8btU
Azure - https://lnkd.in/exzMfEHw
🤖 Programming
Python - https://lnkd.in/e55MK3EC
Go - https://lnkd.in/eStnGK7H
🐳 Docker
https://lnkd.in/e-y6h8nb
https://lnkd.in/eZ-CYSGT
https://lnkd.in/e3y7CcVV
🎁 K8
https://lnkd.in/ejW4M7p6
https://lnkd.in/etkFp58n
https://lnkd.in/es_wzZVb
🔁 CICD
Jenkins - https://lnkd.in/e4kheikQ
Github Action - https://lnkd.in/eS-Zhhs4
🤠 IAC
Terraform with AWS - https://lnkd.in/eutkjgUV
Terraform with Azure - https://lnkd.in/emuq6-6y
👾 Configuration Management
Ansible - https://lnkd.in/e75ep-tF
🔍 Monitoring
Prometheus and Grafana - https://lnkd.in/e4QJGu_E
🤘 YAML
https://lnkd.in/eU_BnErV
❤️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
https://lnkd.in/eDU5WpKi
https://lnkd.in/e99zv7tF
https://lnkd.in/ecqMXBRX
AWS - https://lnkd.in/ef3K8btU
Azure - https://lnkd.in/exzMfEHw
Python - https://lnkd.in/e55MK3EC
Go - https://lnkd.in/eStnGK7H
https://lnkd.in/e-y6h8nb
https://lnkd.in/eZ-CYSGT
https://lnkd.in/e3y7CcVV
https://lnkd.in/ejW4M7p6
https://lnkd.in/etkFp58n
https://lnkd.in/es_wzZVb
🔁 CICD
Jenkins - https://lnkd.in/e4kheikQ
Github Action - https://lnkd.in/eS-Zhhs4
Terraform with AWS - https://lnkd.in/eutkjgUV
Terraform with Azure - https://lnkd.in/emuq6-6y
Ansible - https://lnkd.in/e75ep-tF
Prometheus and Grafana - https://lnkd.in/e4QJGu_E
https://lnkd.in/eU_BnErV
Please open Telegram to view this post
VIEW IN TELEGRAM
Don't overwhelm to learn Git,🙄
Git is this much only👇 😊
1️⃣ . Core:
• git init
• git clone
• git add
• git commit
• git status
• git diff
• git checkout
• git reset
• git log
• git show
• git tag
• git push
• git pull
2️⃣ . Branching:
• git branch
• git checkout -b
• git merge
• git rebase
• git branch --set-upstream-to
• git branch --unset-upstream
• git cherry-pick
3️⃣ . Merging:
• git merge
• git rebase
4️⃣ . Stashing:
• git stash
• git stash pop
• git stash list
• git stash apply
• git stash drop
5️⃣ . Remotes:
• git remote
• git remote add
• git remote remove
• git fetch
• git pull
• git push
• git clone --mirror
6️⃣ . Configuration:
• git config
• git global config
• git reset config
7️⃣ . Plumbing:
• git cat-file
• git checkout-index
• git commit-tree
• git diff-tree
• git for-each-ref
• git hash-object
• git ls-files
• git ls-remote
• git merge-tree
• git read-tree
• git rev-parse
• git show-branch
• git show-ref
• git symbolic-ref
• git tag --list
• git update-ref
8️⃣ . Porcelain:
• git blame
• git bisect
• git checkout
• git commit
• git diff
• git fetch
• git grep
• git log
• git merge
• git push
• git rebase
• git reset
• git show
• git tag
9️⃣ . Alias:
• git config --global alias.<alias> <command>
1️⃣ 0️⃣ . Hook:
• git config --local core.hooksPath <path>
1️⃣ 1️⃣ .Experimental: (May not be fully Supported)
• git annex
• git am
• git cherry-pick --upstream
• git describe
• git format-patch
• git fsck
• git gc
• git help
• git log --merges
• git log --oneline
• git log --pretty=
• git log --short-commit
• git log --stat
• git log --topo-order
• git merge-ours
• git merge-recursive
• git merge-subtree
• git mergetool
• git mktag
• git mv
• git patch-id
• git p4
• git prune
• git pull --rebase
• git push --mirror
• git push --tags
• git reflog
• git replace
• git reset --hard
• git reset --mixed
• git revert
• git rm
• git show-branch
• git show-ref
• git show-ref --heads
• git show-ref --tags
• git stash save
• git subtree
• git tag --delete
• git tag --force
• git tag --sign
• git tag -f
• git tag -l
• git tag --verify
• git unpack-file
• git update-index
• git verify-pack
• git worktree
-------- 🔚 🔚 --------
♥️ Credits: @NotHarshhaa ✅
❤️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Git is this much only
• git init
• git clone
• git add
• git commit
• git status
• git diff
• git checkout
• git reset
• git log
• git show
• git tag
• git push
• git pull
• git branch
• git checkout -b
• git merge
• git rebase
• git branch --set-upstream-to
• git branch --unset-upstream
• git cherry-pick
• git merge
• git rebase
• git stash
• git stash pop
• git stash list
• git stash apply
• git stash drop
• git remote
• git remote add
• git remote remove
• git fetch
• git pull
• git push
• git clone --mirror
• git config
• git global config
• git reset config
• git cat-file
• git checkout-index
• git commit-tree
• git diff-tree
• git for-each-ref
• git hash-object
• git ls-files
• git ls-remote
• git merge-tree
• git read-tree
• git rev-parse
• git show-branch
• git show-ref
• git symbolic-ref
• git tag --list
• git update-ref
• git blame
• git bisect
• git checkout
• git commit
• git diff
• git fetch
• git grep
• git log
• git merge
• git push
• git rebase
• git reset
• git show
• git tag
• git config --global alias.<alias> <command>
• git config --local core.hooksPath <path>
• git annex
• git am
• git cherry-pick --upstream
• git describe
• git format-patch
• git fsck
• git gc
• git help
• git log --merges
• git log --oneline
• git log --pretty=
• git log --short-commit
• git log --stat
• git log --topo-order
• git merge-ours
• git merge-recursive
• git merge-subtree
• git mergetool
• git mktag
• git mv
• git patch-id
• git p4
• git prune
• git pull --rebase
• git push --mirror
• git push --tags
• git reflog
• git replace
• git reset --hard
• git reset --mixed
• git revert
• git rm
• git show-branch
• git show-ref
• git show-ref --heads
• git show-ref --tags
• git stash save
• git subtree
• git tag --delete
• git tag --force
• git tag --sign
• git tag -f
• git tag -l
• git tag --verify
• git unpack-file
• git update-index
• git verify-pack
• git worktree
-------- 🔚 🔚 --------
Please open Telegram to view this post
VIEW IN TELEGRAM
https://lnkd.in/gQq_EERV
https://lnkd.in/g7RBTgKW
https://lnkd.in/g2F5UFHg
https://lnkd.in/giM_2_Qj
https://lnkd.in/g687nbeH
https://lnkd.in/gUqrz8X3
https://lnkd.in/gbPWeUuR
https://lnkd.in/ggdVTA2C
https://lnkd.in/gnr_BvKH
https://lnkd.in/gN64Xv49
https://lnkd.in/g9fVgwCp
https://lnkd.in/gwHscntY
https://lnkd.in/gMMpuhZM
Please open Telegram to view this post
VIEW IN TELEGRAM
DEV Community
Top 10 AI Tools Useful for DevOps Engineers
Introduction In the fast-paced world of DevOps, efficiency and automation are key. As...
Are you ready to supercharge your DevOps workflows with the power of AI?
In this detailed guide, we cover:
- Jenkins X with AI Integration
- Ansible with AI-Powered Automation
- Puppet with Machine Learning Capabilities
- And many more!
Don’t miss out on the tools that can elevate your DevOps game to the next level. Whether you're a beginner or a seasoned pro, this article has something for everyone.
Please open Telegram to view this post
VIEW IN TELEGRAM
1725601230828.gif
1.4 MB
What is 𝐜𝐨𝐧𝐭𝐚𝐢𝐧𝐞𝐫𝐝 and how does docker 🐬 work?
When we use the 𝐃𝐨𝐜𝐤𝐞𝐫 𝐂𝐋𝐈 to create a container, the 𝐃𝐨𝐜𝐤𝐞𝐫 𝐜𝐥𝐢𝐞𝐧𝐭 changes the command into a 𝐑𝐄𝐒𝐓𝐟𝐮𝐥 𝐀𝐏𝐈. This API is then sent to the 𝐃𝐨𝐜𝐤𝐞𝐫 𝐃𝐚𝐞𝐦𝐨𝐧.
The Docker Daemon first checks if the image is already on the local system. If it's not, it downloads the image from the 𝐃𝐨𝐜𝐤𝐞𝐫 𝐫𝐞𝐠𝐢𝐬𝐭𝐫𝐲.
Once the image is downloaded,
It calls 𝐜𝐨𝐧𝐭𝐚𝐢𝐧𝐞𝐫𝐝 to start the container. Containerd converts the downloaded image into an 𝐎𝐂𝐈-𝐜𝐨𝐦𝐩𝐥𝐢𝐚𝐧𝐭 𝐛𝐮𝐧𝐝𝐥𝐞.
This bundle is then passed to 𝐜𝐨𝐧𝐭𝐚𝐢𝐧𝐞𝐫𝐝-𝐬𝐡𝐢𝐦, which calls 𝐫𝐮𝐧𝐂 to start the container and handle 𝐧𝐚𝐦𝐞𝐬𝐩𝐚𝐜𝐞𝐬 and 𝐜𝐠𝐫𝐨𝐮𝐩𝐬.
✅ 𝐑𝐮𝐧𝐂 uses 𝐥𝐢𝐛𝐜𝐨𝐧𝐭𝐚𝐢𝐧𝐞𝐫 to interact with the Linux kernel and manage containers.
⚡️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
When we use the 𝐃𝐨𝐜𝐤𝐞𝐫 𝐂𝐋𝐈 to create a container, the 𝐃𝐨𝐜𝐤𝐞𝐫 𝐜𝐥𝐢𝐞𝐧𝐭 changes the command into a 𝐑𝐄𝐒𝐓𝐟𝐮𝐥 𝐀𝐏𝐈. This API is then sent to the 𝐃𝐨𝐜𝐤𝐞𝐫 𝐃𝐚𝐞𝐦𝐨𝐧.
The Docker Daemon first checks if the image is already on the local system. If it's not, it downloads the image from the 𝐃𝐨𝐜𝐤𝐞𝐫 𝐫𝐞𝐠𝐢𝐬𝐭𝐫𝐲.
Once the image is downloaded,
It calls 𝐜𝐨𝐧𝐭𝐚𝐢𝐧𝐞𝐫𝐝 to start the container. Containerd converts the downloaded image into an 𝐎𝐂𝐈-𝐜𝐨𝐦𝐩𝐥𝐢𝐚𝐧𝐭 𝐛𝐮𝐧𝐝𝐥𝐞.
This bundle is then passed to 𝐜𝐨𝐧𝐭𝐚𝐢𝐧𝐞𝐫𝐝-𝐬𝐡𝐢𝐦, which calls 𝐫𝐮𝐧𝐂 to start the container and handle 𝐧𝐚𝐦𝐞𝐬𝐩𝐚𝐜𝐞𝐬 and 𝐜𝐠𝐫𝐨𝐮𝐩𝐬.
Please open Telegram to view this post
VIEW IN TELEGRAM
---------------------------------------------
Please open Telegram to view this post
VIEW IN TELEGRAM
In this project, we take you through the full process of deploying an Open AI Chatbot UI on Amazon EKS, leveraging Jenkins for CI/CD and Terraform for infrastructure automation.
- Kubernetes-based Chatbot UI deployment on EKS
- Terraform scripts for scalable infrastructure
- Jenkins pipelines for automated builds and deployments
- Security and best practices with DevSecOps mindset
💻 Ready to dive in? Check out the code and start building your own secure, scalable Chatbot UI deployment!
📣 Note: Fork this Repository🧑💻 for upcoming future projects, Every week releases new Project.
Please open Telegram to view this post
VIEW IN TELEGRAM
Hello #devops People
𝟭. 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻𝘀 & 𝗕𝗮𝗱𝗴𝗲𝘀 𝗦𝗵𝗼𝘄𝗰𝗮𝘀𝗲
Give your resume a visual boost with badges for certifications!
𝟮. 𝗧𝗼𝗼𝗹𝘀 & 𝗧𝗲𝗰𝗵𝗻𝗼𝗹𝗼𝗴𝗶𝗲𝘀 𝗩𝗶𝘀𝗶𝗯𝗶𝗹𝗶𝘁𝘆
Don't be shy about your tech stack!
𝟯. 𝗪𝗼𝗿𝗸 𝗘𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲 𝗛𝗶𝗴𝗵𝗹𝗶𝗴𝗵𝘁𝘀
In the Work Experience section, be crystal clear about your impact!
𝟰. 𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗦𝗵𝗼𝘄𝗰𝗮𝘀𝗲
Bring your projects into the limelight!
Project: Automatic Deployments
Organization: XYZ Corp
Tools & Tech Used: Jenkins, Docker, Kubernetes
Role: DevOps Engineer
Responsibilities: Automated deployment processes, ensuring zero downtime
Tasks: Streamlined CI/CD pipelines, implemented containerization
𝟱. 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻𝘀 & 𝗔𝘄𝗮𝗿𝗱𝘀 𝗦𝗲𝗰𝘁𝗶𝗼𝗻
Create a dedicated space for certifications and awards!
𝟲. 𝗤𝘂𝗮𝗹𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻𝘀 𝗦𝗻𝗮𝗽𝘀𝗵𝗼𝘁
Summarize your qualifications for a quick overview!
Please open Telegram to view this post
VIEW IN TELEGRAM
1707716097980.gif
1.5 MB
Mastering it can take your tech career to the next level. Here's why:
Linux powers countless technologies, and familiarity with its file system gives you an edge in various tech fields:
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!
Please open Telegram to view this post
VIEW IN TELEGRAM
Otherwise, you risk falling into a pattern of reactive responses, never fully seizing the initiative.
It's like starring in your own tech horror show.
Please open Telegram to view this post
VIEW IN TELEGRAM
1725654124075.gif
1.4 MB
Microservices architecture breaks down applications into smaller, independent services. Here's a rundown of the 𝟏𝟎 𝐤𝐞𝐲 𝐜𝐨𝐦𝐩𝐨𝐧𝐞𝐧𝐭𝐬 in this architecture:
1. 𝐂𝐥𝐢𝐞𝐧𝐭
These are the end-users who interact with the application via different interfaces like web, mobile, or PC.
2. 𝐂𝐃𝐍 (Content Delivery Network)
CDNs deliver static content like images, stylesheets, and JavaScript files efficiently by caching them closer to the user's location, reducing load times.
3. 𝐋𝐨𝐚𝐝 𝐁𝐚𝐥𝐚𝐧𝐜𝐞𝐫
It distributes incoming network traffic across multiple servers, ensuring no single server becomes a bottleneck and improving the application's availability and reliability.
4. 𝐀𝐏𝐈 𝐆𝐚𝐭𝐞𝐰𝐚𝐲
An API Gateway acts as an entry point for all clients, handling tasks like request routing, composition, and protocol translation, which helps manage multiple microservices behind the scenes.
5. 𝐌𝐢𝐜𝐫𝐨𝐬𝐞𝐫𝐯𝐢𝐜𝐞𝐬
Each microservice is a small, independent service that performs a specific business function. They communicate with each other via APIs.
6. 𝐌𝐞𝐬𝐬𝐚𝐠𝐞 𝐁𝐫𝐨𝐤𝐞𝐫
A message broker facilitates communication between microservices by sending messages between them, ensuring they remain decoupled and can function independently.
7. 𝐃𝐚𝐭𝐚𝐛𝐚𝐬𝐞𝐬
Each microservice typically has its own database to ensure loose coupling. This can involve different databases for different microservices
8. 𝐈𝐝𝐞𝐧𝐭𝐢𝐭𝐲 𝐏𝐫𝐨𝐯𝐢𝐝𝐞𝐫
This component handles user authentication and authorization, ensuring secure access to services.
9. 𝐒𝐞𝐫𝐯𝐢𝐜𝐞 𝐑𝐞𝐠𝐢𝐬𝐭𝐫𝐲 𝐚𝐧𝐝 𝐃𝐢𝐬𝐜𝐨𝐯𝐞𝐫𝐲
This system keeps track of all microservices and their instances, allowing services to find and communicate with each other dynamically.
10. 𝐒𝐞𝐫𝐯𝐢𝐜𝐞 𝐂𝐨𝐨𝐫𝐝𝐢𝐧𝐚𝐭𝐢𝐨𝐧 (e.g., Zookeeper)
Tools like Zookeeper help manage and coordinate distributed services, ensuring they work together smoothly.
Please open Telegram to view this post
VIEW IN TELEGRAM
DEV Community
A Day in the Life of a DevOps Engineer: Real Stories and Challenges
Being a DevOps engineer is no ordinary job—it’s dynamic and requires a blend of development and...
Ever wondered what it's like to be a DevOps engineer? It's a fast-paced, problem-solving, and highly dynamic role that comes with its fair share of challenges—and funny moments too!
In this article, we dive deep into what a typical day looks like, from handling pipeline issues to collaborating with developers and dealing with unexpected incidents. Whether you’re new to DevOps or a seasoned pro, this is one story you won’t want to miss!
👉 Don’t forget to share your own DevOps experiences in the comments!
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Optimise your 🐬 docker image by 95% not just in size but also in security.
1. 𝗨𝘀𝗲 𝗠𝘂𝗹𝘁𝗶-𝗦𝘁𝗮𝗴𝗲 𝗯𝘂𝗶𝗹𝗱𝘀.
Stage 1 will build an artifact consisting of all the required libraries & dependencies. Stage 2 will use a slim/scratch base image and copy only the artifact from Stage 1 resulting in up to 95% less image size.
2. 𝗣𝗶𝗰𝗸 𝘀𝗹𝗶𝗺 𝘃𝗲𝗿𝗶𝗳𝗶𝗲𝗱 𝗯𝗮𝘀𝗲 𝗶𝗺𝗮𝗴𝗲𝘀.
Slim images don’t have any unnecessary components like shell utilities, libraries, or metadata. It will reduce the size and the attack surface area.
3. 𝗕𝗲𝗻𝗲𝗳𝗶𝘁 𝗳𝗿𝗼𝗺 𝘁𝗵𝗲 𝗟𝗮𝘆𝗲𝗿 𝗖𝗮𝗰𝗵𝗶𝗻𝗴.
Always order the instructions from least changing to most changing i.e. use COPY instruction much later in the Dockerfile.
4. 𝗨𝘀𝗲 𝗹𝗲𝘀𝘀 𝗹𝗮𝘆𝗲𝗿𝘀.
Commands like RUN COPY ADD create layers. Fewer layers = Small Size = Faster Build Times.
5. 𝗡𝗲𝘃𝗲𝗿 𝗿𝘂𝗻 𝗶𝗺𝗮𝗴𝗲𝘀 𝗮𝘀 𝘁𝗵𝗲 𝗿𝗼𝗼𝘁 𝘂𝘀𝗲𝗿.
By default, every image runs with root privileges, so make sure you run the image as a non-pseudo user[may break your application, some processes need root privileges]
6. 𝗦𝗰𝗮𝗻 𝗶𝗺𝗮𝗴𝗲𝘀 𝗳𝗼𝗿 𝘃𝘂𝗹𝗻𝗲𝗿𝗮𝗯𝗶𝗹𝗶𝘁𝗶𝗲𝘀 using tools like Trivy & Scout.
Avoid CRITICAL and HIGH vulnerabilities.
📱 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
1. 𝗨𝘀𝗲 𝗠𝘂𝗹𝘁𝗶-𝗦𝘁𝗮𝗴𝗲 𝗯𝘂𝗶𝗹𝗱𝘀.
Stage 1 will build an artifact consisting of all the required libraries & dependencies. Stage 2 will use a slim/scratch base image and copy only the artifact from Stage 1 resulting in up to 95% less image size.
2. 𝗣𝗶𝗰𝗸 𝘀𝗹𝗶𝗺 𝘃𝗲𝗿𝗶𝗳𝗶𝗲𝗱 𝗯𝗮𝘀𝗲 𝗶𝗺𝗮𝗴𝗲𝘀.
Slim images don’t have any unnecessary components like shell utilities, libraries, or metadata. It will reduce the size and the attack surface area.
3. 𝗕𝗲𝗻𝗲𝗳𝗶𝘁 𝗳𝗿𝗼𝗺 𝘁𝗵𝗲 𝗟𝗮𝘆𝗲𝗿 𝗖𝗮𝗰𝗵𝗶𝗻𝗴.
Always order the instructions from least changing to most changing i.e. use COPY instruction much later in the Dockerfile.
4. 𝗨𝘀𝗲 𝗹𝗲𝘀𝘀 𝗹𝗮𝘆𝗲𝗿𝘀.
Commands like RUN COPY ADD create layers. Fewer layers = Small Size = Faster Build Times.
5. 𝗡𝗲𝘃𝗲𝗿 𝗿𝘂𝗻 𝗶𝗺𝗮𝗴𝗲𝘀 𝗮𝘀 𝘁𝗵𝗲 𝗿𝗼𝗼𝘁 𝘂𝘀𝗲𝗿.
By default, every image runs with root privileges, so make sure you run the image as a non-pseudo user[may break your application, some processes need root privileges]
6. 𝗦𝗰𝗮𝗻 𝗶𝗺𝗮𝗴𝗲𝘀 𝗳𝗼𝗿 𝘃𝘂𝗹𝗻𝗲𝗿𝗮𝗯𝗶𝗹𝗶𝘁𝗶𝗲𝘀 using tools like Trivy & Scout.
Avoid CRITICAL and HIGH vulnerabilities.
Tip: To see individual layers of an image use tools like Dive
Please open Telegram to view this post
VIEW IN TELEGRAM
Azure Cloud Bootcamp 2024 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
Claim/Register for all benifits
- Complete Azure Cloud
- Free real time projects
- Life time access to content
- Unlimited downloads, offline viewing
- 24/7 Support available
Please open Telegram to view this post
VIEW IN TELEGRAM
I've just published a comprehensive collection of DevOps Cheatsheets that cover a wide range of tools and topics to help you streamline your workflows and enhance your skills. Whether you're a beginner or looking to deepen your knowledge, these Cheatsheets have got you covered!
- Containerization: Docker, Kubernetes, Helm, Podman
- CI/CD: Jenkins, GitHub Actions, GitLab CI, CircleCI
- Monitoring: Prometheus, Grafana, ELK Stack, Nagios
- Security: Trivy, SonarQube, AquaSec, HashiCorp Vault
- Cloud: AWS, Azure, GCP, Terraform
- DevOps Engineers: Get quick access to the tools you use every day.
- Sysadmins: Simplify operations with easy-to-follow guides.
- Developers: Understand the infrastructure behind your applications.
- DevOps Newcomers: Learn the basics and avoid common pitfalls with our beginner-friendly Cheatsheets.
Explore detailed guides, from basic concepts to advanced techniques, and take your DevOps expertise to the next level!🌟
Feel free to dive in, contribute, and share your thoughts. Happy DevOps-ing!
Please open Telegram to view this post
VIEW IN TELEGRAM
Here are some excellent DevOps projects to enhance your skills and gain practical experience:
GeeksforGeeks: https://www.geeksforgeeks.org/devops-projects/
DevOpsCube: https://devopscube.com/devops-projects/
GitHub: https://github.com/NotHarshhaa/DevOps-Projects
By working on these projects, you'll gain practical experience with essential DevOps tools and technologies, and develop the skills needed to succeed in a DevOps role.
Please open Telegram to view this post
VIEW IN TELEGRAM
DEV Community
Serverless CI/CD: How to Build a Pipeline Without Servers
In the evolving world of DevOps, automation is the key to efficiency. Continuous Integration and...
💡 This is a must-read for every DevOps engineer looking to streamline their workflow and embrace the power of serverless technology. Don't miss out!
Please open Telegram to view this post
VIEW IN TELEGRAM