📄️ Docker Lambda
Serverless Docker deploy
📄️ Fargate deploy
Fargate is the service type of ECS service
📄️ IaaS Terraform deploy
Instead of creating resources on AWS manually or through AWS CLI it was decided to use Terraform. It helps to define every resource via code, and made changes easily trackable through git history, allow not to think which resources you need to create on new ENV. You just need to run a batch of commands and that's it.
📄️ ZIP Lambda
There is a problem with NX tool to say serverless framework from which folder get the code and deploy it to AWS. This problem was solved by excluding the package stage from the serverless framework. Instead of serverless framework we do it manually. So order to achieve it we need to execute next steps :