Building a Simple Serverless Media Web Application
You have realized by now that by using traditional structures, there is a lot of time-consuming technical administration.
In the cloud era, this is not the case. Cloud providers take care of all the infrastructure, as well as scaling and reliability, and the other needs of your application, so you can focus on the business logic. This not only helps you focus on the right things, but also helps you reduce your time to market drastically.
To depict this, let's do a quick demo of our use case and look at how we can implement it in the AWS Cloud.
We'll deploy our web application locally. Clients will use this application to upload images to AWS. (Figure 3.2 depicts what we want to achieve in this tutorial.) Clients will call the APIs to upload images. These APIs will be hosted in an API Gateway and expose endpoints to upload images to S3. Once the image is uploaded to S3, an event will be triggered by S3 automatically that will launch a Lambda...