DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
16.1K 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
⭐️ "He's the Best Kubernetes Admin"⭐️

Ever noticed how our tech heroes often go unsung? Picture this: He's the best Kubernetes admin out there – orchestrating containers like a maestro, ensuring seamless scalability, and keeping the digital cogs turning smoothly. But mention his Kubernetes prowess outside our tech bubble, and it’s like announcing you collect rare stamps at a rock concert. 🎸📜

It's a funny (and sometimes frustrating) truth in tech. The complexities that fascinate us – like the intricate dance of a well-managed Kubernetes cluster – are often Greek to the rest of the world. They don't see the wizardry behind keeping systems robust and responsive. That is, until there's a glitch!
#KubernetesAdmin #UnsungHeroes


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


✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
🚨 Everyone says, 'The best way to learn AWS is to build in the cloud.'

BUT...

'How? Where can I get a sample project?' This is the most common question I hear from aspiring and existing cloud engineers.

➡️ Here are 10 handpicked projects you can build for FREE:

➡️ Build a Serverless Web Application: https://lnkd.in/gCgdvmYK

➡️ Create Continuous Delivery Pipeline: https://lnkd.in/gSw_zaVM

➡️ Create and Connect to a MySQL Database with Amazon RDS: https://lnkd.in/gksv8u92

➡️ Amazon EC2 Backup and Restore Using AWS Backup: https://lnkd.in/gxXBasme

➡️ Batch Upload Files to Amazon S3 Using the AWS CLI: https://lnkd.in/gegNihnk

➡️ Deploy a Web App on AWS Amplify: https://lnkd.in/gPdaC65x

➡️ Remotely Run Commands on an EC2 Instance with AWS Systems Manager: https://lnkd.in/gGvd4SZ7

➡️ Detect, Analyze, and Compare Faces with Amazon Recognition: https://lnkd.in/g478VkKm

➡️ Create an Audio Transcript with Amazon Transcribe: https://lnkd.in/gukPRryX

➡️ Analyze insights in text with Amazon Comprehend: https://lnkd.in/gw-miUPm

SHARE if this was helpful to you - to benefit others ♻️


🛒 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔘 DevOps Interview Q&A (Linux) 🐧

𝟏. 𝐈𝐟 𝐲𝐨𝐮 𝐰𝐚𝐧𝐭 𝐭𝐨 𝐫𝐮𝐧 𝐚 𝐭𝐚𝐬𝐤/𝐬𝐜𝐫𝐢𝐩𝐭 𝐢𝐧 𝐛𝐚𝐜𝐤𝐠𝐫𝐨𝐮𝐧𝐝 𝐞𝐯𝐞𝐧 𝐢𝐟 𝐲𝐨𝐮 𝐜𝐥𝐨𝐬𝐞 𝐲𝐨𝐮𝐫 𝐭𝐞𝐫𝐦𝐢𝐧𝐚𝐥, 𝐰𝐡𝐚𝐭 𝐢𝐬 𝐭𝐡𝐞 𝐰𝐚𝐲?
Ans: Using nohup command

𝟐. 𝐖𝐡𝐢𝐜𝐡 𝐜𝐨𝐦𝐦𝐚𝐧𝐝 𝐝𝐢𝐬𝐩𝐥𝐚𝐲𝐬 𝐢𝐧𝐟𝐨𝐫𝐦𝐚𝐭𝐢𝐨𝐧 𝐚𝐛𝐨𝐮𝐭 𝐤𝐞𝐫𝐧𝐞𝐥-𝐫𝐞𝐥𝐚𝐭𝐞𝐝 𝐦𝐞𝐬𝐬𝐚𝐠𝐞𝐬 𝐚𝐥𝐨𝐧𝐠 𝐰𝐢𝐭𝐡 𝐡𝐚𝐫𝐝𝐰𝐚𝐫𝐞 𝐚𝐧𝐝 𝐬𝐲𝐬𝐭𝐞𝐦 𝐬𝐭𝐚𝐫𝐭𝐮𝐩 𝐦𝐞𝐬𝐬𝐚𝐠𝐞𝐬 𝐬𝐭𝐨𝐫𝐞𝐝 𝐢𝐧 𝐤𝐞𝐫𝐧𝐞𝐥 𝐫𝐢𝐧𝐠 𝐛𝐮𝐟𝐟𝐞𝐫?
Ans: dmesg command

