
Founder, LivingDevOps | AI Platform Engineer | Tech Storyteller DM/email for collab ( [email protected] )
Noida, India
Joined February 2023
- Tweets8.6K
- Following952
- Followers25.3K
- Likes8K
Akhilesh Mishra retweeted
Senior engineer without AI Vs Junior engineer with Claude, cursor and codex.
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. 😄
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.
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?
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.
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.
Akhilesh Mishra retweeted
When Interviewer asked you to write code live without AI and you haven’t written code in last 2 years
Akhilesh Mishra retweeted
AWS gives you a cloud. GCP gives you a managed cloud.
After years of working on both, I've come to believe those are two very different things.
>> AWS: you own the plumbing
When you create a Postgres database on AWS RDS, you make a lot of decisions before it ever runs:
> You choose the VPC it lives in
> You build a subnet group
> You write the security group rules
> You decide whether it should be publicly accessible
You can shape the network exactly the way your company needs.
and It's also how so many teams end up with a production database open to the entire internet on port 5432.
AWS will let you make that mistake.
>> GCP takes the opposite approach.
When you create a Cloud SQL instance with a private IP, the database doesn't actually sit inside your VPC.
It lives on a network managed by Google, and you simply get a private connection to it.
- No subnet group to create
- No security group to get wrong
- Even with a public IP, nothing can connect until you add authorized networks or go through the Cloud SQL Auth Proxy with IAM
- And you figure out how to either use PSA or PSA to connect to it.
On GCP, the safe path is usually the default path.
>> The same pattern, everywhere
> Networking
AWS VPC is regional, and you design subnets per availability zone. A GCP VPC is global from the start.
> Kubernetes
EKS gives you node groups and asks you to plan IP addresses for the VPC CNI. GKE Autopilot gives you a working cluster and bills you per pod.
> Containers
ECS means wiring up a load balancer, target groups, and task roles. Cloud Run just gives you a URL.
>> But "managed" comes with its own cost
None of this means GCP is simply better. Hidden networking is wonderful until the day you need to change it.
- Cloud SQL's private IP relies on VPC peering, and peering isn't transitive. Reaching that database from on-prem or another peered network takes extra work.
- You have to reserve IP ranges for Google's services up front. Choose badly, and you'll feel it later.
- When something breaks inside the managed layer, you can't look under the hood. You open a support ticket and wait.
On AWS, at least the mistakes you can see are your own.
>> To conclude
> AWS is a toolbox. It suits teams that understand networking and want full control.
> GCP is closer to a finished product. It suits teams that want to ship quickly and avoid expensive mistakes.
I'm curious: which cloud has burned you more? 👇
Akhilesh Mishra retweeted
I feel bad for folks who didn't switch during the Great Resignation because they were comfortable.
Now they can't switch because due to layoff panic.
They are highly underpaid and very scared to take risks
Akhilesh Mishra retweeted
LinkedIn is slowly becoming Facebook. Just with better grammar and more corporate vocabulary. 😂
I open LinkedIn to check industry updates, learn, explore opportunities and connect
But my feed looks like this these days:
- God stories and spiritual lessons.
- Pity stories about how life has been unfair.
- Gym pictures and workout transformations.
- Random motivational posters with recycled quotes.
- “5 things I miss about Italy” posts.
- Long rants about why the Ambanis are opening a cake shop.
- And, of course, stories about how someone turned a ₹100 failure into a billion-dollar life lesson.
I’m not saying these stories are bad.
People should be free to share what they want. And personal stories can be inspiring.
But somewhere along the way, we seem to have forgotten why LinkedIn exists.
Where are the discussions about technology, engineering, business, leadership, industry trends and actual career opportunities?
And where are all those jobs people used to get via LinkedIn
Akhilesh Mishra retweeted
Planning to switch jobs in DevOps, SRE, Platform, or Cloud? Follow this hard-learned advice:
- Learn to explain your work with impact and the complexity you handled
- Learn to explain your decisions through tradeoffs
- Build examples of work you owned and saw through
- Learn system design and infra architecture patterns
- Get some exposure to building AI systems
- Kubernetes is now a mandatory skill, so go deep into it
- Linux & Networking fundamentals are not optional
- Be ready to write some code live
- Master behavioral questions.
Tools change. How you explain your thinking stays.
Akhilesh Mishra retweeted
𝗔𝗜 𝗲𝗻𝗴𝗶𝗻𝗲𝗲𝗿𝗶𝗻𝗴 𝗶𝘀 𝗷𝘂𝘀𝘁 𝟭𝟮 𝘁𝗲𝗿𝗺𝘀. 𝗟𝗲𝗮𝗿𝗻 𝘁𝗵𝗲𝗺 𝗶𝗻 𝘁𝗵𝗶𝘀 𝗼𝗿𝗱𝗲𝗿 𝗮𝗻𝗱 𝗲𝘃𝗲𝗿𝘆𝘁𝗵𝗶𝗻𝗴 𝗰𝗹𝗶𝗰𝗸𝘀.
1: 𝗠𝗼𝗱𝗲𝗹
The brain. It predicts the next piece of text, over and over. Claude, GPT and Llama are all models.
2: 𝗧𝗼𝗸𝗲𝗻
The unit it reads. A word or a piece of one. You pay by the token, and speed and limits are counted in tokens too.
3: 𝗖𝗼𝗻𝘁𝗲𝘅𝘁 𝘄𝗶𝗻𝗱𝗼𝘄
How much text the model can see at once. Anything outside it does not exist for the model.
4: 𝗣𝗿𝗼𝗺𝗽𝘁
Everything you send in. The question, the rules, the examples. A good prompt is the cheapest way to improve answers.
5: 𝗘𝗺𝗯𝗲𝗱𝗱𝗶𝗻𝗴
Text turned into numbers that capture meaning. Similar ideas land close together, so you can search by meaning.
6:𝗥𝗔𝗚
Search your own documents first, then hand the best parts to the model. It turns a memory test into an open-book exam.
7: 𝗧𝗼𝗼𝗹𝘀 𝗮𝗻𝗱 𝗠𝗖𝗣
Tools let the model do things, like query a database or open a ticket. MCP is the standard plug, so you connect each tool once.
8: 𝗔𝗴𝗲𝗻𝘁
A model that uses tools in a loop until the job is done. Not a chatbot. A chatbot talks, an agent acts.
9: 𝗘𝘃𝗮𝗹𝘀
Tests for AI. Real questions with known good answers, run on every change, so you stop shipping on hope.
10: 𝗚𝘂𝗮𝗿𝗱𝗿𝗮𝗶𝗹𝘀
Checks before and after the model. They block attacks, hide private data and limit what an agent can touch.
11: 𝗢𝗯𝘀𝗲𝗿𝘃𝗮𝗯𝗶𝗹𝗶𝘁𝘆
A record of every step: what was searched, what was sent, what it cost. This is how you debug a wrong answer.
12: 𝗟𝗟𝗠𝗢𝗽𝘀
Running all of this like real software. Version it, test it, watch the bill, have a rollback plan.
Akhilesh Mishra retweeted
Dear interviewers in India,
Please take these suggestions:
- Turn on your camera. No one likes talking to a black screen.
- Join on time. If you must reschedule, tell the candidate before the call, not after they wait 20 minutes.
- Conduct interviews as discussions, not interrogations.
- Ask questions that match the job description and the candidate's level. A senior engineer should not get textbook definitions.
- Don't polish your ego by treating candidates badly.
- Keep the process to 3 or 4 rounds. If you need 6 rounds to decide, the problem is your process.
- Pay for take-home work or keep it small. A 2-day assignment is free labour.
- Never ghost. A simple "we are moving ahead with someone else" takes 10 seconds.
- Share feedback within a week. Candidates juggle notice periods, family and other offers while they wait.
A candidate gives you hours of prep, a day off and a lot of hope. Give them respect and closure.
Every candidate you treat well becomes your best advertisement.
Akhilesh Mishra retweeted
Interviewer: "You have many AWS accounts. The client wants all internet egress to leave through one VPC, or through the on-prem network. How do you set it up?"
Both designs share one foundation, so I start there:
- I create a Transit Gateway in a central network account and share it with the whole AWS Organization through RAM.
- I attach every spoke VPC to it, using small dedicated subnets for the attachments.
- I keep separate TGW route tables for spokes and for the egress path. In each spoke VPC, the private subnet route tables send 0.0.0.0/0 to the TGW.
Option 1: Egress through one AWS VPC
- I build a central egress VPC in the network account with an Internet Gateway, NAT gateways and TGW attachment subnets.
- In the spoke TGW route table, I point 0.0.0.0/0 at the egress VPC attachment.
- Inside the egress VPC, the TGW subnets route 0.0.0.0/0 to the NAT gateway. The public subnets route 0.0.0.0/0 to the IGW and the spoke CIDRs back to the TGW. Without that return route, replies get dropped.
- If the client needs inspection, I place AWS Network Firewall (or GWLB appliances) between the TGW and the NAT. I also enable appliance mode on the attachment, so traffic stays symmetric across AZs.
- I run one NAT gateway per AZ, so traffic stays in its AZ and survives an AZ failure. The NAT Elastic IPs also give the client a small, fixed set of source IPs to allowlist.
Option 2: Egress through the on-prem network
- I connect on-prem to the TGW with Direct Connect, using a transit VIF and a Direct Connect gateway. I add Site-to-Site VPN as a backup path.
- I route 0.0.0.0/0 from the spoke TGW route table to the Direct Connect attachment, either with a static route or a default route from on-prem over BGP.
- The on-prem firewall needs return routes to the AWS CIDRs, and it must SNAT them to public IPs. The TGW advertises at most 20 prefixes to on-prem, so I summarize VPC CIDRs and keep every range non-overlapping.
- I order two Direct Connect links at separate locations and size them for all egress, because a VPN tunnel tops out at about 1.25 Gbps.
- AWS service traffic would also hairpin through on-prem, so I add VPC endpoints for S3, ECR and STS. That keeps it on the AWS network and cuts latency.
Both setup must have these Guardrails:
- I use an SCP to deny ec2:CreateInternetGateway, ec2:AttachInternetGateway and ec2:CreateNatGateway in workload accounts. Without it, someone will build a back door.
- I send flow logs and firewall logs to a central logging account.
- I build everything with Terraform, so every new account attaches to the TGW automatically.
>> If the client wants AWS-native control, fixed IPs and less latency, I pick Option 1.
>> If compliance requires inspection by the on-prem security stack, I pick Option 2 and accept the extra latency and Direct Connect dependency.
Akhilesh Mishra retweeted
Your model was trained on 2025 data. How do you make it aware of 2026?
Most people answer: "Retrain it." That's usually the wrong answer.
The model has a knowledge cutoff.
A model's weights encode patterns learned from its training data. Once training is complete, those weights don't automatically change when new information becomes available.
So, how do you give it new knowledge?
You don't update its memory. You give it fresh information when it needs to answer a question.
There are several ways to do this, but each comes with trade-offs.
1. Web search and tool calls
> The model fetches live information before answering.
> Trade-off: Always fresh, but slower, and only as good as the sources it finds.
2. RAG (Retrieval-Augmented Generation)
> Store your documents in a vector database, retrieve the relevant pieces, and add them to the prompt for each query.
> Trade-off: Great for private data, but you now own a retrieval pipeline. Bad chunking leads to bad answers, and if you don't re-embed updated documents, your index becomes stale.
3. Long context
> Pass the whole document directly into the prompt.
> Trade-off: Simple, but cost grows with every token, and too much irrelevant text can distract the model.
4. MCP connectors
> Give the model governed access to private systems like Gmail, Drive, Slack, or your databases.
> Trade-off: Powerful, but permissions, security, and access control need careful design.
5. Memory
> Store facts from past conversations and inject them when relevant. It's retrieval, just scoped to the user or agent.
> Trade-off: Makes the system feel current and personal, but stored facts can go out of date or be wrong.
6. Fine-tuning
> Further train an existing model on your own data.
> Trade-off: Great for style and behavior, but poor at reliably injecting facts. It can leave the model confidently wrong, and when your facts change, you're paying to train again.
My take: RAG and tool calling for knowledge. Fine-tuning for behavior.
You don't need to give the model everything. You need to give it the right information at the right time


















