qmetrics.net

AWS SAM CLI

CLI for building and deploying AWS serverless applications

Build & DeploymentDesktop/CLI app
AWS SAM CLI screenshot

Open-source command-line tool for developing serverless apps with AWS SAM: scaffold projects, build Lambdas, test locally, sync to AWS, and deploy CloudFormation stacks.

Overview

The AWS Serverless Application Model CLI is a command-line companion for serverless work on AWS. It targets applications built from Lambda functions, API Gateway, Step Functions, EventBridge, queues, topics, and related resources defined in SAM or CloudFormation templates.

`sam init` scaffolds new projects from AWS infrastructure templates. `sam build` compiles and packages functions, including zip and container image Lambdas with custom Makefile workflows. `sam local` runs Lambdas and API Gateway behaviors in Docker on your machine for SAM and CDK apps.

`sam sync` pushes iterative changes to a developer account in the cloud, and `sam deploy` applies templates to AWS. `sam pipeline init` helps generate CI/CD pipeline skeletons for common systems. `sam logs` and `sam traces` tail CloudWatch logs and X-Ray traces from the terminal.

SAM templates are a shorthand for infrastructure as code that deploy through CloudFormation. The CLI also integrates with CDK and Terraform workflows for local debugging described in AWS documentation, so one tool can sit in a broader serverless toolchain.

Key features

  • Project scaffolding with sam init
  • Build and package Lambda artifacts
  • Local Lambda and API in Docker
  • Deploy SAM and CloudFormation stacks
  • sam sync for cloud iteration
  • CI/CD pipeline template generation
  • CloudWatch log and X-Ray tailing
  • CDK and Terraform local testing hooks

Use cases

  • Building serverless web APIs
  • Local Lambda debugging before deploy
  • Rapid cloud sync during development
  • Automated serverless delivery pipelines
  • Hello-world to production SAM apps

Tags

Similar software

nvm

POSIX shell version manager for Node.js

nvm installs and switches between Node.js versions from the command line on POSIX shells including bash and zsh.

  • Per-shell Node.js version switching
  • Install specific or latest Node releases
  • Default alias for new shells
ShellLinux, macOS, Windows, DockerDetails →
★ 96.4k⟳ todayMIT
Build & DeploymentDesktop/CLI app

uv

Fast Python package and project manager

uv is a Rust-based tool that manages Python dependencies, virtual environments, scripts, and interpreters. It offers a pip-compatible interface and universal lockfiles for projects.

  • Project lockfiles and workspaces
  • Inline script dependencies
  • Python version install and pin
RustLinux, macOS, Windows, CLIDetails →
★ 93k⟳ todayApache-2.0 · open core
Build & DeploymentDesktop/CLI app

Vite

Frontend build tool for modern web projects

Vite is a build tool for modern web projects, combining a development server with an optimized production build. It targets a faster, leaner local development workflow.

  • On-demand ESM dev server
  • Dependency pre-bundling
  • Hot module replacement
TypeScriptDetails →
★ 84.4k⟳ yesterdayMIT

act

Local runner for GitHub Actions workflows

A command-line tool that executes GitHub Actions workflows on your machine using Docker. It mirrors GitHub’s environment for faster feedback while editing workflow files.

  • Runs GitHub Actions workflows locally
  • Docker-based action execution
  • Reads .github/workflows definitions
GoDockerDetails →
★ 72.9k⟳ 6 days agoMIT
Build & DeploymentDesktop/CLI app

Ansible

Agentless IT automation and configuration engine

Ansible automates configuration management, deployments, cloud provisioning, ad-hoc tasks, and multi-node orchestration using SSH without installing agents on managed hosts.

  • Agentless SSH-based automation
  • Configuration management playbooks
  • Application deployment automation
PythonDetails →
★ 71.8k⟳ todayGPL-3.0
Build & DeploymentDesktop/CLI app
Open Source Alternative to:Ansible Automation Platform

webpack

JavaScript module bundler for web and other runtimes

Webpack bundles JavaScript, CSS, HTML, WebAssembly, and assets into optimized output for browsers and environments such as Node.js.

  • JavaScript and asset module bundling
  • Asynchronous code splitting chunks
  • Built-in HTML and CSS bundling support
JavaScriptCLIDetails →
★ 66k⟳ todayMIT