𝟑. 𝐖𝐡𝐢𝐜𝐡 𝐜𝐨𝐦𝐦𝐚𝐧𝐝 𝐜𝐚𝐧 𝐲𝐨𝐮 𝐮𝐬𝐞 𝐭𝐨 𝐝𝐢𝐬𝐩𝐥𝐚𝐲 𝐚 𝐥𝐢𝐬𝐭 𝐨𝐟 𝐜𝐮𝐫𝐫𝐞𝐧𝐭𝐥𝐲 𝐜𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐞𝐝 𝐏𝐡𝐲𝐬𝐢𝐜𝐚𝐥 𝐕𝐨𝐥𝐮𝐦𝐞𝐬?
Ans: lvs command

𝟒. 𝐖𝐡𝐢𝐜𝐡 𝐜𝐨𝐦𝐦𝐚𝐧𝐝 𝐝𝐢𝐬𝐩𝐥𝐚𝐲𝐬 𝐦𝐞𝐦𝐨𝐫𝐲 𝐮𝐬𝐚𝐠𝐞, 𝐢𝐧𝐜𝐥𝐮𝐝𝐢𝐧𝐠 𝐭𝐡𝐞 𝐚𝐦𝐨𝐮𝐧𝐭
𝐨𝐟 𝐬𝐰𝐚𝐩 𝐬𝐩𝐚𝐜𝐞 𝐛𝐞𝐢𝐧𝐠 𝐮𝐬𝐞𝐝?
Ans: free command

𝟓. 𝐓𝐡𝐞 /𝐡𝐨𝐦𝐞 𝐩𝐚𝐫𝐭𝐢𝐭𝐢𝐨𝐧 𝐢𝐬 𝐫𝐮𝐧𝐧𝐢𝐧𝐠 𝐨𝐮𝐭 𝐨𝐟 𝐝𝐢𝐬𝐤 𝐬𝐩𝐚𝐜𝐞. 𝐖𝐡𝐢𝐜𝐡 𝐜𝐨𝐦𝐦𝐚𝐧𝐝 𝐜𝐚𝐧 𝐲𝐨𝐮 𝐮𝐬𝐞 𝐭𝐨 𝐝𝐞𝐭𝐞𝐫𝐦𝐢𝐧𝐞 𝐰𝐡𝐢𝐜𝐡 𝐮𝐬𝐞𝐫'𝐬 𝐡𝐨𝐦𝐞 𝐝𝐢𝐫𝐞𝐜𝐭𝐨𝐫𝐲 𝐢𝐬 𝐮𝐬𝐢𝐧𝐠 𝐭𝐡𝐞 𝐦𝐨𝐬𝐭 𝐬𝐩𝐚𝐜𝐞?
Ans: we can use du command

𝟔. 𝐇𝐨𝐰 𝐭𝐨 𝐜𝐡𝐞𝐜𝐤 𝐲𝐨𝐮𝐫 𝐋𝐢𝐧𝐮𝐱 𝐅𝐢𝐥𝐞𝐒𝐲𝐬𝐭𝐞𝐦?
Ans: lsblk -f

𝟕. 𝐇𝐨𝐰 𝐭𝐨 𝐒𝐎𝐑𝐓 𝐭𝐡𝐞 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐟𝐫𝐨𝐦 𝐚 𝐟𝐢𝐥𝐞 𝐢𝐧 𝐋𝐢𝐧𝐮𝐱?
Ans: sort -r file

