Best practices for developing and deploying serverless applications
We must adhere to best practices in order to safeguard our resources, applications, and infrastructure service provider accounts. Here are some guiding principles that need to be considered.
Serverless function = specific function
A serverless function must accomplish a certain task. A serverless function should execute a logical function, similar to how a function or method in any code should accomplish one thing.
Using microservices
Microservices enable us to link together the data storage and functions in a manageable manner. The microservice will be bound by a contract that specifies what it is allowed and prohibited to do. A payment microservice, for example, can be used to create, update, and delete user payments. Outside of the user account data storage, this microservice should never modify any data. It will also have its own API. Other microservices can now interact with user account...