winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.98k stars 196 forks source link

cloud.Service - AWS implementation #1306

Closed staycoolcall911 closed 2 months ago

staycoolcall911 commented 1 year ago

https://www.winglang.io/contributing/rfcs/2023-01-20-wingsdk-spec#service

github-actions[bot] commented 1 year ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

hasanaburayyan commented 1 year ago

@Chriscbr @eladb Im curious, the spec for this calls for using AppRunner over ECS in AWS due to complexity of VPC maintenance in SDK. Since then we have implemented Redis which introduced framework for deploying vpc and launching components within a VPC. Would Apprunner still be the preference here?

I personally dont have experience with AppRunner, so no strong arguments against it, but ECS w/ fargate seems to be pretty standard place.

eladb commented 1 year ago

ECS/Fargate is my preference too

Chriscbr commented 1 year ago

yeah, App runner might have just been something new / shiny I saw that thought might fit the bill. If implementing this with ECS seems like a easier starting point then I would go for that 👍

(In the future we can offer multiple implementations of different resources, like a Counter implemented with DynamoDB and a Counter implemented with Redis, so we can also do the same for Service)

garysassano commented 1 year ago

AWS App Runner is actually just an abstraction built on top of ECS Fargate to make it easier to use for developers.

Slide taken from re:Invent 2022:

aws-compute-evolution

monadabot commented 2 months ago

Congrats! :rocket: This was released in Wing 0.77.3.