4 ms·
I am wondering if this is actually a pattern that we can use to build a production system: const cluster = new sst.aws.Cluster("MyCluster", { vpc });
by datadeft 2y ago
I am wondering if this is actually a pattern that we can use to build a production system:
const cluster = new sst.aws.Cluster("MyCluster", { vpc });
- moritonal 2y agoIf by that you mean "is IaC production-ready yet?" my answer would be yes, I have lines like this in our code-base and it is really impressive.
- datadeft 2y agoAnd how does anybody know just looking at this line what is the actual implementation? Creating new names like sst.aws.Cluster that hides actual details is problematic for me. ECS has three flavor as of 2024. How should I know which is in use when writing that line of code? Amazon ECS capacity is the infrastructure where your containers run. The following is an overview of the capacity options: - Amazon EC2 instances in the AWS cloud - Serverless (AWS Fargate) in the AWS cloud - On-premises virtual machines (VM) or servers One more intresting detail I found that another services are not trying to hide the implementation detail. const api = new sst.aws.ApiGatewayV2("MyApi", {})