Serverless Application & Infrastructure Lifecycle Management using Terraform and friends!
Give it a star on GitHub, please!
It is an organic response to the accidental complexity of many existing tools used by serverless developers.
Developers and DevOps/Cloud engineers have to deal with several types of tools:
Use Terraform for comprehensive infrastructure management and serverless application deployments.
Developers and DevOps/Cloud engineers manage different infrastructure resources differently.
For example, serverless resources (API Gateways, AWS Lambda functions) are managed as part of the Serverless application framework but use infrastructure management tools for traditional Cloud resources (VPC, IAM roles, S3 buckets).
Use a single tool created to manage infrastructure as code – Terraform – for all your infrastructure resources.
Developers like to have control of their environment as code. They also prefer running integration tests often before lengthy deployment cycles kick-off.
Have all infrastructure resources described as configuration files. This allows developers to spin up and tear down complete environments required for their work easily.
Having interaction with real services is often slower than running everything locally (e.g., using LocalStack), but interaction with real services gives the most accurate feedback regarding how AWS services work.
Some of the existing solutions support plugins that extend the functionality of the framework and to simplify the usage of infrastructure services.
By relying on open-source Terraform AWS modules that have been developed over several years by Betajob in partnership with our huge community, you get to build your serverless project on top of verified, reusable components.
The challenges listed above apply to the Serverless Framework, too. In particular, one of the biggest challenges is infrastructure fragmentation between CloudFormation and Terraform.
serverless.tf does not restrict you from setting up your CI/CD workflow, which suits your needs, but it gives you the ways to control building, testing, deployments steps as code.
All of them, because serverless.tf does not restrict you there, but it gives you a way to build, package, and deploy your code in a standardized way.
Terraform AWS modules are used by thousands of companies worldwide. There were more than 200 million provisions from the Terraform Registry.
Yes, please reach out to Betajob.
See AWS Serverless official homepage for more information about each service, and Terraform AWS Modules for other compatible solutions.
AWS Lambda lets you run code without provisioning or managing servers.
Lambda@Edge allows you to run Lambda functions at AWS Edge locations in response to Amazon CloudFront events.
AWS AppSync simplifies application development by letting you create a flexible GraphQL API to securely access, manipulate, and combine data from one or more data sources.
Amazon EventBridge is a serverless event bus that makes it easier to build event-driven applications at scale using events generated from your applications, integrated SaaS applications, and AWS services.
AWS Step Functions is a serverless function orchestrator that makes it easy to sequence AWS Lambda functions and multiple AWS services into business-critical applications.
Amazon CloudFront is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment.
Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.
Amazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale.
Amazon Aurora Serverless is an on-demand, auto-scaling configuration for Amazon Aurora (MySQL-compatible edition), where the database will automatically start up, shut down, and scale capacity up or down based on your application's needs.
Amazon RDS Proxy is a fully managed, highly available database proxy for Amazon Relational Database Service (RDS) that makes applications more scalable, more resilient to database failures, and more secure.
Amazon Simple Storage Service (Amazon S3) provides developers and IT teams with secure, durable, highly-scalable object storage.
Amazon SNS is a fully managed pub/sub messaging service that makes it easy to decouple and scale microservices, distributed systems, and serverless applications.
Amazon CloudWatch is a monitoring service for AWS cloud resources and the applications you run on AWS.
Amazon SQS is a fully managed message queuing service that makes it easy to decouple and scale microservices, distributed systems, and serverless applications.
AWS CodeDeploy is a service that automates application deployments to a variety of compute services including Amazon EC2, AWS Lambda, and instances running on-premises.
AppConfig, a capability of AWS Systems Manager, to create, manage, and quickly deploy application configurations.
Parameter Store, a capability of AWS Systems Manager, provides secure, hierarchical storage for configuration data management and secrets management.