DevOps
Docker, Kubernetes, AWS, CI/CD, monitoring & scaling.
13 notes
Docker
DOCKER CONTAINER === ITS LIKE A SMALL MACHINE LIKE A VM WE CAN SAY ONE USECASE IS THIS LIKE WHEN YOUR FRIEND SOMETHING SEND YOU SUS AND YOU WANT TO TRY WHAT IS THAT RUN IT INSIDE THE DOCKER CONTAINER THEY ALSO HAVE THERE OWN FILESYSTEM Docker/containers are im
Kubernetes — Part 1
What is kubernetes Docker is a pre-requisite before you proceed to understand kubernetes Kubernetes (popularly known as k8s) is a container orchestration engine, which as the name suggests lets you create, delete, and update containers This is useful when You
Kubernetes — Part 2
Currently trying to do everything from the first principle for understanding but mainly we will be using the ingress, certmanager.io these things only in the production you can also use civo.com for the k8s cluster WHAT IS NAMESPACE? It just helps to create a
Kubernetes — Part 3
SCALING OF THE K8S(LAST UHUHUHUHUHU) HORIZONTAL POD AUTOSCALER Ref - <https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/> A Horizontal Pod Autoscaler (HPA) is a Kubernetes feature that automatically adjusts the number of pod replicas i
DevOps Basics, AWS & Certificate Management
Domains vs IPs localhost "Localhost" refers to the computer you're currently working on. It's essentially a loopback address that points to the machine itself, allowing it to communicate with itself over a network. In technical terms, the IP address for local
AWS ECR & ECS
This is like amazon answer to kubernetes if you want similar benefits like kubernetes in aws use this ECS = Elastic container service(Container orchestrator) kubernetes is also a container orchestrator ECS is more easier that kubernetes ECS downside is it can
Deploying with CI/CD to VMs
npm install -g bun npx <create-turbo@latest> create db folder in the packages folder bun init cd packages mkdir db cd db bun init bun install prisma bunx prisma init bun add dotenv defining the schema model User { id String @id @default(uuid()) username String
Serverless
WHAT ARE BACKEND SERVERS? They are like simple servers used in startups, hackathons etc initially its good but for scale its expensive so not used for scale Vercel, Render are all serverless and good to use WHAT IS SERVERLESS BACKENDS? The better method to d
Horizontal & Vertical Scaling, DB Indexes
If the usage is increased in the db so we can do like buy a bigger machine and then use that but this does not matter in js because its a single threaded language something off topic like imagine you have 16 cores and 16 application running it does not mean th
Process Management & Monorepo Setup
TO TAKE ACCESS: we first check the name of the user using whoami icacls "D:\Data\Save\Keys\pallab-key-pari.pem" /grant desktop-abc123\pallab:F icacls "D:\Data\Save\Keys\pallab-key-pari.pem" /remove "BUILTIN\Users" icacls "D:\Data\Save\Keys\pallab-key-pari.pem
Monitoring & New Relic
PAGER DUTY, BETTER UP TIME USED FOR MONITORING Logging, monitoring, alerts and status pages Logging Logging refers to the practice of recording events, messages, or data points generated by software applications and systems. These logs can include various type
Self-Hosted Monitoring
Prometheus and Grafana (Open source monitoring tools) DATADOG AND NEWRELIC PAID ONES for this we have to learn prometheus query language Revise monitoring In the last live, we understood what is monitoring. We created dashboards that looked like the following
Autoscaling Orchestrator (Bolt Project)
Like in the bolt and online application creator website whenever we write a application like chess app it starts to create the application on a vscode terminal on the side how that is done? Its like whenever a request is made that pumps up a machine in which a