Telegraph
Docker Security Best Practices [cheat sheet included]
Docker containers have been an essential part of the developer's toolbox for several years now, allowing them to build, distribute and deploy their applications in a standardized way. This gain in traction has been, not surprisingly, accompanied by a surge…
Please open Telegram to view this post
VIEW IN TELEGRAM
⚡️ Continuous Delivery & DevOps : https://lnkd.in/eBuU9Gb6
Please open Telegram to view this post
VIEW IN TELEGRAM
𝘼 𝙧𝙚𝙥𝙤 𝙩𝙤 𝙝𝙚𝙡𝙥 𝙮𝙤𝙪 𝙋𝙧𝙖𝙘𝙩𝙞𝙨𝙚 𝙆𝙪𝙗𝙚𝙧𝙣𝙚𝙩𝙚𝙨 𝙛𝙧𝙤𝙢 𝙩𝙝𝙚 𝙜𝙧𝙤𝙪𝙣𝙙 𝙪𝙥 𝙗𝙮 𝙙𝙤𝙞𝙣𝙜 𝙥𝙧𝙖𝙘𝙩𝙞𝙘𝙖𝙡 𝙍𝙚𝙖𝙡𝙩𝙞𝙢𝙚 𝙥𝙧𝙤𝙟𝙚𝙘𝙩𝙨 𝙖𝙣𝙙 𝙩𝙚𝙖𝙘𝙝 𝙮𝙤𝙪 𝙝𝙤𝙬 𝙩𝙤 𝙪𝙨𝙚 𝙆𝙪𝙗𝙚𝙧𝙣𝙚𝙩𝙚𝙨 𝙩𝙤 𝙙𝙚𝙥𝙡𝙤𝙮, 𝙢𝙖𝙣𝙖𝙜𝙚, 𝙖𝙣𝙙 𝙨𝙘𝙖𝙡𝙚 𝙘𝙤𝙣𝙩𝙖𝙞𝙣𝙚𝙧𝙞𝙯𝙚𝙙 𝙖𝙥𝙥𝙡𝙞𝙘𝙖𝙩𝙞𝙤𝙣𝙨.
Please open Telegram to view this post
VIEW IN TELEGRAM
1. Kubernetes Learning Roadmap
2. Kubernetes Certification Coupon
3. Kubernetes Learning Prerequisites
4. Learn Kubernetes Architecture
5. $1000+ Free Cloud Credits to Launch Clusters
6. Learn Kubernetes Cluster Setup & Administration
7. Understand KubeConfig File
8. Understand Kubernetes Objects And Resources
9. Learn About Pod & Associated Resources
10. Learn About Pod Dependent Objects
11. Deploy End to End Application on Kubernetes
12. Learn About Securing Kubernetes Cluster
13. Learn About Kubernetes Operator Pattern
14. Learn Important Kubernetes Configurations
15. Learn Kubernetes Best Practices
16. Real-World Kubernetes Case Studies
17. Kubernetes Failures/Learnings
18. Kubernetes Deployment Tools (GitOps Based)
Please open Telegram to view this post
VIEW IN TELEGRAM
# Install AWS CLI
pip install awscli
# Configure AWS CLI
aws configure
# List IAM users
aws iam list-users
# Create IAM user
aws iam create-user --user-name <username>
# Attach policy to IAM user
aws iam attach-user-policy --user-name <username> --policy-arn arn:aws:iam::aws:policy/<policy-name>
# List all EC2 instances
aws ec2 describe-instances
# Start an EC2 instance
aws ec2 start-instances --instance-ids <instance-id>
# Stop an EC2 instance
aws ec2 stop-instances --instance-ids <instance-id>
# List all S3 buckets
aws s3 ls
# Upload file to S3 bucket
aws s3 cp <file-path> s3://<bucket-name>/<file-key>
# Download file from S3 bucket
aws s3 cp s3://<bucket-name>/<file-key> <file-path>
# List RDS instances
aws rds describe-db-instances
# Start RDS instance
aws rds start-db-instance --db-instance-identifier <instance-id>
# Stop RDS instance
aws rds stop-db-instance --db-instance-identifier <instance-id>
# List CloudWatch log groups
aws logs describe-log-groups
# Create CloudWatch log group
aws logs create-log-group --log-group-name <log-group-name>
# List Elastic Beanstalk environments
aws elasticbeanstalk describe-environments
# Update environment to new version
aws elasticbeanstalk update-environment --environment-name <env-name> --version-label <version-label>
# List CloudFormation stacks
aws cloudformation describe-stacks
# Create CloudFormation stack
aws cloudformation create-stack --stack-name <stack-name> --template-body file://<template-file>
# Update CloudFormation stack
aws cloudformation update-stack --stack-name <stack-name> --template-body file://<template-file>
Please open Telegram to view this post
VIEW IN TELEGRAM
https://lnkd.in/dvpzNT5M
https://lnkd.in/dn5m2NKQ
https://lnkd.in/d8nkTj3n
https://lnkd.in/dWYByZjH
https://lnkd.in/dhV35bJG
https://lnkd.in/dA44F__P
https://lnkd.in/dRs3YFu3
Azure Terraform Course
https://lnkd.in/dM-h-R8y
https://lnkd.in/dCpQyKNz
https://lnkd.in/dvMC5a2J
https://lnkd.in/dtT3zMzF
https://lnkd.in/dqTeZQdc
https://lnkd.in/dqsAKSyH
https://lnkd.in/dhkgFexc
https://lnkd.in/dHZEW_sy
https://lnkd.in/dKjwzqGT
https://lnkd.in/dMA-J7GE
Please open Telegram to view this post
VIEW IN TELEGRAM
1724990056355.gif
816.2 KB
Horizontal scaling involves altering the number of pods available to the cluster to suit sudden changes in workload demands. As the scaling technique involves scaling pods instead of resources, it’s commonly a preferred approach to avoid resource deficits.
Contrary to horizontal scaling, a vertical scaling mechanism involves the dynamic provisioning of attributed resources such as RAM or CPU of cluster nodes to match application requirements. This is essentially achieved by tweaking the pod resource request parameters based on workload consumption metrics.
Cluster scaling involves increasing or reducing the number of nodes in the cluster based on node utilization metrics and the existence of pending pods. The cluster autoscaling object typically interfaces with the chosen cloud provider so that it can request and deallocate nodes seamlessly as needed.
Manual scaling in Kubernetes involves adjusting the number of nodes or resources allocated to a cluster manually. This can be done by adding or removing nodes, adjusting resource requests and limits, and distributing workloads across nodes to optimize performance.
Predictive scaling stands as a transformative approach in the orchestration of cloud-native applications, allowing Kubernetes to not just react to current demands but to anticipate future needs. This forward-looking strategy harnesses the power of data analysis and machine learning to create a more dynamic, efficient, and user-oriented scaling process.
Please open Telegram to view this post
VIEW IN TELEGRAM
_____
docker run - run a container from an image
docker pull - pull an image from a registry
docker push - push an image to a registry
docker build - build an image from a Dockerfile
docker ps - list running containers
docker stop - stop a running container
docker start - start a stopped container
docker restart - restart a container
docker logs - show the logs of a container
docker exec - execute a command inside a running container
docker images - list available images
docker rm - remove a container
docker rmi - remove an image
docker inspect - show information about a container
docker network create - create a network for containers to communicate
docker network connect - connect a container to a network
docker network disconnect - disconnect a container from a network
docker port - show the mapped ports of a container
docker cp - copy files between a container and the host
docker commit - create a new image from a container's changes
docker login - log in to a registry
docker logout - log out of a registry
docker tag - tag an image with a new name
docker export - export the contents of a container as a tar archive
docker import - create a new image from a tar archive
docker save - save an image as a tar archive
docker load - load an image from a tar archive
docker top - show the processes running inside a container
docker stats - show resource usage statistics of containers
docker diff - show the changes made to a container's filesystem
docker events - show the events generated by Docker
docker history - show the history of an image
docker pause - pause a running container
docker unpause - unpause a paused container
docker kill - send a signal to a container to stop it abruptly
docker wait - wait for a container to exit and return its exit code
docker attach - attach to a running container's console
docker buildx - build and push multi-platform images
docker compose - manage multi-container applications with Docker Compose
docker swarm - create and manage a cluster of Docker nodes
docker volume create - create a named volume for persistent data storage
docker volume ls - list available volumes
docker volume rm - remove a named volume
docker system prune - remove all unused objects from Docker
docker system df - show the usage of Docker objects
docker system events - show the events generated by Docker on the system
docker system info - show the system-wide information about Docker
docker system inspect - show detailed information about Docker objects
docker system logs - show the system logs of Docker
docker system version - show the version of Docker installed on the system
Please open Telegram to view this post
VIEW IN TELEGRAM
Here are the most widely used tools in the industry along with their official documentation:
1. Git: https://git-scm.com/docs
2. GitHub: https://docs.github.com/en
3. Bitbucket: https://lnkd.in/dA2PcM_w
1. Service Now: https://lnkd.in/d69yubJF
2. Jira: https://lnkd.in/dD_WcXFQ
3. Trello: https://trello.com/guide
1. AWS: https://lnkd.in/dMa9XpMa
2. Azure: https://lnkd.in/dBsJtZHy
3. GCP: https://lnkd.in/d3hmN-Jr
1. Docker: https://docs.docker.com/
2. Kubernetes: https://lnkd.in/dZXfQEqW
3. Mesos: https://lnkd.in/dqzvzJhY
1. Terraform: https://lnkd.in/dM46h2_D
2. Octopus: https://octopus.com/docs
3. Heroku: https://lnkd.in/dCDuwvcj
1. Selenium: https://lnkd.in/dTnFN8bT
2. Cucumber: https://lnkd.in/dpmD4A9C
3. Postman: https://lnkd.in/d3xERi6c
1. Maven: https://lnkd.in/dfgBnrZj
2. Gradle: https://lnkd.in/dv6rQczZ
3. Ant: https://lnkd.in/dQgMsgef
1. Jenkins: https://lnkd.in/dPmA6-ff
2. TravisCI: https://lnkd.in/dxxFaK_X
3. Argo CD: https://lnkd.in/dK5eXbYi
1. Grafana: https://lnkd.in/dX5anVq9
2. Prometheus: https://lnkd.in/ddxjc9bV
Please open Telegram to view this post
VIEW IN TELEGRAM
DEV Community
Understanding the Linux Filesystem: An In-Depth Guide for DevOps Engineers
The Linux filesystem is the foundation of any Linux-based operating system. It dictates how files are...
This guide is packed with detailed explanations, practical examples, and actionable tips that will not only make you more proficient in Linux but also elevate your DevOps skills to the next level.
Whether you’re new to DevOps or a seasoned professional, mastering the Linux filesystem is essential for your success. Don’t miss out on this valuable resource!
🛠 Equip yourself with the knowledge you need to excel in your career.
Please open Telegram to view this post
VIEW IN TELEGRAM
To secure this badge, simply enroll in the free course and score 80% or higher on the final assessment. It's a fantastic opportunity to demonstrate your cloud expertise without spending money.
There is not a single page that summarizes how to enroll to different AWS badges, so here you go (all up-to-date with links to the courses) including the latest 4 additions:
This path is created to build technical knowledge of Kubernetes and concepts and services with a focus on Amazon EKS.
This learning path helps you build knowledge to effectively use AWS Step Functions to model, build, and monitor a complex business process and to design event-driven architectures based in Amazon EventBridge in production systems.
This path is created to help build technical knowledge of AWS compute concepts and services with a focus on Amazon EC including how to balance cost and performance, available tools and components, how AWS Lambda works.
This path is created to help learn how to program quantum computers and explore their potential applications.
5. Migration Foundations: https://lnkd.in/g88Zsrn3
6. Networking Core: https://lnkd.in/gAeKA27u
7. Cloud Essentials: https://lnkd.in/gEMHQEtX
8. Architecting: https://lnkd.in/gYaAgXBM
9. AWS for Games: https://lnkd.in/g7a5Jjwi
10. Serverless: https://lnkd.in/gQavBp5K
11. Object Storage: https://lnkd.in/gAA_3q8U
12. Block Storage: https://lnkd.in/gEAApKty
13. File Storage: https://lnkd.in/gZHx6iUQ
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
Photo
Here’s a handy list of essential Kubernetes commands to streamline your workflow and boost your productivity. Save this post for quick reference!
# Check cluster info
kubectl cluster-info
# Get all nodes
kubectl get nodes
# Describe a node
kubectl describe node <node-name>
# Check cluster health
kubectl get componentstatuses
# List all namespaces
kubectl get namespaces
# Create a namespace
kubectl create namespace <namespace-name>
# Delete a namespace
kubectl delete namespace <namespace-name>
# List all pods in the default namespace
kubectl get pods
# List pods in a specific namespace
kubectl get pods -n <namespace>
# Describe a pod
kubectl describe pod <pod-name>
# Delete a pod
kubectl delete pod <pod-name>
# List all deployments
kubectl get deployments
# Create a deployment
kubectl create deployment <deployment-name> --image=<image-name>
# Update a deployment
kubectl set image deployment/<deployment-name> <container-name>=<new-image>
# Scale a deployment
kubectl scale deployment <deployment-name> --replicas=<number>
# Delete a deployment
kubectl delete deployment <deployment-name>
# List all services
kubectl get services
# Create a service
kubectl expose deployment <deployment-name> --type=<type> --port=<port>
# Describe a service
kubectl describe service <service-name>
# Delete a service
kubectl delete service <service-name>
# List all ConfigMaps
kubectl get configmaps
# Create a ConfigMap
kubectl create configmap <configmap-name> --from-literal=<key>=<value>
# List all Secrets
kubectl get secrets
# Create a Secret
kubectl create secret generic <secret-name> --from-literal=<key>=<value>
# List all persistent volumes
kubectl get pv
# List all persistent volume claims
kubectl get pvc
# Create a persistent volume
kubectl apply -f <persistent-volume-definition>.yaml
# Create a persistent volume claim
kubectl apply -f <persistent-volume-claim-definition>.yaml
# View logs of a pod
kubectl logs <pod-name>
# View logs of a specific container in a pod
kubectl logs <pod-name> -c <container-name>
# Stream logs of a pod
kubectl logs -f <pod-name>
# Get events
kubectl get events
# Describe a resource
kubectl describe <resource-type> <resource-name>
# Exec into a pod
kubectl exec -it <pod-name> -- /bin/bash
# List custom resource definitions
kubectl get crd
# Describe a custom resource
kubectl describe crd <custom-resource-name>
Please open Telegram to view this post
VIEW IN TELEGRAM
If you take out the tools, there are generic role specific requirements that companies will expect from you once you are onboard.
Keeping it simple, there are 4 levels for a DevOps role in IT.
- Collaborate with developers and IT staff to manage code releases.
- Assist in automating processes to improve efficiency.
- Implement and maintain CI/CD pipelines.
- Monitor system performance and troubleshoot issues.
- Assist in the design and implementation of infrastructure as code (IaC).
- Manage and improve CI/CD pipelines.
- Automate operational processes.
- Implement and manage monitoring and logging solutions.
- Collaborate with development and operations teams to ensure smooth deployment and operation of systems.
- Troubleshoot and resolve issues in development, test, and production environments.
- Implement and manage containerization and orchestration technologies (e.g., Docker, Kubernetes).
- Lead and mentor junior members of the DevOps team.
- Architect and design highly available and scalable systems.
- Evaluate new technologies and tools to improve the DevOps process.
- Develop and implement best practices for infrastructure automation and configuration management.
- Collaborate with other teams to improve overall system reliability and performance.
- Define the overall DevOps strategy for the organization.
- Lead large-scale infrastructure and automation projects.
- Drive innovation and continuous improvement within the DevOps team.
- Act as a subject matter expert for DevOps practices and technologies.
- Collaborate with executive leadership to align DevOps initiatives with business goals.
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps is a rapidly growing field that combines software development and operations, enabling organizations to deliver high-quality software at a faster pace. So, let's explore the key skills you need to master on your journey to becoming a DevOps Engineer:
Cloud platforms like AWS, Azure, and GCP are revolutionizing the IT landscape.
Remember, becoming a DevOps Engineer is an ongoing journey. Stay curious, keep learning, and embrace new technologies and practices as they emerge. Engage in open-source projects, attend conferences, and connect with fellow professionals to expand your network and stay up-to-date.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
- All Git/GitHub Content with use cases
- Git Realtime scenarios
- All Git/GitHub Exercises with solutions
- No More Git PDFs needed
- Easy to Learn from anywhere
- Detailed Explanation guide
- All Git/GitHub Branching Strategies for DevOps guy
Please open Telegram to view this post
VIEW IN TELEGRAM
1725355718553.gif
1.4 MB
As I've delved into Kubernetes, I've found that monitoring tools are indispensable in maintaining the health and performance of clusters. Tools like Prometheus, elasticsearch, and Jaeger play a crucial role in metrics collection, logging, and tracing, ensuring that every part of the cluster runs smoothly.
By mastering these tools, Kubernetes admins can maintain robust and reliable applications.
Please open Telegram to view this post
VIEW IN TELEGRAM
- Deployment manifest files
- Jenkins deployments & configurations
- Kubernetes Ingress files
- Realtime projects manifest files
- Helm charts for any application
- End to End Manifest files for any applications
- Includes AWS ELK Stack (Elasticsearch, Logstash, Kibana)
- Network service configurations templates
- Application monitoring templates for any applications
- Complete application launch manifest files for Realtime projects
Please open Telegram to view this post
VIEW IN TELEGRAM