[{"data":1,"prerenderedAt":1191},["ShallowReactive",2],{"/blog/autoscale-ci-runners":3,"navigation-en-us":441,"banner-en-us":877,"footer-en-us":885,"blog-post-authors-en-us-Max Woolf":1131,"blog-related-posts-en-us-autoscale-ci-runners":1146,"blog-share-wrapper-en-us":1171,"next-steps-en-us":1181},{"id":4,"title":5,"authors":6,"body":8,"category":411,"date":412,"description":413,"extension":414,"externalUrl":415,"faq":415,"featured":416,"heroImage":417,"hidePromo":416,"meta":418,"navigation":428,"path":429,"seo":430,"slug":434,"stem":435,"tags":436,"template":439,"updatedDate":415,"__hash__":440},"blogPosts/en-us/blog/autoscale-ci-runners.md","Autoscale GitLab CI/CD runners and save 90% on EC2 costs",[7],"Max Woolf",{"type":9,"value":10,"toc":403},"minimark",[11,27,40,43,52,57,63,71,75,78,115,134,139,146,150,153,225,228,232,239,247,253,256,262,265,271,274,300,306,309,315,318,324,327,333,336,340,343,348,354,357,362,373,377,380,390,399],[12,13,14,15,21,22,26],"p",{},"At ",[16,17,20],"a",{"href":18,"rel":19},"https://substrakthealth.com/",[],"Substrakt Health",", we use continuous integration workers to test our software every time new code is written and pushed, but that computing capacity can be expensive and hard to predict. This tutorial shows you how to set up an autoscaling ",[16,23,25],{"href":24},"/topics/ci-cd/","cluster of GitLab CI/CD"," runners using docker-machine and AWS.",[12,28,29,30,34,35,39],{},"Code quality is ",[31,32,33],"strong",{},"always"," a top priority for us. We want to know that our code works every time and when it stops working we want to know immediately. We use ",[16,36,38],{"href":37},"/solutions/continuous-integration/","GitLab CI/CD"," to run our tests every time we push new code and before every deployment. GitLab CI/CD lets us split this work across multiple servers and scale up and down capacity as required to keep costs down for us. This tutorial will show you how to set up an autoscaling CI/CD cluster for GitLab and save up to 90 percent on costs using AWS EC2 Spot Instances.",[12,41,42],{},"GitLab CI/CD allows us to split our jobs across multiple machines. By default, each new worker node requires some setup work to provision and attach it to our GitLab instance, but we can also use the autoscaling mode to provision a single machine and let that machine decide how much capacity is required and then spin up or down further instances as required.",[44,45,46],"blockquote",{},[12,47,48,51],{},[31,49,50],{},"A warning",": This tutorial will not be covered entirely by the AWS free usage tier. It’s going to cost money to try this out.",[53,54,56],"h2",{"id":55},"creating-the-spawner","Creating the spawner",[12,58,59,60],{},"First off, we need a spawner machine. This runs 24/7 and checks that GitLab CI/CD has enough capacity to run the jobs currently in the queue. ",[31,61,62],{},"It doesn’t run any jobs itself.",[12,64,65,66,70],{},"We use Ubuntu 16.04 LTS for our internal tooling, so just create an EC2 instance (",[67,68,69],"em",{},"t2.micro"," is enough and is included in the free tier.) Setting up VPCs and related subnets is out of the scope of this article, we’ll assume that you’re working in the default VPC. Then we need to install a bunch of software on our machine to set it up.",[53,72,74],{"id":73},"installing-gitlab-runner","Installing gitlab-runner",[12,76,77],{},"gitlab-runner is the main software we need to complete this task. Installing it on Ubuntu is really easy.",[79,80,85],"pre",{"className":81,"code":82,"language":83,"meta":84,"style":84},"language-shell shiki shiki-themes github-light","curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.deb.sh | sudo bash\n","shell","",[86,87,88],"code",{"__ignoreMap":84},[89,90,93,97,101,105,109,112],"span",{"class":91,"line":92},"line",1,[89,94,96],{"class":95},"s7eDp","curl",[89,98,100],{"class":99},"sYu0t"," -L",[89,102,104],{"class":103},"sYBdl"," https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.deb.sh",[89,106,108],{"class":107},"sD7c4"," |",[89,110,111],{"class":95}," sudo",[89,113,114],{"class":103}," bash\n",[79,116,118],{"className":81,"code":117,"language":83,"meta":84,"style":84},"sudo apt-get install gitlab-ci-multi-runner\n",[86,119,120],{"__ignoreMap":84},[89,121,122,125,128,131],{"class":91,"line":92},[89,123,124],{"class":95},"sudo",[89,126,127],{"class":103}," apt-get",[89,129,130],{"class":103}," install",[89,132,133],{"class":103}," gitlab-ci-multi-runner\n",[135,136],"img",{"src":137,"alt":74,"style":138},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1782397975/blog/Content%20Images/auto-scale-ci-runners-gif.gif","width: 700px;",[12,140,141,142,145],{},"Once you’ve done that, register the runner on your GitLab instance. Do this as you normally would with any other GitLab CI/CD runner but choose ",[31,143,144],{},"docker+machine"," as the runner. Docker Machine is the software required to spin up new virtual machines and install Docker on them.",[53,147,149],{"id":148},"installing-docker-machine","Installing Docker Machine",[12,151,152],{},"Docker Machine is a handy bit of software that allows one host running Docker to spin up and provision other machines running Docker. Installing it is even easier:",[79,154,156],{"className":81,"code":155,"language":83,"meta":84,"style":84},"curl -L https://github.com/docker/machine/releases/download/v0.12.2/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine &&\nchmod +x /tmp/docker-machine &&\nsudo cp /tmp/docker-machine /usr/local/bin/docker-machine\n",[86,157,158,198,212],{"__ignoreMap":84},[89,159,160,162,164,167,170,173,176,179,181,183,186,188,191,194],{"class":91,"line":92},[89,161,96],{"class":95},[89,163,100],{"class":99},[89,165,166],{"class":103}," https://github.com/docker/machine/releases/download/v0.12.2/docker-machine-`",[89,168,169],{"class":95},"uname",[89,171,172],{"class":99}," -s",[89,174,175],{"class":103},"`",[89,177,178],{"class":95},"-",[89,180,175],{"class":103},[89,182,169],{"class":95},[89,184,185],{"class":99}," -m",[89,187,175],{"class":103},[89,189,190],{"class":107}," >",[89,192,193],{"class":95},"/tmp/docker-machine",[89,195,197],{"class":196},"sgsFI"," &&\n",[89,199,201,204,207,210],{"class":91,"line":200},2,[89,202,203],{"class":95},"chmod",[89,205,206],{"class":103}," +x",[89,208,209],{"class":103}," /tmp/docker-machine",[89,211,197],{"class":196},[89,213,215,217,220,222],{"class":91,"line":214},3,[89,216,124],{"class":95},[89,218,219],{"class":103}," cp",[89,221,209],{"class":103},[89,223,224],{"class":103}," /usr/local/bin/docker-machine\n",[12,226,227],{},"This will install the docker-machine binary in your PATH.",[53,229,231],{"id":230},"configuring-gitlab-runner","Configuring gitlab-runner",[12,233,234,235,238],{},"By default, gitlab-runner will not work in the autoscaling mode we want. It’ll just run a job by default and then stop. We want to configure this machine to no longer run tests but to spin up new Docker Machines as and when necessary. Open your gitlab-runner config file, usually found in ",[86,236,237],{},"/etc/gitlab-runner/config.toml"," and make some changes. This is our example (with sensitive information removed). Let’s go through some of the important lines.",[79,240,245],{"className":241,"code":243,"language":244,"meta":84},[242],"language-text","concurrent = 12\ncheck_interval = 0\n\n[[runners]]\n  name = \"aws-gitlab-runner-spawner\"\n  limit = 6\n  url = \"https://git.substrakt.com/ci\"\n  token = \"xxxxx\"\n  executor = \"docker+machine\"\n  [runners.docker]\n    tls_verify = false\n    image = \"ruby:2.3.1\"\n    privileged = true\n    disable_cache = false\n    volumes = [\"/cache\"]\n    shm_size = 0\n  [runners.machine]\n    IdleCount = 0\n    MachineDriver = \"amazonec2\"\n    MachineName = \"runner-%s\"\n    MachineOptions = [\"amazonec2-access-key=XXXX\", \"amazonec2-secret-key=XXXX\", \"amazonec2-ssh-user=ubuntu\", \"amazonec2-region=eu-west-2\", \"amazonec2-instance-type=m4.xlarge\", \"amazonec2-ami=ami-996372fd\", \"amazonec2-vpc-id=vpc-xxxxx\", \"amazonec2-subnet-id=subnet-xxxxx\", \"amazonec2-zone=a\", \"amazonec2-root-size=32\", \"amazonec2-request-spot-instance=true\", \"amazonec2-spot-price=0.03\"]\n    IdleTime = 1800\n\n","text",[86,246,243],{"__ignoreMap":84},[79,248,251],{"className":249,"code":250,"language":244,"meta":84},[242],"concurrent = 12\n",[86,252,250],{"__ignoreMap":84},[12,254,255],{},"This tells GitLab CI/CD that in total, it should attempt to run 12 jobs simultaneously across all child workers.",[79,257,260],{"className":258,"code":259,"language":244,"meta":84},[242],"limit = 6\n",[86,261,259],{"__ignoreMap":84},[12,263,264],{},"This tells GitLab CI/CD that in total, it should use for running jobs a maximum of six worker nodes. You’ll need to tweak this value depending on the resources your jobs need and the resources of your child nodes. There’s no right answer here but generally we found it wasn’t a good idea to have more than the number of CPUs – 1 of jobs running per node but again this is a bit of a ‘finger-in-the-air’ calculation as it really depends on your tech stack.",[79,266,269],{"className":267,"code":268,"language":244,"meta":84},[242],"IdleCount = 0\n",[86,270,268],{"__ignoreMap":84},[12,272,273],{},"This tells GitLab CI/CD not to run any machines constantly (whilst idle). This means when nobody is running a job, or no jobs are queued to spin down all of the worker nodes after an amount of time (IdleTime at the bottom of the file). We power our nodes down after half an hour of no use. This does have the consequence of there being a short wait when we start our day, but it saves us money as we’re not using computing power when it’s not required.",[12,275,276,277,280,281,284,285,288,289,280,294,299],{},"If you're interested in more about how ",[86,278,279],{},"concurrent",", ",[86,282,283],{},"limit"," and ",[86,286,287],{},"IdleCount"," are defining the maximum number of jobs and nodes that will be used, you can find a more detailed description in Runner's autoscale configuration document: ",[16,290,293],{"href":291,"rel":292},"https://docs.gitlab.com/runner/configuration/autoscale/#autoscaling-algorithm-and-parameters",[],"Autoscaling algorithm and parameters",[16,295,298],{"href":296,"rel":297},"https://docs.gitlab.com/runner/configuration/autoscale/#how-concurrent-limit-and-idlecount-generate-the-upper-limit-of-running-machines",[],"How parameters generate the upper limit of running machines",".",[79,301,304],{"className":302,"code":303,"language":244,"meta":84},[242],"MachineOptions = [\"amazonec2-access-key=XXXX\", \"amazonec2-secret-key=XXXX\", \"amazonec2-ssh-user=ubuntu\", \"amazonec2-region=eu-west-2\", \"amazonec2-instance-type=m4.xlarge\", \"amazonec2-ami=ami-996372fd\", \"amazonec2-vpc-id=vpc-xxxxx\", \"amazonec2-subnet-id=subnet-xxxxx\", \"amazonec2-zone=a\", \"amazonec2-root-size=32\", \"amazonec2-request-spot-instance=true\", \"amazonec2-spot-price=0.03\"]\n",[86,305,303],{"__ignoreMap":84},[12,307,308],{},"This is where the magic happens. This is where we set our options for Docker Machine. It defines the size, type and price of our runners. I’ll run through each of the non-obvious options.",[79,310,313],{"className":311,"code":312,"language":244,"meta":84},[242],"amazonec2-vpc-id=vpc-xxxxx & amazonec2-subnet-id=subnet-xxxxx\n",[86,314,312],{"__ignoreMap":84},[12,316,317],{},"This is the VPC and associated subnet ID. Generally, you’d want this in your default VPC in a public subnet. We run our jobs in a private VPC with internal peering connections to other VPCs due to regulatory constraints.",[79,319,322],{"className":320,"code":321,"language":244,"meta":84},[242],"amazonec2-region=eu-west-2\n",[86,323,321],{"__ignoreMap":84},[12,325,326],{},"This is the AWS region. We run all of our infrastructure in the EU (London) region.",[79,328,331],{"className":329,"code":330,"language":244,"meta":84},[242],"amazonec2-instance-type=m4.xlarge\n",[86,332,330],{"__ignoreMap":84},[12,334,335],{},"This is the size of the instance we want for each of our runners. This setting can have massive implications on cost and it can be a tricky balancing act. Choose too small and your jobs take forever to run due to a lack of resources (more time = more money) but choose too large and you have unused compute capacity which costs you money you don’t need to spend. Again, there’s no right answer here, it’s about what works for your workload. We found m4.xlarge works for us.",[53,337,339],{"id":338},"save-up-to-90-percent-on-ec2-costs-using-spot-instances","Save up to 90 percent on EC2 costs using Spot Instances",[12,341,342],{},"Spot Instances are magic. They allow us to bid for unused capacity in the AWS infrastructure and often can mean that EC2 costs can be dramatically lower. We’re currently seeing discounts of around 85 percent on our EC2 bills due to using Spot Instances. Setting them up for use on GitLab CI/CD is really easy too. There is (of course) a downside. If our bid price for VMs is exceeded, then our instances shut down with only a few minutes notice. But as long as our bid is high enough, this isn’t an issue. Pricing in the spot market is insanely complex but in eu-west-2 at least, prices for m4.large and xlarge instances appear to have been static for months so a bid 10-20 percent higher than the current spot price appears to be a safe bet. Just keep your eyes peeled. The current spot price for an m4.xlarge instance is $0.026. We’ve set our maximum price at $0.03 to give us some wiggle room. At time of writing, the on-demand price is $0.232. The numbers speak for themselves.",[44,344,345],{},[12,346,347],{},"Note: Spot pricing can vary significantly between instance sizes, regions and even availability zones in the same region. This guide assumes that spot pricing won’t vary massively or that you’ve set a good buffer above the current spot price to avoid outages.",[79,349,352],{"className":350,"code":351,"language":244,"meta":84},[242],"amazonec2-request-spot-instance=true & amazonec2-spot-price=0.03\n",[86,353,351],{"__ignoreMap":84},[12,355,356],{},"This tells GitLab CI/CD that instead of just spawning new EC2 instances at full price, that it should request Spot Instances at the current spot price, setting a maximum bid that it should not exceed per hour, in USD (regardless of what currency you’re billed in. We’re billed in GBP, but Spot Instances are still calculated in USD.) The maximum bid is whatever you’re comfortable paying. We tend to set it close to the on-demand price because we’re looking for any discount. As long as we’re not paying more than we otherwise would, it’s fine with us. Your financial constraints may affect your decisions differently.",[44,358,359],{},[12,360,361],{},"Update: From October, AWS will charge in seconds, rather than hours used, making the potential savings even higher for unused partial hours.",[12,363,364,365,368,369,372],{},"We’d love to see how you get along with this so please let us know. You can contact me max ",[89,366,367],{},"at"," substrakthealth ",[89,370,371],{},"dot"," com. For us, it’s saved us time and money and that’s never a bad thing.",[53,374,376],{"id":375},"about-the-guest-author","About the Guest Author",[12,378,379],{},"Max Woolf is a Senior Developer at Substrakt Health. Based in the UK, they use innovative technology to transform how primary care providers organize and deliver care to patients in a sustainable NHS.",[12,381,382],{},[67,383,384,389],{},[16,385,388],{"href":386,"rel":387},"https://substrakthealth.com/autoscale-gitlab-ci-runners-and-save-90-on-ec2-costs/",[],"Autoscale GitLab CI runners and save 90% on EC2 costs"," was originally published on Substrakt Health's blog.",[12,391,392,393,398],{},"Cover image by ",[16,394,397],{"href":395,"rel":396},"https://unsplash.com/@sgabriel",[],"Sebastien Gabriel"," on Unsplash",[400,401,402],"style",{},"html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html pre.shiki code .sD7c4, html code.shiki .sD7c4{--shiki-default:#D73A49}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 pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}",{"title":84,"searchDepth":200,"depth":200,"links":404},[405,406,407,408,409,410],{"id":55,"depth":200,"text":56},{"id":73,"depth":200,"text":74},{"id":148,"depth":200,"text":149},{"id":230,"depth":200,"text":231},{"id":338,"depth":200,"text":339},{"id":375,"depth":200,"text":376},"engineering","2017-11-23","Guest author Max Woolf shows how his team makes big savings with an autoscaling cluster of GitLab CI/CD runners.","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749680305/Blog/Hero%20Images/autoscale-gitlab-ci-runners.jpg",{"excerpt":419},{"type":9,"value":420},[421],[12,422,14,423,21,426,26],{},[16,424,20],{"href":18,"rel":425},[],[16,427,25],{"href":24},true,"/en-us/blog/autoscale-ci-runners",{"title":5,"description":413,"ogTitle":5,"ogDescription":413,"noIndex":416,"ogImage":417,"ogUrl":431,"ogSiteName":432,"ogType":433,"canonicalUrls":431},"https://about.gitlab.com/blog/autoscale-ci-runners","https://about.gitlab.com","article","autoscale-ci-runners","en-us/blog/autoscale-ci-runners",[437,438],"user stories","CI/CD","BlogPost","0rkutZgjiQeYGD_mWC_ukYzTASsACc_d7xbEzgoIhpg",{"logo":442,"freeTrial":447,"sales":452,"login":457,"items":462,"search":796,"minimal":828,"duo":847,"switchNav":856,"pricingDeployment":867},{"config":443},{"href":444,"dataGaName":445,"dataGaLocation":446},"/","gitlab logo","header",{"text":448,"config":449},"Get free trial",{"href":450,"dataGaName":451,"dataGaLocation":446},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":453,"config":454},"Request a demo",{"href":455,"dataGaName":456,"dataGaLocation":446},"/request-a-demo/","sales",{"text":458,"config":459},"Sign in",{"href":460,"dataGaName":461,"dataGaLocation":446},"https://gitlab.com/users/sign_in/","sign in",[463,547,635,640,720,774],{"text":464,"left":428,"config":465,"menu":467},"Platform",{"dataNavLevelOne":466},"platform",{"type":468,"link":469,"columns":473,"feature":536},"lists",{"text":470,"config":471},"Explore the Platform",{"href":472,"dataGaName":466,"dataGaLocation":446},"/platform/",[474,495,518],{"title":475,"items":476},"DevOps",[477,480,485,490],{"text":438,"config":478},{"href":37,"dataGaLocation":446,"dataGaName":479},"ci/cd",{"text":481,"config":482},"Source Code Management",{"href":483,"dataGaLocation":446,"dataGaName":484},"/solutions/source-code-management/","source code management",{"text":486,"config":487},"Agile Delivery",{"href":488,"dataGaLocation":446,"dataGaName":489},"/solutions/agile-delivery/","agile delivery",{"text":491,"config":492},"Artifact Management",{"href":493,"dataGaLocation":446,"dataGaName":494},"/artifact-central/","artifact management",{"title":496,"items":497},"Security & Governance",[498,503,508,513],{"text":499,"config":500},"Application Security Testing",{"href":501,"dataGaLocation":446,"dataGaName":502},"/solutions/application-security-testing/","application security testing",{"text":504,"config":505},"Governance & Compliance",{"href":506,"dataGaLocation":446,"dataGaName":507},"/solutions/software-compliance/","governance and compliance",{"text":509,"config":510},"Secrets Management",{"href":511,"dataGaLocation":446,"dataGaName":512},"/gitlab-secrets-manager/","secrets management",{"text":514,"config":515},"Supply Chain Security",{"href":516,"dataGaLocation":446,"dataGaName":517},"/solutions/supply-chain/","supply chain security",{"title":519,"items":520},"Agentic AI & Context",[521,526,531],{"text":522,"config":523},"Duo Agent Platform",{"href":524,"dataGaLocation":446,"dataGaName":525},"/gitlab-duo-agent-platform/","duo agent platform",{"text":527,"config":528},"Orbit Context Graph",{"href":529,"dataGaLocation":446,"dataGaName":530},"/gitlab-orbit/","orbit",{"text":532,"config":533},"Visibility & Measurement",{"href":534,"dataGaLocation":446,"dataGaName":535},"/solutions/visibility-measurement/","visibility and measurement",{"config":537,"title":540,"text":541,"link":542},{"background":538,"textColor":539},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1790185102/o7dn32anqcb6z8dgd3as.jpg')","#000","GitLab Orbit is generally available","Higher agent accuracy, lower token cost",{"text":543,"config":544},"Read the announcement",{"href":545,"dataGaName":546,"dataGaLocation":446},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":548,"left":428,"config":549,"menu":551},"Solutions",{"dataNavLevelOne":550},"solutions",{"type":468,"link":552,"columns":556,"feature":626},{"text":553,"config":554},"View all Solutions",{"href":555,"dataGaName":550,"dataGaLocation":446},"/solutions/",[557,575,593],{"title":558,"items":559},"Outcomes",[560,565,570],{"text":561,"config":562},"DevOps Modernization",{"href":563,"dataGaLocation":446,"dataGaName":564},"/assessments/devops-modernization-assessment/","devops modernization",{"text":566,"config":567},"Security Modernization",{"href":568,"dataGaLocation":446,"dataGaName":569},"/assessments/security-modernization-assessment/","security modernization",{"text":571,"config":572},"AI Modernization",{"href":573,"dataGaLocation":446,"dataGaName":574},"/assessments/ai-modernization-assessment/","ai modernization",{"title":576,"items":577},"By size",[578,583,588],{"text":579,"config":580},"Enterprise",{"href":581,"dataGaLocation":446,"dataGaName":582},"/enterprise/","enterprise",{"text":584,"config":585},"Small Business",{"href":586,"dataGaLocation":446,"dataGaName":587},"/small-business/","small business",{"text":589,"config":590},"Startups",{"href":591,"dataGaLocation":446,"dataGaName":592},"/solutions/startups/","startups",{"title":594,"items":595},"Industries",[596,601,606,611,616,621],{"text":597,"config":598},"Financial Services",{"href":599,"dataGaLocation":446,"dataGaName":600},"/solutions/finance/","financial services",{"text":602,"config":603},"Public Sector",{"href":604,"dataGaLocation":446,"dataGaName":605},"/solutions/public-sector/","public sector",{"text":607,"config":608},"Telecommunications",{"href":609,"dataGaLocation":446,"dataGaName":610},"/solutions/telecommunications/","telecommunications",{"text":612,"config":613},"Automotive",{"href":614,"dataGaLocation":446,"dataGaName":615},"/solutions/automotive/","automotive",{"text":617,"config":618},"Education",{"href":619,"dataGaLocation":446,"dataGaName":620},"/solutions/education/","education",{"text":622,"config":623},"Aerospace",{"href":624,"dataGaLocation":446,"dataGaName":625},"/solutions/aerospace/","aerospace",{"config":627,"title":628,"text":629,"link":630},{"background":538,"textColor":539},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":631,"config":632},"Explore the standard",{"href":633,"dataGaName":634,"dataGaLocation":446},"/gitlab-security-standard/","gitlab security standard",{"text":636,"config":637},"Pricing",{"href":638,"dataGaName":639,"dataGaLocation":446,"dataNavLevelOne":639},"/pricing/","pricing",{"text":641,"config":642,"menu":644},"Resources",{"dataNavLevelOne":643},"resources",{"type":468,"link":645,"columns":649,"feature":711},{"text":646,"config":647},"View all resources",{"href":648,"dataGaName":643,"dataGaLocation":446},"/resources/",[650,683],{"title":651,"items":652},"Discover",[653,658,663,668,673,678],{"text":654,"config":655},"Docs",{"href":656,"dataGaName":657,"dataGaLocation":446},"https://docs.gitlab.com/","docs",{"text":659,"config":660},"University",{"href":661,"dataGaName":662,"dataGaLocation":446},"https://university.gitlab.com/","university",{"text":664,"config":665},"Demo Series",{"href":666,"dataGaName":667,"dataGaLocation":446},"/gitlab-technical-demo-series/","demo series",{"text":669,"config":670},"Demo Hub",{"href":671,"dataGaName":672,"dataGaLocation":446},"/demo-hub/","demo hub",{"text":674,"config":675},"Services",{"href":676,"dataGaName":677,"dataGaLocation":446},"/services/","services",{"text":679,"config":680},"Well Architected",{"href":681,"dataGaName":682,"dataGaLocation":446},"/resources/well-architected/","well architected",{"title":684,"items":685},"Connect",[686,691,696,701,706],{"text":687,"config":688},"Blog",{"href":689,"dataGaName":690,"dataGaLocation":446},"/blog/","blog",{"text":692,"config":693},"Community",{"href":694,"dataGaName":695,"dataGaLocation":446},"/community/","community",{"text":697,"config":698},"Customers",{"href":699,"dataGaName":700,"dataGaLocation":446},"/customers/","customers",{"text":702,"config":703},"Partners",{"href":704,"dataGaName":705,"dataGaLocation":446},"/partners/","partners",{"text":707,"config":708},"Events",{"href":709,"dataGaName":710,"dataGaLocation":446},"/events/","events",{"config":712,"title":713,"text":714,"link":715},{"background":538,"textColor":539},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":716,"config":717},"Read the latest",{"href":718,"dataGaName":719,"dataGaLocation":446},"/whats-new/","whats new",{"text":721,"config":722,"menu":724},"Company",{"dataNavLevelOne":723},"company",{"type":468,"columns":725},[726],{"items":727},[728,733,739,744,749,754,759,764,769],{"text":729,"config":730},"About",{"href":731,"dataGaName":732,"dataGaLocation":446},"/company/","about",{"text":734,"config":735,"footerGa":738},"Jobs",{"href":736,"dataGaName":737,"dataGaLocation":446},"/jobs/","jobs",{"dataGaName":737},{"text":740,"config":741},"Press",{"href":742,"dataGaName":743,"dataGaLocation":446},"/press/","press",{"text":745,"config":746},"Handbook",{"href":747,"dataGaName":748,"dataGaLocation":446},"https://handbook.gitlab.com/","handbook",{"text":750,"config":751},"Leadership",{"href":752,"dataGaName":753,"dataGaLocation":446},"/company/team/e-group/","leadership",{"text":755,"config":756},"Investor relations",{"href":757,"dataGaName":758,"dataGaLocation":446},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":760,"config":761},"Trust Center",{"href":762,"dataGaName":763,"dataGaLocation":446},"/security/","trust center",{"text":765,"config":766},"AI Transparency Center",{"href":767,"dataGaName":768,"dataGaLocation":446},"/ai-transparency-center/","ai transparency center",{"text":770,"config":771},"Newsletter",{"href":772,"dataGaName":773,"dataGaLocation":446},"/company/contact/#contact-forms","newsletter",{"text":775,"config":776,"menu":777},"Contact us",{"dataNavLevelOne":723},{"type":468,"columns":778},[779],{"items":780},[781,786,791],{"text":782,"config":783},"Talk to sales",{"href":784,"dataGaName":785,"dataGaLocation":446},"/sales/","talk to sales",{"text":787,"config":788},"Support portal",{"href":789,"dataGaName":790,"dataGaLocation":446},"https://support.gitlab.com/hc/en-us","support portal",{"text":792,"config":793},"Customer portal",{"href":794,"dataGaName":795,"dataGaLocation":446},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":797,"login":798,"suggestions":805},"Close",{"text":799,"link":800},"To search repositories and projects, login to",{"text":801,"config":802},"gitlab.com",{"href":460,"dataGaName":803,"dataGaLocation":804},"search login","search",{"text":806,"default":807},"Suggestions",[808,811,814,816,820,824],{"text":809,"config":810},"GitLab Duo Agent Platform",{"href":524,"dataGaName":809,"dataGaLocation":804},{"text":812,"config":813},"Code Suggestions (AI)",{"href":524,"dataGaName":812,"dataGaLocation":804},{"text":438,"config":815},{"href":37,"dataGaName":438,"dataGaLocation":804},{"text":817,"config":818},"GitLab on AWS",{"href":819,"dataGaName":817,"dataGaLocation":804},"/partners/technology-partners/aws/",{"text":821,"config":822},"GitLab on Google Cloud",{"href":823,"dataGaName":821,"dataGaLocation":804},"/partners/technology-partners/google-cloud-platform/",{"text":825,"config":826},"Why GitLab?",{"href":827,"dataGaName":825,"dataGaLocation":804},"/why-gitlab/",{"freeTrial":829,"mobileIcon":834,"desktopIcon":839,"secondaryButton":842},{"text":830,"config":831},"Start free trial",{"href":832,"dataGaName":451,"dataGaLocation":833},"https://gitlab.com/-/trials/new/","nav",{"altText":835,"config":836},"Gitlab Icon",{"src":837,"dataGaName":838,"dataGaLocation":833},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":835,"config":840},{"src":841,"dataGaName":838,"dataGaLocation":833},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":843,"config":844},"Get Started",{"href":845,"dataGaName":846,"dataGaLocation":833},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":848,"mobileIcon":852,"desktopIcon":854},{"text":849,"config":850},"Learn more about GitLab Duo",{"href":524,"dataGaName":851,"dataGaLocation":833},"gitlab duo",{"altText":835,"config":853},{"src":837,"dataGaName":838,"dataGaLocation":833},{"altText":835,"config":855},{"src":841,"dataGaName":838,"dataGaLocation":833},{"button":857,"mobileIcon":862,"desktopIcon":864},{"text":858,"config":859},"/switch",{"href":860,"dataGaName":861,"dataGaLocation":833},"#contact","switch",{"altText":835,"config":863},{"src":837,"dataGaName":838,"dataGaLocation":833},{"altText":835,"config":865},{"src":866,"dataGaName":838,"dataGaLocation":833},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":868,"mobileIcon":873,"desktopIcon":875},{"text":869,"config":870},"Back to pricing",{"href":638,"dataGaName":871,"dataGaLocation":833,"icon":872},"back to pricing","GoBack",{"altText":835,"config":874},{"src":837,"dataGaName":838,"dataGaLocation":833},{"altText":835,"config":876},{"src":841,"dataGaName":838,"dataGaLocation":833},{"title":878,"button":879,"config":883},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":543,"config":880},{"href":545,"dataGaName":881,"dataGaLocation":882},"orbit-ga-banner","global-banner",{"layout":884,"disabled":416},"release",{"data":886},{"text":887,"config":888,"items":893,"minimal":1120},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":889,"facebook":890,"youtube":891,"linkedin":892},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[894,942,1000,1047,1088],{"title":636,"links":895,"subMenu":911},[896,901,906],{"text":897,"config":898},"View plans",{"href":638,"dataGaName":899,"dataGaLocation":900},"view plans","footer",{"text":902,"config":903},"Why Premium?",{"href":904,"dataGaName":905,"dataGaLocation":900},"/pricing/premium/","why premium",{"text":907,"config":908},"Why Ultimate?",{"href":909,"dataGaName":910,"dataGaLocation":900},"/pricing/ultimate/","why ultimate",[912],{"title":913,"links":914},"Contact Us",[915,918,920,922,927,932,937],{"text":916,"config":917},"Contact sales",{"href":784,"dataGaName":456,"dataGaLocation":900},{"text":787,"config":919},{"href":789,"dataGaName":790,"dataGaLocation":900},{"text":792,"config":921},{"href":794,"dataGaName":795,"dataGaLocation":900},{"text":923,"config":924},"Status",{"href":925,"dataGaName":926,"dataGaLocation":900},"https://status.gitlab.com/","status",{"text":928,"config":929},"Terms of use",{"href":930,"dataGaName":931,"dataGaLocation":900},"/terms/","terms of use",{"text":933,"config":934},"Privacy statement",{"href":935,"dataGaName":936,"dataGaLocation":900},"/privacy/","privacy statement",{"text":938,"config":939},"Cookie preferences",{"dataGaName":940,"dataGaLocation":900,"id":941,"isOneTrustButton":428},"cookie preferences","ot-sdk-btn",{"title":464,"links":943,"subMenu":959},[944,947,949,951,953,955],{"text":945,"config":946},"Explore the platform",{"href":472,"dataGaName":466,"dataGaLocation":900},{"text":522,"config":948},{"href":524,"dataGaName":525,"dataGaLocation":900},{"text":438,"config":950},{"href":37,"dataGaName":479,"dataGaLocation":900},{"text":527,"config":952},{"href":529,"dataGaName":530,"dataGaLocation":900},{"text":509,"config":954},{"href":511,"dataGaName":512,"dataGaLocation":900},{"text":956,"config":957},"Why GitLab",{"href":827,"dataGaName":958,"dataGaLocation":900},"why gitlab",[960],{"title":961,"links":962},"Topics",[963,966,971,975,980,985,990,995],{"text":438,"config":964},{"href":24,"dataGaName":965,"dataGaLocation":900},"cicd",{"text":967,"config":968},"GitOps",{"href":969,"dataGaName":970,"dataGaLocation":900},"/topics/gitops/","gitops",{"text":475,"config":972},{"href":973,"dataGaName":974,"dataGaLocation":900},"/topics/devops/","devops",{"text":976,"config":977},"Version Control",{"href":978,"dataGaName":979,"dataGaLocation":900},"/topics/version-control/","version control",{"text":981,"config":982},"DevSecOps",{"href":983,"dataGaName":984,"dataGaLocation":900},"/topics/devsecops/","devsecops",{"text":986,"config":987},"Cloud Native",{"href":988,"dataGaName":989,"dataGaLocation":900},"/topics/cloud-native/","cloud native",{"text":991,"config":992},"AI for Coding",{"href":993,"dataGaName":994,"dataGaLocation":900},"/topics/devops/ai-for-coding/","ai for coding",{"text":996,"config":997},"Agentic AI",{"href":998,"dataGaName":999,"dataGaLocation":900},"/topics/agentic-ai/","agentic ai",{"title":548,"links":1001},[1002,1005,1008,1011,1014,1017,1019,1021,1023,1025,1027,1030,1032,1035,1039,1043],{"text":1003,"config":1004},"DevOps modernization",{"href":563,"dataGaName":564,"dataGaLocation":900},{"text":1006,"config":1007},"Security modernization",{"href":568,"dataGaName":569,"dataGaLocation":900},{"text":1009,"config":1010},"AI modernization",{"href":573,"dataGaName":574,"dataGaLocation":900},{"text":1012,"config":1013},"Financial services",{"href":599,"dataGaName":600,"dataGaLocation":900},{"text":1015,"config":1016},"Public sector",{"href":604,"dataGaName":605,"dataGaLocation":900},{"text":607,"config":1018},{"href":609,"dataGaName":610,"dataGaLocation":900},{"text":612,"config":1020},{"href":614,"dataGaName":615,"dataGaLocation":900},{"text":617,"config":1022},{"href":619,"dataGaName":620,"dataGaLocation":900},{"text":622,"config":1024},{"href":624,"dataGaName":625,"dataGaLocation":900},{"text":579,"config":1026},{"href":581,"dataGaName":582,"dataGaLocation":900},{"text":1028,"config":1029},"Small business",{"href":586,"dataGaName":587,"dataGaLocation":900},{"text":589,"config":1031},{"href":591,"dataGaName":592,"dataGaLocation":900},{"text":967,"config":1033},{"href":1034,"dataGaName":970,"dataGaLocation":900},"/solutions/gitops/",{"text":1036,"config":1037},"Software composition analysis",{"href":516,"dataGaName":1038,"dataGaLocation":900},"software composition analysis",{"text":1040,"config":1041},"Value stream management",{"href":534,"dataGaName":1042,"dataGaLocation":900},"value stream management",{"text":1044,"config":1045},"All solutions",{"href":555,"dataGaName":1046,"dataGaLocation":900},"all solutions",{"title":641,"links":1048},[1049,1054,1059,1061,1063,1065,1067,1069,1071,1073,1075,1077,1079,1081,1084],{"text":1050,"config":1051},"Install",{"href":1052,"dataGaName":1053,"dataGaLocation":900},"/install/","install",{"text":1055,"config":1056},"Quick start guides",{"href":1057,"dataGaName":1058,"dataGaLocation":900},"/get-started/","quick setup checklists",{"text":654,"config":1060},{"href":656,"dataGaName":657,"dataGaLocation":900},{"text":659,"config":1062},{"href":661,"dataGaName":662,"dataGaLocation":900},{"text":664,"config":1064},{"href":666,"dataGaName":667,"dataGaLocation":900},{"text":669,"config":1066},{"href":671,"dataGaName":672,"dataGaLocation":900},{"text":674,"config":1068},{"href":676,"dataGaName":677,"dataGaLocation":900},{"text":687,"config":1070},{"href":689,"dataGaName":690,"dataGaLocation":900},{"text":692,"config":1072},{"href":694,"dataGaName":695,"dataGaLocation":900},{"text":697,"config":1074},{"href":699,"dataGaName":700,"dataGaLocation":900},{"text":702,"config":1076},{"href":704,"dataGaName":705,"dataGaLocation":900},{"text":707,"config":1078},{"href":709,"dataGaName":710,"dataGaLocation":900},{"text":770,"config":1080},{"href":772,"dataGaName":773,"dataGaLocation":900},{"text":1082,"config":1083},"What's new",{"href":718,"dataGaName":719,"dataGaLocation":900},{"text":1085,"config":1086},"All resources",{"href":648,"dataGaName":1087,"dataGaLocation":900},"all resources",{"title":721,"links":1089},[1090,1092,1094,1096,1098,1100,1102,1104,1106,1110,1115],{"text":729,"config":1091},{"href":731,"dataGaName":723,"dataGaLocation":900},{"text":734,"config":1093},{"href":736,"dataGaName":737,"dataGaLocation":900},{"text":740,"config":1095},{"href":742,"dataGaName":743,"dataGaLocation":900},{"text":745,"config":1097},{"href":747,"dataGaName":748,"dataGaLocation":900},{"text":750,"config":1099},{"href":752,"dataGaName":753,"dataGaLocation":900},{"text":755,"config":1101},{"href":757,"dataGaName":758,"dataGaLocation":900},{"text":760,"config":1103},{"href":762,"dataGaName":763,"dataGaLocation":900},{"text":765,"config":1105},{"href":767,"dataGaName":768,"dataGaLocation":900},{"text":1107,"config":1108},"Sustainability",{"href":1109,"dataGaName":1107,"dataGaLocation":900},"/sustainability/",{"text":1111,"config":1112},"Diversity, inclusion and belonging (DIB)",{"href":1113,"dataGaName":1114,"dataGaLocation":900},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1116,"config":1117},"Modern Slavery Transparency Statement",{"href":1118,"dataGaName":1119,"dataGaLocation":900},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1121},[1122,1125,1128],{"text":1123,"config":1124},"Terms",{"href":930,"dataGaName":931,"dataGaLocation":900},{"text":1126,"config":1127},"Cookies",{"dataGaName":940,"dataGaLocation":900,"id":941,"isOneTrustButton":428},{"text":1129,"config":1130},"Privacy",{"href":935,"dataGaName":936,"dataGaLocation":900},[1132],{"id":1133,"title":7,"body":415,"config":1134,"content":1136,"description":415,"extension":1140,"meta":1141,"navigation":428,"path":1142,"seo":1143,"stem":1144,"__hash__":1145},"blogAuthors/en-us/blog/authors/max-woolf.yml",{"template":1135},"BlogAuthor",{"name":7,"config":1137},{"headshot":1138,"ctfId":1139},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749659488/Blog/Author%20Headshots/gitlab-logo-extra-whitespace.png","Max-Woolf","yml",{},"/en-us/blog/authors/max-woolf",{},"en-us/blog/authors/max-woolf","GI5Y2iOJMToVKF9b0_juI0fsK_IxgPXgb-eolS1kd2c",[1147,1155,1163],{"title":1148,"description":1149,"heroImage":1150,"category":411,"date":1151,"authors":1152,"slug":1154,"externalUrl":415},"Two front doors: Module-level access in a Django GRC app","A technical deep-dive on restructuring a Django internal tool to support two distinct GitLab teams: Security Compliance and Internal Audit.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750097663/Blog/Hero%20Images/Blog/Hero%20Images/Workflow%201800x945_2gQoQIbY9NvjLFpXtsxtXy_1750097663612.png","2026-10-05",[1153],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":1156,"description":1157,"heroImage":1158,"category":411,"date":1159,"authors":1160,"slug":1162,"externalUrl":415},"How GitLab reduced code-per-agentic-flow ratio by 45%","Learn how Flow Registry, a component-based framework that compiles YAML configurations into fully functional LangGraph flows, helped improve scalability and more.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1774465167/n5hlvrsrheadeccyr1oz.png","2026-09-22",[1161],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":1164,"description":1165,"heroImage":1166,"category":411,"date":1167,"authors":1168,"slug":1170,"externalUrl":415},"Co-Create: Building GitLab with our users","How GitLab users collaborated with us to build practical product improvements in the first half of 2026.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750099203/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945%20%2820%29_2bJGC5ZP3WheoqzlLT05C5_1750099203484.png","2026-09-10",[1169],"Isa Huerga","co-create-h1-2026",{"header":1172,"text":1173,"button":1177,"disclaimer":1180},"Start your free\n\n30-day GitLab trial\n",[1174,1175,1176],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":448,"config":1178},{"href":1179,"dataGaName":451,"dataGaLocation":690},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1182,"blurb":1183,"button":1184,"secondaryButton":1189},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1185,"config":1186},"Get your free trial",{"href":1187,"dataGaName":451,"dataGaLocation":1188},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":916,"config":1190},{"href":784,"dataGaName":456,"dataGaLocation":1188},1794911785432]