Might be a rookie question but unable to get clear answer on the web, so please help. Scenario is: I have two instances of php server (Let's say A and B), one instance of loadbalance and one of mysql. Stack is almost ready but one confusion in my mind is what will happen to the photos uploaded by user.
Suppose user comes to sever 'A' through load balancer and uploads the image which gets stored on my "webroot" folder on server 'A'. Now after few days user visits the website again and this time hits server 'B'. He won't be able to see his image as it is residing on server 'A'. I want to know how AWS opswork handles this problem?? Will it sync the data automatically or some extra chef receipe needs to be created from my side.
Please guide me on this. I am in process of applying opswork to my website and this confusion is not letting me proceed. Any links will be useful.
Aucun commentaire:
Enregistrer un commentaire