Live data from Hacker News

AWS Chalice

github.com

11–20 of 37 posts

Re: AWS Chalice

#11

Hilariously, "chalice" is a strong swear word in Quebec French, so there the name of this product is roughly equivalent to "AWS Fuck". https://en.wikipedia.org/wiki/Quebec_French_profanity

I think the name is in reference to the Python Flask framework.

Re: AWS Chalice

#12

Hilariously, "chalice" is a strong swear word in Quebec French, so there the name of this product is roughly equivalent to "AWS Fuck". https://en.wikipedia.org/wiki/Quebec_French_profanity

If I'm reading right, you also giggle and roll your eyes whenever you're asked to connect to a host.

Re: AWS Chalice

#13
post #2

It seems dead? https://github.com/aws/chalice/issues/2067

Not a huge surprise. It filled a weird niche, which was very easy to use for basic use cases, but Chalice only supported a small subset of Lambda features and didn't get much attention from AWS either.

As soon as you tried to do slightly more than was possible with it, it become unviable to manage all of the Lambdas and you end up having to use Terraform or similar anyway. If I were doing lots of new Lambdas today, I'd probably just use a third-party Terraform module for all of it.

Re: AWS Chalice

#14

Anyone here actually developing Python apps on AWS Lambda? If so do you use Serverless Framework or something else? I am part of a research project that is developing techniques for identifying security vulnerabilities in serverless apps so would be interested to understand what people are actually using for deployment and why.

I'm pretty darned sure i used AWS's own boto3 python library for lambda, when working for Amazon a few years ago.

https://boto3.amazonaws.com/v1/documentation/api/latest/inde...

Re: AWS Chalice

#15

Anyone here actually developing Python apps on AWS Lambda? If so do you use Serverless Framework or something else? I am part of a research project that is developing techniques for identifying security vulnerabilities in serverless apps so would be interested to understand what people are actually using for deployment and why.

We deploy lambda using container images. We configure lambdas using terraform and deploy using GitHub actions.

We never considered using serverless or anything else because we also have ECS services, RDS databases, React frontends, and a lot more. It requires some knowhow to get a good setup, but it's hard to imagine anyone more opinionated framework doing what we want.

Re: AWS Chalice

#16
post #9

Hilariously, "chalice" is a strong swear word in Quebec French, so there the name of this product is roughly equivalent to "AWS Fuck". https://en.wikipedia.org/wiki/Quebec_French_profanity

What a bizarre phenomenon. Per that article, the word chalice does mean chalice, but is treated as a swear word precisely because it doesn’t have any profane association and has sacred overtones? How then would one discuss these topics at all? Is this an attempt to wipe out all the words entirely?

The way I see.

1) Get rid of this urge to find any word is used as swear word in one of 100s languages used across the world. People who are looking to get offended will get offended with certainty.

2) Over time euphemisms become dysphemisms and vice versa. So if new words are added to swear word categories surely old ones are falling off that list. One can possibly keep track and use those.

Re: AWS Chalice

#17
I've built a couple of systems for customers using this, and the development comfort and Flask-like-ness is quite nice.

But it's really just completely dead by now, which is a bummer as this leaves a large complexity gap between this and jumping ahead to just doing full Lambda+CDK/Serverless/Terraform setups.

Re: AWS Chalice

#18

Anyone here actually developing Python apps on AWS Lambda? If so do you use Serverless Framework or something else? I am part of a research project that is developing techniques for identifying security vulnerabilities in serverless apps so would be interested to understand what people are actually using for deployment and why.

CDK; don't love it, but it works.

Re: AWS Chalice

#19
post #18

Anyone here actually developing Python apps on AWS Lambda? If so do you use Serverless Framework or something else? I am part of a research project that is developing techniques for identifying security vulnerabilities in serverless apps so would be interested to understand what people are actually using for deployment and why.

CDK; don't love it, but it works.

tbf; with `aws_lambda_python_alpha.PythonFunction` in a Poetry based project, we do get a lot for free. I like small layer based deployments (so we can use things like `aws_lambda.ParamsAndSecretsLayerVersion` etc). Gets a bit more hacky when you try and enable IPv6, but that is just AWS.

Re: AWS Chalice

#20
Spin something up in an hour; spend a week fixing it when the magic inevitably breaks.

Maybe I am just incredibly jaded but I can't stand all these shortcut frameworks. It just ends up locking you into an ecosystem, especially AWS, and decouples you from building technical understanding of the system where if you go down the path long enough, you have no abort button besides an entire re-build because your code is enmeshed with the framework.

Do it right the first time: build it simple & iterate as you go. You don't need to be thinking about scaling to 1M concurrent users when you have 0 users.

Post reply on HN