DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
16K 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
🚀 Implementing Zero Downtime Deployment Strategies with Kubernetes

🖥 https://blog.prodevopsguy.xyz/implementing-zero-downtime-deployment-strategies-with-kubernetes


🎤 Introduction
Zero downtime deployments are crucial for modern applications, ensuring that users experience uninterrupted service even during updates. Kubernetes, a powerful container orchestration platform, provides several strategies to achieve zero downtime. This article will delve into the various techniques and best practices for implementing zero downtime deployments in Kubernetes.


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

🔗 Link: https://drive.google.com/drive/u/0/mobile/folders/1COG6x8YCEceHTai3w52h9suHZ2H0rHvF


😎 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!! // Join for DevOps DOCs: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🟩 AWS & DevOps Free Videos :– 🟩


🗯 Part -1 : https://drive.google.com/drive/folders/1P2MORPWWUDk6MBzLktlahDRHJgh9YNta?usp=sharing

🗯 Part -2: https://drive.google.com/drive/folders/1-9pCWtNrSwWW3Bgd0BjqfH_x0sfJcXvE?usp=sharing

🗯 Part -3 : https://drive.google.com/drive/folders/1OD3B97MfmlQbnBVB_PMbt5bb5mtjyQk9?usp=sharing


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


🐧 𝗟𝗶𝗻𝘂𝘅:
- The Linux Foundation: https://lnkd.in/epkP5dYQ
- Linux Documentation: https://lnkd.in/eWNYW246
- Fedora Project: fedoraproject.org

🐍 𝗦𝗰𝗿𝗶𝗽𝘁𝗶𝗻𝗴:
- Python: learnpython.org
- Go: go.dev/tour
- Automate with Python: automatetheboringstuff.com
- Golang Bootcamp: https://lnkd.in/eSsK7KUG

🤖 𝗔𝗜 𝗳𝗼𝗿 𝗗𝗲𝘃𝗼𝗽𝘀:
- GenAI - https://brij.guru/ai

🌐 𝗡𝗲𝘁𝘄𝗼𝗿𝗸𝗶𝗻𝗴:
- Cisco Networking Academy: netacad.com
- Networking Fundamentals: https://lnkd.in/eQ62Bfza
- Networking: A Top-Down Approach: kurose.cslash.net
- FreeCodeCamp's Course: https://lnkd.in/ecAsMH2w

🧑‍💻 𝗚𝗶𝘁:
- Git SCM: git-scm.com
- Try Git: github.com/Try
- Git Tutorials: https://lnkd.in/eDbQBQfD
- Git Interactive Tutorial: https://lnkd.in/eqfE2ZC4

🐳 𝗖𝗼𝗻𝘁𝗮𝗶𝗻𝗲𝗿𝘀:
- Docker Documentation: docs.docker.com
- Docker Hub: hub.docker.com
- Docker Labs: dockerlabs.collabnix.com
- Kubernetes Fundamentals: https://lnkd.in/eurRUTSt

☁️ 𝗖𝗹𝗼𝘂𝗱:
- AWS Free Tier: aws.amazon.com/free
- Microsoft Azure Free Account: https://lnkd.in/ehxD777x
- Google Cloud Platform Free Tier: cloud.google.com/free
- Cloud Academy: cloudacademy.com

⚙️ 𝗖𝗜/𝗖𝗗:
- Jenkins: jenkins.io
- Travis CI: https://lnkd.in/eDTJtRjB
- CircleCI: circleci.com
- GitLab CI/CD: docs.gitlab.com/ee/ci

🧩 𝗢𝗿𝗰𝗵𝗲𝘀𝘁𝗿𝗮𝘁𝗶𝗼𝗻:
- Kubernetes Documentation: kubernetes.io/docs/home
- Kubernetes the Hard Way: https://lnkd.in/edWs7_FW
- CNCF Curriculum: cncf.io
- Kubernetes Fundamentals: https://lnkd.in/e55BRxGy

🔍 𝗢𝗯𝘀𝗲𝗿𝘃𝗮𝗯𝗶𝗹𝗶𝘁𝘆:
- Prometheus: prometheus.io
- Grafana: grafana.com
- Elasticsearch: elastic.co
- Jaeger: https://lnkd.in/eiFkzXwD

