There's more...

To confirm that your EFS filesystem, mount targets, and security groups are working, you can also provision some client instances to connect to them. Add the following resources and parameters to the template you have already created:

  1. Add the following parameters to your top-level Parameters section to configure your instances:
      MountPoint:         Description: The path on disk to mount the EFS file system         Type: String         Default: /mnt/efs       KeyName:         Description: The SSH key pair allowed to connect to the client           instance         Type: AWS::EC2::KeyPair::KeyName
  1. Add an AutoScalingGroup under the Resources section; regardless of which AZ your servers are provisioned to, they will have access to the EFS filesystem via the local mount point: ...

Get AWS Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.