[{"data":1,"prerenderedAt":1320},["ShallowReactive",2],{"/blog/fast-python-flask-server-deployment-with-gitlab-google-cloud":3,"navigation-en-us":556,"banner-en-us":994,"footer-en-us":1002,"blog-post-authors-en-us-Noah Ing|Jerez Solis":1248,"blog-related-posts-en-us-fast-python-flask-server-deployment-with-gitlab-google-cloud":1275,"blog-share-wrapper-en-us":1300,"next-steps-en-us":1310},{"id":4,"title":5,"authors":6,"body":9,"category":534,"date":535,"description":536,"extension":537,"externalUrl":538,"faq":538,"featured":128,"heroImage":539,"hidePromo":540,"meta":541,"navigation":128,"path":542,"seo":543,"slug":547,"stem":548,"tags":549,"template":554,"updatedDate":538,"__hash__":555},"blogPosts/en-us/blog/fast-python-flask-server-deployment-with-gitlab-google-cloud.md","Fast Python Flask server deployment with GitLab + Google Cloud",[7,8],"Noah Ing","Jerez Solis",{"type":10,"value":11,"toc":528},"minimark",[12,16,19,45,50,64,68,74,77,84,89,101,325,334,342,347,353,359,364,370,375,381,386,392,411,417,422,428,435,441,446,452,458,465,471,475,485,491,501,505,513,524],[13,14,15],"p",{},"Deploying an application to the cloud often requires assistance from production or DevOps engineers. GitLab's Google Cloud integration empowers developers to handle deployments independently. In this tutorial, you'll learn how to deploy a Python Flask server to Google Cloud in less than 10 minutes. Whether you’re a solo developer or part of a large team, this setup allows you to deploy applications efficiently.",[13,17,18],{},"You'll learn how to:",[20,21,22,26,33,36,39,42],"ul",{},[23,24,25],"li",{},"Create a new project in GitLab",[23,27,28,29],{},"Create a Flask server utilizing ",[30,31,32],"code",{},"main.py",[23,34,35],{},"Utilize the Google Cloud integration to create a Service account",[23,37,38],{},"Utilize the Google Cloud integration to create Cloud Run via a merge request",[23,40,41],{},"Access your newly deployed Flask server",[23,43,44],{},"Clean up your environment",[46,47,49],"h2",{"id":48},"prerequisites","Prerequisites:",[20,51,52,55,58,61],{},[23,53,54],{},"Owner access on a Google Cloud Platform project",[23,56,57],{},"Working knowledge of Python",[23,59,60],{},"Working knowledge of GitLab CI",[23,62,63],{},"10 minutes",[46,65,67],{"id":66},"step-by-step-python-flask-server-deployment-to-google-cloud","Step-by-step Python Flask server deployment to Google Cloud",[13,69,70],{},[71,72,73],"strong",{},"1. Create a new project in GitLab.",[13,75,76],{},"We decided to call our project \"python-flask-cloud-run\" for simplicity.",[13,78,79],{},[80,81],"img",{"alt":82,"src":83},"python flask server - create a new project in GitLab","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098438/Blog/Content%20Images/Blog/Content%20Images/image6_aHR0cHM6_1750098438036.png",[13,85,86],{},[71,87,88],{},"2. Create a flask server utilizing main.py demo.",[13,90,91,92,94,95,100],{},"Find the ",[30,93,32],{}," demo here: ",[96,97,98],"a",{"href":98,"rel":99},"https://gitlab.com/demos/applications/python-flask-cloud-run",[],".",[102,103,108],"pre",{"className":104,"code":105,"language":106,"meta":107,"style":107},"language-python shiki shiki-themes github-light","import os\n\nfrom flask import Flask\n\napp = Flask(__name__)\n\n@app.route(\"/\")\ndef hello_world():\n    \"\"\"Example Hello World route.\"\"\"\n    name = os.environ.get(\"NAME\", \"World\")\n    return f\"Hello {name}!\"\n\nif __name__ == \"__main__\":\n    app.run(debug=True, host=\"0.0.0.0\", port=int(os.environ.get(\"PORT\", 8080)))\n\n","python","",[30,109,110,123,130,144,149,168,173,189,201,207,229,253,258,276],{"__ignoreMap":107},[111,112,115,119],"span",{"class":113,"line":114},"line",1,[111,116,118],{"class":117},"sD7c4","import",[111,120,122],{"class":121},"sgsFI"," os\n",[111,124,126],{"class":113,"line":125},2,[111,127,129],{"emptyLinePlaceholder":128},true,"\n",[111,131,133,136,139,141],{"class":113,"line":132},3,[111,134,135],{"class":117},"from",[111,137,138],{"class":121}," flask ",[111,140,118],{"class":117},[111,142,143],{"class":121}," Flask\n",[111,145,147],{"class":113,"line":146},4,[111,148,129],{"emptyLinePlaceholder":128},[111,150,152,155,158,161,165],{"class":113,"line":151},5,[111,153,154],{"class":121},"app ",[111,156,157],{"class":117},"=",[111,159,160],{"class":121}," Flask(",[111,162,164],{"class":163},"sYu0t","__name__",[111,166,167],{"class":121},")\n",[111,169,171],{"class":113,"line":170},6,[111,172,129],{"emptyLinePlaceholder":128},[111,174,176,180,183,187],{"class":113,"line":175},7,[111,177,179],{"class":178},"s7eDp","@app.route",[111,181,182],{"class":121},"(",[111,184,186],{"class":185},"sYBdl","\"/\"",[111,188,167],{"class":121},[111,190,192,195,198],{"class":113,"line":191},8,[111,193,194],{"class":117},"def",[111,196,197],{"class":178}," hello_world",[111,199,200],{"class":121},"():\n",[111,202,204],{"class":113,"line":203},9,[111,205,206],{"class":185},"    \"\"\"Example Hello World route.\"\"\"\n",[111,208,210,213,215,218,221,224,227],{"class":113,"line":209},10,[111,211,212],{"class":121},"    name ",[111,214,157],{"class":117},[111,216,217],{"class":121}," os.environ.get(",[111,219,220],{"class":185},"\"NAME\"",[111,222,223],{"class":121},", ",[111,225,226],{"class":185},"\"World\"",[111,228,167],{"class":121},[111,230,232,235,238,241,244,247,250],{"class":113,"line":231},11,[111,233,234],{"class":117},"    return",[111,236,237],{"class":117}," f",[111,239,240],{"class":185},"\"Hello ",[111,242,243],{"class":163},"{",[111,245,246],{"class":121},"name",[111,248,249],{"class":163},"}",[111,251,252],{"class":185},"!\"\n",[111,254,256],{"class":113,"line":255},12,[111,257,129],{"emptyLinePlaceholder":128},[111,259,261,264,267,270,273],{"class":113,"line":260},13,[111,262,263],{"class":117},"if",[111,265,266],{"class":163}," __name__",[111,268,269],{"class":117}," ==",[111,271,272],{"class":185}," \"__main__\"",[111,274,275],{"class":121},":\n",[111,277,279,282,286,288,291,293,296,298,301,303,306,308,311,314,317,319,322],{"class":113,"line":278},14,[111,280,281],{"class":121},"    app.run(",[111,283,285],{"class":284},"sqxcx","debug",[111,287,157],{"class":117},[111,289,290],{"class":163},"True",[111,292,223],{"class":121},[111,294,295],{"class":284},"host",[111,297,157],{"class":117},[111,299,300],{"class":185},"\"0.0.0.0\"",[111,302,223],{"class":121},[111,304,305],{"class":284},"port",[111,307,157],{"class":117},[111,309,310],{"class":163},"int",[111,312,313],{"class":121},"(os.environ.get(",[111,315,316],{"class":185},"\"PORT\"",[111,318,223],{"class":121},[111,320,321],{"class":163},"8080",[111,323,324],{"class":121},")))\n",[13,326,327],{},[71,328,329,330,333],{},"3. Create a ",[30,331,332],{},"requirements.txt"," with the following dependencies.",[102,335,340],{"className":336,"code":338,"language":339,"meta":107},[337],"language-text","Flask==3.0.3\ngunicorn==22.0.0\nWerkzeug==3.0.3\n","text",[30,341,338],{"__ignoreMap":107},[13,343,344],{},[71,345,346],{},"4. Utilizing the Google Cloud integration, create a Service account.",[13,348,349,350,100],{},"Navigate to ",[71,351,352],{},"Operate > Google Cloud > Create Service account",[13,354,355],{},[80,356],{"alt":357,"src":358},"python flask server - create service account","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098438/Blog/Content%20Images/Blog/Content%20Images/image2_aHR0cHM6_1750098438037.png",[13,360,361],{},[71,362,363],{},"5. Also configure the region you would like the Cloud Run instance to deploy to.",[13,365,366],{},[80,367],{"alt":368,"src":369},"python flask server - configure the region","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098438/Blog/Content%20Images/Blog/Content%20Images/image1_aHR0cHM6_1750098438038.png",[13,371,372],{},[71,373,374],{},"6. Utilizing the Google Cloud integration, configure Cloud Run via merge request.",[13,376,377],{},[80,378],{"alt":379,"src":380},"python flask server - deployments","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098438/Blog/Content%20Images/Blog/Content%20Images/image7_aHR0cHM6_1750098438041.png",[13,382,383],{},[71,384,385],{},"7. This will open a merge request. Immediately merge this merge request.",[13,387,388],{},[80,389],{"alt":390,"src":391},"python flask server - enable deployments to Cloud Run","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098438/Blog/Content%20Images/Blog/Content%20Images/image10_aHR0cHM6_1750098438043.png",[13,393,394,397,398,223,401,223,404,223,407,410],{},[71,395,396],{},"Note:"," ",[30,399,400],{},"GCP_PROJECT_ID",[30,402,403],{},"GCP_REGION",[30,405,406],{},"GCP_SERVICE_ACCOUNT",[30,408,409],{},"GCP_SERVICE_ACCOUNT_KEY"," will all be automatically populated from the previous steps.",[13,412,413],{},[80,414],{"alt":415,"src":416},"python flask server - variables","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098438/Blog/Content%20Images/Blog/Content%20Images/image9_aHR0cHM6_1750098438044.png",[13,418,419],{},[71,420,421],{},"8. Voila! Check your pipeline and you will see you have successfully deployed to Google Cloud Run utilizing GitLab CI.",[13,423,424],{},[80,425],{"alt":426,"src":427},"python flask server - update dockerfile","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098438/Blog/Content%20Images/Blog/Content%20Images/image4_aHR0cHM6_1750098438045.png",[13,429,430,433],{},[431,432],"br",{},[431,434],{},[13,436,437],{},[80,438],{"alt":439,"src":440},"python flask server - dockerfile","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098438/Blog/Content%20Images/Blog/Content%20Images/image3_aHR0cHM6_1750098438046.png",[13,442,443],{},[71,444,445],{},"9. Click the Service URL to view your newly deployed Flask server.",[13,447,349,448,451],{},[71,449,450],{},"Operate > Environments"," to see a list of deployments for your environments.",[13,453,454],{},[80,455],{"alt":456,"src":457},"python flask server - deployments list","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098438/Blog/Content%20Images/Blog/Content%20Images/image8_aHR0cHM6_1750098438047.png",[13,459,460,461,464],{},"By clicking on the environment called ",[71,462,463],{},"main",", you’ll be able to view a complete list of deployments specific to that environment.",[13,466,467],{},[80,468],{"alt":469,"src":470},"python flask server - main job listing","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098438/Blog/Content%20Images/Blog/Content%20Images/image5_aHR0cHM6_1750098438048.png",[46,472,474],{"id":473},"next-steps","Next steps",[13,476,477,478,480,481,484],{},"To get started with developing your Flask application, try adding another endpoint. For instance, in your ",[30,479,32],{}," file, you can add a ",[71,482,483],{},"/bye"," endpoint as shown below:",[102,486,489],{"className":487,"code":488,"language":339,"meta":107},[337],"@app.route(\"/\")\ndef hello_world():\n    \"\"\"Example Hello World route.\"\"\"\n    name = os.environ.get(\"NAME\", \"World\")\n    return f\"Hello {name}!\"\n\n",[30,490,488],{"__ignoreMap":107},[13,492,493,494,497,498,500],{},"Push the changes to the repo, and watch the ",[30,495,496],{},"deploy-to-cloud-run"," job deploy the updates. Once it’s complete, go back to the Service URL and navigate to the ",[71,499,483],{}," endpoint to see the new functionality in action.",[46,502,504],{"id":503},"clean-up","Clean up",[13,506,507,508,100],{},"To prevent incurring charges on your Google Cloud account for the resources used in this tutorial, you can either delete the specific resources or delete the entire Google Cloud project. For detailed instructions, refer to the ",[96,509,512],{"href":510,"rel":511},"https://docs.gitlab.com/tutorials/create_and_deploy_web_service_with_google_cloud_run_component/#clean-up",[],"cleanup guide",[514,515,516],"blockquote",{},[13,517,518,519,100],{},"For more DevSecOps capabilities, ",[96,520,523],{"href":521,"rel":522},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/%2F",[],"start a free trial of GitLab Ultimate and GitLab Duo",[525,526,527],"style",{},"html pre.shiki code .sD7c4, html code.shiki .sD7c4{--shiki-default:#D73A49}html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html pre.shiki code .sqxcx, html code.shiki .sqxcx{--shiki-default:#E36209}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);}",{"title":107,"searchDepth":125,"depth":125,"links":529},[530,531,532,533],{"id":48,"depth":125,"text":49},{"id":66,"depth":125,"text":67},{"id":473,"depth":125,"text":474},{"id":503,"depth":125,"text":504},"engineering","2024-11-04","This tutorial shows how to use GitLab’s Google Cloud integration to deploy a Python Flask server in less than 10 minutes, helping developers become more independent and efficient.","md",null,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098427/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945_fJKX41PJHKCfSOWw4xQxm_1750098427691.png",false,{},"/en-us/blog/fast-python-flask-server-deployment-with-gitlab-google-cloud",{"title":5,"description":536,"ogTitle":5,"ogDescription":536,"noIndex":540,"ogImage":539,"ogUrl":544,"ogSiteName":545,"ogType":546,"canonicalUrls":544},"https://about.gitlab.com/blog/fast-python-flask-server-deployment-with-gitlab-google-cloud","https://about.gitlab.com","article","fast-python-flask-server-deployment-with-gitlab-google-cloud","en-us/blog/fast-python-flask-server-deployment-with-gitlab-google-cloud",[550,551,552,553],"tutorial","cloud native","google","solutions architecture","BlogPost","a_QZa5Xl4cwgbb0CpRFmcYqUIJO_UtYjHUy_NrrRJyM",{"logo":557,"freeTrial":562,"sales":567,"login":572,"items":577,"search":913,"minimal":945,"duo":964,"switchNav":973,"pricingDeployment":984},{"config":558},{"href":559,"dataGaName":560,"dataGaLocation":561},"/","gitlab logo","header",{"text":563,"config":564},"Get free trial",{"href":565,"dataGaName":566,"dataGaLocation":561},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":568,"config":569},"Request a demo",{"href":570,"dataGaName":571,"dataGaLocation":561},"/request-a-demo/","sales",{"text":573,"config":574},"Sign in",{"href":575,"dataGaName":576,"dataGaLocation":561},"https://gitlab.com/users/sign_in/","sign in",[578,664,752,757,837,891],{"text":579,"left":128,"config":580,"menu":582},"Platform",{"dataNavLevelOne":581},"platform",{"type":583,"link":584,"columns":588,"feature":653},"lists",{"text":585,"config":586},"Explore the Platform",{"href":587,"dataGaName":581,"dataGaLocation":561},"/platform/",[589,612,635],{"title":590,"items":591},"DevOps",[592,597,602,607],{"text":593,"config":594},"CI/CD",{"href":595,"dataGaLocation":561,"dataGaName":596},"/solutions/continuous-integration/","ci/cd",{"text":598,"config":599},"Source Code Management",{"href":600,"dataGaLocation":561,"dataGaName":601},"/solutions/source-code-management/","source code management",{"text":603,"config":604},"Agile Delivery",{"href":605,"dataGaLocation":561,"dataGaName":606},"/solutions/agile-delivery/","agile delivery",{"text":608,"config":609},"Artifact Management",{"href":610,"dataGaLocation":561,"dataGaName":611},"/artifact-central/","artifact management",{"title":613,"items":614},"Security & Governance",[615,620,625,630],{"text":616,"config":617},"Application Security Testing",{"href":618,"dataGaLocation":561,"dataGaName":619},"/solutions/application-security-testing/","application security testing",{"text":621,"config":622},"Governance & Compliance",{"href":623,"dataGaLocation":561,"dataGaName":624},"/solutions/software-compliance/","governance and compliance",{"text":626,"config":627},"Secrets Management",{"href":628,"dataGaLocation":561,"dataGaName":629},"/gitlab-secrets-manager/","secrets management",{"text":631,"config":632},"Supply Chain Security",{"href":633,"dataGaLocation":561,"dataGaName":634},"/solutions/supply-chain/","supply chain security",{"title":636,"items":637},"Agentic AI & Context",[638,643,648],{"text":639,"config":640},"Duo Agent Platform",{"href":641,"dataGaLocation":561,"dataGaName":642},"/gitlab-duo-agent-platform/","duo agent platform",{"text":644,"config":645},"Orbit Context Graph",{"href":646,"dataGaLocation":561,"dataGaName":647},"/gitlab-orbit/","orbit",{"text":649,"config":650},"Visibility & Measurement",{"href":651,"dataGaLocation":561,"dataGaName":652},"/solutions/visibility-measurement/","visibility and measurement",{"config":654,"title":657,"text":658,"link":659},{"background":655,"textColor":656},"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":660,"config":661},"Read the announcement",{"href":662,"dataGaName":663,"dataGaLocation":561},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":665,"left":128,"config":666,"menu":668},"Solutions",{"dataNavLevelOne":667},"solutions",{"type":583,"link":669,"columns":673,"feature":743},{"text":670,"config":671},"View all Solutions",{"href":672,"dataGaName":667,"dataGaLocation":561},"/solutions/",[674,692,710],{"title":675,"items":676},"Outcomes",[677,682,687],{"text":678,"config":679},"DevOps Modernization",{"href":680,"dataGaLocation":561,"dataGaName":681},"/assessments/devops-modernization-assessment/","devops modernization",{"text":683,"config":684},"Security Modernization",{"href":685,"dataGaLocation":561,"dataGaName":686},"/assessments/security-modernization-assessment/","security modernization",{"text":688,"config":689},"AI Modernization",{"href":690,"dataGaLocation":561,"dataGaName":691},"/assessments/ai-modernization-assessment/","ai modernization",{"title":693,"items":694},"By size",[695,700,705],{"text":696,"config":697},"Enterprise",{"href":698,"dataGaLocation":561,"dataGaName":699},"/enterprise/","enterprise",{"text":701,"config":702},"Small Business",{"href":703,"dataGaLocation":561,"dataGaName":704},"/small-business/","small business",{"text":706,"config":707},"Startups",{"href":708,"dataGaLocation":561,"dataGaName":709},"/solutions/startups/","startups",{"title":711,"items":712},"Industries",[713,718,723,728,733,738],{"text":714,"config":715},"Financial Services",{"href":716,"dataGaLocation":561,"dataGaName":717},"/solutions/finance/","financial services",{"text":719,"config":720},"Public Sector",{"href":721,"dataGaLocation":561,"dataGaName":722},"/solutions/public-sector/","public sector",{"text":724,"config":725},"Telecommunications",{"href":726,"dataGaLocation":561,"dataGaName":727},"/solutions/telecommunications/","telecommunications",{"text":729,"config":730},"Automotive",{"href":731,"dataGaLocation":561,"dataGaName":732},"/solutions/automotive/","automotive",{"text":734,"config":735},"Education",{"href":736,"dataGaLocation":561,"dataGaName":737},"/solutions/education/","education",{"text":739,"config":740},"Aerospace",{"href":741,"dataGaLocation":561,"dataGaName":742},"/solutions/aerospace/","aerospace",{"config":744,"title":745,"text":746,"link":747},{"background":655,"textColor":656},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":748,"config":749},"Explore the standard",{"href":750,"dataGaName":751,"dataGaLocation":561},"/gitlab-security-standard/","gitlab security standard",{"text":753,"config":754},"Pricing",{"href":755,"dataGaName":756,"dataGaLocation":561,"dataNavLevelOne":756},"/pricing/","pricing",{"text":758,"config":759,"menu":761},"Resources",{"dataNavLevelOne":760},"resources",{"type":583,"link":762,"columns":766,"feature":828},{"text":763,"config":764},"View all resources",{"href":765,"dataGaName":760,"dataGaLocation":561},"/resources/",[767,800],{"title":768,"items":769},"Discover",[770,775,780,785,790,795],{"text":771,"config":772},"Docs",{"href":773,"dataGaName":774,"dataGaLocation":561},"https://docs.gitlab.com/","docs",{"text":776,"config":777},"University",{"href":778,"dataGaName":779,"dataGaLocation":561},"https://university.gitlab.com/","university",{"text":781,"config":782},"Demo Series",{"href":783,"dataGaName":784,"dataGaLocation":561},"/gitlab-technical-demo-series/","demo series",{"text":786,"config":787},"Demo Hub",{"href":788,"dataGaName":789,"dataGaLocation":561},"/demo-hub/","demo hub",{"text":791,"config":792},"Services",{"href":793,"dataGaName":794,"dataGaLocation":561},"/services/","services",{"text":796,"config":797},"Well Architected",{"href":798,"dataGaName":799,"dataGaLocation":561},"/resources/well-architected/","well architected",{"title":801,"items":802},"Connect",[803,808,813,818,823],{"text":804,"config":805},"Blog",{"href":806,"dataGaName":807,"dataGaLocation":561},"/blog/","blog",{"text":809,"config":810},"Community",{"href":811,"dataGaName":812,"dataGaLocation":561},"/community/","community",{"text":814,"config":815},"Customers",{"href":816,"dataGaName":817,"dataGaLocation":561},"/customers/","customers",{"text":819,"config":820},"Partners",{"href":821,"dataGaName":822,"dataGaLocation":561},"/partners/","partners",{"text":824,"config":825},"Events",{"href":826,"dataGaName":827,"dataGaLocation":561},"/events/","events",{"config":829,"title":830,"text":831,"link":832},{"background":655,"textColor":656},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":833,"config":834},"Read the latest",{"href":835,"dataGaName":836,"dataGaLocation":561},"/whats-new/","whats new",{"text":838,"config":839,"menu":841},"Company",{"dataNavLevelOne":840},"company",{"type":583,"columns":842},[843],{"items":844},[845,850,856,861,866,871,876,881,886],{"text":846,"config":847},"About",{"href":848,"dataGaName":849,"dataGaLocation":561},"/company/","about",{"text":851,"config":852,"footerGa":855},"Jobs",{"href":853,"dataGaName":854,"dataGaLocation":561},"/jobs/","jobs",{"dataGaName":854},{"text":857,"config":858},"Press",{"href":859,"dataGaName":860,"dataGaLocation":561},"/press/","press",{"text":862,"config":863},"Handbook",{"href":864,"dataGaName":865,"dataGaLocation":561},"https://handbook.gitlab.com/","handbook",{"text":867,"config":868},"Leadership",{"href":869,"dataGaName":870,"dataGaLocation":561},"/company/team/e-group/","leadership",{"text":872,"config":873},"Investor relations",{"href":874,"dataGaName":875,"dataGaLocation":561},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":877,"config":878},"Trust Center",{"href":879,"dataGaName":880,"dataGaLocation":561},"/security/","trust center",{"text":882,"config":883},"AI Transparency Center",{"href":884,"dataGaName":885,"dataGaLocation":561},"/ai-transparency-center/","ai transparency center",{"text":887,"config":888},"Newsletter",{"href":889,"dataGaName":890,"dataGaLocation":561},"/company/contact/#contact-forms","newsletter",{"text":892,"config":893,"menu":894},"Contact us",{"dataNavLevelOne":840},{"type":583,"columns":895},[896],{"items":897},[898,903,908],{"text":899,"config":900},"Talk to sales",{"href":901,"dataGaName":902,"dataGaLocation":561},"/sales/","talk to sales",{"text":904,"config":905},"Support portal",{"href":906,"dataGaName":907,"dataGaLocation":561},"https://support.gitlab.com/hc/en-us","support portal",{"text":909,"config":910},"Customer portal",{"href":911,"dataGaName":912,"dataGaLocation":561},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":914,"login":915,"suggestions":922},"Close",{"text":916,"link":917},"To search repositories and projects, login to",{"text":918,"config":919},"gitlab.com",{"href":575,"dataGaName":920,"dataGaLocation":921},"search login","search",{"text":923,"default":924},"Suggestions",[925,928,931,933,937,941],{"text":926,"config":927},"GitLab Duo Agent Platform",{"href":641,"dataGaName":926,"dataGaLocation":921},{"text":929,"config":930},"Code Suggestions (AI)",{"href":641,"dataGaName":929,"dataGaLocation":921},{"text":593,"config":932},{"href":595,"dataGaName":593,"dataGaLocation":921},{"text":934,"config":935},"GitLab on AWS",{"href":936,"dataGaName":934,"dataGaLocation":921},"/partners/technology-partners/aws/",{"text":938,"config":939},"GitLab on Google Cloud",{"href":940,"dataGaName":938,"dataGaLocation":921},"/partners/technology-partners/google-cloud-platform/",{"text":942,"config":943},"Why GitLab?",{"href":944,"dataGaName":942,"dataGaLocation":921},"/why-gitlab/",{"freeTrial":946,"mobileIcon":951,"desktopIcon":956,"secondaryButton":959},{"text":947,"config":948},"Start free trial",{"href":949,"dataGaName":566,"dataGaLocation":950},"https://gitlab.com/-/trials/new/","nav",{"altText":952,"config":953},"Gitlab Icon",{"src":954,"dataGaName":955,"dataGaLocation":950},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":952,"config":957},{"src":958,"dataGaName":955,"dataGaLocation":950},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":960,"config":961},"Get Started",{"href":962,"dataGaName":963,"dataGaLocation":950},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":965,"mobileIcon":969,"desktopIcon":971},{"text":966,"config":967},"Learn more about GitLab Duo",{"href":641,"dataGaName":968,"dataGaLocation":950},"gitlab duo",{"altText":952,"config":970},{"src":954,"dataGaName":955,"dataGaLocation":950},{"altText":952,"config":972},{"src":958,"dataGaName":955,"dataGaLocation":950},{"button":974,"mobileIcon":979,"desktopIcon":981},{"text":975,"config":976},"/switch",{"href":977,"dataGaName":978,"dataGaLocation":950},"#contact","switch",{"altText":952,"config":980},{"src":954,"dataGaName":955,"dataGaLocation":950},{"altText":952,"config":982},{"src":983,"dataGaName":955,"dataGaLocation":950},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":985,"mobileIcon":990,"desktopIcon":992},{"text":986,"config":987},"Back to pricing",{"href":755,"dataGaName":988,"dataGaLocation":950,"icon":989},"back to pricing","GoBack",{"altText":952,"config":991},{"src":954,"dataGaName":955,"dataGaLocation":950},{"altText":952,"config":993},{"src":958,"dataGaName":955,"dataGaLocation":950},{"title":995,"button":996,"config":1000},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":660,"config":997},{"href":662,"dataGaName":998,"dataGaLocation":999},"orbit-ga-banner","global-banner",{"layout":1001,"disabled":540},"release",{"data":1003},{"text":1004,"config":1005,"items":1010,"minimal":1237},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":1006,"facebook":1007,"youtube":1008,"linkedin":1009},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[1011,1059,1117,1164,1205],{"title":753,"links":1012,"subMenu":1028},[1013,1018,1023],{"text":1014,"config":1015},"View plans",{"href":755,"dataGaName":1016,"dataGaLocation":1017},"view plans","footer",{"text":1019,"config":1020},"Why Premium?",{"href":1021,"dataGaName":1022,"dataGaLocation":1017},"/pricing/premium/","why premium",{"text":1024,"config":1025},"Why Ultimate?",{"href":1026,"dataGaName":1027,"dataGaLocation":1017},"/pricing/ultimate/","why ultimate",[1029],{"title":1030,"links":1031},"Contact Us",[1032,1035,1037,1039,1044,1049,1054],{"text":1033,"config":1034},"Contact sales",{"href":901,"dataGaName":571,"dataGaLocation":1017},{"text":904,"config":1036},{"href":906,"dataGaName":907,"dataGaLocation":1017},{"text":909,"config":1038},{"href":911,"dataGaName":912,"dataGaLocation":1017},{"text":1040,"config":1041},"Status",{"href":1042,"dataGaName":1043,"dataGaLocation":1017},"https://status.gitlab.com/","status",{"text":1045,"config":1046},"Terms of use",{"href":1047,"dataGaName":1048,"dataGaLocation":1017},"/terms/","terms of use",{"text":1050,"config":1051},"Privacy statement",{"href":1052,"dataGaName":1053,"dataGaLocation":1017},"/privacy/","privacy statement",{"text":1055,"config":1056},"Cookie preferences",{"dataGaName":1057,"dataGaLocation":1017,"id":1058,"isOneTrustButton":128},"cookie preferences","ot-sdk-btn",{"title":579,"links":1060,"subMenu":1076},[1061,1064,1066,1068,1070,1072],{"text":1062,"config":1063},"Explore the platform",{"href":587,"dataGaName":581,"dataGaLocation":1017},{"text":639,"config":1065},{"href":641,"dataGaName":642,"dataGaLocation":1017},{"text":593,"config":1067},{"href":595,"dataGaName":596,"dataGaLocation":1017},{"text":644,"config":1069},{"href":646,"dataGaName":647,"dataGaLocation":1017},{"text":626,"config":1071},{"href":628,"dataGaName":629,"dataGaLocation":1017},{"text":1073,"config":1074},"Why GitLab",{"href":944,"dataGaName":1075,"dataGaLocation":1017},"why gitlab",[1077],{"title":1078,"links":1079},"Topics",[1080,1084,1089,1093,1098,1103,1107,1112],{"text":593,"config":1081},{"href":1082,"dataGaName":1083,"dataGaLocation":1017},"/topics/ci-cd/","cicd",{"text":1085,"config":1086},"GitOps",{"href":1087,"dataGaName":1088,"dataGaLocation":1017},"/topics/gitops/","gitops",{"text":590,"config":1090},{"href":1091,"dataGaName":1092,"dataGaLocation":1017},"/topics/devops/","devops",{"text":1094,"config":1095},"Version Control",{"href":1096,"dataGaName":1097,"dataGaLocation":1017},"/topics/version-control/","version control",{"text":1099,"config":1100},"DevSecOps",{"href":1101,"dataGaName":1102,"dataGaLocation":1017},"/topics/devsecops/","devsecops",{"text":1104,"config":1105},"Cloud Native",{"href":1106,"dataGaName":551,"dataGaLocation":1017},"/topics/cloud-native/",{"text":1108,"config":1109},"AI for Coding",{"href":1110,"dataGaName":1111,"dataGaLocation":1017},"/topics/devops/ai-for-coding/","ai for coding",{"text":1113,"config":1114},"Agentic AI",{"href":1115,"dataGaName":1116,"dataGaLocation":1017},"/topics/agentic-ai/","agentic ai",{"title":665,"links":1118},[1119,1122,1125,1128,1131,1134,1136,1138,1140,1142,1144,1147,1149,1152,1156,1160],{"text":1120,"config":1121},"DevOps modernization",{"href":680,"dataGaName":681,"dataGaLocation":1017},{"text":1123,"config":1124},"Security modernization",{"href":685,"dataGaName":686,"dataGaLocation":1017},{"text":1126,"config":1127},"AI modernization",{"href":690,"dataGaName":691,"dataGaLocation":1017},{"text":1129,"config":1130},"Financial services",{"href":716,"dataGaName":717,"dataGaLocation":1017},{"text":1132,"config":1133},"Public sector",{"href":721,"dataGaName":722,"dataGaLocation":1017},{"text":724,"config":1135},{"href":726,"dataGaName":727,"dataGaLocation":1017},{"text":729,"config":1137},{"href":731,"dataGaName":732,"dataGaLocation":1017},{"text":734,"config":1139},{"href":736,"dataGaName":737,"dataGaLocation":1017},{"text":739,"config":1141},{"href":741,"dataGaName":742,"dataGaLocation":1017},{"text":696,"config":1143},{"href":698,"dataGaName":699,"dataGaLocation":1017},{"text":1145,"config":1146},"Small business",{"href":703,"dataGaName":704,"dataGaLocation":1017},{"text":706,"config":1148},{"href":708,"dataGaName":709,"dataGaLocation":1017},{"text":1085,"config":1150},{"href":1151,"dataGaName":1088,"dataGaLocation":1017},"/solutions/gitops/",{"text":1153,"config":1154},"Software composition analysis",{"href":633,"dataGaName":1155,"dataGaLocation":1017},"software composition analysis",{"text":1157,"config":1158},"Value stream management",{"href":651,"dataGaName":1159,"dataGaLocation":1017},"value stream management",{"text":1161,"config":1162},"All solutions",{"href":672,"dataGaName":1163,"dataGaLocation":1017},"all solutions",{"title":758,"links":1165},[1166,1171,1176,1178,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1201],{"text":1167,"config":1168},"Install",{"href":1169,"dataGaName":1170,"dataGaLocation":1017},"/install/","install",{"text":1172,"config":1173},"Quick start guides",{"href":1174,"dataGaName":1175,"dataGaLocation":1017},"/get-started/","quick setup checklists",{"text":771,"config":1177},{"href":773,"dataGaName":774,"dataGaLocation":1017},{"text":776,"config":1179},{"href":778,"dataGaName":779,"dataGaLocation":1017},{"text":781,"config":1181},{"href":783,"dataGaName":784,"dataGaLocation":1017},{"text":786,"config":1183},{"href":788,"dataGaName":789,"dataGaLocation":1017},{"text":791,"config":1185},{"href":793,"dataGaName":794,"dataGaLocation":1017},{"text":804,"config":1187},{"href":806,"dataGaName":807,"dataGaLocation":1017},{"text":809,"config":1189},{"href":811,"dataGaName":812,"dataGaLocation":1017},{"text":814,"config":1191},{"href":816,"dataGaName":817,"dataGaLocation":1017},{"text":819,"config":1193},{"href":821,"dataGaName":822,"dataGaLocation":1017},{"text":824,"config":1195},{"href":826,"dataGaName":827,"dataGaLocation":1017},{"text":887,"config":1197},{"href":889,"dataGaName":890,"dataGaLocation":1017},{"text":1199,"config":1200},"What's new",{"href":835,"dataGaName":836,"dataGaLocation":1017},{"text":1202,"config":1203},"All resources",{"href":765,"dataGaName":1204,"dataGaLocation":1017},"all resources",{"title":838,"links":1206},[1207,1209,1211,1213,1215,1217,1219,1221,1223,1227,1232],{"text":846,"config":1208},{"href":848,"dataGaName":840,"dataGaLocation":1017},{"text":851,"config":1210},{"href":853,"dataGaName":854,"dataGaLocation":1017},{"text":857,"config":1212},{"href":859,"dataGaName":860,"dataGaLocation":1017},{"text":862,"config":1214},{"href":864,"dataGaName":865,"dataGaLocation":1017},{"text":867,"config":1216},{"href":869,"dataGaName":870,"dataGaLocation":1017},{"text":872,"config":1218},{"href":874,"dataGaName":875,"dataGaLocation":1017},{"text":877,"config":1220},{"href":879,"dataGaName":880,"dataGaLocation":1017},{"text":882,"config":1222},{"href":884,"dataGaName":885,"dataGaLocation":1017},{"text":1224,"config":1225},"Sustainability",{"href":1226,"dataGaName":1224,"dataGaLocation":1017},"/sustainability/",{"text":1228,"config":1229},"Diversity, inclusion and belonging (DIB)",{"href":1230,"dataGaName":1231,"dataGaLocation":1017},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1233,"config":1234},"Modern Slavery Transparency Statement",{"href":1235,"dataGaName":1236,"dataGaLocation":1017},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1238},[1239,1242,1245],{"text":1240,"config":1241},"Terms",{"href":1047,"dataGaName":1048,"dataGaLocation":1017},{"text":1243,"config":1244},"Cookies",{"dataGaName":1057,"dataGaLocation":1017,"id":1058,"isOneTrustButton":128},{"text":1246,"config":1247},"Privacy",{"href":1052,"dataGaName":1053,"dataGaLocation":1017},[1249,1263],{"id":1250,"title":7,"body":538,"config":1251,"content":1253,"description":538,"extension":1257,"meta":1258,"navigation":128,"path":1259,"seo":1260,"stem":1261,"__hash__":1262},"blogAuthors/en-us/blog/authors/noah-ing.yml",{"template":1252},"BlogAuthor",{"name":7,"config":1254},{"headshot":1255,"ctfId":1256},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749664410/Blog/Author%20Headshots/noahing.png","noahing","yml",{},"/en-us/blog/authors/noah-ing",{},"en-us/blog/authors/noah-ing","NHgV_yTX8kHX01mE2SSxC6hcOMw3BCWiblr8m6csLkw",{"id":1264,"title":8,"body":538,"config":1265,"content":1266,"description":538,"extension":1257,"meta":1270,"navigation":128,"path":1271,"seo":1272,"stem":1273,"__hash__":1274},"blogAuthors/en-us/blog/authors/jerez-solis.yml",{"template":1252},{"name":8,"config":1267},{"headshot":1268,"ctfId":1269},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749664494/Blog/Author%20Headshots/jerezsolis.jpg","1Tx8fzD6QQglwxBTAlwAOZ",{},"/en-us/blog/authors/jerez-solis",{},"en-us/blog/authors/jerez-solis","-x7IzIDKZG8xtdxpjEmuoJA1HZ0LJh8mza79ibYm1Cw",[1276,1284,1292],{"title":1277,"description":1278,"heroImage":1279,"category":534,"date":1280,"authors":1281,"slug":1283,"externalUrl":538},"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",[1282],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":1285,"description":1286,"heroImage":1287,"category":534,"date":1288,"authors":1289,"slug":1291,"externalUrl":538},"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",[1290],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":1293,"description":1294,"heroImage":1295,"category":534,"date":1296,"authors":1297,"slug":1299,"externalUrl":538},"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",[1298],"Isa Huerga","co-create-h1-2026",{"header":1301,"text":1302,"button":1306,"disclaimer":1309},"Start your free\n\n30-day GitLab trial\n",[1303,1304,1305],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":563,"config":1307},{"href":1308,"dataGaName":566,"dataGaLocation":807},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1311,"blurb":1312,"button":1313,"secondaryButton":1318},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1314,"config":1315},"Get your free trial",{"href":1316,"dataGaName":566,"dataGaLocation":1317},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":1033,"config":1319},{"href":901,"dataGaName":571,"dataGaLocation":1317},1794911775864]