|
Hello Reader, This question is getting more popular fast, driven largely by companies worried about sending proprietary data to a model provider. In this edition, we will go over how to self-host it on Kubernetes. Good answer:
How the weights work: This part is just for your understanding. When you send a prompt, the tokenizer converts your text into tokens, and those tokens get pushed through every one of those weights to predict the next token. That process repeats for every single word the model generates. A CPU has a small number of powerful cores built for sequential tasks: application logic, branching, one thing after another. Running 80 billion weight calculations one at a time would take forever. A GPU has thousands of simpler cores built to do the same operation across massive amounts of data simultaneously. Gen AI inference is essentially matrix multiplication at scale, and that maps directly onto GPU parallelism. What a CPU works through step by step, a GPU processes in parallel, an order of magnitude faster. That is why model weights need a GPU (or a comparable chip like Inferentia) to run at any usable speed, and why GPU instances like Nvidia-based P4 and P5 exist as a distinct EC2 category from general purpose CPU instances like M series and C series. Delightful answer: Say the "Good answer" part and then, walk through the full stack.
The balance: Full self-hosting buys you security and control over your data. It costs you real operational complexity across every layer, from GPU provisioning to vector database management. You do not have to go all in either way. Plenty of teams mix and match:
As always, there is no one size fits all. You have to pick based on your organizations requirement, and knowledge base of the team. Keep learning and keep rocking 🚀, Raj P.S - If you want to get an AWS Solutions Architect job without coding or learning every AWS service, the 9th cohort for AWS SA Bootcamp is launching on Aug 1st, 12 PM ET (Eastern Time) via live workshop. This program now includes our updated Gen AI curriculum. Please register below:
Here’s what you get when you show up LIVE:
And good news - it already worked for last cohort's students who secured cloud jobs in top companies, including at AWS, Microsoft, Google, JPMorgan, Reddit, and some of them didn't even have cloud experience 💰. Spots are limited, so don't miss it! |
Free Cloud Interview Guide to crush your next interview. Plus, real-world answers for cloud interviews, and system design from a top AWS Solutions Architect.
Hello Reader, Are you thinking about becoming an AWS SA, and getting yourself a salary boost - maybe still in 2026? The demand for AWS Solutions Architects has never been higher, cloud computing already crossed $723 billion in 2025 and is projected to top $1 trillion by 2027, accelerated by AI (Source: Gartner). SA Bootcamp is developed to be the most direct and guided route to become a Solutions Architect and get a high paying cloud job fast, without wasting time doing it the hard way like...
Hello Reader, AWS released something this week that is going to confuse a lot of people. It is related to the Gen-AI Word of the Week: Harness. In this newsletter, we are going to go over what is Agent Harness and how this newly released Agent Core Harness is related to it or differs from it. And more importantly, how much should you learn about it for your interviews and real-world projects? What a harness actually is First let's understand what is an AI agent. Most people focus on the LLM...
Hello Reader, Back in my last company, we pushed a new release to production on a Friday afternoon. Full cutover! By Saturday morning, the ops team was scrambling because a subtle config issue was silently failing for 30% of users. We had no way to catch it before it hit everyone. That experience taught me something : the deployment strategy you choose is a risk management decision, not just a DevOps choice. Today, let's go over three deployment strategies that come up constantly in system...