📜 𝗜𝗻𝗳𝗿𝗮𝘀𝘁𝗿𝘂𝗰𝘁𝘂𝗿𝗲 𝗮𝘀 𝗖𝗼𝗱𝗲 (𝗜𝗮𝗖):
- Terraform: terraform.io
- AWS CloudFormation: https://lnkd.in/e4wGb2eT
- Azure Resource Manager: https://lnkd.in/eWzjg94i
- Deployment Manager: https://lnkd.in/ekAQpT3n

🔏 𝗣𝗼𝗹𝗶𝗰𝘆 𝗮𝘀 𝗖𝗼𝗱𝗲:
- Open Policy Agent: https://lnkd.in/eG4jMZSU
- Kyverno: kyverno.io/docs
- Rego: https://lnkd.in/eD75meCB

🕸 𝗦𝗲𝗿𝘃𝗶𝗰𝗲 𝗠𝗲𝘀𝗵:
- Istio: https://lnkd.in/eaxdAMZC
- Linkerd: linkerd.io
- Consul Service Mesh: https://lnkd.in/eEn3eacn


🎄 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy & @devopsdocs 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!!
Please open Telegram to view this post
VIEW IN TELEGRAM
1708229314239.gif
784.6 KB
🔔 𝐍𝐞𝐭𝐟𝐥𝐢𝐱'𝐬 𝐃𝐚𝐭𝐚𝐛𝐚𝐬𝐞 𝐒𝐞𝐥𝐞𝐜𝐭𝐢𝐨𝐧𝐬 𝐨𝐧 𝐚 𝐌𝐚𝐬𝐬𝐢𝐯𝐞 𝐒𝐜𝐚𝐥𝐞

Netflix's database infrastructure is a true marvel! They use a combination of several cutting-edge technologies to ensure content is available 24/7, without buffering or interruptions.

Netflix's engineering team leverages a diverse array of databases to deliver top-notch service. Here's a glimpse into their database selection:

🔍 Relational Databases: For billing transactions, subscriptions, taxes, and revenue, Netflix chooses MySQL. They also harness CockroachDB to support multi-region active-active architecture, global transactions, and data pipeline workflows.

📊 Columnar Databases: Netflix turns to Redshift and Druid for structured data storage, Spark and data pipeline processing, and Tableau for data visualization, especially for analytics purposes.

🔑 Key-Value Databases: Netflix's trusted companion for over a decade is EVCache, built on top of Memcached. It's the go-to for caching various data, powering the Netflix Homepage, and delivering personalized recommendations.

📚 Wide-Column Databases: Cassandra takes the stage for almost everything, from Video/Actor information to User Data, Device details, and Viewing History.

🎮 Time-Series Databases: Netflix's innovation shines with Atlas, an open-source in-memory database designed for metrics storage and aggregation.

Unstructured Data: When it comes to storing Image/Video/Metrics/Log files, Netflix relies on S3 as the default choice. They also harness the power of Apache Iceberg with S3 for big data storage.


𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!! // Join for DevOps DOCs: @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
1721103976903.gif
1.1 MB
Route 53 Routing Policies 🚀

Route 53 is a powerful DNS service by AWS, offering various routing policies to manage traffic.

🔢. Simple Routing
- Most straightforward approach, good for single resources.
- Routes traffic to a single endpoint, like a web server or an elastic load balancer.
- Easy to set up and manage.


🔢. Weighted Routing
- Distributes traffic across multiple resources.
- Controls traffic distribution based on predefined weights.
- Great for load balancing and testing new deployments.


🔢. Failover Routing
- Routes traffic to a primary resource, with a secondary resource on standby.
- Automatically routes the traffic to the secondary resource if the primary resource goes into an unhealthy state or fails.
- Ensures high availability.



✈️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
DevOps Tools - Setup, Installations, Guides ⚙️ 🔗Link: https://github.com/NotHarshhaa/DevOps_Setup-Installations We add daily Tools Setup, Installations, Guides with each and every commands with clear explanation 💎 Now added : Kubernetes, Jenkins, Ansible…
➡️ Repository Update 📣


📱 Source Link: https://github.com/NotHarshhaa/DevOps_Setup-Installations/tree/master/terraform

➡️Added Terraform involves a series of installations and configurations to your ensure a robust and efficient infrastructure as code (IaC) environment.

➡️ Here are content:

