[{"data":1,"prerenderedAt":640},["ShallowReactive",2],{"navigation":3,"-deploy-providers-flightcontrol":217,"-deploy-providers-flightcontrol-surround":635},[4,83,208,214],{"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":5,"path":215,"stem":216},"/","index",{"id":218,"title":153,"body":219,"description":629,"extension":630,"meta":631,"navigation":632,"path":154,"seo":633,"stem":155,"__hash__":634},"content/2.deploy/20.providers/flightcontrol.md",{"type":220,"value":221,"toc":622},"minimark",[222,234,239,244,247,282,287,308,314,329,602,608,618],[223,224,225,229,230],"p",{},[226,227,228],"strong",{},"Preset:"," ",[231,232,233],"code",{},"flightcontrol",[235,236],"read-more",{"to":237,"title":238},"https://flightcontrol.dev?ref=nitro","flightcontrol.dev",[240,241,243],"h2",{"id":242},"set-up-your-flightcontrol-account","Set Up your flightcontrol account",[223,245,246],{},"On a high level, the steps you will need to follow to deploy a project for the first time are:",[248,249,251,261,269,272,275],"steps",{"level":250},"4",[252,253,254,255],"h4",{},"Create an account at ",[256,257,153],"a",{"href":258,"rel":259},"https://app.flightcontrol.dev/signup?ref=nitro",[260],"nofollow",[252,262,254,263,268],{},[256,264,267],{"href":265,"rel":266},"https://portal.aws.amazon.com/billing/signup",[260],"AWS"," (if you don't already have one)",[252,270,271],{},"Link your AWS account to the Flightcontrol",[252,273,274],{},"Authorize the Flightcontrol GitHub App to access your chosen repositories, public or private.",[252,276,277,278,281],{},"Create a Flightcontrol project with configuration via the Dashboard or with configuration via ",[231,279,280],{},"flightcontrol.json",".",[283,284,286],"h3",{"id":285},"create-a-project-with-configuration-via-the-dashboard","Create a project with configuration via the dashboard",[248,288,289,292,299,302,305],{"level":250},[252,290,291],{},"Create a Flightcontrol project from the Dashboard. Select a repository for the source.",[252,293,294,295,298],{},"Select the ",[231,296,297],{},"GUI"," config type.",[252,300,301],{},"Select the Nuxt preset. This preset will also work for any Nitro-based applications.",[252,303,304],{},"Select your preferred AWS server size.",[252,306,307],{},"Submit the new project form.",[283,309,311,312],{"id":310},"create-a-project-with-configuration-via-flightcontroljson","Create a project with configuration via ",[231,313,280],{},[248,315,316,319,323],{"level":250},[252,317,318],{},"Create a Flightcontrol project from your dashboard. Select a repository for the source.",[252,320,294,321,298],{},[231,322,280],{},[252,324,325,326,328],{},"Add a new file at the root of your repository called ",[231,327,280],{},". Here is an example configuration that creates an AWS fargate service for your app:",[330,331,335],"pre",{"className":332,"code":333,"filename":280,"language":334,"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",[231,336,337,346,363,372,378,391,404,417,426,437,443,451,457,470,483,496,509,522,535,548,561,572,578,584,590,596],{"__ignoreMap":5},[338,339,342],"span",{"class":340,"line":341},"line",1,[338,343,345],{"class":344},"slsVL","{\n",[338,347,349,353,356,360],{"class":340,"line":348},2,[338,350,352],{"class":351},"suiK_","  \"$schema\"",[338,354,355],{"class":344},": ",[338,357,359],{"class":358},"sfrk1","\"https://app.flightcontrol.dev/schema.json\"",[338,361,362],{"class":344},",\n",[338,364,366,369],{"class":340,"line":365},3,[338,367,368],{"class":351},"  \"environments\"",[338,370,371],{"class":344},": [\n",[338,373,375],{"class":340,"line":374},4,[338,376,377],{"class":344},"    {\n",[338,379,381,384,386,389],{"class":340,"line":380},5,[338,382,383],{"class":351},"      \"id\"",[338,385,355],{"class":344},[338,387,388],{"class":358},"\"production\"",[338,390,362],{"class":344},[338,392,394,397,399,402],{"class":340,"line":393},6,[338,395,396],{"class":351},"      \"name\"",[338,398,355],{"class":344},[338,400,401],{"class":358},"\"Production\"",[338,403,362],{"class":344},[338,405,407,410,412,415],{"class":340,"line":406},7,[338,408,409],{"class":351},"      \"region\"",[338,411,355],{"class":344},[338,413,414],{"class":358},"\"us-west-2\"",[338,416,362],{"class":344},[338,418,420,423],{"class":340,"line":419},8,[338,421,422],{"class":351},"      \"source\"",[338,424,425],{"class":344},": {\n",[338,427,429,432,434],{"class":340,"line":428},9,[338,430,431],{"class":351},"        \"branch\"",[338,433,355],{"class":344},[338,435,436],{"class":358},"\"main\"\n",[338,438,440],{"class":340,"line":439},10,[338,441,442],{"class":344},"      },\n",[338,444,446,449],{"class":340,"line":445},11,[338,447,448],{"class":351},"      \"services\"",[338,450,371],{"class":344},[338,452,454],{"class":340,"line":453},12,[338,455,456],{"class":344},"        {\n",[338,458,460,463,465,468],{"class":340,"line":459},13,[338,461,462],{"class":351},"          \"id\"",[338,464,355],{"class":344},[338,466,467],{"class":358},"\"nitro\"",[338,469,362],{"class":344},[338,471,473,476,478,481],{"class":340,"line":472},14,[338,474,475],{"class":351},"          \"buildType\"",[338,477,355],{"class":344},[338,479,480],{"class":358},"\"nixpacks\"",[338,482,362],{"class":344},[338,484,486,489,491,494],{"class":340,"line":485},15,[338,487,488],{"class":351},"          \"name\"",[338,490,355],{"class":344},[338,492,493],{"class":358},"\"My Nitro site\"",[338,495,362],{"class":344},[338,497,499,502,504,507],{"class":340,"line":498},16,[338,500,501],{"class":351},"          \"type\"",[338,503,355],{"class":344},[338,505,506],{"class":358},"\"fargate\"",[338,508,362],{"class":344},[338,510,512,515,517,520],{"class":340,"line":511},17,[338,513,514],{"class":351},"          \"domain\"",[338,516,355],{"class":344},[338,518,519],{"class":358},"\"www.yourdomain.com\"",[338,521,362],{"class":344},[338,523,525,528,530,533],{"class":340,"line":524},18,[338,526,527],{"class":351},"          \"outputDirectory\"",[338,529,355],{"class":344},[338,531,532],{"class":358},"\".output\"",[338,534,362],{"class":344},[338,536,538,541,543,546],{"class":340,"line":537},19,[338,539,540],{"class":351},"          \"startCommand\"",[338,542,355],{"class":344},[338,544,545],{"class":358},"\"node .output/server/index.mjs\"",[338,547,362],{"class":344},[338,549,551,554,556,559],{"class":340,"line":550},20,[338,552,553],{"class":351},"          \"cpu\"",[338,555,355],{"class":344},[338,557,558],{"class":351},"0.25",[338,560,362],{"class":344},[338,562,564,567,569],{"class":340,"line":563},21,[338,565,566],{"class":351},"          \"memory\"",[338,568,355],{"class":344},[338,570,571],{"class":351},"0.5\n",[338,573,575],{"class":340,"line":574},22,[338,576,577],{"class":344},"        }\n",[338,579,581],{"class":340,"line":580},23,[338,582,583],{"class":344},"      ]\n",[338,585,587],{"class":340,"line":586},24,[338,588,589],{"class":344},"    }\n",[338,591,593],{"class":340,"line":592},25,[338,594,595],{"class":344},"  ]\n",[338,597,599],{"class":340,"line":598},26,[338,600,601],{"class":344},"}\n",[603,604,605],"ol",{"start":374},[606,607,307],"li",{},[235,609,611],{"to":610},"https://www.flightcontrol.dev/docs?ref=nitro",[223,612,613,614,281],{},"Learn more about Flightcontrol's ",[256,615,617],{"href":610,"rel":616},[260],"configuration",[619,620,621],"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":348,"depth":348,"links":623},[624],{"id":242,"depth":348,"text":243,"children":625},[626,627],{"id":285,"depth":365,"text":286},{"id":310,"depth":365,"text":628},"Create a project with configuration via flightcontrol.json","Deploy Nitro apps to AWS via Flightcontrol.","md",{},{},{"title":153,"description":629},"GMb7cNlNs9-JV9rXWmy2tvQ89Wfi_3ADfdJezTchfSQ",[636,638],{"title":149,"path":150,"stem":151,"description":637,"children":-1},"Deploy Nitro apps to Firebase.",{"title":157,"path":158,"stem":159,"description":639,"children":-1},"Deploy Nitro apps to Genezio.",1764004918873]