Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
ZTE MF283U 4G Unlocked Router (Used)
ayanthamaxi
Updated:
Sunday at 8:26 PM
ලංකාවේ හොඳම උපකාරක පන්ති සහ ගුරුවරුන් එකම තැනකින් - TopTuition.lk
dulithapathum
Updated:
Saturday at 8:07 AM
Colombo
RidhMathraa ’26 🎶✨
Tmadhusanka
Updated:
Wednesday at 11:58 PM
Ad icon
Colombo
PXN V10 Pro Direct Drive Racing Wheel (Under Warranty)
Abdur Rahman
Updated:
Wednesday at 10:23 PM
Ad icon
USDT ණය සේවාව - USDT Loan Service
පුරවැසියා
Updated:
Wednesday at 4:54 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
AWS - WordPress
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="NEMISIS" data-source="post: 30583772" data-attributes="member: 494668"><p>Here is my suggestion</p><p></p><ol> <li data-xf-list-type="ol">You don't need auto scaling for 2000 users ( that is 1 user per min on average, but in real life there will be some peak time, but still you don't need auto scaling at this point).</li> <li data-xf-list-type="ol">What you need is HA and way to monitor your setup.</li> <li data-xf-list-type="ol">Configure a manage DB instance with Zone redundancy ( this is very important and this will be bit costly too, may be you can configure a replica but these are costly things to), I think you can configure all of them in one go in AWS, if you are using AWS RDS by configuring Multiple availability zones with failover.</li> <li data-xf-list-type="ol">Configure two VMs/Dedicated servers in two different availability zones, deploy your WP app in these VMs and connect both of them to the db in step 3. If users are uploading files to your wp site, then you will have to configure some shared file system across VMs.</li> <li data-xf-list-type="ol">Configure LB to balance your load between two VMs ( you can use LB available in AWS or Cloudflare etc)</li> <li data-xf-list-type="ol">Point your DNS to CF( or whatever the service you are going to use)</li> <li data-xf-list-type="ol">You need a way of monitoring your setup, CF, Two VMs, and DB. There are multiple options for this, but i suggest to use existing services like Site24x7. Reason is, if you are critical about your uptime, you have to be critical about uptime of your monitoring service.</li> <li data-xf-list-type="ol">Implement some backup strategy.</li> </ol><p></p><p>Possible problem : If users are logging into your site, you might want to take a look at how to handle session. I guess WP depends on php sessions, which may store some data locally, if user hits one VM in one request and other VM in the next request, user might get logged out or face issues. You might be able to fix this with shared session storage, may be Redis or Memcached will help.</p><p></p><p>If you need HA and auto scaling, you have to run two K8S clusters in two zones at minimum. That would be very costly compared your current single VM. Without zone redundancy, you can't say you have HA.</p></blockquote><p></p>
[QUOTE="NEMISIS, post: 30583772, member: 494668"] Here is my suggestion [LIST=1] [*]You don't need auto scaling for 2000 users ( that is 1 user per min on average, but in real life there will be some peak time, but still you don't need auto scaling at this point). [*]What you need is HA and way to monitor your setup. [*]Configure a manage DB instance with Zone redundancy ( this is very important and this will be bit costly too, may be you can configure a replica but these are costly things to), I think you can configure all of them in one go in AWS, if you are using AWS RDS by configuring Multiple availability zones with failover. [*]Configure two VMs/Dedicated servers in two different availability zones, deploy your WP app in these VMs and connect both of them to the db in step 3. If users are uploading files to your wp site, then you will have to configure some shared file system across VMs. [*]Configure LB to balance your load between two VMs ( you can use LB available in AWS or Cloudflare etc) [*]Point your DNS to CF( or whatever the service you are going to use) [*]You need a way of monitoring your setup, CF, Two VMs, and DB. There are multiple options for this, but i suggest to use existing services like Site24x7. Reason is, if you are critical about your uptime, you have to be critical about uptime of your monitoring service. [*]Implement some backup strategy. [/LIST] Possible problem : If users are logging into your site, you might want to take a look at how to handle session. I guess WP depends on php sessions, which may store some data locally, if user hits one VM in one request and other VM in the next request, user might get logged out or face issues. You might be able to fix this with shared session storage, may be Redis or Memcached will help. If you need HA and auto scaling, you have to run two K8S clusters in two zones at minimum. That would be very costly compared your current single VM. Without zone redundancy, you can't say you have HA. [/QUOTE]
Insert quotes…
Verification
Awruddata maasa keeyada?
Post reply
Top
Bottom