6 Things to consider before going serverless
Moving some or all of your infrastructure to a serverless stack has many benefits. A few of them include:
- No server management
- Scalability built in
- Response times/speed
- Finite segmentation of code/responsibility
While solving many problems compared to traditional server-based architectures the serverless world is not void of trade-offs. The following is a list of considerations you should weigh carefully before moving large portions of your application to a serverless architecture.
1. Infrastructure setup
It should be no surprise that managing serverless infrastructure would be something that would take some attention and care. For smaller applications or one-off tasks that aren’t mission critical, you can most likely get away with setting up the infrastructure manually. For anything more complicated, or applications that have business/monetary implications for being down, then you would want to automate infrastructure changes so they can be replicated in each environment through traditional build pipelines.
There are a few different applications that can manage this for you but the two most common are Serverless and Terraform. Out of the two I personally prefer Terraform but…