5 Must Have AWS Serverless Framework Tools For Your Starter Kit

When first looking into migration to a serverless framework and its architecture, it can feel like you’re staring down an endless shopping aisle of critical serverless tools that all need to be put into your basket straight away. Some services seem to offer the same function, while others can feel wildly different – both, as a result, can instill some doubts as to what is really necessary for your business and serverless application.

In this article, we break down the key AWS serverless tools needed to make up the core of your architecture, looking at their function and purpose as well as how they are charged. We also discuss how they can connect with other components and AWS services as you continue to build and scale for a successful serverless workflow.

AWS Lambda

Typically, we aren’t able to start discussing serverless applications without AWS Lambda being raised because of its centrality. Serverless applications are event-driven meaning their code is in response to an event, such as a request or a change in state.

AWS Lambda is a serverless compute service that lets you run code for virtually any type of application or backend service. Its functions are triggered by events, from integrated sources such as AWS Simple Queue Service (SQS) or AWS Simple Notification Service (SNS), with the Lambda functions consuming and then producing new events for other services.

AWS Lambda is only charged on the compute time used through either every 1ms of code executed or the number of times code is triggered, making it incredibly cost-effective. For consistent high performance, you’re also able to optimize code execution time by selecting the right memory size for each function or set it so it’s able to respond within double-digit milliseconds.

SQS

AWS Simple Queuing Service (SQS) is a fully managed message queuing service. With SQS, you can send, store and receive messages between components at any volume without losing messages or needing additional services to be available for its use.

By decoupling from other application components, queues (and other components) can run and fail independently, which increases the fault tolerance on your system.

AWS SQS is highly available and scalable and manages all the ongoing operations, maintenance, and underlying infrastructure associated with middleware software. Its elasticity takes away capacity and pre-provisioning issues as there is no limit to the number of messages per queue, while standard queues provide nearly unlimited throughput.

Once again, costs are based on usage only, which is a huge cost saving to the “always-on” mode of traditional self-managed messaging middleware.

API Gateway

AWS API Gateway is a fully managed service making it easy for developers to create, publish, maintain, monitor, and secure APIs. The service manages all tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, throttling, and API version management.

You can build REST APIs optimized for serverless workloads in order to provide more features and full control of responses and requests. Its pricing structure is budget-friendly with no minimum fees involved and a sliding scale model against API usage, with charges for only the API calls received and the data transferred out.

DynamoDB

AWS DynamoDB is a high-performance key-value and document database. Its multi-region, secure, durable, and scalable service means that some of the world’s largest businesses and enterprises across various industries rely on DynamoDB.

Being serverless and fully managed, availability and fault tolerance are built-in, with DynamoDB global tables replicate data across multiple AWS regions to provide fast, local access where needed and single-digit millisecond response times at all scales.

The service automatically scales tables up and down to suit capacity without compromising on performance; it can handle more than 10 trillion requests per day and can support peaks of more than 20 million requests per second.

Step Functions

AWS Step Functions allows you to bring multiple AWS services together to create a serverless workflow, which can be updated and ran quickly. With this service, application development is simpler and more intuitive; it automatically starts and tracks each step in the workflow, and also retries when there are errors so there are no nasty surprises.

AWS Step Functions is also a great way to move away from monolithic applications and into microservices being used as a series of steps. This design principle enables users to work on code safely without disrupting operations while also being able to deliver new products and features ensuring business as usual.

With all of the above, the service means users don’t need to write additional code for workflow logic, timeouts, retries, or parallel processes. It’s essentially a neatly packaged way to bring together all of your curated AWS services and create a well-executed workflow for your application. You can find illustrated examples of some common and useful use cases for Step Functions in our Cloud Knowledge Base.

Final Thoughts

The beauty of serverless is its scalability and so even if some of these serverless tools may seem a little advanced or too large for where your business is right now, remember that there is always flexibility in how you use each service and highly important, for any organization no matter the size, you are only charged based on usage.

Serverless doesn’t mean having every service or functionality under the sun, but rather understanding the fundamentals needed within this type of architecture and how best to take advantage of the tools available so it works for your team and organization.

For us, these five serverless tools – AWS Lambda, AWS SQS, AWS API Gateways, AWS DynamoDB, and AWS Step Functions – are a great starting point for your serverless starter pack as they each adequately cover and can scale the various core components needed; computing, events, automation, database, message queues, APIs and how each can be brought together to create your application.

But of course, once you’ve decided to adopt them, it’s important to keep an eye on their performance, so as a bonus sixth starter-kit service for your serverless application, we’ll throw in Dashbird’s monitoring platform, which helps you easily visualize the data and thus understand what’s going on in your application within seconds. You’ll also receive alerts when something is not working properly so that you can jump in and fix it before it starts affecting your end-users’ experience.

Read our blog

ANNOUNCEMENT: new pricing and the end of free tier

Today we are announcing a new, updated pricing model and the end of free tier for Dashbird.

4 Tips for AWS Lambda Performance Optimization

In this article, we’re covering 4 tips for AWS Lambda optimization for production. Covering error handling, memory provisioning, monitoring, performance, and more.

AWS Lambda Free Tier: Where Are The Limits?

In this article we’ll go through the ins and outs of AWS Lambda pricing model, how it works, what additional charges you might be looking at and what’s in the fine print.

Made by developers for developers

Dashbird was born out of our own need for an enhanced serverless debugging and monitoring tool, and we take pride in being developers.

What our customers say

Dashbird gives us a simple and easy to use tool to have peace of mind and know that all of our Serverless functions are running correctly. We are instantly aware now if there’s a problem. We love the fact that we have enough information in the Slack notification itself to take appropriate action immediately and know exactly where the issue occurred.

Thanks to Dashbird the time to discover the occurrence of an issue reduced from 2-4 hours to a matter of seconds or minutes. It also means that hundreds of dollars are saved every month.

Great onboarding: it takes just a couple of minutes to connect an AWS account to an organization in Dashbird. The UI is clean and gives a good overview of what is happening with the Lambdas and API Gateways in the account.

I mean, it is just extremely time-saving. It’s so efficient! I don’t think it’s an exaggeration or dramatic to say that Dashbird has been a lifesaver for us.

Dashbird provides an easier interface to monitor and debug problems with our Lambdas. Relevant logs are simple to find and view. Dashbird’s support has been good, and they take product suggestions with grace.

Great UI. Easy to navigate through CloudWatch logs. Simple setup.

Dashbird helped us refine the size of our Lambdas, resulting in significantly reduced costs. We have Dashbird alert us in seconds via email when any of our functions behaves abnormally. Their app immediately makes the cause and severity of errors obvious.