sst-start-demo VS aws-cdk

Compare sst-start-demo vs aws-cdk and see what are their differences.

sst-start-demo

A simple SST app to demo the new `sst start` command (by sst)

aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code (by aws)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
sst-start-demo aws-cdk
14 263
18 11,158
- 1.5%
0.0 9.9
8 months ago 1 day ago
JavaScript TypeScript
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

sst-start-demo

Posts with mentions or reviews of sst-start-demo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-14.
  • Hosting Nextjs using Lamda functions
    4 projects | /r/nextjs | 14 Jun 2022
    https://docs.serverless-stack.com and https://www.serverless.com/ can support next. However serverless-stack is too new and serverless framework looks promising but it uses an old version of serverless plugin.
  • Serverless backend with or without a backend framework
    2 projects | /r/serverless | 12 Jun 2022
    I'm new to serverless and I've recently discovered frameworks like the Serverless Framework and SST. I've seen examples of Lambda functions where people interact with DBs like DynamoDB, authenticating users with Cognito and using API Gateway to map routes (these are all AWS-specific terms), which seems to me like you can pretty much build a CRUD API on top of this. However, I've also seen examples like this one where you can deploy a backend framework such as Nest.js as a single lambda function.
  • Has anyone tried combining serverless functions with Nest.js?
    2 projects | /r/webdev | 6 Jun 2022
    Hey all, recently I've been learning a lot about serverless APIs and I discovered frameworks like Serverless and SST which look great. I then also discovered that you can apparently deploy a Nest.js backend as a lambda handler -- here is a relevant article. Has anyone tried this? If you are looking to start working on a new project, is it a good idea to combine these together, or would you be better off just writing individual lambda handlers without a framework like Nest?
  • Deploying a Nextjs
    1 project | /r/aws | 4 Jun 2022
    Hosting NextJS apps on AWS I would recommend https://docs.serverless-stack.com/ which has an inbuilt CDK pre-configured NextJS setup or https://registry.terraform.io/modules/dealmore/next-js/aws/latest
  • Why I should use a backend when I can use AWS Amplify,App-Sync and Cognito
    1 project | /r/reactnative | 12 Apr 2022
    I highly recommend serverless SST. https://docs.serverless-stack.com/
  • A magical AWS serverless developer experience
    8 projects | news.ycombinator.com | 27 Mar 2022
    > The ability to move between the frontend, backend, and infrastructure code without having to learn a different language is invaluable to every member of the team.

    I'm actually quite skeptical of this claim. Learning a new language isn't really a big deal unless you are using relatively "esoteric" stuff like clojure or elixir which really require an experienced consultant to train your team.

    With AWS Chalice, we've been able to ship production scale code (for govcloud) in Python without any one of us breaking the environment by simply using separate staging. We were able to get PHP/Javascript developers to use it with barely any downtime. In fact it was more or less appreciated from the clean and simple nature of Python right from the get go.

    This feels like way too much engineering from the get go. Here's my workflow with AWS Chalice and its super basic (I'm open to improvements here).

    - checkout code from github

    - run localhost and test endpoints written in python (exactly like Flask)

    - push to development stage API gateway

    - verify it is working as intended and this is when we catch missing IAM roles, we document them. if something is wrong with our AWS setup (we dont use CDK just simply use the AWS console to set everything up once like VPC and RDS)

    - push to production stage API gateway

    All this shimming, typescript (rule of thumb is ~40% more code for 20% improvement through less documentation and type errors, only really valid in large teams) separate AWS developer accounts seems overkill.

    The one benefit I see from all this extra compartmentalization is if you are working in large teams for a large company since you are going to discover missing IAM roles and permissions anyways and is part of being an implicit "human AWS compiler trying different stackoverflow answers".

    Some positives I see are CDK but if you are deploying your infrastructure once, I really don't see the need for it, unless you have many infrastructures that can benefit from boilerplate generation.

    Happy to hear from all ends of the spectrum, serverless-stack could be something I explore this weekend but there's just so much going on and I'm getting lot of marketing department vibes from reading the website (like idea to ipo and typescript for all) and to top it off

    going to https://docs.serverless-stack.com/ triggers an antivirus warning about some netlify url ( nostalgic-brahmgupta09582d1.netlify.app) what is going on here???

  • My Favorite Infrastructure as Code (IAC) Tool
    3 projects | dev.to | 22 Mar 2022
  • SST: The Most Underrated Serverless Framework You Need to Discover (part 2)
    6 projects | dev.to | 13 Nov 2021
    documentation which is top notch
  • Easy practical guide to serverless framework with AWS
    1 project | /r/programming | 12 Sep 2021
    On a related note, shout out to https://docs.serverless-stack.com/ which is kinda like Serverless Framework except build on the CDK. Much more solid IMHO
  • Debugging Serverless API Issues
    1 project | dev.to | 31 Jul 2021
    ServerlessStack framework

