[{"data":1,"prerenderedAt":647},["ShallowReactive",2],{"navigation":3,"-deploy-providers-flightcontrol":224,"-deploy-providers-flightcontrol-surround":642},[4,83,208,214,221],{"title":5,"path":6,"stem":7,"children":8,"icon":82},"","/docs","1.docs/1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-compass",{"title":13,"path":14,"stem":15,"icon":16},"Quick Start","/docs/quick-start","1.docs/2.quick-start","i-lucide-zap",{"title":18,"path":19,"stem":20,"icon":21},"Renderer","/docs/renderer","1.docs/4.renderer","ri:layout-masonry-line",{"title":23,"path":24,"stem":25,"icon":26},"Routing","/docs/routing","1.docs/5.routing","ri:direction-line",{"title":28,"path":29,"stem":30,"icon":31},"Assets","/docs/assets","1.docs/50.assets","ri:image-2-line",{"title":33,"path":34,"stem":35,"icon":36},"Configuration","/docs/configuration","1.docs/50.configuration","ri:settings-3-line",{"title":38,"path":39,"stem":40,"icon":41},"Database","/docs/database","1.docs/50.database","ri:database-2-line",{"title":43,"path":44,"stem":45,"icon":46},"Lifecycle","/docs/lifecycle","1.docs/50.lifecycle","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"Plugins","/docs/plugins","1.docs/50.plugins","ri:plug-line",{"title":53,"path":54,"stem":55,"icon":56},"Tasks","/docs/tasks","1.docs/50.tasks","codicon:run-all",{"title":58,"path":59,"stem":60,"icon":61},"Server Entry","/docs/server-entry","1.docs/6.server-entry","ri:server-line",{"title":63,"path":64,"stem":65,"icon":66},"Cache","/docs/cache","1.docs/7.cache","ri:speed-line",{"title":68,"path":69,"stem":70,"icon":71},"KV Storage","/docs/storage","1.docs/8.storage","carbon:datastore",{"title":73,"path":74,"stem":75,"icon":76},"Migration Guide","/docs/migration","1.docs/99.migration","ri:arrow-right-up-line",{"title":78,"path":79,"stem":80,"icon":81},"Nightly Channel","/docs/nightly","1.docs/99.nightly","ri:moon-fill","i-lucide-book-open",{"title":84,"path":85,"stem":86,"children":87,"icon":89},"Deploy","/deploy","2.deploy/0.index",[88,90,111],{"title":84,"path":85,"stem":86,"icon":89},"ri:upload-cloud-2-line",{"title":91,"path":92,"stem":93,"children":94,"page":110},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[95,100,105],{"title":96,"path":97,"stem":98,"icon":99},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":101,"path":102,"stem":103,"icon":104},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":106,"path":107,"stem":108,"icon":109},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":112,"path":113,"stem":114,"children":115,"page":110},"Providers","/deploy/providers","2.deploy/20.providers",[116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204],{"title":117,"path":118,"stem":119},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":121,"path":122,"stem":123},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":125,"path":126,"stem":127},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":129,"path":130,"stem":131},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":133,"path":134,"stem":135},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":137,"path":138,"stem":139},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":141,"path":142,"stem":143},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":145,"path":146,"stem":147},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":149,"path":150,"stem":151},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":153,"path":154,"stem":155},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":157,"path":158,"stem":159},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":161,"path":162,"stem":163},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":165,"path":166,"stem":167},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":169,"path":170,"stem":171},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":173,"path":174,"stem":175},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":177,"path":178,"stem":179},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":181,"path":182,"stem":183},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":185,"path":186,"stem":187},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":189,"path":190,"stem":191},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":193,"path":194,"stem":195},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":197,"path":198,"stem":199},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":201,"path":202,"stem":203},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":205,"path":206,"stem":207},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":209,"path":210,"stem":211,"children":212,"icon":36},"Config","/config","3.config/0.index",[213],{"title":209,"path":210,"stem":211,"icon":36},{"title":215,"path":216,"stem":217,"children":218,"icon":220},"Examples","/examples","4.examples/0.index",[219],{"title":215,"path":216,"stem":217,"icon":220},"i-lucide-folder-code",{"title":5,"path":222,"stem":223},"/","index",{"id":225,"title":153,"body":226,"description":636,"extension":637,"meta":638,"navigation":639,"path":154,"seo":640,"stem":155,"__hash__":641},"content/2.deploy/20.providers/flightcontrol.md",{"type":227,"value":228,"toc":629},"minimark",[229,241,246,251,254,289,294,315,321,336,609,615,625],[230,231,232,236,237],"p",{},[233,234,235],"strong",{},"Preset:"," ",[238,239,240],"code",{},"flightcontrol",[242,243],"read-more",{"to":244,"title":245},"https://flightcontrol.dev?ref=nitro","flightcontrol.dev",[247,248,250],"h2",{"id":249},"set-up-your-flightcontrol-account","Set Up your flightcontrol account",[230,252,253],{},"On a high level, the steps you will need to follow to deploy a project for the first time are:",[255,256,258,268,276,279,282],"steps",{"level":257},"4",[259,260,261,262],"h4",{},"Create an account at ",[263,264,153],"a",{"href":265,"rel":266},"https://app.flightcontrol.dev/signup?ref=nitro",[267],"nofollow",[259,269,261,270,275],{},[263,271,274],{"href":272,"rel":273},"https://portal.aws.amazon.com/billing/signup",[267],"AWS"," (if you don't already have one)",[259,277,278],{},"Link your AWS account to the Flightcontrol",[259,280,281],{},"Authorize the Flightcontrol GitHub App to access your chosen repositories, public or private.",[259,283,284,285,288],{},"Create a Flightcontrol project with configuration via the Dashboard or with configuration via ",[238,286,287],{},"flightcontrol.json",".",[290,291,293],"h3",{"id":292},"create-a-project-with-configuration-via-the-dashboard","Create a project with configuration via the dashboard",[255,295,296,299,306,309,312],{"level":257},[259,297,298],{},"Create a Flightcontrol project from the Dashboard. Select a repository for the source.",[259,300,301,302,305],{},"Select the ",[238,303,304],{},"GUI"," config type.",[259,307,308],{},"Select the Nuxt preset. This preset will also work for any Nitro-based applications.",[259,310,311],{},"Select your preferred AWS server size.",[259,313,314],{},"Submit the new project form.",[290,316,318,319],{"id":317},"create-a-project-with-configuration-via-flightcontroljson","Create a project with configuration via ",[238,320,287],{},[255,322,323,326,330],{"level":257},[259,324,325],{},"Create a Flightcontrol project from your dashboard. Select a repository for the source.",[259,327,301,328,305],{},[238,329,287],{},[259,331,332,333,335],{},"Add a new file at the root of your repository called ",[238,334,287],{},". Here is an example configuration that creates an AWS fargate service for your app:",[337,338,342],"pre",{"className":339,"code":340,"filename":287,"language":341,"meta":5,"style":5},"language-json shiki shiki-themes github-light github-dark github-dark","{\n  \"$schema\": \"https://app.flightcontrol.dev/schema.json\",\n  \"environments\": [\n    {\n      \"id\": \"production\",\n      \"name\": \"Production\",\n      \"region\": \"us-west-2\",\n      \"source\": {\n        \"branch\": \"main\"\n      },\n      \"services\": [\n        {\n          \"id\": \"nitro\",\n          \"buildType\": \"nixpacks\",\n          \"name\": \"My Nitro site\",\n          \"type\": \"fargate\",\n          \"domain\": \"www.yourdomain.com\",\n          \"outputDirectory\": \".output\",\n          \"startCommand\": \"node .output/server/index.mjs\",\n          \"cpu\": 0.25,\n          \"memory\": 0.5\n        }\n      ]\n    }\n  ]\n}\n","json",[238,343,344,353,370,379,385,398,411,424,433,444,450,458,464,477,490,503,516,529,542,555,568,579,585,591,597,603],{"__ignoreMap":5},[345,346,349],"span",{"class":347,"line":348},"line",1,[345,350,352],{"class":351},"slsVL","{\n",[345,354,356,360,363,367],{"class":347,"line":355},2,[345,357,359],{"class":358},"suiK_","  \"$schema\"",[345,361,362],{"class":351},": ",[345,364,366],{"class":365},"sfrk1","\"https://app.flightcontrol.dev/schema.json\"",[345,368,369],{"class":351},",\n",[345,371,373,376],{"class":347,"line":372},3,[345,374,375],{"class":358},"  \"environments\"",[345,377,378],{"class":351},": [\n",[345,380,382],{"class":347,"line":381},4,[345,383,384],{"class":351},"    {\n",[345,386,388,391,393,396],{"class":347,"line":387},5,[345,389,390],{"class":358},"      \"id\"",[345,392,362],{"class":351},[345,394,395],{"class":365},"\"production\"",[345,397,369],{"class":351},[345,399,401,404,406,409],{"class":347,"line":400},6,[345,402,403],{"class":358},"      \"name\"",[345,405,362],{"class":351},[345,407,408],{"class":365},"\"Production\"",[345,410,369],{"class":351},[345,412,414,417,419,422],{"class":347,"line":413},7,[345,415,416],{"class":358},"      \"region\"",[345,418,362],{"class":351},[345,420,421],{"class":365},"\"us-west-2\"",[345,423,369],{"class":351},[345,425,427,430],{"class":347,"line":426},8,[345,428,429],{"class":358},"      \"source\"",[345,431,432],{"class":351},": {\n",[345,434,436,439,441],{"class":347,"line":435},9,[345,437,438],{"class":358},"        \"branch\"",[345,440,362],{"class":351},[345,442,443],{"class":365},"\"main\"\n",[345,445,447],{"class":347,"line":446},10,[345,448,449],{"class":351},"      },\n",[345,451,453,456],{"class":347,"line":452},11,[345,454,455],{"class":358},"      \"services\"",[345,457,378],{"class":351},[345,459,461],{"class":347,"line":460},12,[345,462,463],{"class":351},"        {\n",[345,465,467,470,472,475],{"class":347,"line":466},13,[345,468,469],{"class":358},"          \"id\"",[345,471,362],{"class":351},[345,473,474],{"class":365},"\"nitro\"",[345,476,369],{"class":351},[345,478,480,483,485,488],{"class":347,"line":479},14,[345,481,482],{"class":358},"          \"buildType\"",[345,484,362],{"class":351},[345,486,487],{"class":365},"\"nixpacks\"",[345,489,369],{"class":351},[345,491,493,496,498,501],{"class":347,"line":492},15,[345,494,495],{"class":358},"          \"name\"",[345,497,362],{"class":351},[345,499,500],{"class":365},"\"My Nitro site\"",[345,502,369],{"class":351},[345,504,506,509,511,514],{"class":347,"line":505},16,[345,507,508],{"class":358},"          \"type\"",[345,510,362],{"class":351},[345,512,513],{"class":365},"\"fargate\"",[345,515,369],{"class":351},[345,517,519,522,524,527],{"class":347,"line":518},17,[345,520,521],{"class":358},"          \"domain\"",[345,523,362],{"class":351},[345,525,526],{"class":365},"\"www.yourdomain.com\"",[345,528,369],{"class":351},[345,530,532,535,537,540],{"class":347,"line":531},18,[345,533,534],{"class":358},"          \"outputDirectory\"",[345,536,362],{"class":351},[345,538,539],{"class":365},"\".output\"",[345,541,369],{"class":351},[345,543,545,548,550,553],{"class":347,"line":544},19,[345,546,547],{"class":358},"          \"startCommand\"",[345,549,362],{"class":351},[345,551,552],{"class":365},"\"node .output/server/index.mjs\"",[345,554,369],{"class":351},[345,556,558,561,563,566],{"class":347,"line":557},20,[345,559,560],{"class":358},"          \"cpu\"",[345,562,362],{"class":351},[345,564,565],{"class":358},"0.25",[345,567,369],{"class":351},[345,569,571,574,576],{"class":347,"line":570},21,[345,572,573],{"class":358},"          \"memory\"",[345,575,362],{"class":351},[345,577,578],{"class":358},"0.5\n",[345,580,582],{"class":347,"line":581},22,[345,583,584],{"class":351},"        }\n",[345,586,588],{"class":347,"line":587},23,[345,589,590],{"class":351},"      ]\n",[345,592,594],{"class":347,"line":593},24,[345,595,596],{"class":351},"    }\n",[345,598,600],{"class":347,"line":599},25,[345,601,602],{"class":351},"  ]\n",[345,604,606],{"class":347,"line":605},26,[345,607,608],{"class":351},"}\n",[610,611,612],"ol",{"start":381},[613,614,314],"li",{},[242,616,618],{"to":617},"https://www.flightcontrol.dev/docs?ref=nitro",[230,619,620,621,288],{},"Learn more about Flightcontrol's ",[263,622,624],{"href":617,"rel":623},[267],"configuration",[626,627,628],"style",{},"html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}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":5,"searchDepth":355,"depth":355,"links":630},[631],{"id":249,"depth":355,"text":250,"children":632},[633,634],{"id":292,"depth":372,"text":293},{"id":317,"depth":372,"text":635},"Create a project with configuration via flightcontrol.json","Deploy Nitro apps to AWS via Flightcontrol.","md",{},{},{"title":153,"description":636},"GMb7cNlNs9-JV9rXWmy2tvQ89Wfi_3ADfdJezTchfSQ",[643,645],{"title":149,"path":150,"stem":151,"description":644,"children":-1},"Deploy Nitro apps to Firebase.",{"title":157,"path":158,"stem":159,"description":646,"children":-1},"Deploy Nitro apps to Genezio.",1773050452490]