🔢. Install Terraform
🔢. Configure Terraform CLI
🔢. Setup a Remote Backend
🔢. Install and Configure Providers
🔢. Setup Version Control
🔢. Implement CI/CD Pipeline
🔢. Enable Logging and Monitoring

✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!! // Join for DevOps DOCs: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
As a DevOps engineer, mastering the Linux 🐧 command line is crucial for efficient system administration and management. Here are some essential Linux commands you should know:

1️⃣. File and Directory Management:
ls: List directory contents.
cd: Change directory.
pwd: Print working directory.
mkdir: Create a new directory.
rm: Remove files or directories.
cp: Copy files or directories.
mv: Move or rename files or directories.

2️⃣. User and Permission Management:
useradd: Add a new user.
passwd: Set or change user passwords.
chown: Change file ownership.
chmod: Modify file permissions.
su: Switch user.
sudo: Execute commands with superuser privileges.

3️⃣. Process and Service Management:
ps: Display running processes.
top: Monitor system processes.
kill: Terminate processes.
systemctl: Manage system services (systemd-based systems).
service: Manage services (init-based systems).

4️⃣. Networking and System Monitoring:
ifconfig or ip: Configure network interfaces.
netstat: Display network statistics.
ping: Test network connectivity.
df: Show disk space usage.
free: Display memory usage.
uptime: Show system uptime.


Remember that this is just a starting point, and there are many more Linux commands and utilities. Feel free to explore and deepen your knowledge as you work with Linux in your DevOps journey! 🐧 🚀


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


📱 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
Here are some common GitHub-related issues that DevOps engineers encounter, along with their solutions:

1️⃣. Merge Conflicts:
Issue: When multiple contributors modify the same file simultaneously, merge conflicts occur during pull requests.
Solution: Resolve conflicts by carefully reviewing conflicting changes and manually merging them.

2️⃣. Authentication Issues:
Issue: Improper authentication (SSH keys or personal access tokens) can lead to problems when pushing or pulling from repositories.
Solution: Ensure correct authentication methods to avoid issues.

3️⃣. Git Submodules:
Issue: Managing Git submodules can be challenging.
Solution: Understand how submodules work and handle them correctly.

4️⃣. Large Files and LFS:
Issue: GitHub has a file size limit. Large binary files can cause issues.
Solution: Use Git LFS (Large File Storage) for managing large files.

5️⃣. Branch Protection Rules:
Issue: Accidental force pushes or direct commits to protected branches.
Solution: Set up branch protection rules to prevent such actions.

6️⃣. Rate Limiting:
Issue: GitHub API requests are rate-limited.
Solution: Use tokens and avoid excessive requests.

7️⃣. Repository Permissions:
Issue: Incorrect permissions for collaborators.
Solution: Ensure proper permissions to avoid unauthorized access.

8️⃣. Webhooks and CI/CD Failures:
Issue: Debugging webhook and CI/CD failures.
Solution: Check logs and configurations to identify and fix issues.

Remember, addressing these challenges will enhance your DevOps skills! 😊🚀


📱 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
🚨 AWS Billing Alert Terraform Module

⚙️ Excited to share my latest open-source contribution - The AWS Billing Alert Terraform Module!

📱 Link: https://github.com/NotHarshhaa/aws-billing-alert-terraform.git

Navigating AWS costs can sometimes be tricky. To aid users in proactive cost management, I've developed a Terraform module that automates the setup of billing alerts. With this tool, you'll receive timely notifications if your AWS charges cross predefined thresholds.

📊 Integrated with AWS #CloudWatch - Monitor your #billing metrics seamlessly.

📣 Leverages AWS #SNS - Get instant notifications so you can act swiftly.
For those keen on ensuring their AWS expenses stay within predictable boundaries, this tool is a valuable asset for every AWS Engineer.


❤️ 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub ☁️ - 30 GitHub commands used by every DevOps Engineer

🖥 https://dev.to/prodevopsguytech/github-30-github-commands-used-by-every-devops-engineer-4llj


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

💡 Choosing the Right K8s Environment for Your Needs

K8s offers various technologies tailored to different tasks, each with its own characteristics and advantages.

Some popular options:

