Comments (4)
Have you ever tried this arch in a very trafficked site? EFS is a performance killer, you really should not use it for a Wordpress site
I agree, I have just tried and it is simply not possible to run .php files from EFS, too slow.
Instead, I am thinking about using CodePipeline with Github webhooks to push code changes across multiple instances.
I am also planing to keep EFS to share the cache
folder only.
Images and media are offloaded to S3 and of course the database is in RDS.
By the way I have tried Mysql Aurora and I moved back to Mysql because Aurora is too expensive and doesn't speed up that much the loading time of the page (at least not from a human eye).
After that I hope I can take full advantage of Elastic Load Balancing, until then it remains limited....
I will try to give feedback about this stack, in the meantime you are most welcome to tell me what you think about it.
from aws-refarch-wordpress.
Hello @ecout we manage multiple blogs from AWS. We have ELB with 3 instances EC2. All the images and media are stored in S3. The script and plugins are stored in each EC2 (A,B and C) and we use EFS as a pseudo versioning system to deploy new plugins and upgrades. Only one instance (A) can interact with the plugins and from our modified plugin panel we have a button to push updated versions of the plugin to B and C but it can aso be done automatically, this depend on how you will customize the plugin system.
Basically (A) will copy the plugin to the EFS partition shared between all instances and (B) and (C) will update the plugin from the EFS partition. You can't run script from EFS and even if some people have shown that it is possible they use a lot of caching mechanism (Varnish, Memcache...) which indirectly means that they are not using EFS as a resource because a version of the script is cached in each instance at the end of the line.
from aws-refarch-wordpress.
@Derevko Do you happen to have any data to support this observation? It's not that I don't believe you, but if I am going to make this argument to my clients, for example, they are going to want to see statistics. Also, I would be very interested in learning what Performance and Throughput modes you are using.
I'm asking because we're about to embark on a project that might use this exact architecture and we would love to be able to plan for these kinds of issues should they arise.
from aws-refarch-wordpress.
@[tedsecretsource] Did you find out eventually? I mean it seems there wouldn't be any other option to perform a load test...which is expensive unless you're already at scale.
In other way's you can run a basic blog from s3 but wordpress was designed for Internet before the cloud.
Anyone here who managed wordpress in a data center at scale?
from aws-refarch-wordpress.
Related Issues (20)
- Q: Why are no custom NACLs defined?
- Slow Plugin Install time (504 Gateway Timeout errors) HOT 18
- One-Click Cloudformation template in README does not reference latest templates
- reinvent2019
- CloudFront Fails to create HOT 4
- How to update opcache configuration? HOT 1
- Won't work anymore...
- Doesn't work...
- Latest version of PHP HOT 4
- wp-admin not accessible with SSL
- Master template link 404
- EFS Resource Handler
- ElasticFileSystem' must match pattern ^(fs-)([a-z0-9]{8})$ cloudformation error
- EfsSizeMonitorFunction needs to be upgraded to python 3.9
- AutoScaling group in web stack fails to launch, PHP55 not avialable HOT 1
- Error creating stack - DatabaseCluster failed with incorrect MySql Aurora version HOT 1
- Error Creating Stack - AMI missing in Sydney Region HOT 1
- How can I recreate the AMIs with installed software?
- RDS issue HOT 1
- Stack to deploy a highly available, elastic, scalable WordPress environment. This master stack launches multiple nested stacks for different tiers. !! This can only be run in certain AWS Regions - 'us-east-1', 'us-east-2', 'us-west-2', 'eu-west-1'.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-refarch-wordpress.