[{"data":1,"prerenderedAt":187},["ShallowReactive",2],{"term-e\u002Fecs":3,"related-e\u002Fecs":162},{"id":4,"title":5,"acronym":6,"body":7,"category":139,"description":140,"difficulty":141,"extension":142,"letter":143,"meta":144,"navigation":145,"path":146,"related":147,"seo":155,"sitemap":156,"stem":159,"subcategory":160,"__hash__":161},"terms\u002Fterms\u002Fe\u002Fecs.md","ECS","Elastic Container Service",{"type":8,"value":9,"toc":133},"minimark",[10,15,19,23,26,30,122,126,129],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"ECS is AWS's system for running Docker containers at scale. You tell it 'run 10 copies of this container' and it figures out which EC2 machines to put them on, restarts them if they crash, and scales them up or down as needed. It's Kubernetes-lite, managed by Amazon.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"Amazon ECS is a fully managed container orchestration service for running Docker containers on AWS. It supports two launch types: EC2 (you manage the instances) and Fargate (serverless — AWS manages the compute). Integrates with ALB, IAM, CloudWatch, and Service Discovery.",[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-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Deploy a new ECS task definition and update the service\naws ecs register-task-definition --cli-input-json file:\u002F\u002Ftask-def.json\naws ecs update-service \\\n  --cluster my-cluster \\\n  --service my-service \\\n  --task-definition my-task:42 \\\n  --force-new-deployment\n","bash","",[38,39,40,49,69,83,94,105,116],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# Deploy a new ECS task definition and update the service\n",[41,50,52,56,60,63,66],{"class":43,"line":51},2,[41,53,55],{"class":54},"sBMFI","aws",[41,57,59],{"class":58},"sfazB"," ecs",[41,61,62],{"class":58}," register-task-definition",[41,64,65],{"class":58}," --cli-input-json",[41,67,68],{"class":58}," file:\u002F\u002Ftask-def.json\n",[41,70,72,74,76,79],{"class":43,"line":71},3,[41,73,55],{"class":54},[41,75,59],{"class":58},[41,77,78],{"class":58}," update-service",[41,80,82],{"class":81},"sTEyZ"," \\\n",[41,84,86,89,92],{"class":43,"line":85},4,[41,87,88],{"class":58},"  --cluster",[41,90,91],{"class":58}," my-cluster",[41,93,82],{"class":81},[41,95,97,100,103],{"class":43,"line":96},5,[41,98,99],{"class":58},"  --service",[41,101,102],{"class":58}," my-service",[41,104,82],{"class":81},[41,106,108,111,114],{"class":43,"line":107},6,[41,109,110],{"class":58},"  --task-definition",[41,112,113],{"class":58}," my-task:42",[41,115,82],{"class":81},[41,117,119],{"class":43,"line":118},7,[41,120,121],{"class":58},"  --force-new-deployment\n",[11,123,125],{"id":124},"when-youll-hear-this","When You'll Hear This",[16,127,128],{},"\"We run all our microservices on ECS with Fargate.\" \u002F \"ECS rolls out new containers with zero downtime.\"",[130,131,132],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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":134},[135,136,137,138],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":124,"depth":51,"text":125},"cloud","ECS is AWS's system for running Docker containers at scale.","intermediate","md","e",{},true,"\u002Fterms\u002Fe\u002Fecs",[148,149,150,151,152,153,154],"AWS","EKS","Fargate","Docker","EC2","Container","Kubernetes",{"title":5,"description":140},{"changefreq":157,"priority":158},"weekly",0.7,"terms\u002Fe\u002Fecs",null,"0Bnor-shXjyE27L5v4sL6BFwzhfNgN3gib_KGSKH_4A",[163,168,172,175,179,184],{"title":148,"path":164,"acronym":165,"category":139,"difficulty":166,"description":167},"\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":153,"path":169,"acronym":160,"category":170,"difficulty":166,"description":171},"\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":151,"path":173,"acronym":160,"category":170,"difficulty":166,"description":174},"\u002Fterms\u002Fd\u002Fdocker","Docker is like a lunchbox for your app.",{"title":152,"path":176,"acronym":177,"category":139,"difficulty":141,"description":178},"\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":149,"path":180,"acronym":181,"category":139,"difficulty":182,"description":183},"\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.",{"title":150,"path":185,"acronym":160,"category":139,"difficulty":141,"description":186},"\u002Fterms\u002Ff\u002Ffargate","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.",1776518275916]