Amazon Web Services: S3

It is very common for a project to use static files such as images, videos, style files, scripts, audios, etc. Handling this type of data ourselves can become complex for security and availability mainly. A great alternative is to use AWS S3, the storage service that offers optimised file management as well as a robust and reliable space to store our content. Its operation is similar to any file system where directories and paths are used to reference static data. The main division comes under the concept of buckets that can be used to separate environments or concepts from our application, then each bucket will have its own file system.

There are four basic operations over S3 that you can perform:

These operations can be done directly from the Dashboard but more important you can do it from your application using the proper AWS SDK for the technology you are using.

More about S3 here

Cloudfront

Amazon CloudFront is a global content delivery network (CDN) service that accelerates delivery of your websites, APIs, video content or other web assets. Is the perfect complement for S3. It works by taking into account the origin of a certain request to deliver the requested content from the optmimal path. That way the bytes travel along the fastest route for the client ensuring the best posible network perfomance. AWS can provide this capabilities by replicating the resources along its infrastructure centers

This service is really useful if clients or users acccesing our application come from around the globe. We then can offer the same performance for all of them if we have for example a web app or simply certain content with files hosted in S3.

Read more about Cloudfront service here

Next steps

Now that we know we can store static files in AWS, let's jump to Databases management into AWS, where we will only focus in relational databases, which are provided for a service called RDS