Тёмный

Tutorial: Setup Load Balanced WordPress website with Lightsail Object Storage 

Mukesh's TechSpace
Подписаться 4,2 тыс.
Просмотров 5 тыс.
50% 1

Опубликовано:

 

17 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@MonirHossain-bf9rc
@MonirHossain-bf9rc 2 года назад
Very useful! Thanks for the video.
@MukeshsTechSpace
@MukeshsTechSpace 2 года назад
Glad it was helpful!
@raffaelloringue
@raffaelloringue 2 года назад
thanks for the vid. i assume u can use aws config to update plugins programaticaly.
@Bathmaraj-c5r
@Bathmaraj-c5r 7 месяцев назад
why do we need an S3 bucket? because themes and objects are stored in server storage itself... can you please explain?
@ddomain1947
@ddomain1947 2 года назад
Very useful, Thanks for sharing.
@HindiTechClub
@HindiTechClub 2 года назад
Thank you so much for such great videos Mukesh. Can we do such load balancing or HA configuration for WHMCS application too?
@MukeshsTechSpace
@MukeshsTechSpace 2 года назад
You can, but that probably requires more complex setup and licensing.
@HindiTechClub
@HindiTechClub 2 года назад
@@MukeshsTechSpace True and Agree with you. thanks for your response.
@santhoshkumarlakshmiraj1842
Great Video Mukesh. Did you find the solution for syncing plugins and themes between two instances running wordpress?
@ddrci88
@ddrci88 2 года назад
you can use mariadb database one server and install and pull all data from one database server so everything will be same.
@MukeshsTechSpace
@MukeshsTechSpace 2 года назад
Yes that can be an option.
@faviquiz
@faviquiz 11 месяцев назад
What if I need any type of control panel for my wordpress?
@yoonssam_kr
@yoonssam_kr 2 года назад
Quick check, with the load balancer enabled in lightsail, how does the 2 instances get sync? For example, if I make a change in instance-1 (e.g. install a new plugin or modified php file), will the same changes be copied to instance-2 automatically? Please advise. Thx!
@MukeshsTechSpace
@MukeshsTechSpace 2 года назад
Well, as shown the database is shared however the wp-content/plugins and /themes are not, so you would install / update them on both instances. I do have a Load balanced setup tutorial using Percona and Unison, which does automatic syncs. You may want to check it out.
@circleAI
@circleAI 2 года назад
thanks for the tutorial, I have a question but it's not related to this video... so I haven't set any kind of database but when I snapshot my instance and try to upgrade it to the upper plan website is showing an error establishing a database connection, do you know how I can resolve that?
@MukeshsTechSpace
@MukeshsTechSpace 2 года назад
Not entirely sure, it could be many issues but check if mysql is running on your new instance. Try creating another instance from a new snapshot (maybe the snapshot is corrupted). best of luck.
@gorangagrawal
@gorangagrawal 2 года назад
Hey, you attached Static IP's to individual instances and then attached them to load balancer. So is it necessary? Won't it work on dynamic IP's as they are attached to a load balancer? I mean it's the job of load balancer to determine the instances.
@MukeshsTechSpace
@MukeshsTechSpace 2 года назад
I guess you can leave the server with dynamic IP; however the Static IP is included and if you want to connect directly to update plugins/theme files then it comes handy to have a static IP associated. If you want to SFTP or SSH then it is also better to keep it Static. Hope that helps.
@gorangagrawal
@gorangagrawal 2 года назад
@@MukeshsTechSpace Got it. Also when are you going to publish follow-up CDN video? Like in a week or month?
@AmanKumar-jf9bh
@AmanKumar-jf9bh 2 года назад
Can we use Amazon RDS Service as it is cheaper than the LightSail Database??
@MukeshsTechSpace
@MukeshsTechSpace 2 года назад
Yes you can. I have a video on that setup specifically. Good luck
@nikhilkumar-pe8eu
@nikhilkumar-pe8eu 2 года назад
does this infostructure supports 2000 traffic at a same time?
@MukeshsTechSpace
@MukeshsTechSpace 2 года назад
many factors go into that including your website. You can use load.io to load test your setup.
@ddrci88
@ddrci88 2 года назад
is bitnami stack varnish cache?
@MukeshsTechSpace
@MukeshsTechSpace 2 года назад
Correct, I think Bitnami has varnish installed
@7thson47
@7thson47 2 года назад
Hello, I have watch many videos of yours already. I have a question here, I run a lightsail wordpress at 1gb ram plan. I used Quic.Cloud cdn with LS Cache setup. And my website is running just fine with my current traffic. But my question is this. What if I promote my website somewhere to get a huge spikes in traffic for a couple of days. Like 20k concurrent user . Will my CDN save me from my server going down? Or I need to upgrade my server to bigger plan? Or Should I setup a Load balancer? Please suggest me because the bigger size instance is not the best option for normal used, since my product doesnt make money all the time. My website is a woocommerce with around 10 digital products. and all my Digital files were hosted outside my server so there is no bandwidth usage from it.
@MukeshsTechSpace
@MukeshsTechSpace 2 года назад
CDN only caches static files, any dynamic functionality like ecommerce will not be done by the CDN. All websites are unique (# of plugins, type of theme etc) so to answer your questions, you probably need to do a load test with something like loader.io (I have a video tutorial on that). I can tell you that 1GB server in my experience is on the low end for Woocommerce based sites. Good luck!
@7thson47
@7thson47 2 года назад
@@MukeshsTechSpace the Quic.cloud server with LS Cache served static and dynamic content.. Thats what makes me confused more. I sure check more of your videos..thanks for reply
@MukeshsTechSpace
@MukeshsTechSpace 2 года назад
Cool. good luck!
@ddrci88
@ddrci88 2 года назад
liarrrrr last comment you said you are around here didnt left to youtube but still no upload new videdos. i start to learning linux watching your cloudfront cdn after that. Now im very expert nginx php fastcgi redis mariadb, i dont use anymore any stacks i install and manage bymyself and also learned loadbalancer. All of them for hobby. haha
@MukeshsTechSpace
@MukeshsTechSpace 2 года назад
Great to hear. Yes sorry for not posting much...been busy.
Далее
What is Object Storage?
10:28
Просмотров 96 тыс.