𝟖. 𝐇𝐨𝐰 𝐭𝐨 𝐝𝐢𝐬𝐩𝐥𝐚𝐲 𝐔𝐍𝐈𝐐𝐔𝐄 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐟𝐫𝐨𝐦 𝐚 𝐟𝐢𝐥𝐞 𝐢𝐧 𝐋𝐢𝐧𝐮𝐱?
Ans: sort file | uniq

𝟗. 𝐇𝐨𝐰 𝐭𝐨 𝐬𝐞𝐚𝐫𝐜𝐡 𝐦𝐮𝐥𝐭𝐢𝐩𝐥𝐞 𝐰𝐨𝐫𝐝𝐬 𝐚𝐧𝐝 𝐝𝐢𝐬𝐩𝐥𝐚𝐲 𝐦𝐚𝐭𝐜𝐡𝐢𝐧𝐠 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐟𝐫𝐨𝐦 𝐚 𝐟𝐢𝐥𝐞 𝐢𝐧 𝐋𝐢𝐧𝐮𝐱?
Ans: egrep "word1|word2" file

𝟏𝟎. 𝐇𝐨𝐰 𝐭𝐨 𝐂𝐎𝐔𝐍𝐓 𝐧𝐨. 𝐨𝐟 𝐥𝐢𝐧𝐞𝐬 𝐢𝐧 𝐚 𝐟𝐢𝐥𝐞 𝐢𝐧 𝐋𝐢𝐧𝐮𝐱?
Ans: wc -l file

𝟏𝟏. 𝐇𝐨𝐰 𝐭𝐨 𝐜𝐡𝐞𝐜𝐤 𝐢𝐟 𝐭𝐰𝐨 𝐟𝐢𝐥𝐞𝐬 𝐚𝐫𝐞 𝐢𝐝𝐞𝐧𝐭𝐢𝐜𝐚𝐥 𝐨𝐫 𝐧𝐨𝐭 𝐢𝐧 𝐋𝐢𝐧𝐮𝐱?
Ans: cmp fileA fileB

𝟏𝟐. 𝐇𝐨𝐰 𝐭𝐨 𝐜𝐨𝐦𝐩𝐚𝐫𝐞 𝐚𝐧𝐝 𝐝𝐢𝐬𝐩𝐥𝐚𝐲 𝐝𝐢𝐟𝐟𝐞𝐫𝐞𝐧𝐜𝐞 𝐛𝐞𝐭𝐰𝐞𝐞𝐧 𝐟𝐢𝐥𝐞𝐬 𝐢𝐧 𝐋𝐢𝐧𝐮𝐱?
Ans: diff -u fileA fileB

𝟏𝟑. 𝐇𝐨𝐰 𝐭𝐨 𝐫𝐞𝐜𝐨𝐫𝐝 𝐲𝐨𝐮𝐫 𝐚𝐜𝐭𝐢𝐯𝐢𝐭𝐲 𝐨𝐧 𝐭𝐞𝐫𝐦𝐢𝐧𝐚𝐥 𝐢𝐧 𝐚 𝐟𝐢𝐥𝐞?
Ans: script

𝟏𝟒. 𝐇𝐨𝐰 𝐭𝐨 𝐝𝐢𝐬𝐩𝐥𝐚𝐲 𝐬𝐭𝐚𝐫𝐭𝐢𝐧𝐠 𝐭𝐰𝐨 𝐜𝐡𝐚𝐫𝐚𝐜𝐭𝐞𝐫𝐬 𝐨𝐟 𝐚𝐥𝐥 𝐥𝐢𝐧𝐞?
Ans: cut -c1-2 file.txt