1️⃣ Minikube (https://lnkd.in/ePQKyEZ7)

> Compatible with Linux, Windows, and macOS
> Uses virtualization to deploy a cluster on a Linux virtual machine
> Suitable for Linux without virtualization support

2️⃣ Kubeadm (https://lnkd.in/epyumfKZ)

> The official CNCF tool for provisioning Kubernetes clusters
> Offers flexibility for various cluster configurations (single node, multi-node, HA, self-hosted, etc.)
> Ideal for launching minimal viable Kubernetes clusters

3️⃣ Kops (Kubernetes Operations) (https://lnkd.in/e7ApRVJP)

> Provides tools for installing, operating, and removing Kubernetes clusters on cloud platforms like AWS, Google Cloud Platform, OpenStack, and DigitalOcean

4️⃣ Microk8s (https://microk8s.io)

> Similar to Minikube, it creates single-node clusters
> Features its own set of add-ons as configuration plugins
> Exclusive to Linux environments

5️⃣ K3s (https://k3s.io)

> Works on any Linux distribution without external dependencies
> Replaces Docker with containerd as the container runtime and uses sqlite3 as the default database
> Lightweight, consuming only 512MB of RAM and 200MB of disk space.

6️⃣ Kind (Kubernetes-in-Docker) (https://kind.sigs.k8s.io)

> Runs Kubernetes clusters in Docker containers
> Supports multi-node and High-Availability clusters
> Compatible with Windows, Mac, and Linux as it runs on top of Docker

7️⃣ K3d (https://k3d.io)

> A project aiming to dockerize K3s

The choice of the Kubernetes environment depends on your project's specific needs.

Once you understand K8s basics, the next step is to create a cluster, which can be done both locally and in the cloud.



✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!! // Join for DevOps DOCs: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
Photo
🚀 Google Cloud CLI Commands for DevOps Engineers 🌐

Get the most out of Google Cloud Platform (GCP) with these essential gcloud commands! Here's a handy reference to help you streamline your DevOps workflows. 📑


🌟 Setup & Configuration
1. Initialize GCP SDK:
   gcloud init


2. Authenticate to GCP:
   gcloud auth login


3. Set Default Project:
   gcloud config set project [PROJECT_ID]


🖥 Compute Engine
1. List VM Instances:
   gcloud compute instances list


2. Create a New VM:
   gcloud compute instances create [INSTANCE_NAME] --zone=[ZONE]


3. Start/Stop/Delete VM:
   gcloud compute instances start [INSTANCE_NAME] --zone=[ZONE]
gcloud compute instances stop [INSTANCE_NAME] --zone=[ZONE]
gcloud compute instances delete [INSTANCE_NAME] --zone=[ZONE]


📦 Kubernetes Engine
1. Get Credentials for Cluster:
   gcloud container clusters get-credentials [CLUSTER_NAME] --zone=[ZONE]


2. List GKE Clusters:
   gcloud container clusters list


3. Create/Delete GKE Cluster:
   gcloud container clusters create [CLUSTER_NAME] --zone=[ZONE]
gcloud container clusters delete [CLUSTER_NAME] --zone=[ZONE]


🗂 Cloud Storage
1. List Buckets:
   gcloud storage ls


2. Create/Delete Bucket:
   gcloud storage buckets create gs://[BUCKET_NAME]
gcloud storage buckets delete gs://[BUCKET_NAME]


3. Upload/Download Files:
   gcloud storage cp [LOCAL_PATH] gs://[BUCKET_NAME]/[OBJECT_NAME]
gcloud storage cp gs://[BUCKET_NAME]/[OBJECT_NAME] [LOCAL_PATH]


🗄 BigQuery
1. List Datasets:
   gcloud bigquery datasets list


2. Create/Delete Dataset:
   gcloud bigquery datasets create [DATASET_NAME]
gcloud bigquery datasets delete [DATASET_NAME]


3. Run Query:
   gcloud bigquery query "SELECT * FROM `[PROJECT_ID].[DATASET].[TABLE]` LIMIT 10"


🛠 Deployment Manager
1. List Deployments:
   gcloud deployment-manager deployments list


2. Create/Delete Deployment:
   gcloud deployment-manager deployments create [DEPLOYMENT_NAME] --config [CONFIG_FILE]
gcloud deployment-manager deployments delete [DEPLOYMENT_NAME]


🔒 IAM & Security
1. List Service Accounts:
   gcloud iam service-accounts list


2. Create/Delete Service Account:
   gcloud iam service-accounts create [ACCOUNT_NAME]
gcloud iam service-accounts delete [ACCOUNT_NAME]@[PROJECT_ID].iam.gserviceaccount.com


🗃 Cloud SQL
1. List Instances:
   gcloud sql instances list


2. Create/Delete SQL Instance:
   gcloud sql instances create [INSTANCE_NAME] --tier=db-n1-standard-1 --region=[REGION]
gcloud sql instances delete [INSTANCE_NAME]


Keep these commands handy to master Google Cloud like a pro! 🌟

Stay tuned for more DevOps tips and tricks. 🚀


✈️ 𝗙𝗼𝗹𝗹𝗼𝘄 @prodevopsguy 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘀𝘂𝗰𝗵 𝗰𝗼𝗻𝘁𝗲𝗻𝘁 𝗮𝗿𝗼𝘂𝗻𝗱 𝗰𝗹𝗼𝘂𝗱 & 𝗗𝗲𝘃𝗢𝗽𝘀!!! // Join for DevOps DOCs: @devopsdocs
Please open Telegram to view this post
VIEW IN TELEGRAM
Hi there,

Google Cloud is excited to announce the launch of Google Cloud Masters program – an initiative to help professional developers to gain real-world, hands-on cloud experience, while building your cloud competencies. And along the way, you can get recognized for your efforts.

Website Link: https://googlecloudmaster.com/

Please find the brief information about the program. If you need more information, you can also reach out to at
(Hari Krishna A - 9980198045).

Looking forward to your response.
DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
Photo
🌟 A Day in the Life of a DevOps Engineer 🌟


👨‍💻 Ever wondered what a DevOps Engineer does every day?Here’s a glimpse into their daily lifecycle:

1. Morning Standup Meeting:
- Participate in a daily scrum meeting to discuss progress, blockers, and plans for the day.

2. Code Review and Integration:
- Review code changes submitted by developers.
- Ensure seamless integration by merging code into the main branch.

3. CI/CD Pipeline Management:
- Monitor and manage Continuous Integration/Continuous Deployment pipelines.
- Fix any issues that arise in automated build and deployment processes.

4. Infrastructure as Code (IaC):
- Write and update scripts using tools like Terraform or CloudFormation.
- Provision and configure cloud resources programmatically.

5. Container Management:
- Build, test, and deploy Docker containers.
- Manage Kubernetes clusters for container orchestration.

6. Monitoring and Incident Response:
- Use tools like Prometheus and Grafana for system monitoring.
- Respond to alerts and troubleshoot issues to maintain system uptime.

7. Configuration Management:
- Automate configuration tasks with Ansible, Chef, or Puppet.
- Ensure consistency across development, testing, and production environments.

8. Collaboration and Communication:
- Work closely with developers, QA, and operations teams.
- Communicate effectively to resolve issues and implement new features.

9. Continuous Improvement:
- Analyze system performance and identify areas for improvement.
- Implement best practices for security, scalability, and efficiency.

10. Learning and Development:
- Stay updated with the latest tools, technologies, and industry trends.
- Participate in training sessions and attend webinars/conferences.

🔧 Being a DevOps Engineer is dynamic and challenging, requiring a mix of technical skills, problem-solving abilities, and collaboration.


📱 𝗙𝗼𝗹𝗹𝗼𝘄 @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
🚨 Deploying an app on Azure involves a few steps. Let's walk through them:


1. Create and Set Up Your Azure Account:
Sign in to your Azure portal.
If you're new to Azure, follow the Microsoft-Azure portal guide to get started.

2. Build Your Web Application:
Create your web app using your preferred tech stack (e.g., C#, Java, Python, etc.).
You can host your code on GitHub or any other Version Control System.

3. Create a Resource Group:
Resource groups help manage access control and resource allocation.
If you don't have an existing resource group, create a new one in the Azure portal.

4. Set Up Your Web App Service:
In the Azure portal, navigate to "App Services."
Choose the "Create" option and customize settings:

Basics: Select the resource group, name your web app, choose a region, and set the runtime stack (e.g., Java, .NET, etc.).
Deployment: Configure continuous deployment from GitHub or other sources.
Other tabs allow further customization (networking, monitoring, tags).
Review and create your web app.

5. Deploy Your Web App:
Click on your web app's name in App Services.
Find the "Default domain" link, which is the deployed URL.
Access your web app and modify it as needed.


Remember, there are various approaches and options for deploying web apps on Azure. Choose the one that best suits your requirements and application complexity[1]. Happy deploying! 🚀🔵


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


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