aws-samples / eb-php-wordpress

Configuration files and instructions for installing WordPress securely and running it in a load balanced AWS Elastic Beanstalk environment with an EFS file system for shared assets.
Apache License 2.0
165 stars 95 forks source link

EFS alternative for regions without EFS? #14

Closed hisham closed 6 years ago

hisham commented 6 years ago

Why not have an option to use EBS (block storage) if the wordpress server will always be in the same region?

mwunderl commented 6 years ago

You would be limited to a single instance, and you would need to do extra work to ensure that you didn't lose everything on instance replacement, redeploy, or platform upgrade. You could get it to work but I don't think it's a strong use case for Elastic Beanstalk.

hisham commented 6 years ago

Yeah makes sense. Ended up using S3 instead for media assets and then just git and the eb CLI for the wp plugins / php files with the assumption that anything done on ec2 server is ephemeral.

Hopefully EFS (or better yet, Lightsail) is added to the Canadian data center soon. In the meantime thank you for your help!