[{"data":1,"prerenderedAt":318},["ShallowReactive",2],{"term-f\u002Ffargate":3,"related-f\u002Ffargate":292},{"id":4,"title":5,"acronym":6,"body":7,"category":270,"description":271,"difficulty":272,"extension":273,"letter":274,"meta":275,"navigation":276,"path":277,"related":278,"seo":286,"sitemap":287,"stem":290,"subcategory":6,"__hash__":291},"terms\u002Fterms\u002Ff\u002Ffargate.md","Fargate",null,{"type":8,"value":9,"toc":264},"minimark",[10,15,19,23,26,30,253,257,260],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"Fargate is AWS's 'serverless containers' magic. You run Docker containers without ever seeing or touching an EC2 server. AWS figures out where to run them. You just say 'run this container with 1 CPU and 2GB RAM' and it happens. No more EC2 instance babysitting.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"AWS Fargate is a serverless compute engine for containers that works with ECS and EKS. It eliminates the need to manage EC2 instances — you define CPU and memory requirements per task and Fargate provisions, scales, and patches the underlying infrastructure. Billed per vCPU and GB of RAM per second.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# ECS Fargate task definition snippet\n{\n  \"requiresCompatibilities\": [\"FARGATE\"],\n  \"networkMode\": \"awsvpc\",\n  \"cpu\": \"256\",\n  \"memory\": \"512\",\n  \"containerDefinitions\": [{\n    \"name\": \"my-app\",\n    \"image\": \"123456789.dkr.ecr.us-east-1.amazonaws.com\u002Fmy-app:latest\",\n    \"portMappings\": [{ \"containerPort\": 3000 }]\n  }]\n}\n","json","",[38,39,40,49,56,86,109,130,151,166,189,210,241,247],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sTEyZ","# ECS Fargate task definition snippet\n",[41,50,52],{"class":43,"line":51},2,[41,53,55],{"class":54},"sMK4o","{\n",[41,57,59,62,66,69,72,75,77,81,83],{"class":43,"line":58},3,[41,60,61],{"class":54},"  \"",[41,63,65],{"class":64},"spNyl","requiresCompatibilities",[41,67,68],{"class":54},"\"",[41,70,71],{"class":54},":",[41,73,74],{"class":54}," [",[41,76,68],{"class":54},[41,78,80],{"class":79},"sfazB","FARGATE",[41,82,68],{"class":54},[41,84,85],{"class":54},"],\n",[41,87,89,91,94,96,98,101,104,106],{"class":43,"line":88},4,[41,90,61],{"class":54},[41,92,93],{"class":64},"networkMode",[41,95,68],{"class":54},[41,97,71],{"class":54},[41,99,100],{"class":54}," \"",[41,102,103],{"class":79},"awsvpc",[41,105,68],{"class":54},[41,107,108],{"class":54},",\n",[41,110,112,114,117,119,121,123,126,128],{"class":43,"line":111},5,[41,113,61],{"class":54},[41,115,116],{"class":64},"cpu",[41,118,68],{"class":54},[41,120,71],{"class":54},[41,122,100],{"class":54},[41,124,125],{"class":79},"256",[41,127,68],{"class":54},[41,129,108],{"class":54},[41,131,133,135,138,140,142,144,147,149],{"class":43,"line":132},6,[41,134,61],{"class":54},[41,136,137],{"class":64},"memory",[41,139,68],{"class":54},[41,141,71],{"class":54},[41,143,100],{"class":54},[41,145,146],{"class":79},"512",[41,148,68],{"class":54},[41,150,108],{"class":54},[41,152,154,156,159,161,163],{"class":43,"line":153},7,[41,155,61],{"class":54},[41,157,158],{"class":64},"containerDefinitions",[41,160,68],{"class":54},[41,162,71],{"class":54},[41,164,165],{"class":54}," [{\n",[41,167,169,172,176,178,180,182,185,187],{"class":43,"line":168},8,[41,170,171],{"class":54},"    \"",[41,173,175],{"class":174},"sBMFI","name",[41,177,68],{"class":54},[41,179,71],{"class":54},[41,181,100],{"class":54},[41,183,184],{"class":79},"my-app",[41,186,68],{"class":54},[41,188,108],{"class":54},[41,190,192,194,197,199,201,203,206,208],{"class":43,"line":191},9,[41,193,171],{"class":54},[41,195,196],{"class":174},"image",[41,198,68],{"class":54},[41,200,71],{"class":54},[41,202,100],{"class":54},[41,204,205],{"class":79},"123456789.dkr.ecr.us-east-1.amazonaws.com\u002Fmy-app:latest",[41,207,68],{"class":54},[41,209,108],{"class":54},[41,211,213,215,218,220,222,225,227,231,233,235,238],{"class":43,"line":212},10,[41,214,171],{"class":54},[41,216,217],{"class":174},"portMappings",[41,219,68],{"class":54},[41,221,71],{"class":54},[41,223,224],{"class":54}," [{",[41,226,100],{"class":54},[41,228,230],{"class":229},"sbssI","containerPort",[41,232,68],{"class":54},[41,234,71],{"class":54},[41,236,237],{"class":229}," 3000",[41,239,240],{"class":54}," }]\n",[41,242,244],{"class":43,"line":243},11,[41,245,246],{"class":54},"  }]\n",[41,248,250],{"class":43,"line":249},12,[41,251,252],{"class":54},"}\n",[11,254,256],{"id":255},"when-youll-hear-this","When You'll Hear This",[16,258,259],{},"\"We switched to Fargate and stopped maintaining EC2 instances entirely.\" \u002F \"Fargate costs a bit more than EC2 but the ops savings are worth it.\"",[261,262,263],"style",{},"html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":265},[266,267,268,269],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":255,"depth":51,"text":256},"cloud","Fargate is AWS's 'serverless containers' magic. You run Docker containers without ever seeing or touching an EC2 server. AWS figures out where to run them.","intermediate","md","f",{},true,"\u002Fterms\u002Ff\u002Ffargate",[279,280,281,282,283,284,285],"AWS","ECS","EKS","Docker","Serverless","Container","EC2",{"title":5,"description":271},{"changefreq":288,"priority":289},"weekly",0.7,"terms\u002Ff\u002Ffargate","iucU5eg5L1I4fUwVJf01Gxaw_A92SRwGvIrTTaQ9nWc",[293,298,302,305,309,313],{"title":279,"path":294,"acronym":295,"category":270,"difficulty":296,"description":297},"\u002Fterms\u002Fa\u002Faws","Amazon Web Services","beginner","AWS is like a giant magical warehouse where you can rent computers, storage, databases, and basically anything tech-related — by the minute.",{"title":284,"path":299,"acronym":6,"category":300,"difficulty":296,"description":301},"\u002Fterms\u002Fc\u002Fcontainer","cicd","A container is a running instance of a Docker image — it's the lunchbox you made and actually opened to eat from.",{"title":282,"path":303,"acronym":6,"category":300,"difficulty":296,"description":304},"\u002Fterms\u002Fd\u002Fdocker","Docker is like a lunchbox for your app.",{"title":285,"path":306,"acronym":307,"category":270,"difficulty":272,"description":308},"\u002Fterms\u002Fe\u002Fec2","Elastic Compute Cloud","EC2 is AWS's way of renting you a virtual computer in the cloud. You pick how powerful it is, what OS it runs, and pay by the hour.",{"title":280,"path":310,"acronym":311,"category":270,"difficulty":272,"description":312},"\u002Fterms\u002Fe\u002Fecs","Elastic Container Service","ECS is AWS's system for running Docker containers at scale.",{"title":281,"path":314,"acronym":315,"category":270,"difficulty":316,"description":317},"\u002Fterms\u002Fe\u002Feks","Elastic Kubernetes Service","advanced","EKS is managed Kubernetes on AWS. Kubernetes is the industry-standard system for orchestrating containers, but setting it up yourself is famously painful.",1776518278994]