𝟏𝟓. 𝐇𝐨𝐰 𝐭𝐨 𝐝𝐢𝐬𝐩𝐥𝐚𝐲 𝐚 𝐬𝐩𝐞𝐜𝐢𝐟𝐢𝐜 𝐥𝐢𝐧𝐞 𝐟𝐫𝐨𝐦 𝐚 𝐟𝐢𝐥𝐞?
Ans: sed -n '5p' file.txt

𝟏𝟔. 𝐇𝐨𝐰 𝐭𝐨 𝐫𝐞𝐩𝐥𝐚𝐜𝐞 𝐚 𝐬𝐩𝐞𝐜𝐢𝐟𝐢𝐜 𝐰𝐨𝐫𝐝 𝐰𝐢𝐭𝐡𝐢𝐧 𝐚 𝐟𝐢𝐥𝐞?
Ans: sed -n 's/from/to/g' file.txt

𝟏𝟕. 𝐇𝐨𝐰 𝐭𝐨 𝐞𝐱𝐭𝐞𝐧𝐝 𝐬𝐢𝐳𝐞 𝐨𝐟 𝐚 𝐟𝐢𝐥𝐞 𝐰𝐢𝐭𝐡𝐨𝐮𝐭 𝐚𝐝𝐝𝐢𝐧𝐠 𝐚𝐧𝐲 𝐝𝐚𝐭𝐚?
Ans: truncate -s 100M file.txt

𝟏𝟖. 𝐇𝐨𝐰 𝐭𝐨 𝐜𝐡𝐞𝐜𝐤 𝐜𝐩𝐮/𝐜𝐨𝐫𝐞/𝐭𝐡𝐫𝐞𝐚𝐝 𝐢𝐧𝐟𝐨 𝐨𝐟 𝐲𝐨𝐮𝐫 𝐥𝐢𝐧𝐮𝐱 𝐬𝐞𝐫𝐯𝐞𝐫?
Ans: lscpu


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
📣 How do you manage different versions of 𝗧𝗲𝗿𝗿𝗮𝗳𝗼𝗿𝗺? Manually? There is a better way! 😎

𝗧𝗳𝘀𝘄𝗶𝘁𝗰𝗵 is a useful tool for managing Terraform versions, particularly when working with multiple projects that require different versions due to syntax changes, provider updates, or other dependencies. Here are some reasons why tfswitch is beneficial:

👉 𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗖𝗼𝗺𝗽𝗮𝘁𝗶𝗯𝗶𝗹𝗶𝘁𝘆: Different Terraform projects may require specific versions to ensure compatibility with the project's syntax, providers, or dependencies. Tfswitch enables you to switch effortlessly between these versions, ensuring that you are always using the correct Terraform version for a particular project.

👉 𝗔𝘃𝗼𝗶𝗱 𝗩𝗲𝗿𝘀𝗶𝗼𝗻 𝗖𝗼𝗻𝗳𝗹𝗶𝗰𝘁𝘀: When working on multiple projects simultaneously, conflicts may arise if each project relies on a different Terraform version. Tfswitch helps prevent version conflicts by allowing you to set the appropriate version for each project independently.

👉 𝗘𝗮𝘀𝘆 𝗨𝗽𝗴𝗿𝗮𝗱𝗲𝘀: Tfswitch simplifies the process of upgrading to newer Terraform versions. With a single command, you can switch to the latest release, ensuring that you benefit from the latest features, bug fixes, and improvements.

👉 𝗦𝗲𝗮𝗺𝗹𝗲𝘀𝘀 𝗪𝗼𝗿𝗸𝗳𝗹𝗼𝘄 𝗜𝗻𝘁𝗲𝗴𝗿𝗮𝘁𝗶𝗼𝗻: Tfswitch can be integrated into your shell profile, allowing for automatic version detection and alias support for frequently used versions. This streamlines the process of working with Terraform and reduces the need for manual version switching.

👉 𝗩𝗲𝗿𝘀𝗶𝗼𝗻 𝗟𝗼𝗰𝗸𝗶𝗻𝗴: Tfswitch allows you to lock a project to a specific Terraform version by creating a .tfswitchrc file in your project's root directory. This ensures consistency when collaborating on projects and helps avoid potential issues caused by version conflicts.

