Short answer: Serverless is a way of running software where the cloud provider runs and scales the servers and you pay only when your code actually runs. On AWS Lambda, the best-known example, your code starts in response to a request or event, runs for up to 15 minutes per call, and is billed by the number of requests and the compute time used, with a monthly free tier. It suits business apps with uneven traffic, such as internal tools, form handlers, integrations, and scheduled jobs. A regular server can be simpler or cheaper for steady, heavy, or long-running work. We Build Custom Software builds serverless backends on AWS and will tell you when a regular server fits better.

Key facts

  • Definition: AWS describes Lambda as a serverless compute service that runs code without provisioning or managing servers; AWS handles server maintenance, capacity, scaling, and patching.
  • Billing: Lambda functions are billed per request plus compute time (GB-seconds, memory times duration). The free tier includes 1 million requests and 400,000 GB-seconds per month.
  • Time limit: a standard Lambda function runs up to 15 minutes per invocation, with 128 MB to 10,240 MB of memory.
  • Scaling: new AWS accounts default to 1,000 concurrent executions per Region, which can be raised, and lower for brand-new accounts until AWS raises it automatically.
  • Cold starts: AWS says they occur in under 1% of invocations and range from under 100 ms to over 1 second.
  • Other serverless pieces: managed databases, file storage (Amazon S3), queues, and API gateways that also scale without a server to manage.

What does serverless mean in plain terms?

Serverless means you hand the cloud provider your code and it runs it when something happens: a web request, a form submission, a file upload, an email arriving, or a schedule. There's no machine you log into, update, or keep running overnight. When ten requests arrive at once, ten copies run. When nothing happens, nothing runs and, for compute, nothing is billed.

The best-known service is AWS Lambda. Google Cloud and Microsoft Azure have their own equivalents. A serverless app usually combines several managed pieces: functions for the logic, a managed database, file storage such as Amazon S3, and an API endpoint for the web or mobile front end.

Serverless vs a traditional server: what's the difference?

The difference is who manages the machine and how you pay for it.

Serverless (for example AWS Lambda)Server (virtual server or VPS)
Who patches and maintains itThe providerYou or your developer
Paying for idle timeNo, for computeYes, it runs all month
Handling traffic spikesScales automaticallyLimited by the server size you chose
Long-running jobsUp to 15 minutes per call (longer with special options)No limit
Startup delayOccasional cold startsAlways running
Best forUneven traffic, event-driven work, small teamsSteady heavy load, long processes, software that expects a server

How much does serverless cost to run?

For a typical small business app, compute costs are low because you only pay while code runs, but the total depends on more than functions. AWS bills Lambda by requests and by GB-seconds (memory multiplied by run time), and its free tier covers 1 million requests and 400,000 GB-seconds a month. The rest of the bill usually comes from the database, file storage, data transfer, and any AI model usage. Use the AWS Pricing Calculator with your expected traffic for an estimate; we don't quote prices here, but we'll walk through what drives the cost for your project if you describe it.

One honest caveat: at constant high volume, paying per request can cost more than a server that's busy all the time. Serverless wins when traffic is uneven, which describes most small business software.

What are the downsides of serverless?

  • Cold starts. When a function hasn't run recently, AWS has to prepare a fresh environment, which adds delay. AWS says this happens in under 1% of invocations and takes from under 100 ms to over a second. Provisioned concurrency keeps environments warm when that matters.
  • Time limits. Standard Lambda calls stop at 15 minutes. Longer work has to be split up or run elsewhere.
  • No memory between calls. AWS designs Lambda for short tasks that don't rely on state between invocations, so anything that must persist goes in a database or storage.
  • Provider tie-in. Code written around one provider's services takes work to move. Keeping business logic in plain code, separate from the provider-specific wiring, limits this.
  • Different debugging. You rely on logs and monitoring rather than logging into a machine.

How we handle this

For internal tools, portals, and integrations with uneven traffic, we'll usually recommend serverless functions on AWS with a managed database, because there's no server for you to patch and you aren't paying for idle machines. Where a job runs long or traffic is steady and heavy, we'll recommend a regular server instead and explain why. Either way, we write down the setup and what it depends on, so it isn't a mystery later.

Is serverless secure?

Serverless removes some security work, but not all of it. Under AWS's shared responsibility model, AWS secures the infrastructure that runs its services, and the customer is responsible for what they put on it: their data, access permissions, and configuration. With Lambda there's no operating system for you to patch, which removes a common source of breaches. You still need to control who and what can call each function, keep secrets out of code, keep software libraries up to date, and protect the data. See how to keep a small business app secure.

Questions

Can a website be serverless?

Yes. A website built as static HTML can be served from file storage and a content delivery network with no server at all, and the dynamic parts (forms, logins, payments) can run as serverless functions. That setup is fast, inexpensive to host, and has little to maintain. Fast static HTML is how we build the websites we make.

Do serverless apps have a database?

Yes. The functions themselves keep nothing between calls, so data lives in a managed database such as Amazon RDS for PostgreSQL or Amazon DynamoDB, and files live in storage such as Amazon S3. Those services handle their own hardware and offer automated backups.

Is serverless overkill for a small business?

Usually the opposite: small businesses benefit most because their apps sit idle much of the day and they don't have staff to patch servers. Where it can be overkill is a simple brochure website, where a static site host or a website builder is simpler still.

Sources