v2.23.0
版本发布时间: 2023-08-04 19:08:09
sst/sst最新发布版本:v2.43.7(2024-08-28 00:37:14)
📢 Introducing Service
construct
You can now deploy containerized applications to ECS Fargate. Some key features of the Service
construct:
- Deploys a Fargate cluster + ALB + CloudFront distribution
- Auto-scales based on CPU, memory, and per-container request count.
- Supports Resource Binding
- Supports custom domains
Here's an example:
new Service(stack, "MyExpressApp", {
customDomain: "my-app.com",
cpu: "2 vCPU",
memory: "8 GB",
scaling: {
minContainers: 4,
maxContainers: 16,
}
});
Learn more about using the Service construct.
Changes
-
#3167
e428a9e0a
- Service: deploy Fargate services -
#3167
e428a9e0a
- sst bind: support binding undeployed Parameter values -
#3177
8a31945c4
- AstroSite: support streaming -
601da6101
- Bootstrap: allow using existing S3 buckets -
#3182
01304e35b
Thanks @pawelblaszczyk5! - EventBus: pass attempts count to EventHandler callback
Update using:
$ npx sst update 2.23.0
$ yarn sst update 2.23.0