Tfswitch is available only for Linux and MacOS.



😎 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!! // Join for DevOps DOCs: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
⁉️ As a DevOps Engineer, 𝐓𝐞𝐬𝐭/ 𝐈𝐦𝐩𝐫𝐨𝐯𝐞 your Knowledge for 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰𝐬 by going through following sets of questions :

☄️ Top Common Practise Set 𝐐𝐮𝐞𝐬𝐭𝐢𝐨𝐧𝐬 𝐟𝐨𝐫 𝐭𝐡𝐞 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐩𝐫𝐞𝐩𝐚𝐫𝐚𝐭𝐢𝐨𝐧

1) Have you worked on Linux?
2) what are the linux flavors?
3) what is process management?
4) How to create a User? and How to give permissions to the user.
5) How do add a user to an Existing Group In Linux?
6) How to Change the owner permissions of the User or the file?
7) How to check the disk space in Linux?
8) How to check memory in Linux?
9) what does the top command Display?
10) what is the use of lsblk command in Linux?
11) How to do Disk partition in Ubuntu?
12) where is fstab in Linux?
13) what is the linux boot process?
14) what is a linux filesystem? and what is /etc and /bin?
15) what are Crontab and Cronjob?
16) what is virtualization?
17) what is SElinux?
18) How DNS works?
19) what is Apache?
20) What is PHPAdmin?
21) Do you know about firewalls?
22) what is an SSL certificate? How we can create the SSL certificate and where we will do the configurations in apache for the SSL certificate?
23) which is better apache or Nginx? for the higher load which webserver is best?
24) what is the path of apache configuration files?
25) what is Cloud Computing?
26) what is AWS?
27) what is EC2?
28) How we can configure the EC2 instance?
29) What is AMI?
30) How we can choose which instance type is required?
31) From where can we enable termination protection in EC2?
32) Suppose we have to install Ubuntu then where do we have to define OS while launching the EC2 instance?
33) what is .pem?
34) if we stop the ec2 instance then is the Private IP will change? or Not?
35) Can you explain about inbound rules of the default security group?
36) what is the Use of public and private IP?
37) what is a Security Group?
38) security Group is stateful How?
39) what is VPC?
40) what is CIDR?
41) what is Subnetting?
42) what is an internet gateway?
43) what is Nat and why do we use nat gateway?
44) what is Elastic IP?
45) Tell me about VPC peering.
46) what is S3?
47) what is Cloudtrail?
48) what is Cloudfront?
49) what is blue/green deployment?
50) what is Cloudformation and terraform?
51) what is Elastic beanstalk?
52) what is RDS? Is there a need to worry about backups?
53) what is Autoscaling and How many types of autoscaling policies?
54) what is Loadbalancer?
55) What is the difference between ALB and ELB?
56) what is PAAS?
57) Suppose you are working in a new company and you don’t know how to work on new projects for the new company then which approach you will follow?
58) what is ACM?
59) what is shell scripting? How do we use the script for Automation?
60) what is MySQL? How many ways we can use to take backup?


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

A StatefulSet in Kubernetes is a workload API object used to manage stateful applications. Unlike a Deployment, which is suitable for stateless applications, a StatefulSet is designed to manage stateful applications that require stable, unique identifiers and persistent storage.

Key features of StatefulSets include:

📢 Stable, unique network identifiers: Each Pod in a StatefulSet receives a stable hostname based on its ordinal index. This allows other Pods in the set to communicate with each other reliably.

📢 Ordered deployment and scaling: Pods in a StatefulSet are created and scaled in a predictable, ordered manner. This means that each Pod is deployed and scaled one at a time, ensuring that dependencies are respected.

