[{"data":1,"prerenderedAt":724},["ShallowReactive",2],{"doc-page:\u002Fdocs\u002Fcloud-services":3},{"doc":4,"prev":683,"next":691,"resolvedType":8,"readingMinutes":143,"audience":699,"checklist":703,"related":707},{"path":5,"title":6,"description":7,"docType":8,"resourceKind":9,"categoryId":10,"categoryLabel":11,"updatedAt":12,"publishedAt":12,"icon":13,"body":14},"\u002Fdocs\u002Fcloud-services","云服务与部署平台","Vercel、Cloudflare、AWS、Azure 等云平台使用指南与管理入口","article",null,"infra-deployment","服务器与部署","2026-02-11","i-carbon-cloud",{"type":15,"value":16,"toc":652},"minimark",[17,20,24,28,57,60,75,78,81,86,89,101,104,179,182,193,196,207,211,214,223,225,304,307,318,320,334,337,341,344,353,356,419,422,426,429,438,441,444,448,451,461,464,467,471,474,483,487,490,508,512,515,524,527,531,542,546,554,557,565,568,572,575,579,590,594,597,600,648],[18,19,6],"h1",{"id":6},[21,22,23],"p",{},"这页更适合当成“平台选型入口”来看，而不是只记控制台地址。不同平台分别擅长前端托管、边缘计算、传统云主机、域名管理和开发者权益，先按需求选平台，后续运维压力会小很多。",[25,26,27],"h2",{"id":27},"先按场景选平台",[29,30,31,39,45,51],"ul",{},[32,33,34,38],"li",{},[35,36,37],"strong",{},"静态站点 \u002F 前端项目快速上线","：优先 Vercel、Cloudflare Pages",[32,40,41,44],{},[35,42,43],{},"边缘函数、CDN、全球低延迟访问","：优先 Cloudflare Workers",[32,46,47,50],{},[35,48,49],{},"需要完整 Linux 主机控制权","：优先 AWS EC2、Azure VM、VPS",[32,52,53,56],{},[35,54,55],{},"只管域名和 DNS","：优先域名注册商 + 独立 DNS 管理",[25,58,59],{"id":59},"新项目的推荐顺序",[61,62,63,66,69,72],"ol",{},[32,64,65],{},"先确认项目是静态、SSR、API 还是长期运行服务",[32,67,68],{},"再选择最小可用平台，不要一开始就堆太多云服务",[32,70,71],{},"先跑通部署、日志、域名和回滚",[32,73,74],{},"最后再补监控、对象存储、数据库和边缘能力",[21,76,77],{},"大多数个人项目和内容站，先把“构建能稳定、域名能访问、出错能回滚”做好，比一上来追求复杂架构更重要。",[25,79,80],{"id":80},"前端部署平台",[82,83,85],"h3",{"id":84},"vercel","Vercel",[21,87,88],{},"前端项目部署平台，支持 Next.js、Nuxt、Vue 等框架，自动 CI\u002FCD。",[29,90,91],{},[32,92,93,94],{},"控制台：",[95,96,100],"a",{"href":97,"rel":98},"https:\u002F\u002Fvercel.com\u002F",[99],"nofollow","vercel.com",[21,102,103],{},"使用方式：",[105,106,111],"pre",{"className":107,"code":108,"language":109,"meta":110,"style":110},"language-bash shiki shiki-themes github-light github-dark","# 安装 CLI\nnpm i -g vercel\n\n# 部署\nvercel\n\n# 部署到生产环境\nvercel --prod\n","bash","",[112,113,114,123,141,148,154,160,165,171],"code",{"__ignoreMap":110},[115,116,119],"span",{"class":117,"line":118},"line",1,[115,120,122],{"class":121},"sJ8bj","# 安装 CLI\n",[115,124,126,130,134,138],{"class":117,"line":125},2,[115,127,129],{"class":128},"sScJk","npm",[115,131,133],{"class":132},"sZZnC"," i",[115,135,137],{"class":136},"sj4cs"," -g",[115,139,140],{"class":132}," vercel\n",[115,142,144],{"class":117,"line":143},3,[115,145,147],{"emptyLinePlaceholder":146},true,"\n",[115,149,151],{"class":117,"line":150},4,[115,152,153],{"class":121},"# 部署\n",[115,155,157],{"class":117,"line":156},5,[115,158,159],{"class":128},"vercel\n",[115,161,163],{"class":117,"line":162},6,[115,164,147],{"emptyLinePlaceholder":146},[115,166,168],{"class":117,"line":167},7,[115,169,170],{"class":121},"# 部署到生产环境\n",[115,172,174,176],{"class":117,"line":173},8,[115,175,84],{"class":128},[115,177,178],{"class":136}," --prod\n",[21,180,181],{},"适合：",[29,183,184,187,190],{},[32,185,186],{},"Next.js、Nuxt、React、Vue 等前端站点",[32,188,189],{},"预览部署频繁、希望每次提交自动产出预览链接的项目",[32,191,192],{},"对前端体验、分支预览和团队协作要求较高的场景",[21,194,195],{},"进阶功能：",[29,197,198,201,204],{},[32,199,200],{},"Edge Functions：边缘计算",[32,202,203],{},"Analytics：性能分析",[32,205,206],{},"自定义域名与 SSL",[82,208,210],{"id":209},"cloudflare-workers-pages","Cloudflare Workers & Pages",[21,212,213],{},"边缘计算与静态站点部署，全球 CDN 加速。",[29,215,216],{},[32,217,93,218],{},[95,219,222],{"href":220,"rel":221},"https:\u002F\u002Fdash.cloudflare.com\u002F",[99],"dash.cloudflare.com",[21,224,103],{},[105,226,228],{"className":107,"code":227,"language":109,"meta":110,"style":110},"# 安装 Wrangler CLI\nnpm i -g wrangler\n\n# 登录\nwrangler login\n\n# 部署 Pages\nwrangler pages deploy .\u002Fdist\n\n# 部署 Worker\nwrangler deploy\n",[112,229,230,235,246,250,255,263,267,272,285,290,296],{"__ignoreMap":110},[115,231,232],{"class":117,"line":118},[115,233,234],{"class":121},"# 安装 Wrangler CLI\n",[115,236,237,239,241,243],{"class":117,"line":125},[115,238,129],{"class":128},[115,240,133],{"class":132},[115,242,137],{"class":136},[115,244,245],{"class":132}," wrangler\n",[115,247,248],{"class":117,"line":143},[115,249,147],{"emptyLinePlaceholder":146},[115,251,252],{"class":117,"line":150},[115,253,254],{"class":121},"# 登录\n",[115,256,257,260],{"class":117,"line":156},[115,258,259],{"class":128},"wrangler",[115,261,262],{"class":132}," login\n",[115,264,265],{"class":117,"line":162},[115,266,147],{"emptyLinePlaceholder":146},[115,268,269],{"class":117,"line":167},[115,270,271],{"class":121},"# 部署 Pages\n",[115,273,274,276,279,282],{"class":117,"line":173},[115,275,259],{"class":128},[115,277,278],{"class":132}," pages",[115,280,281],{"class":132}," deploy",[115,283,284],{"class":132}," .\u002Fdist\n",[115,286,288],{"class":117,"line":287},9,[115,289,147],{"emptyLinePlaceholder":146},[115,291,293],{"class":117,"line":292},10,[115,294,295],{"class":121},"# 部署 Worker\n",[115,297,299,301],{"class":117,"line":298},11,[115,300,259],{"class":128},[115,302,303],{"class":132}," deploy\n",[21,305,306],{},"更适合：",[29,308,309,312,315],{},[32,310,311],{},"希望全球访问更稳的静态站点",[32,313,314],{},"需要 Workers \u002F KV \u002F D1 \u002F R2 一体化能力的项目",[32,316,317],{},"想把 CDN、域名、WAF、边缘逻辑放在同一平台管理的场景",[21,319,195],{},[29,321,322,325,328,331],{},[32,323,324],{},"KV Storage：键值存储",[32,326,327],{},"D1：SQLite 数据库",[32,329,330],{},"R2：对象存储（S3 兼容）",[32,332,333],{},"Workers AI：边缘 AI 推理",[25,335,336],{"id":336},"云服务器",[82,338,340],{"id":339},"aws-ec2","AWS EC2",[21,342,343],{},"Amazon EC2 虚拟服务器。",[29,345,346],{},[32,347,93,348],{},[95,349,352],{"href":350,"rel":351},"https:\u002F\u002Fap-northeast-1.console.aws.amazon.com\u002Fec2\u002Fhome?region=ap-northeast-1#Home:",[99],"ap-northeast-1",[21,354,355],{},"常用操作：",[105,357,359],{"className":107,"code":358,"language":109,"meta":110,"style":110},"# SSH 连接\nssh -i key.pem ec2-user@\u003Cip>\n\n# 使用 AWS CLI\naws ec2 describe-instances --region ap-northeast-1\n",[112,360,361,366,393,397,402],{"__ignoreMap":110},[115,362,363],{"class":117,"line":118},[115,364,365],{"class":121},"# SSH 连接\n",[115,367,368,371,374,377,380,384,387,390],{"class":117,"line":125},[115,369,370],{"class":128},"ssh",[115,372,373],{"class":136}," -i",[115,375,376],{"class":132}," key.pem",[115,378,379],{"class":132}," ec2-user@",[115,381,383],{"class":382},"szBVR","\u003C",[115,385,386],{"class":132},"i",[115,388,21],{"class":389},"sVt8B",[115,391,392],{"class":382},">\n",[115,394,395],{"class":117,"line":143},[115,396,147],{"emptyLinePlaceholder":146},[115,398,399],{"class":117,"line":150},[115,400,401],{"class":121},"# 使用 AWS CLI\n",[115,403,404,407,410,413,416],{"class":117,"line":156},[115,405,406],{"class":128},"aws",[115,408,409],{"class":132}," ec2",[115,411,412],{"class":132}," describe-instances",[115,414,415],{"class":136}," --region",[115,417,418],{"class":132}," ap-northeast-1\n",[21,420,421],{},"EC2 更适合通用后端、容器、自建服务和需要完全控制系统环境的场景，但也意味着你要自己负责补丁、监控、备份和安全组。",[82,423,425],{"id":424},"azure-vm","Azure VM",[21,427,428],{},"Microsoft Azure 虚拟机。",[29,430,431],{},[32,432,93,433],{},[95,434,437],{"href":435,"rel":436},"https:\u002F\u002Fportal.azure.com\u002F",[99],"portal.azure.com",[21,439,440],{},"如果你的身份、订阅、企业环境本来就在微软生态里，Azure 的接入会更顺手。",[25,442,443],{"id":443},"域名",[82,445,447],{"id":446},"spaceship","Spaceship",[21,449,450],{},"域名注册与管理平台，价格实惠。",[29,452,453],{},[32,454,455,456],{},"地址：",[95,457,460],{"href":458,"rel":459},"https:\u002F\u002Fwww.spaceship.com\u002F",[99],"spaceship.com",[21,462,463],{},"域名平台最重要的不是注册那一刻，而是后续续费、DNS、隐私保护、转移与解析管理是否省心。",[25,465,466],{"id":466},"其他服务",[82,468,470],{"id":469},"visual-studio-订阅","Visual Studio 订阅",[21,472,473],{},"MSDN 订阅权益管理（软件下载、Azure 额度等）：",[29,475,476],{},[32,477,455,478],{},[95,479,482],{"href":480,"rel":481},"https:\u002F\u002Fmy.visualstudio.com\u002F",[99],"my.visualstudio.com",[82,484,486],{"id":485},"github","GitHub",[21,488,489],{},"代码托管与协作平台：",[29,491,492,500],{},[32,493,494,495],{},"个人仓库：",[95,496,499],{"href":497,"rel":498},"https:\u002F\u002Fgithub.com\u002Fdomidoremi?tab=repositories",[99],"github.com\u002Fdomidoremi",[32,501,502,503],{},"中文热门项目：",[95,504,507],{"href":505,"rel":506},"https:\u002F\u002Fgithub.com\u002Ftrending?spoken_language_code=zh",[99],"GitHub Trending",[82,509,511],{"id":510},"bilibili","Bilibili",[21,513,514],{},"视频平台，也是技术教程的重要来源：",[29,516,517],{},[32,518,455,519],{},[95,520,523],{"href":521,"rel":522},"https:\u002F\u002Fwww.bilibili.com\u002F",[99],"bilibili.com",[25,525,526],{"id":526},"平台选择建议",[82,528,530],{"id":529},"内容站-文档站","内容站 \u002F 文档站",[29,532,533,536,539],{},[32,534,535],{},"优先 Cloudflare Pages 或 Vercel",[32,537,538],{},"域名解析和 CDN 尽量和部署平台协同配置",[32,540,541],{},"构建链路简单时，排障成本最低",[82,543,545],{"id":544},"api-后端服务","API \u002F 后端服务",[29,547,548,551],{},[32,549,550],{},"需要长连接、定时任务、复杂进程时，优先云主机或容器平台",[32,552,553],{},"轻量边缘 API 才优先考虑 Workers",[82,555,556],{"id":556},"学习和实验",[29,558,559,562],{},[32,560,561],{},"先用免费额度或最小实例",[32,563,564],{},"优先选择你已经熟悉文档和控制台的平台",[25,566,567],{"id":567},"常见问题",[82,569,571],{"id":570},"平台很多应该先学哪个","平台很多，应该先学哪个",[21,573,574],{},"先学一个你当前最需要的。内容站就先学 Cloudflare Pages 或 Vercel；后端服务就先学一台 Linux 主机。先形成完整闭环，比浅尝辄止同时学 5 个平台更有效。",[82,576,578],{"id":577},"本地能跑云端不通过","本地能跑，云端不通过",[29,580,581,584,587],{},[32,582,583],{},"先看构建环境版本是否一致",[32,585,586],{},"再看平台安装链路、环境变量、路径区分和权限限制",[32,588,589],{},"最后再排查框架兼容性和平台特定配置",[82,591,593],{"id":592},"要不要一开始就上-aws-azure-全家桶","要不要一开始就上 AWS \u002F Azure 全家桶",[21,595,596],{},"不建议。平台能力很强，但也会显著增加理解和运维负担。个人项目更适合从单平台、单服务开始。",[25,598,599],{"id":599},"参考链接",[29,601,602,610,618,626,634,641],{},[32,603,604,609],{},[95,605,608],{"href":606,"rel":607},"https:\u002F\u002Fvercel.com\u002Fdocs",[99],"Vercel 文档"," — 官方文档",[32,611,612,617],{},[95,613,616],{"href":614,"rel":615},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002F",[99],"Cloudflare Workers 文档"," — 开发者文档",[32,619,620,625],{},[95,621,624],{"href":622,"rel":623},"https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fworkers-sdk",[99],"Wrangler GitHub"," — CLI 源码",[32,627,628,633],{},[95,629,632],{"href":630,"rel":631},"https:\u002F\u002Faws.amazon.com\u002Fcli\u002F",[99],"AWS CLI"," — 命令行工具",[32,635,636,633],{},[95,637,640],{"href":638,"rel":639},"https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fcli\u002Fazure\u002F",[99],"Azure CLI",[32,642,643,647],{},[95,644,646],{"href":645},"\u002Fdocs\u002Fcloudflare-pages-deploy","Cloudflare Pages 部署指南"," — 更贴近当前站点的实际部署流程",[649,650,651],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}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);}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}",{"title":110,"searchDepth":125,"depth":125,"links":653},[654,655,656,660,664,667,672,677,682],{"id":27,"depth":125,"text":27},{"id":59,"depth":125,"text":59},{"id":80,"depth":125,"text":80,"children":657},[658,659],{"id":84,"depth":143,"text":85},{"id":209,"depth":143,"text":210},{"id":336,"depth":125,"text":336,"children":661},[662,663],{"id":339,"depth":143,"text":340},{"id":424,"depth":143,"text":425},{"id":443,"depth":125,"text":443,"children":665},[666],{"id":446,"depth":143,"text":447},{"id":466,"depth":125,"text":466,"children":668},[669,670,671],{"id":469,"depth":143,"text":470},{"id":485,"depth":143,"text":486},{"id":510,"depth":143,"text":511},{"id":526,"depth":125,"text":526,"children":673},[674,675,676],{"id":529,"depth":143,"text":530},{"id":544,"depth":143,"text":545},{"id":556,"depth":143,"text":556},{"id":567,"depth":125,"text":567,"children":678},[679,680,681],{"id":570,"depth":143,"text":571},{"id":577,"depth":143,"text":578},{"id":592,"depth":143,"text":593},{"id":599,"depth":125,"text":599},{"path":684,"title":685,"description":686,"docType":8,"resourceKind":9,"categoryId":687,"categoryLabel":688,"updatedAt":689,"publishedAt":689,"icon":690},"\u002Fdocs\u002Fai-tools","AI 工具合集","主流 AI 对话助手、编程助手、模型评测、提示词优化与模型库","ai-tools","AI 工具","2026-02-19","i-carbon-chat-bot",{"path":692,"title":693,"description":694,"docType":8,"resourceKind":9,"categoryId":695,"categoryLabel":696,"updatedAt":697,"publishedAt":697,"icon":698},"\u002Fdocs\u002Fvideo-download","视频下载与处理","YouTube、抖音、TikTok、Nico 等平台视频下载工具及 FFmpeg 编码指南","media-creation","媒体与创作","2026-02-07","i-carbon-media-library",[700,701,702],"希望把零散经验整理成长期可复用工作流的人","想先建立认知，再决定是否深入实践的人","希望阅读时顺手建立自己的操作清单或收藏体系的人",[704,705,706],"先浏览标题、摘要和目录，带着问题阅读会更高效","顺手记录真正对你有用的命令、链接和注意事项，避免重复搜索","如果页面里提到相关文档，尽量一起打开对照，效果通常更完整",[708,711,715,720],{"path":645,"title":646,"description":709,"docType":8,"resourceKind":9,"categoryId":10,"categoryLabel":11,"updatedAt":710,"publishedAt":710,"icon":13},"Cloudflare Pages 项目部署、自定义域名、环境变量、重定向与 Functions","2026-02-28",{"path":712,"title":713,"description":714,"docType":8,"resourceKind":9,"categoryId":10,"categoryLabel":11,"updatedAt":710,"publishedAt":710,"icon":13},"\u002Fdocs\u002Fs3-storage","S3 对象存储","S3 兼容存储使用、Cloudflare R2、MinIO 自建、rclone 同步与 SDK 集成",{"path":716,"title":717,"description":718,"docType":8,"resourceKind":9,"categoryId":10,"categoryLabel":11,"updatedAt":719,"publishedAt":719,"icon":13},"\u002Fdocs\u002Fmonitoring-logging","监控与日志","服务器监控工具、日志管理、Uptime 监控与告警配置","2026-02-27",{"path":721,"title":722,"description":723,"docType":8,"resourceKind":9,"categoryId":10,"categoryLabel":11,"updatedAt":719,"publishedAt":719,"icon":13},"\u002Fdocs\u002Fcontainer-orchestration","容器编排入门","Docker Swarm 与 Kubernetes 基础概念、常用命令与本地开发环境",1776215712449]