Re:Stelvio: Serverless AWS for Python Devs
by calgoo on Thursday March 20, 2025 @06:13AM
(#43421376)
Hi! Honest question, why did decide on using pulomi instead of just using the boto3 Python library to interact with aws? Feels like it adds a lot of overhead where something like boto3 could just be abstracted away?
Re:Stelvio: Serverless AWS for Python Devs
by michal-stlv on Thursday March 20, 2025 @06:29AM
(#43421471)
Hi!
Good question, few reasons:
1. state management & stages - pulumi already deals with state and has support for stages (stacks) which stelvio will need.
2. there are things outside of AWS that stelvio might support later (cloudflare, etc.)
Initially I was gonna use AWS CDK which I use at work but Pulumi seems to have faster deployment and option to use other things than AWS. (Although AWS is main focus of Stelvio at leats for now)
Re:Stelvio: Serverless AWS for Python Devs
by throwaway032023 on Thursday March 20, 2025 @06:45AM
(#43421546)
Why not Zappa?
Re:Stelvio: Serverless AWS for Python Devs
by michal-stlv on Thursday March 20, 2025 @06:53AM
(#43421581)
Hi! AFAIK in Zappa you don't define infra in Python but rather in json. Also the vision of Stelvio is broader than just serverless. I wrote about my vision here https://blog.stelvio.dev/why-i-am-building-stelvio/ if you're interested.
Re:Stelvio: Serverless AWS for Python Devs
by stuaxo on Thursday March 20, 2025 @07:35AM
(#43421808)
The cloud is too complex.
While it's good to enable proprietary solutions like AWS, we should always make sure what we make is not bound to it.
This might mean that stelvio becomes a part of something more general.
author of Stelvio here. Stelvio is in very early alpha far from any production use, but it's able to deploy simple API gateway, lambda and dynamo db tables with just few lines of code.
Idea is that Python devs should be able to deal with infra with Python only and minimal boilerplate - simple thing should be simple.
I'm currently working on v 0.2.0 which will have support for lambda dependencies & layers, Dynamo indexes and CORS and authorizers for API gateway.
I hope to release that in April.
For v0.3.0, stelvio will get it's own CLI too.
Any feedback is welcomed here or michal at stelvio.dev
Michal