📢 Persistent storage: StatefulSets support persistent storage. Each Pod in a StatefulSet can be associated with a PersistentVolumeClaim (PVC), allowing data to persist across Pod restarts or rescheduling.

📢 Rolling updates and graceful scaling: StatefulSets support rolling updates and scaling operations, allowing you to change the Pod template or the number of replicas while ensuring that each Pod is gracefully terminated and replaced according to the defined order.

📢 Headless service: StatefulSets typically require a headless service to control network identity resolution. This service does not load balance traffic, but instead provides DNS resolution for the individual Pods in the StatefulSet.

📢 StatefulSets are commonly used for applications such as databases (e.g., MySQL, PostgreSQL), messaging queues (e.g., Kafka, RabbitMQ), and other stateful workloads where maintaining identity, stable network addresses, and data persistence are critical.


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
📌 https://harshhaa.hashnode.dev/series/aws-for-beginners

🔗 More DevOps Blogs : HERE

🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

Follow 🍩 Like 👍 Share 👍 Comment Your thoughts 💬

⭐️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy & @devopsdocs 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔔 𝐇𝐨𝐰 𝐭𝐨 𝐃𝐞𝐩𝐥𝐨𝐲 𝐘𝐨𝐮𝐫 𝐌𝐢𝐜𝐫𝐨𝐬𝐞𝐫𝐯𝐢𝐜𝐞 𝐛𝐚𝐬𝐞𝐝 𝐚𝐩𝐩𝐥𝐢𝐜𝐚𝐭𝐢𝐨𝐧 𝐨𝐧 𝐀𝐳𝐮𝐫𝐞❗️


Looking to harness the power of microservices in the cloud? Azure Kubernetes Service (AKS) offers an ideal platform. Here's a snapshot of this architecture:

🎯 AKS: Managed Kubernetes cluster hosted in Azure. Focus on agent nodes while Azure handles the Kubernetes API service.

🎯 Virtual Network: AKS sets up a virtual network for agent nodes. For advanced scenarios, set up your own network with control over subnet config and more.

🎯 Ingress: Exposes HTTP(S) routes to services within the cluster, acting as an API Gateway.

🎯 Azure Load Balancer: Routes internet traffic to the ingress controller, ensuring scalability and reliability.

🎯 External Data Stores: Microservices often use external data stores like Azure SQL Database or Azure Cosmos DB for stateful operations.

🎯 Microsoft Entra ID: Used for creating and managing Azure resources and recommended for user authentication in client apps.

🎯 Azure Container Registry: Store private Docker images for deployment. AKS can authenticate using its Microsoft Entra identity.

🎯 Azure Pipelines: Part of Azure DevOps, automates builds, tests, and deployments. Also compatible with third-party CI/CD tools.

🎯 Helm: A Kubernetes package manager that simplifies managing and deploying applications.

🎯 Azure Monitor: Collects and stores metrics, logs, and telemetry data for monitoring, alerting, and root cause analysis.

🎯 Cost Optimization: Use the Azure pricing calculator to estimate costs, and refer to the Azure Well-Architected Framework for further insights.

Cost Considerations:

AKS: No direct cost, but you pay for underlying resources.
Azure Load Balancer: Charges for configured load-balancing rules.
Azure Pipelines: Free options with charges for extra jobs.
Azure Monitor: Costs based on data ingestion and retention.

Seize the potential of microservices on AKS, backed by the Azure cloud's robust infrastructure.


✔️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
📌 https://harshhaa.hashnode.dev/deploying-an-app-to-aks-using-azure-devops-azure-cloud-shell

🔗 More DevOps Projects : HERE

🔗 More DevOps Blogs : HERE

🔥🔥🔥🔥🔥🔥🔥🔥

Follow 🍩 Like 👍 Share 👍 Comment Your thoughts 💬

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

In the dynamic world of modern software deployment, choosing the right container runtime is crucial. Let's explore the unique features of four popular technologies:

