Sparta is a framework that transforms a go application into a self-deploying AWS Lambda powered service.All configuration and infrastructure requirements are expressed as go types for GitOps, repeatable, typesafe deployments.
Use a go monorepo to define and your microservice's:
Complete AWS Ecosystem
Sparta enables your lambda-based service to seamlessly integrate with the entire set of AWS lambda event sources such as:
Define IAM Roles with limited privileges to minimize your service's attack surface. Both string literal and ARN expressions are supported in order to reference dynamically created resources. Sparta treats POLA and #SecOps as first-class goals.
A service may provision dynamic AWS infrastructure, and discover, at lambda execution time, the dependent resources' AWS-assigned outputs (
Make your service HTTPS accessible by binding it to an API Gateway REST API during provisioning. Alternatively, expose a WebSocket [APIV2Gateway](https://aws.amazon.com/blogs/compute/announcing-websocket-apis-in-amazon-api-gateway/) API for an even more interactive experience.
Sparta relies on CloudFormation to deploy and update your application. For resources that CloudFormation does not yet support, it uses Lambda-backed Custom Resources so that all service updates support both update and rollback semantics. Sparta’s automatically generated CloudFormation resources use content-based logical IDs whenever possible to preserve service availability and minimize resource churn during updates.
To get started using Sparta, begin with the Overview.
Get in touch via:
go types for CloudFormation resources