Serverless Tips
-
Using private GitHub npm modules
In this post we’ll look at how to make sure Seed is deploying your Serverless services with your private GitHub npm modules.
-
How to improve AWS Lambda Cold Start performance
One of the great promises of serverless has always been that it would free developers to focus on writing code without having to give too much consideration to the underlying infrastructure. -
Building a CI/CD pipeline for Serverless apps
Over the past few weeks we’ve been writing about various topics around how to build and maintain a CI/CD pipeline for Serverless Framework applications on AWS.
-
How to handle service dependencies when rolling back a monorepo Serverless app
In a Serverless app with a single service, the rollback strategy in your CI/CD pipeline simply involves re-deploying the previously packaged deployment artifact.
-
How to deploy only the updated services in a monorepo Serverless app
In a Serverless app with a single service, the deployment strategy in your CI/CD pipeline is straight forward: deploy my app on every git push.
-
Deploying a monorepo Serverless app with interdependent services
It’s common for your monorepo Serverless app to have services that are dependent on each other. In this post we’ll look at how the dependencies affect your deployments.
-
What is the right way to do rollbacks in Serverless apps?
Making sure that you are able to rollback your Serverless deployments is critical to managing your own CI/CD pipeline. In this post we’ll look at what the right rollback strategy is for your Serverless apps.
-
Why you should use a manual approval step in a Serverless CI/CD pipeline?
In this post we’ll look at why you should use a manual approval step as a part of the CI/CD pipeline for your Serverless Framework app.
-
Why Serverless deployment artifacts cannot be reused across stages?
In this post we’ll be looking at why the artifacts generated by Serverless Framework cannot be reused across stages (or environments).
-
How to generate deployment artifacts in your CI/CD pipeline for Serverless apps
In this post we’ll look at generating deployment artifacts in your CI/CD pipeline for Serverless Framework apps.
-
Why a traditional CI/CD service isn't a good fit for monorepo Serverless apps?
You might have come across the idea that if you are deploying a Serverless app, your build servers should be Serverless as well. In this post, we are going to dive into this idea and explore why a traditional CI/CD service (like CircleCI or Travis CI) isn’t a good fit for deploying monorepo Serverless apps.
-
Should I use a hosted or on-premise CI/CD for my Serverless app?
In this post we are going to compare hosted and on-premise CI/CD solutions for Serverless apps. We’ll try and compare them across a few different criteria so you can decide what is best for your team.
-
How to fix DynamoDB timeouts in Serverless apps
In this post we are going to look at how to debug DynamoDB timeouts in Serverless apps. This is a fairly specific issue related to Node.js Lambda functions calling DynamoDB. But we recently had to work through this issue. Hopefully sharing our experience ends up being helpful to other folks.
-
Testing your Serverless app
In this post we are going to look at some general strategies on how to test Serverless apps. We’ll look at what is involved from a testing perspective while developing, before deploying, and after deploying your app.
-
How to structure a real-world monorepo Serverless app
Serverless applications are usually made up of multiple services and they are typically organized in a monorepo. In this post we are going to look at how to structure a real-world monorepo Serverless app.
-
Git workflow for Serverless apps
In this post we are going to look at some of the most common Git workflows for Serverless apps. We’ll cover some of the best practices when it comes to Git workflows and see how it works with respect to Serverless.
-
CircleCI vs Travis CI vs CodePipeline vs Seed
In this post we are going to do a deep comparison of the various CI/CD options for Serverless apps. We’ll be comparing CircleCI, Travis CI, CodePipeline, and Seed.
-
How to deploy your Serverless app into multiple AWS accounts
Teams commonly use multiple AWS accounts to host the environments (dev, staging, prod, etc.) for their Serverless app. The main reason for this is to protect their production environment. You can read about this in detail in one of our previous posts.
-
How to build a CI/CD pipeline for Serverless apps with AWS CodePipeline and CodeBuild
In a couple of our previous posts we looked at how to build a CI/CD pipeline for Serverless apps on AWS with CircleCI and Travis CI. Today, we’ll look at how to do the same using AWS CodePipeline and AWS CodeBuild.
-
Why deploy your Serverless app into multiple AWS accounts?
In this post we’ll be looking at why deploying your Serverless app to multiple AWS accounts is a good practice.
-
How to share an API domain between services in a monorepo Serverless app
In this post we’ll be looking at how to configure a custom domain so it can be shared across multiple services in a monorepo Serverless app.
-
How to set up a custom domain name for API Gateway in your Serverless app
In this post we’ll look at how to set up a custom domain name for API Gateway in your Serverless app. We are going to be using the serverless-domain-manager plugin and the AWS Certificate Manager to configure our domain.
-
How to build a CI/CD pipeline for Serverless apps with Travis CI
In one of our previous posts we looked at how to build a CI/CD pipeline for Serverless apps on AWS with CircleCI. Today, we’ll look at how to do the same with Travis CI.
-
How to buy a domain name on Amazon Route 53 for my Serverless API
When you deploy your Serverless application with API Gateway, AWS auto-generates an URL for you with a default AWS domain. In an upcoming post we’ll be looking at how to manage custom domains for your Serverless API.
-
How to trace Serverless apps with AWS X-Ray
AWS X-Ray is a service that records and visualizes requests made by your application. It provides an end-to-end view of requests as they travel through your Serverless application, and shows a map of your application’s underlying components.
-
What is AWS X-Ray?
In this post we’ll look at what AWS X-Ray is and why we think you should really consider using it if you are building a Serverless application. We’ll also look at how it works and how much it costs.
-
How to build a CI/CD pipeline for Serverless apps with CircleCI
At Seed, we’ve built a fully managed CI/CD pipeline for Serverless Framework apps on AWS. So you can imagine we have quite a bit of experience with the various CI/CD services.
-
How to enable execution logs for API Gateway
In this post we are going to look at how to enable and use execution logs for API Gateway in CloudWatch.
-
How to enable access logs for API Gateway
In this post we are going to look at how to enable and use access logs for API Gateway in CloudWatch.
-
What's the difference between access logs and execution logs in API Gateway?
In this post we are going to be looking at two types of logs that API Gateway has, and the differences between them.
-
How to prevent accidentally deleting Serverless resources
If you are using Serverless Framework to deploy your Serverless app, all your resources should be deployed automatically thanks to the infrastructure as code setup. This means that your resources (databases, API endpoints, Lambda functions, etc.) are created, modified, and removed by simply changing your Serverless config.
-
How to manage secrets for your Serverless app
In this post we’ll look at how to handle secrets for your Serverless app. Secrets or sensitive information that your app uses, should not be committed to source control. We’ll look at the various ways to handle secrets in Serverless and their pros and cons.