Akhilesh Mishra (@livingdevops) header
Akhilesh Mishra (@livingdevops) profile picture

Founder, LivingDevOps | AI Platform Engineer | Tech Storyteller DM/email for collab ( [email protected] )

Noida, India
Joined February 2023
After 14 years in production DevOps and training 400+ engineers, I just launched my most advanced bootcamp to date. 28 weeks. 56 live classes. DevOps + MLOps + AIOps. Built for experienced engineers who want to move into MLOps and AIOps without faking it on their resume. Check it out 👇 livingdevops.com/courses/28-… Launch offer: up to 30% off if you book by 15th June.
1
18
1
127
23,323
Akhilesh Mishra retweeted
Senior engineer without AI Vs Junior engineer with Claude, cursor and codex.
5
2
20
2,806
Senior engineer without AI Vs Junior engineer with Claude, cursor and codex.
5
2
20
2,806
MCP Notes (To The Point)
39
390
10
2,309
217,244
Akhilesh Mishra retweeted
Everyone is going to migrate away from RSA-2048 to post quantum encryption New encryption standards mean new infrastructure, new architectures, new deployments, new testing and a massive amount of migration work. Companies spent the last two years cutting infrastructure teams. Now they’ll need to rebuild them. DevOps, Platform Engineering, SRE and Security Engineering could be heading for a massive hiring wave. Funny how the industry keeps finding new reasons to need infrastructure engineers. 😄
7
26
2
119
7,452
Everyone is going to migrate away from RSA-2048 to post quantum encryption New encryption standards mean new infrastructure, new architectures, new deployments, new testing and a massive amount of migration work. Companies spent the last two years cutting infrastructure teams. Now they’ll need to rebuild them. DevOps, Platform Engineering, SRE and Security Engineering could be heading for a massive hiring wave. Funny how the industry keeps finding new reasons to need infrastructure engineers. 😄
7
26
2
119
7,452
Akhilesh Mishra retweeted
Kubernetes users are ditching sidecars and quietly moving to eBPF-based tools. - Cilium and Calico for CNI. - Falco for runtime security. - Cilium for service mesh, without sidecars. But most people using them don't know what eBPF is or how it works. So here is the simple version. >> What is eBPF? It lets you run small, sandboxed programs inside the Linux kernel, without changing kernel code or loading kernel modules. >> How does it work? 1. You write a small program and compile it to eBPF bytecode 2. The kernel's verifier checks it. No infinite loops, no bad memory access. If it fails, it never loads 3. The JIT compiler turns it into native machine code 4. You attach it to an event: a network packet, a syscall, a function call 5. Every time the event fires, your program runs 6. It shares data with user space through maps That's the whole idea. Safe, fast, and right at the source. >> Why Kubernetes cares? > Networking: iptables checks rules one by one, so the cost grows with every Service you add. eBPF uses hash maps, so lookups stay fast. This is why Cilium can replace kube-proxy. > Security: Falco watches syscalls from inside the kernel. It sees which process opened which file, with no changes to your app. > Service mesh: sidecars add a proxy to every pod. Cilium handles much of the L3 and L4 work in the kernel instead, and uses a shared Envoy only when it needs L7. One kernel hook gives you networking, security and observability.
7
23
169
11,463
Kubernetes users are ditching sidecars and quietly moving to eBPF-based tools. - Cilium and Calico for CNI. - Falco for runtime security. - Cilium for service mesh, without sidecars. But most people using them don't know what eBPF is or how it works. So here is the simple version. >> What is eBPF? It lets you run small, sandboxed programs inside the Linux kernel, without changing kernel code or loading kernel modules. >> How does it work? 1. You write a small program and compile it to eBPF bytecode 2. The kernel's verifier checks it. No infinite loops, no bad memory access. If it fails, it never loads 3. The JIT compiler turns it into native machine code 4. You attach it to an event: a network packet, a syscall, a function call 5. Every time the event fires, your program runs 6. It shares data with user space through maps That's the whole idea. Safe, fast, and right at the source. >> Why Kubernetes cares? > Networking: iptables checks rules one by one, so the cost grows with every Service you add. eBPF uses hash maps, so lookups stay fast. This is why Cilium can replace kube-proxy. > Security: Falco watches syscalls from inside the kernel. It sees which process opened which file, with no changes to your app. > Service mesh: sidecars add a proxy to every pod. Cilium handles much of the L3 and L4 work in the kernel instead, and uses a shared Envoy only when it needs L7. One kernel hook gives you networking, security and observability.
7
23
169
11,463
Akhilesh Mishra retweeted
Linux is beautiful. Read this, and you will say the same. You start by logging in to a Linux VM for the first time and have no idea where anything is. Config, logs, apps, all scattered somewhere. So Linux gives you one tree. Everything starts from /. Configs live in /etc, logs in /var/log, user files in /home, programs in /usr/bin. Once you know the map, you can find anything. But the server has 5 people on it. Anyone can read your files, edit your scripts, or delete your folder by mistake. So you use users, groups, and permissions. Every file has an owner, a group, and read, write, execute bits. chmod and chown decide who can touch what. Permission denied is not an error; it is the system doing its job. You run a script and your terminal freezes. It takes 10 minutes and you cannot do anything else. So you learn processes. Every running program has a PID. Add & to run it in the background, ps to see it, kill to stop it. Linux is just processes started by other processes. But kill does not always work, because kill only sends a signal. SIGTERM asks the process to stop politely. SIGKILL ends it with no cleanup. Now you know why a database should never get kill -9 first. Your log file has 2 million lines and you only need the errors from the last hour. Opening it in an editor would hang your session. So you use pipes. Every command reads from stdin and writes to stdout. Chain them together: grep ERROR app.log | sort | uniq -c. Small tools, each doing one job, combined into something powerful. Now you need nginx. You download a tarball, compile it, and hunt for missing libraries for two hours. Then the next server needs the same thing. So you use a package manager. apt or yum installs the software with its dependencies, updates it, and removes it cleanly. One command, same result on every server. Your script has the database host hardcoded. It works on your machine and breaks on staging. You edit the file every time you switch environments. So you use environment variables. export DB_HOST=prod-db and the same script runs anywhere. Config lives outside the code. Every night at 2am you run a backup by hand. One night you forget, and that is the night the disk fails. So you use cron. A single line like 0 2 * * * /opt/backup.sh runs it every night, whether you remember or not. Finally, all of this lives on a server you reach with a password. Anyone who guesses it owns your machine. So you use SSH keys. A private key stays with you, the public key sits on the server. No password to guess, no password to leak. Files, permissions, processes, pipes, packages, variables, cron, keys. Learn these 8 and you can walk into any Linux box and feel at home. Which one took you the longest to understand?
11
41
3
280
12,829
Linux is beautiful. Read this, and you will say the same. You start by logging in to a Linux VM for the first time and have no idea where anything is. Config, logs, apps, all scattered somewhere. So Linux gives you one tree. Everything starts from /. Configs live in /etc, logs in /var/log, user files in /home, programs in /usr/bin. Once you know the map, you can find anything. But the server has 5 people on it. Anyone can read your files, edit your scripts, or delete your folder by mistake. So you use users, groups, and permissions. Every file has an owner, a group, and read, write, execute bits. chmod and chown decide who can touch what. Permission denied is not an error; it is the system doing its job. You run a script and your terminal freezes. It takes 10 minutes and you cannot do anything else. So you learn processes. Every running program has a PID. Add & to run it in the background, ps to see it, kill to stop it. Linux is just processes started by other processes. But kill does not always work, because kill only sends a signal. SIGTERM asks the process to stop politely. SIGKILL ends it with no cleanup. Now you know why a database should never get kill -9 first. Your log file has 2 million lines and you only need the errors from the last hour. Opening it in an editor would hang your session. So you use pipes. Every command reads from stdin and writes to stdout. Chain them together: grep ERROR app.log | sort | uniq -c. Small tools, each doing one job, combined into something powerful. Now you need nginx. You download a tarball, compile it, and hunt for missing libraries for two hours. Then the next server needs the same thing. So you use a package manager. apt or yum installs the software with its dependencies, updates it, and removes it cleanly. One command, same result on every server. Your script has the database host hardcoded. It works on your machine and breaks on staging. You edit the file every time you switch environments. So you use environment variables. export DB_HOST=prod-db and the same script runs anywhere. Config lives outside the code. Every night at 2am you run a backup by hand. One night you forget, and that is the night the disk fails. So you use cron. A single line like 0 2 * * * /opt/backup.sh runs it every night, whether you remember or not. Finally, all of this lives on a server you reach with a password. Anyone who guesses it owns your machine. So you use SSH keys. A private key stays with you, the public key sits on the server. No password to guess, no password to leak. Files, permissions, processes, pipes, packages, variables, cron, keys. Learn these 8 and you can walk into any Linux box and feel at home. Which one took you the longest to understand?
11
41
3
280
12,829
Akhilesh Mishra retweeted
🚨 BREAKING: Claude is coming to enterprise data centers. For the first time, companies can run Anthropic’s Claude models inside their own data centers, with AWS managing the setup. AWS and Anthropic just announced a major collaboration at AWS re:Invent. On-premises Claude: AWS will deploy and operate Claude inside customers’ data centers through AWS AI Factories. AWS Trainium + NVIDIA GPUs: Customers can run Claude on either platform. Nitro v7: Hardware-level isolation designed to protect prompts, outputs, and files from access by AWS and Anthropic. Amazon Bedrock: Claude will also be available through AWS Bedrock. Claude Managed Agents: Enterprises can build and run Claude-powered agents within their AWS environments. Until now, enterprises in banking, healthcare, and other regulated industries faced a difficult choice. They had to choose between adopting powerful frontier AI models or keeping sensitive data within their own infrastructure. Enterprise AI is moving beyond simply accessing models through APIs. The next battle will focus on where models run, who controls the infrastructure, and how securely enterprises deploy AI at scale. AWS brings the infrastructure. Anthropic brings Claude.
6
2
28
3,157
🚨 BREAKING: Claude is coming to enterprise data centers. For the first time, companies can run Anthropic’s Claude models inside their own data centers, with AWS managing the setup. AWS and Anthropic just announced a major collaboration at AWS re:Invent. On-premises Claude: AWS will deploy and operate Claude inside customers’ data centers through AWS AI Factories. AWS Trainium + NVIDIA GPUs: Customers can run Claude on either platform. Nitro v7: Hardware-level isolation designed to protect prompts, outputs, and files from access by AWS and Anthropic. Amazon Bedrock: Claude will also be available through AWS Bedrock. Claude Managed Agents: Enterprises can build and run Claude-powered agents within their AWS environments. Until now, enterprises in banking, healthcare, and other regulated industries faced a difficult choice. They had to choose between adopting powerful frontier AI models or keeping sensitive data within their own infrastructure. Enterprise AI is moving beyond simply accessing models through APIs. The next battle will focus on where models run, who controls the infrastructure, and how securely enterprises deploy AI at scale. AWS brings the infrastructure. Anthropic brings Claude.
6
2
28
3,157
Akhilesh Mishra retweeted
Production-ready containers aren't built on day one. They are built by applying a set of practices You write a 4-line Dockerfile on python:3.12. It works. Then you check the size. Over 1GB for 20MB of code. The rest is an OS you will never use. So you switch to a slim base image. Same Python, around 150MB. Everything you never needed is gone. You change one line of code, and Docker reinstalls every dependency. 6 minutes, every time. You copied your code before installing dependencies, so the cache never hits. So you order your layers. Requirements first, install, then code. 6 minutes become 20 seconds. COPY . . pulls in your .git folder, your venv, and your .env file with real credentials. Your secrets are now baked into an image in a registry. So you add a .dockerignore. Smaller context, better caching, no secrets copied in by accident. You install gcc to build psycopg2, then clean up in the next RUN line. The image doesn't shrink. Deleted files are still sitting in the earlier layer. So you use multi-stage builds. The builder stage has the compilers. The runtime stage gets only what it needs to run. The compiler never reaches production. Your container runs as root by default. One vulnerability, and the attacker is root inside your container. So you run as a non-root user and enforce runAsNonRoot in Kubernetes. A compromised app gets the permissions of a regular user. You pass a private registry token with ARG to install a package. Anyone who pulls the image can find it with docker history. So you use BuildKit secret mounts. The build gets the secret. The image never sees it. python:3.12-slim points to a new image next month. Your Dockerfile didn't change, but your image did, and you can't reproduce last month's build. So you pin your base image to a version or digest, and let Renovate bump it on purpose. Pinned images get old, and old images collect CVEs. Nobody notices until the audit. So you scan with Trivy in CI and fail the build on fixable criticals. CI runners start with an empty cache. Every build installs everything from scratch. So you use cache mounts and a registry cache. Fresh runners reuse layers instead of rebuilding them. Kubernetes sends SIGTERM during a rollout. Your app ignores it and gets killed mid-request. Shell-form CMD made /bin/sh PID 1, and the shell never passed the signal on. So you use exec form and handle SIGTERM properly. Rolling updates become boring, which is exactly what you want.
8
1
28
1,997
Production-ready containers aren't built on day one. They are built by applying a set of practices You write a 4-line Dockerfile on python:3.12. It works. Then you check the size. Over 1GB for 20MB of code. The rest is an OS you will never use. So you switch to a slim base image. Same Python, around 150MB. Everything you never needed is gone. You change one line of code, and Docker reinstalls every dependency. 6 minutes, every time. You copied your code before installing dependencies, so the cache never hits. So you order your layers. Requirements first, install, then code. 6 minutes become 20 seconds. COPY . . pulls in your .git folder, your venv, and your .env file with real credentials. Your secrets are now baked into an image in a registry. So you add a .dockerignore. Smaller context, better caching, no secrets copied in by accident. You install gcc to build psycopg2, then clean up in the next RUN line. The image doesn't shrink. Deleted files are still sitting in the earlier layer. So you use multi-stage builds. The builder stage has the compilers. The runtime stage gets only what it needs to run. The compiler never reaches production. Your container runs as root by default. One vulnerability, and the attacker is root inside your container. So you run as a non-root user and enforce runAsNonRoot in Kubernetes. A compromised app gets the permissions of a regular user. You pass a private registry token with ARG to install a package. Anyone who pulls the image can find it with docker history. So you use BuildKit secret mounts. The build gets the secret. The image never sees it. python:3.12-slim points to a new image next month. Your Dockerfile didn't change, but your image did, and you can't reproduce last month's build. So you pin your base image to a version or digest, and let Renovate bump it on purpose. Pinned images get old, and old images collect CVEs. Nobody notices until the audit. So you scan with Trivy in CI and fail the build on fixable criticals. CI runners start with an empty cache. Every build installs everything from scratch. So you use cache mounts and a registry cache. Fresh runners reuse layers instead of rebuilding them. Kubernetes sends SIGTERM during a rollout. Your app ignores it and gets killed mid-request. Shell-form CMD made /bin/sh PID 1, and the shell never passed the signal on. So you use exec form and handle SIGTERM properly. Rolling updates become boring, which is exactly what you want.
8
1
28
1,997
Akhilesh Mishra retweeted
Building production grade containers are easier than most people think. Read this article, you will thank me.
5
17
1,220
Building production grade containers are easier than most people think. Read this article, you will thank me.
5
17
1,220
Akhilesh Mishra retweeted
Docker best practices that you must use in productions
9
10
1
83
5,741
Akhilesh Mishra retweeted
When Interviewer asked you to write code live without AI and you haven’t written code in last 2 years
8
1
1
28
1,999