Let's now see how Amazon S3 can be used in a project.
In the preceding diagram we have the following:
The Amazon Elastic Compute Cloud (EC2) machines where the application is deployed.
The Amazon Load Balancer will be responsible for redirecting the user request to specific applications deployed on the EC2 machines.
The Amazon Relational Database Service (RDS) is used for storing application data. It provides scalability, durability, and an easy-to-manage database service.
Amazon S3 where the image/audio/video files are stored.
And lastly, the front devices like a laptop, desktop, or mobile applications that send requests to the application.
The preceding example is a sample case study. There are various ways for integrating Amazon S3 in our application.