🐳 𝑫𝒐𝒄𝒌𝒆𝒓 : A robust platform empowering developers to build, share, and run containers effortlessly. With its intuitive CLI and daemon-based architecture, Docker remains a top choice for containerization.

🔹 𝑷𝒐𝒅𝒎𝒂𝒏: A daemonless container engine offering similar functionalities to Docker but without the need for a central daemon. Perfect for developing and managing OCI containers directly on your Linux system.

🚀 𝑪𝒐𝒏𝒕𝒂𝒊𝒏𝒆𝒓𝒅 : This industry-standard core container runtime focuses on simplicity and reliability. It provides essential functionalities to run containers and manage images efficiently on any system.

⚙️ 𝑪𝑹𝑰-𝑶 : Tailored specifically for Kubernetes, CRI-O is a lightweight container runtime implementing the Kubernetes Container Runtime Interface (CRI). It seamlessly integrates OCI-compatible runtimes into Kubernetes clusters.

Whether you're a developer, DevOps enthusiast, or Kubernetes aficionado, understanding these container runtimes can streamline your deployment workflows.

🔍 This comparison is a high-level overview aimed at simplifying complex concepts.


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

📢 Roles: A role is a set of permissions that defines what actions a user, group, or service account can perform within a specific namespace. For example, a role might allow reading and writing pods but not modifying other resources.

📢 Role Bindings: Role bindings are used to associate a role with one or more subjects, such as users, groups, or service accounts. This association grants the subjects the permissions defined by the role within the namespace.

📢 Cluster Roles: Similar to roles, cluster roles are a set of permissions, but they are not limited to a single namespace. Cluster roles grant permissions across the entire cluster, allowing actions such as listing and creating resources cluster-wide.

📢 Cluster Role Bindings: Cluster role bindings are used to associate cluster roles with subjects, granting them the permissions defined by the cluster role across the entire cluster.

Roles and role bindings are scoped to a specific namespace, providing granular access control within that namespace, while cluster roles and cluster role bindings operate at the cluster level, granting broader permissions across namespaces or the entire cluster.


🛒 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
➡️ Interview Questions for 2.5 to 4 yrs 𝐀𝐖𝐒 𝐰𝐢𝐭𝐡 𝐝𝐞𝐯𝐨𝐩𝐬 𝐫𝐨𝐥𝐞 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰𝐬 :

Top Practise Set 𝐐𝐮𝐞𝐬𝐭𝐢𝐨𝐧𝐬 𝐟𝐨𝐫 𝐭𝐡𝐞 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐩𝐫𝐞𝐩𝐚𝐫𝐚𝐭𝐢𝐨𝐧

1. What is GIT stash ?
2. What is a branching strategy?
3. What is the command to discard changes in the working dir?
4. How do you debug the exited container?
5. How do you execute jobs parallely in Jenkins?
6. Maven Lifecycle?
7. How do you upgrade Jenkins?
8. What is called a Parameterised Job in Jenkins?
9. What is called Docker Swarm?
10. How do you handle codes in Nexus satisfactory?
11. How do you manage space issues in the Jenkins server?
12. what is called a multibranch project in the Jenkins server ?
13. How do you secure the Jenkins server?
14. How do you manage GITHUB roles?
15. What is called a NULL resource in Terraform?
16. What is called terraform fmt ?
17.What is called Snowball?
18. How do you manage credentials in Terraform?
19. What is called Code Deploy in AWS?
20. Can you attach a single EBS volume to multiple EC2 instances at the same time?
21. Can you use Multiple FROM in DockerFile ?
22. DockerFile runs as which user?
23. How can we pass an argument to DockerFile?
24. What are deployment strategies?
25. What is called an application load balancer?
26. What is Kubernetes architecture ?
27. What is called Fargate service in AWS?
28. What are Register targets in Ansible?
29. How do you pull artifacts from NEXUS?
30. How to access the S3 bucket privately ?
31. What is the difference between a NAT inst and a NAT Gateway?
32. How can you restrict particular IPs accessing EC2 instances?
33. What is called VPC peering?
34. What is called Transit Gateway?
35. What are the types of autoscaling?
36. To prevent DDOS attacks, which load balancer is used ?
37. What is called a sticky session?
38. What is called Lambda?
39. How do you manage tfstate file in Terraform?
40. How do yo create multiple ec2 instances in terraform ?
41. AWS has released a new service, how does Terraform behave?
42. How do you uncommit the changes that have already been pushed to GitHub?
43. What is the difference between git pull and git fetch?
44. What is called Jenkins File?
45. What is called Shared Libraries in Jenkins?
46. What is called docker networking?
47. What is called a Trust relationship in AWS?
48. What is called Public Subnet and Private Subnet?
49. How do you establish a connection between ec2 instance to another ec2 instance?
50. What is realm command ?
51. How do you differentiate within an AWS account dev env, test env, and prod env?
52. Types of ec2 instances?
53. How can you encrypt the already created unencrypted EBS without creating a fresh EC2 instance?
54. How do you install Nginx in the Ansible playbook?
55. How do you recover the deleted object in S3?


