Our Blog

Amazon Elastic File System (Amazon EFS)

Posted by:

EFS is a scalable file storage system that is used with Amazon EC2 Instances in AWS cloud. The storage capacity in EFS is elastic, which means your storage will automatically expand when the data is being written on the file system and vice versa. Amazon EFS uses NFS (version 4.1) protocol just like any other file system available. A single EFS file system can be used by multiple EC2 instances, so you won’t have to worry about syncing or replicating your data on other servers/instances. The data you write on EFS file system of Instance ‘A’ will automatically be available to use for Instance ‘B’ and Instance ‘C’, if they share the same EFS storage.

One of 24/7 Network Engineer clients required an application to run under Amazon Auto Deploy using Red5 Media Service for managing Media files. According to the client requirements, Red5 Media servers should be scalable; a server should be able to entertain all the requests and it should not be slowed down due to heavy traffic load with minimum cost.

Our 24/7 Network Engineers put the server behind a Load Balancer and add as many Red5 Servers as required. The challenge they faced was ‘data replication’; If the user uploads a file on server A and wants to access it later, it should be available in all instances other than server A. If the user cannot access his uploaded file for some other reason, it means server A is down or slow/unresponsive due to heavy load.

For this purpose, 24/7 Network Engineers used Amazon EFS. They mounted the EFS file system on all instances of Red5 Server so that when file A is uploaded on Instance 1, it is saved/uploaded on EFS file system regardless of the instance it is mounted on. This means when a user is trying to access that particular file, it will be served from any instance with less traffic.

0


Add a Comment

Time limit is exhausted. Please reload CAPTCHA.

# #