Cloud Intermediate
Serverless Framework¶
ServerlessLambdaFaaS 3 min read
Multi-cloud serverless deployment. Lambda, Azure Functions, Cloud Functions with a single tool.
serverless.yml¶
service: my-api
provider:
name: aws
runtime: nodejs20.x
region: eu-central-1
functions:
getUser:
handler: src/handlers/getUser.handler
events:
- http:
path: /users/{id}
method: get
createUser:
handler: src/handlers/createUser.handler
events:
- http:
path: /users
method: post
Commands¶
serverless deploy # Deploy everything
serverless deploy function -f getUser # Jen jedna funkce
serverless invoke -f getUser --data '{"id":"123"}'
serverless logs -f getUser -t # Tail logs
serverless remove # Remove everything
Summary¶
Serverless Framework simplifies FaaS deployment. For AWS specifically, also consider AWS SAM or CDK.
Need Help with Implementation?¶
Our team has experience designing and implementing modern architectures. We’re happy to help.