[Insights](/insights/) / [Core Engineering Intelligence](/insights/core_engineering_intelligence/)

# Serverless Framework with AWS, an easy practical start

What serverless means, how Serverless Framework deploys a function to AWS Lambda in one command, and what to know about its v4 license first.

![Ivan Borshchov](https://static.devforth.io/adminusers/avatars/2026/48db9847-d461-40cd-b344-f2bd7b0d98ca-avatar_ivan@devforth.io_f4ce9df9-8363-4314-9345-28753c76a386.jpeg)

Ivan Borshchov

CEO & System Architect @ DevForth

Dec 3, 2026

![Serverless Framework with AWS, an easy practical start](https://static.devforth.io/posts/logo-svg/2026/a0847920-647d-44f3-95f0-1ae88ebb53e2-logo-preview-new.svg)

![Serverless Framework with AWS, an easy practical start](https://static.devforth.io/posts/logo-svg/2026/a0847920-647d-44f3-95f0-1ae88ebb53e2-logo-preview-new.svg)

"Serverless" doesn't mean there are no servers. It means the servers aren't _your_ job. You give AWS a small function and say: "run this every time someone calls it". AWS starts it, runs it and stops it again. You pay for the calls, not for a machine that sits waiting all day.

Serverless Framework is a tool that packs up your code and settings and sends them to AWS for you. You describe the whole app in one file:

```yaml
# serverless.yml
service: hello-api
provider:
  name: aws
  runtime: nodejs22.x
  region: eu-central-1
functions:
  hello:
    handler: handler.hello
    events:
      - httpApi: 'GET /hello'
```

```javascript
// handler.js
module.exports.hello = async () => ({
  statusCode: 200,
  body: JSON.stringify({ message: 'Hello!' }),
});
```

Then run:

```bash
npm i -g serverless
serverless deploy
```

The first run asks you to log in and connect your AWS credentials. When the deploy finishes it prints a URL. Open it and you'll see your message. Behind the scenes the tool created a CloudFormation stack with a Lambda function, an HTTP API, permissions and logs. When you're done playing, `serverless remove` deletes all of it, so nothing keeps billing you.

**Good to know**

-   Version 4 needs a login or a license key. It is free for individuals and for companies under 2 million USD in yearly revenue. Bigger companies need a paid subscription. Version 3 is no longer maintained.
-   If that doesn't suit you, AWS SAM and AWS CDK do the same job for free.
-   Deploy with a dedicated AWS identity, never the root user.

Stuck on some `serverless.yml` syntax? Search GitHub code for files named `serverless.yml` that use the same resource. Seeing how other people wrote it is often the fastest answer.

In short: write a function, describe it in `serverless.yml`, run `serverless deploy`, and clean up with `serverless remove`.

## Get your project quote

Free result within 48-72 hours

[

Get a quote

](/estimation-request/)[

Talk to our engineers

](https://talk.devforth.io/book/30-minute-meeting)

[

Back to insights

](/insights/)

[](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fdevforth.io%2Finsights%2Fserverless-framework-with-aws-an-easy-practical-start%2F)[](https://bsky.app/intent/compose?text=Serverless%20Framework%20with%20AWS%2C%20an%20easy%20practical%20start%0A%0Ahttps%3A%2F%2Fdevforth.io%2Finsights%2Fserverless-framework-with-aws-an-easy-practical-start%2F)[](https://x.com/intent/tweet?text=Serverless%20Framework%20with%20AWS%2C%20an%20easy%20practical%20start%20by%20%40ivanborshchov%0A%0Ahttps%3A%2F%2Fdevforth.io%2Finsights%2Fserverless-framework-with-aws-an-easy-practical-start%2F)

## Related insights

[

![JavaScript Pitfalls Guide](https://static.devforth.io/posts/logo-svg/2026/d4941cc8-29b1-4094-b7a6-19263cd2e80d-logo-preview-1e30447b-097c-4738-b113-6b02a4f19c8c.svg)

Core Engineering Intelligence Feb 12, 2026

## JavaScript Pitfalls Guide

A practical guide to the most surprising JavaScript pitfalls every beginner faces — from type coercion and floating-point precision to equality quirks — explained through clear examples so you truly understand how JS works.

](/insights/javascript-pitfalls-guide/)[

![Boolean algebra - Core rules (Simple & Practical)](https://static.devforth.io/posts/logo-svg/2026/08870e3f-54e9-4377-80f2-8f446b1a17dc-logo-preview-6cc3b619-8c81-4009-bd9a-f678d7ed0192.svg)

Core Engineering Intelligence Feb 12, 2026

## Boolean algebra - Core rules (Simple & Practical)

Understanding Boolean algebra is essential for writing clean, reliable, and optimized code. These core logical laws form the foundation of condition design, query construction, filtering logic, and software architecture decisions.

](/insights/boolean-algebra-core-rules-simple-and-practical/)[

![Start your dev servers automatically when you open a project in VS Code](https://static.devforth.io/posts/logo-svg/2026/71edfe2e-8106-4783-85e7-9c0e269e7a27-logo-preview-new.svg)

Core Engineering Intelligence Dec 3, 2026

## Start your dev servers automatically when you open a project in VS Code

A small .vscode/tasks.json that starts your frontend, backend and other dev commands in split terminals as soon as the project folder opens.

](/insights/start-your-dev-servers-automatically-when-you-open-a-project-in-vs-code/)
