Sparta is an open-source framework for building and deploying Go microservices on AWS Lambda-powered microservices. It allows developers to define their application logic, AWS infrastructure, operational metrics, alert conditions, and security policies using Go types within a monorepo. Sparta transforms a Go application into a self-deploying AWS Lambda service, automatically provisioning the required infrastructure through CloudFormation.
It integrates with various AWS services, including DynamoDB, S3, Kinesis, SNS, SES, CloudMap, CloudWatch Events, CloudWatch Logs, and Step Functions. It also allows provisioning custom AWS resources and defining IAM roles with limited privileges to minimize the service's attack surface. Sparta emphasizes security and operational best practices as first-class goals.
One of Sparta's key features is its ability to discover dynamically created AWS resources at runtime, eliminating the need for hard-coded ARNs in the codebase. This promotes an immutable infrastructure approach. The framework aims to discourage the deployment of monolithic applications as Lambda functions, instead favoring a microservices architecture.
By using this site, you agree to allow SPEEDA Edge and our partners to use cookies for analytics and personalization. Visit our privacy policy for more information about our data collection practices.