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