Building the solution
Now that we have a solid design for our solution, we can begin building it. As discussed in the previous section, since we’ll be using AWS serverless offerings such as AWS S3 and Lambda Functions to host our application, we will need to make some changes to our application code. We never had to do this in Chapters 7 and 8, as we were able to deploy our application to the cloud by packaging it in either a VM image (using Packer) or a container image (using Docker). Therefore, we need to write some Terraform code and update our application code in C# to build our solution.
Terraform
As we discussed in our design, our solution consists of two application components: the frontend and the backend. Each has its own code base of application code that needs to be deployed. In previous chapters, we also had the operating system configuration. Now that we are using serverless offerings, this is no longer our responsibility, as the platform will take care of...