A single instance application on an EC2 in AWS to Convert the application to operate on multiple servers


You run a single instance application on an EC2 instance in AWS. your architecture reams are looking to make changes and convert the application to operate on multiple servers. The app runs on Linux and currently access millions of flat file data file in the /data/… folder structure.

This database is stored on an EBS volume attached to the EC2 instance. How can this be moved to work on multiple servers with as little application changes as possible? What product would you suggest?

 

Answer: EFS

For this use-case, you should start looking at the new Amazon Elastic File System (EFS), which is designed to be multiply attached in exactly the way you are wanting. The key difference between EFS and EBS is that they provide different abstractions: EFS exposes the NFSv4 protocol, whereas EBS provides raw block IO access.

 

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.