Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a WebServer say WS-1 and a NFS server say NFS-1 setup on AWS. WS-1 is being managed by an elastic load balancer and also autoscaled. It also has an EBS mounted on /var/www which contains all application code.

  • During autoscaling if another WS-X is launched will the /var/www mounted EBS also cloned and attached to that as well? If not, what are my options besides hosting code on root EBS volume?

  • Access inside NFS is defined on IP basis like,...). During autoscaling more instances will be launched, how can i allow them to connect to NFS server and mounted the shared directory? I don't want to give access to private IP subnet using NFS, while on the Security Group level i have given access to NFS server to NFS server uses fixed ports like 111, 2049, 4000-4002.

share|improve this question
add comment

1 Answer

On scaling up the ebs volume and it's data will not be "cloned" , to have this behavior you'd want to automate it at boot.

1) grab the latest snapshot of WS-1 ebs volume 2) create and attache the volume.

Another method, depending on how much data is on the ebs is to pull it down from s3.

With the security group, you can allow any server in the app_security_group to have access to any server in the nfs_server_group. This will allow you to dynamically update the security groups.

Hope that makes sense.

share|improve this answer
Yes, the s3 bucket will probably have higher bandwidth and so may give faster copies if there is lots of data. –  Peter K. Jan 10 '12 at 15:17
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.