chalice icon indicating copy to clipboard operation
chalice copied to clipboard

Deploy chalice app to HTTP APIs

Open danil-smirnov opened this issue 5 years ago • 21 comments

AWS has recently announced API Gateway HTTP APIs, which are up to 71% cheaper compared to REST APIs.

I suppose all and everyone are now keen to deploy their chalice apps to this exciting new infra!

danil-smirnov avatar Dec 10 '19 09:12 danil-smirnov

any perspective on if the chalice project is interested in targeting HTTP Gateway?

benjaminsanborn avatar Feb 24 '20 13:02 benjaminsanborn

Yes! Just need to work out the API we want for being able to configure this. I also haven't had much chance to play around with these new API type so I'm not sure what's involved in supporting this.

jamesls avatar Feb 24 '20 19:02 jamesls

@jamesls Any estimation on this? I believe this feature should be prioritised as it allows Chalice users to save costs on API Gateway service...

danil-smirnov avatar Apr 24 '20 13:04 danil-smirnov

Let me dig into this a little more so I can get a better idea of what's needed to support this.

jamesls avatar Apr 24 '20 20:04 jamesls

@jamesls Excited for this. :)

JPVan avatar Jul 17 '20 14:07 JPVan

isn't it just another configuration on API Gateway v2 which chalice already supports as part of web sockets? wrt to decorator expression, maybe @app.http_route or @app.route2() just spitballing to start a conversation ;-)

kapilt avatar Aug 12 '20 22:08 kapilt

Do we even need a separate decorator? This could be as easy as a boolean in config.json to deploy to HTTP APIs vs. REST APIs.

ricky-sb avatar Aug 13 '20 01:08 ricky-sb

They just added support for lambda and iam authorizers for http apis. I don’t think you would want to make it a boolean on the current decorator since they have different feature sets.

subssn21 avatar Sep 10 '20 18:09 subssn21

Yeah, if we do go down the route of separate APIs I'd imagine they'd be as similar as possible so there's minimal adjustments needed to switch/migrate over. From what I can tell, HTTP APIs are different enough that I'm not sure we'd be able to share APIs.

jamesls avatar Sep 11 '20 22:09 jamesls

Hi guys, anyone knows what is the status of this feature? Thanks in advance.

jdalzatec avatar May 05 '21 16:05 jdalzatec

🏓 @jamesls — any ETA? We need this :)

bl-ue avatar Jun 29 '21 13:06 bl-ue

Adding to this request... I've been working with these for a while with straight lambda functions, but it would be useful to capitalize on the Chalice framework for some projects.

Glocktober avatar Jul 26 '21 00:07 Glocktober

Any update for this feature ? :(

baotran2207 avatar Sep 14 '21 02:09 baotran2207

waiting for this feature as well...

romcab avatar Oct 27 '21 01:10 romcab

any updates?

rajeshkatkarnice avatar Dec 14 '21 06:12 rajeshkatkarnice

Any updates? Can't use it until this is implemented.

softwareguy74 avatar Jan 30 '22 15:01 softwareguy74

+1 this feature

baotran2207 avatar Oct 31 '22 08:10 baotran2207

+1 for this, are there any frameworks for HttpApi available?

sladg avatar Jan 10 '23 19:01 sladg

@sladg take a look at AWS Lambda Powertools for Python

matteocontrini avatar Jan 10 '23 20:01 matteocontrini

+1, any updates at all?

JimLundin avatar May 26 '23 10:05 JimLundin

https://github.com/aws/chalice/issues/2067

kapilt avatar Aug 21 '23 22:08 kapilt