aws-cdk

Posts with mentions or reviews of aws-cdk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-02.
  • Deploy Laravel API To AWS Lambda
    1 project | dev.to | 10 Apr 2024
    environment: Specifies the environment variable that will be available to our Lambda function. In this case I wrote an environment for RDS Database. Anyway, later I will write about AWS CDK using Python for creating database clusters, etc.
  • Building an Amazon Location Service Resources with AWS CDK and AWS CloudFormation
    5 projects | dev.to | 2 Apr 2024
    Today, I will show you how to build Amazon Location Service, which allows you to build location-based applications within your AWS environment using AWS Cloud Development Kit (AWS CDK) and AWS CloudFormation. I will also show examples of the recently popular CDK Migrate and AWS CloudFormation IaC generator.
  • DevSecOps with AWS- IaC at scale - Building your own platform - Part 1
    8 projects | dev.to | 21 Mar 2024
    AWS Cloud Development Kit (CDK): is an open-source software development framework to define your cloud application resources using familiar programming languages.
  • Cloud, why so difficult? 🤷‍♀️
    3 projects | dev.to | 24 Jan 2024
    I am not one to build programming languages on a whim. In fact, I've spent the last five years building the AWS CDK, which is a multi-language library that addresses some of the challenges I am talking about by allowing developers to define cloud infrastructure using their favorite programming language.
  • Create a Next.js Server Component S3 Picture Uploader with SST
    5 projects | dev.to | 4 Jan 2024
    I recently started exploring SST as an alternative to my favorite full-stack set consisting of Projen, AWS CDK, and React. I have been thoroughly impressed with the experience so far. In this article, I will demonstrate how to create a Next.js App Router S3 Picture Uploader using SST.
  • Starting My AWS Certification Journey as a Certified Cloud Practitioner
    6 projects | dev.to | 10 Dec 2023
    AWS CDK
  • Cloud Garbage 🗑️
    1 project | dev.to | 2 Dec 2023
    For KMS 🔑, Each key is ~$1/mo, and with CDK, keys are generated on a massive scale, if not centralized.
  • Building Serverless Applications On AWS: A Practical Guide To Managing Event Processing
    2 projects | dev.to | 21 Nov 2023
    Here is a github repository containing the code and instructions on how to automate this whole setup using AWS CDK.
  • How to Implement and Deploy a Smart Contract Event Listener with AWS CDK
    5 projects | dev.to | 19 Nov 2023
    Now that you have a working smart contract event listener, we'll deploy the resources to AWS using AWS CDK, which is an Infrastructure as Code (IaC) tool. AWS CDK allows you to configure, deploy, and manage AWS cloud resources using popular programming languages such as TypeScript.
  • Serverless Scheduled Reporting Service with AWS EventBridge, Lambda, SNS, and CDK
    1 project | dev.to | 9 Nov 2023
    ✨ Synthesis time: 14.44s CdkScheduledReportingStack: start: Building f3a91fb0ff1605e49b4b00aa223098d7a9a5307e98027f77aecc36bc05a4c3e7:current_account-current_region CdkScheduledReportingStack: success: Built f3a91fb0ff1605e49b4b00aa223098d7a9a5307e98027f77aecc36bc05a4c3e7:current_account-current_region CdkScheduledReportingStack: start: Publishing f3a91fb0ff1605e49b4b00aa223098d7a9a5307e98027f77aecc36bc05a4c3e7:current_account-current_region CdkScheduledReportingStack: start: Building 517f907ce2318aa1a929b43bc1a0247ed509c92576c23a0a8aadfe1677f2ebd7:current_account-current_region CdkScheduledReportingStack: success: Built 517f907ce2318aa1a929b43bc1a0247ed509c92576c23a0a8aadfe1677f2ebd7:current_account-current_region CdkScheduledReportingStack: start: Publishing 517f907ce2318aa1a929b43bc1a0247ed509c92576c23a0a8aadfe1677f2ebd7:current_account-current_region CdkScheduledReportingStack: success: Published 517f907ce2318aa1a929b43bc1a0247ed509c92576c23a0a8aadfe1677f2ebd7:current_account-current_region CdkScheduledReportingStack: success: Published f3a91fb0ff1605e49b4b00aa223098d7a9a5307e98027f77aecc36bc05a4c3e7:current_account-current_region This deployment will make potentially sensitive changes according to your current security approval level (--require-approval broadening). Please confirm you intend to make the following modifications: IAM Statement Changes ┌───┬────────────────────────────────────────┬────────┬───────────────────────┬────────────────────────────────────────┬───────────────────────────────────────────────┐ │ │ Resource │ Effect │ Action │ Principal │ Condition │ ├───┼────────────────────────────────────────┼────────┼───────────────────────┼────────────────────────────────────────┼───────────────────────────────────────────────┤ │ + │ ${SalesReportFunction.Arn} │ Allow │ lambda:InvokeFunction │ Service:events.amazonaws.com │ "ArnLike": { │ │ │ │ │ │ │ "AWS:SourceArn": "${Rule.Arn}" │ │ │ │ │ │ │ } │ ├───┼────────────────────────────────────────┼────────┼───────────────────────┼────────────────────────────────────────┼───────────────────────────────────────────────┤ │ + │ ${SalesReportFunction/ServiceRole.Arn} │ Allow │ sts:AssumeRole │ Service:lambda.amazonaws.com │ │ ├───┼────────────────────────────────────────┼────────┼───────────────────────┼────────────────────────────────────────┼───────────────────────────────────────────────┤ │ + │ ${SalesReportTopic} │ Allow │ sns:Publish │ AWS:${SalesReportFunction/ServiceRole} │ │ └───┴────────────────────────────────────────┴────────┴───────────────────────┴────────────────────────────────────────┴───────────────────────────────────────────────┘ IAM Policy Changes ┌───┬────────────────────────────────────┬────────────────────────────────────────────────────────────────────────────────┐ │ │ Resource │ Managed Policy ARN │ ├───┼────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤ │ + │ ${SalesReportFunction/ServiceRole} │ arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole │ └───┴────────────────────────────────────┴────────────────────────────────────────────────────────────────────────────────┘ (NOTE: There may be security-related changes not in this list. See https://github.com/aws/aws-cdk/issues/1299) Do you wish to deploy these changes (y/n)?

What are some alternatives?

When comparing sst-start-demo and aws-cdk you can also consider the following projects:

sst - Build modern full-stack applications on AWS

terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.

aws-cdk-local - Thin wrapper script for using the AWS CDK CLI with LocalStack

serverless-application-model - The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms SAM templates into CloudFormation templates.

middy - 🛵 The stylish Node.js middleware engine for AWS Lambda 🛵

serverless - This is intended to be a repo containing all of the official AWS Serverless architecture patterns built with CDK for developers to use. All patterns come in Typescript and Python with the exported CloudFormation also included.

ts-node - TypeScript execution and REPL for node.js

sls-vs-sam-vs-cdk - SLS vs SAM vs CDK

diy-sveltekit-cdk-adapter - An exercise on deploying SvelteKit with CDK

apprunner-roadmap - This is the public roadmap for AWS App Runner.

SvelteKit - web development, streamlined