🛒 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 https://www.prodevopsguy.site/ansible-project-dynamic-inventory-load-balancing-with-ansible


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
https://prodevopsguy.github.io/2024/Ultimate-DevOps-Bootcamp-2024-Pack/

⚠️ Note: Anyone Interested, can open the Blog 🌐, share it to your friends and colleagues.


🔵 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
🖥 https://www.prodevopsguy.site/jenkins-errors-with-solutions


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
1713166935585.gif
525.7 KB
🐬 Have you ever wondered how Docker works behind the scenes? Let's dive into its architecture to uncover the magic!

➡️ Docker Client: Imagine this as your gateway to the Docker world. It's like having a personal assistant who takes your commands and communicates them to the next key player.

➡️ Docker Host: This is where the real action happens. The Docker daemon, like a master chef, manages everything from images (the recipes) to containers (the dishes) with precision.

➡️ Docker Registry: Think of this as your recipe book library. Docker Registry stores all the images, just like Docker Hub, where you can find a plethora of ready-to-use images.

Understanding Docker's architecture is crucial for anyone diving into system design or coding. It's like having a superpower to efficiently manage and deploy your applications!


✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🔔 𝐊𝐮𝐛𝐞𝐫𝐧𝐞𝐭𝐞𝐬 𝐍𝐞𝐭𝐰𝐨𝐫𝐤𝐢𝐧𝐠 𝐃𝐞𝐦𝐲𝐬𝐭𝐢𝐟𝐢𝐞𝐝 ~ 𝐇𝐨𝐰 𝐝𝐨𝐞𝐬 𝐚 𝐏𝐨𝐝 𝐠𝐞𝐭𝐬 𝐚𝐧 𝐈𝐏 𝐚𝐝𝐝𝐫𝐞𝐬𝐬 🤔

Setting up Networking on a Kubernetes cluster is essentially the interaction between 𝑲𝒖𝒃𝒆𝒍𝒆𝒕 <=> 𝑪𝑵𝑰 (Container Networking Interface) <=> 𝑪𝑹𝑰 (Container Runtime Interface) 🚀

Kube-controller-manager assigns a podCIDR to each node in the cluster
Pods on a node are assigned an IP address from the subnet value in podCIDR.
Because podCIDRs across all nodes are disjoint subnets, it allows assigning each pod a unique IP address.
The k8s cluster administrator configures and installs kubelet,
container runtime, network provider agent and distributes CNI plugins on each node.
When a network provider agent starts, it generates a CNI config.
When a pod is scheduled on a node, kubelet calls the CRI plugin to create the pod on the node assigned
The CNI plugin specified in the CNI config configures the pod network resulting in a pod getting an IP address !!


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