PageSourceSearch

https://laravel.com/build/assets/page-aFA_zReF.js

js laravel.com collected 2026-09-24 08:24:10 UTC 14,801 bytes, 2 lines download raw bytes

1import{j as e,u as r}from"./inertia-Dfj01zwH.js";import{L as i,P as s}from"./cn-C_8-Aw06.js";import{D as l}from"./default-layout-CmMk04BW.js";import{S as c}from"./ship-cta-osT4OZun.js";import{F as d}from"./faq-DPf2Sncd.js";import{Q as u}from"./quote-section-CwmNf-8t.js";import{V as p,W as m,C as g,a as h,D as f}from"./why-cloud-is-better-Cb4_Pcew.js";import{L as y,T as v}from"./logos-CJjhfTx-.js";import{S as x}from"./simple-hero-phJjMx2Y.js";import{d as t,P as o,a as n}from"./page-section-CDuYki2l.js";import{G as b,I as w}from"./grid-section-CckLEWve.js";import{L as C}from"./learn-more-cards-H4gMRHuL.js";import"./index-BVvBGSus.js";import"./default-favicon-BfU9MQjQ.js";import"./form-consent-BEoM_t2W.js";import"./cloud-dots-background-CFYYmsq8.js";import"./page-width-wrapper-CjffrsuA.js";import"./arrow-up-right-CaQQ3t_9.js";import"./dots-pattern-BI75L8_x.js";const S=["Feature","Laravel Cloud","Self-Hosting"],j=[{isHeadingRow:!0,feature:"Key differences",laravelCloud:{type:"description",content:"A fully managed platform built by the Laravel team, supporting Laravel and Symfony apps with one-click autoscaling, databases, caching, storage, and security."},other:{type:"description",content:e.jsxs(e.Fragment,{children:["A general-purpose server environment that requires full manual setup, configuration, and maintenance.",e.jsx("br",{})," You’re responsible for installing dependencies, managing updates, and ensuring performance and security."]})}},{feature:"Purpose-built for Laravel",laravelCloud:{type:"icon_text",icon:"check",content:"Built and maintained by the Laravel team"},other:{type:"icon_text",icon:"x",content:"General server; Laravel must be configured manually (install dependencies, extensions, etc.)"}},{feature:"Framework support",laravelCloud:{type:"text",content:"Laravel and Symfony"},other:{type:"text",content:"Any PHP application (Laravel, WordPress, etc.), other languages depending on OS"}},{feature:"Server management",laravelCloud:{type:"icon_text",icon:"check",content:"Fully managed; no SSH or server config required"},other:{type:"icon_text",icon:"x",content:"You manage OS updates, security patches, web server config, PHP versions, and more"}},{feature:"Integrated caching and queues",laravelCloud:{type:"icon_text",icon:"check",content:"Managed Redis-compatible key-value store and queue workers auto-provisioned"},other:{type:"icon_text",icon:"x",content:"Must install/configure Redis, Memcached, Supervisor, etc., and maintain them yourself"}},{feature:"Infrastructure control",laravelCloud:{type:"text",content:"Limited (fully managed PaaS)"},other:{type:"text",content:"Full control (root access, networking, firewall rules, etc.)"}},{useSeparator:!0,feature:"Performance and scalability",laravelCloud:{type:"description",content:e.jsxs(e.Fragment,{children:["Designed for high concurrency and variable traffic."," ",e.jsx("a",{href:"https://laravel.com/cloud/docs/compute#autoscaling",target:"_blank",rel:"noreferrer",children:"It automatically adjusts resources"})," ","(replica count) to handle load, with instant scaling and load balancing. This ensures consistent response times even under traffic spikes."]})},other:{type:"description",content:"Performance depends on the server size and your tuning. A single VPS has fixed CPU/RAM, so sudden traffic surges can overwhelm it. You can scale by upgrading the server or adding more instances, but this is manual and can involve downtime."}},{feature:"Deployment speed",laravelCloud:{type:"icon_text",icon:"check",content:"Under 60 seconds from Git with automatic builds and zero downtime rollouts"},other:{type:"icon_text",icon:"x",content:"Manual or CI setup needed; typically requires provisioning, SSH/FTP uploads, or pipelines with downtime risk"}},{feature:"Automatic scaling",laravelCloud:{type:"icon_text",icon:"check",content:"Built-in autoscaling up or down based on traffic, with load balancing"},other:{type:"icon_text",icon:"x",content:"No built-in autoscaling; must manually or manage your own load balancer resize"}},{feature:"Cloud Provider choice",laravelCloud:{type:"text",content:"AWS (fully managed by Laravel Cloud)"},other:{type:"text",content:"You can choose your provider of choice"}},{useSeparator:!0,feature:"Deployment",laravelCloud:{type:"description",content:e.jsxs(e.Fragment,{children:["Deploys directly from your Git repo with a single click. Cloud automatically runs builds, migrations, and restarts with"," ",e.jsx("a",{href:"https://laravel.com/cloud/docs/deployments",target:"_blank",rel:"noreferrer",children:"zero downtime"}),". Developers can deploy in seconds without writing any deployment scripts."]})},other:{type:"description",content:"You must set up your own deployment pipeline (for example, using GitHub Actions), which can take minutes or more. Many traditional setups rely on manual file uploads or SSH commands. Without careful configuration, deployments often require putting the app in maintenance mode, which causes downtime."}},{feature:"Git integration",laravelCloud:{type:"icon_text",icon:"check",content:"Zero-config Git deployment (connect GitHub/GitLab and deploy instantly)"},other:{type:"icon_text",icon:"tilde",content:"Possible via custom CI/CD, but requires manual setup of pipelines or hooks"}},{useSeparator:!0,feature:"Monitoring and security",laravelCloud:{type:"description",content:e.jsxs(e.Fragment,{children:["Includes built-in monitoring and logs in the dashboard. You get real-time insights into HTTP traffic, CPU/RAM usage, and can easily search application logs. Optional Laravel-specific monitoring with"," ",e.jsx(i,{href:"/nightwatch",children:"Laravel Nightwatch"})," ","can be enabled with minimal setup."]})},other:{type:"description",content:"You must install and configure your own monitoring tools. Common approaches include running an APM (like New Relic or Datadog), setting up system metrics (Prometheus, Grafana), or using log aggregation. This requires additional maintenance and often incurs higher operating costs at scale."}},{feature:"Monitoring and analytics",laravelCloud:{type:"icon_text",icon:"check",content:"Real-time infrastru
1cture monitoring, HTTP analytics, logs, and app metrics (CPU & memory charts, plus database metrics)"},other:{type:"icon_text",icon:"check",content:"Must install or integrate third-party monitoring or manually inspect logs"}},{feature:"SSL & CDN",laravelCloud:{type:"icon_text",icon:"check",content:"Automatic TLS certificates; includes Cloudflare CDN for caching and security at edge"},other:{type:"icon_text",icon:"x",content:"SSL via Let's Encrypt or manual install; CDN must be configured separately (Cloudflare or other)"}},{feature:"Backups",laravelCloud:{type:"icon_text",icon:"check",content:"Daily automated database backups with point-in-time recovery"},other:{type:"icon_text",icon:"check",content:"Backup strategy up to you (snapshots or custom scripts); often coarser retention"}},{useSeparator:!0,feature:"Pricing",laravelCloud:{type:"description",content:e.jsxs(e.Fragment,{children:["Follows a pay-as-you-go model (Starter costs $5/mo with $5 in usage credits). Your app ",e.jsx("a",{href:"https://laravel.com/cloud/docs/compute#scale-to-zero",className:"underline",children:"scales to zero"})," when idle, significantly reducing costs for apps with intermittent traffic. Engineering is often a project’s biggest expense, and Laravel Cloud significantly reduces DevOps costs, empowering teams to focus on shipping.",e.jsx("br",{}),e.jsx("br",{}),e.jsxs("a",{href:"https://cloud.laravel.com/pricing/calculator",target:"_blank",rel:"noreferrer",className:"text-color-brand flex flex-row items-center gap-2 md:justify-center",children:["Calculate your usage and pricing."," ",e.jsx("span",{"aria-hidden":"true",className:"-mt-1 inline-block text-red-500",children:"↗"})]})]})},other:{type:"description",content:"Costs are typically fixed by the server plan and often exclude the human hours spent managing infrastructure, which increases the cost of each project."}},{feature:"Pricing model",laravelCloud:{type:"text",content:"Pay-for-what-you-use with monthly fees for all plans"},other:{type:"text",content:"Self-hosting may look cheaper upfront, but you'll still pay in time and tools (server costs, monitoring, etc.)"}},{feature:"Trial available",laravelCloud:{type:"text",content:"Start in Cloud with $5 in free usage credit."},other:{type:"text",content:""}}];function k(){const{faqs:a}=r().props;return e.jsxs(e.Fragment,{children:[e.jsx(s,{title:"Laravel Cloud vs. Self-Hosting on VPS",description:"Compare Laravel Cloud and self-hosting on VPS. Cloud offers fully managed infrastructure for Laravel and Symfony with easy scaling, while self-hosting gives you full control.",ogImage:"/images/cloud/og/cloud-vs-vps.png",canonical:"cloud/cloud-vs-vps"}),e.jsx(x,{title:"Laravel Cloud vs. Self-Hosting on VPS",subtitle:"Laravel Cloud provides fully managed hosting with built-in autoscaling and scale to zero, zero-downtime deploys and managed databases and cache, significantly reducing the ops overhead compared to a self-hosted VPS. It's the best option for productive developers who want to ship without managing infrastructure.",primaryCta:{text:"Deploy with Cloud"}}),e.jsx(t,{children:e.jsx(p,{left:{title:"Laravel Cloud",description:e.jsxs(e.Fragment,{children:[e.jsx("strong",{children:"Laravel Cloud is a fully managed hosting platform built by the Laravel team."})," ","It automates everything from server provisioning to scaling to security, so developers can focus on building and shipping."]}),items:["Deploy from Git in under a minute, with zero server setup or config.","Automatic autoscaling and managed replicas keep performance steady during traffic spikes.","Managed databases, Redis-compatible caching, SSL, and backups reduce ongoing ops work."]},right:{title:"Self-Hosting (VPS/Dedicated)",description:e.jsxs(e.Fragment,{children:[e.jsx("strong",{children:"Self-hosting means running your Laravel app on your own servers or VPS (virtual private server) and doing all the setup and maintenance yourself."})," ","With self-hosting, you must configure the server (OS, PHP, web server), install and manage databases, cache stores, and queue workers, and handle deployments, backups, updates, and scaling manually."]}),items:["Full control over OS, networking, and custom configurations for specialized requirements.","Lower raw hosting fees at scale, but developer time for setup, maintenance, and incidents usually raises the true cost per project.","Flexible tooling and vendor choice, letting you run nonstandard services or custom infrastru
1cture."]}})}),e.jsx(b,{contentPadding:"none",children:e.jsx(w,{children:e.jsx(y,{})})}),e.jsx(t,{background:"faded-dots",children:e.jsx(u,{className:"px-6 py-32",quote:"I love the dashboard. I can control everything and see it in real time. I can't imagine my platform without Cloud. Everything I do just works.",name:"Alexander Michailidis",title:"CEO at Gnarlux",avatar:"/images/cloud/comparison/alexander-micha.png",linkHref:"https://laravel.com/blog/launching-testing-in-minutes-not-hours-with-laravel-cloud",linkText:"Read story"})}),e.jsx(t,{children:e.jsx(m,{title:e.jsx(e.Fragment,{children:"Why Laravel Cloud is better than self-hosting"}),benefits:[e.jsxs(e.Fragment,{children:[e.jsx("strong",{children:"Deploy in under 60 seconds"})," moving from Git to live with minimal setup."]}),e.jsxs(e.Fragment,{children:[e.jsx("strong",{children:"Automatic scaling and zero downtime"})," for peace of mind, especially during traffic peaks."]}),e.jsxs(e.Fragment,{children:[e.jsx("strong",{children:"Cost-efficient pay-as-you-go model"})," where you can scale your entire stack (compute, databases, cache) to zero."]})]})}),e.jsx(t,{spacing:{top:"lg",bottom:"lg"},children:e.jsx(g,{title:"Laravel Cloud compared to Self-Hosting on VPS",description:e.jsxs(e.Fragment,{children:["Laravel Cloud outperforms self-hosting on a VPS by allowing development teams to reduce time to market while scaling reliably without DevOps overhead."," ",e.jsx("a",{href:"https://laravel.com/cloud/docs/applications#creating-from-starter-kits",target:"_blank",rel:"noreferrer",className:"text-default underline",children:"Starter Kits"})," ","are available to further expedite building."]}),headers:S,rows:j})}),e.jsx(t,{children:e.jsx(h,{title:"Who should choose Laravel Cloud vs. Self-Hosting?",left:{title:"Pick Laravel Cloud",description:"Choose Laravel Cloud if you want a fully managed, Laravel-native platform that removes server management entirely. It is ideal for teams that want to focus on development without DevOps overhead.",image:"/images/cloud/comparison/laravel-cloud.png",imageAlt:"Laravel Cloud"},right:{title:"Pick Self-Hosting (VPS/Dedicated)",description:"Choose self-hosting if you require maximum control over your infrastructure. For example, if you need specific server configurations, want to run multiple kinds of applications on the same servers, or have strong DevOps expertise. It gives you full flexibility (you can SSH in and configure anything), but you must handle scaling, security, and maintenance yourself, increasing the costs per project.",image:"/images/cloud/comparison/vps.svg",imageAlt:"Self-Hosting VPS"}})}),e.jsx(t,{spacing:["top"],className:"bg-slate-light-1",children:e.jsx(f,{})}),e.jsx(t,{children:e.jsx(v,{})}),e.jsx(t,{spacing:["top"],children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2",children:[e.jsx(o,{className:"lg:border-b-0",children:e.jsx(n,{children:"Frequently asked questions"})}),e.jsx("div",{className:"border-cloud-grid lg:border-l lg:py-16",children:e.jsx("div",{className:"border-cloud-grid py-8 lg:border-y",children:e.jsx(d,{variant:"cloud",items:a,title:null,className:"border-cloud-grid px-6 sm:px-10",structuredData:!0})})})]})}),e.jsxs(t,{spacing:["bottom"],children:[e.jsx(o,{children:e.jsx(n,{className:"max-w-[840px]",children:"Learn more about Laravel Cloud"})}),e.jsx(C,{cards:[{title:"Your Laravel Cloud Stack Now Scales to Zero and Wakes 20x Faster",href:"https://laravel.com/blog/your-laravel-cloud-stack-now-scales-to-zero",thumbnail:"/images/cloud/comparison/blog-1.avif"},{title:"1M Deploys on Laravel Cloud: Lessons on Billing, Admin & Integrations",href:"https://laravel.com/blog/1m-deploys-on-laravel-cloud-lessons-on-billing-admin-integrations",thumbnail:"/images/cloud/comparison/blog-3.png"},{title:"From Heroku to Laravel Cloud: How Superscript Saved 30% in One Month",href:"https://laravel.com/cloud/customer-stories/from-heroku-to-laravel-cloud-how-superscript-saved-30-in-one-month",thumbnail:"/images/cloud/blog/superscript-heroku.avif"}]})]}),e.jsx(c,{variant:"grid"})]})}k.layout=a=>e.jsx(l,{variant:"cloud",children:a});
1export{k as default};
2//# sourceMappingURL=page-aFA_zReF.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.