How do I get EC2 load balancing properly set up to allow for real time file syncing?

前端 未结 4 1614
礼貌的吻别
礼貌的吻别 2020-12-30 15:33

I\'m new to EC2. I have read a lot about it, watched many videos and tutorial and pretty much familiar with how everything work. I still have few question that I can\'t seem

4条回答
  •  我在风中等你
    2020-12-30 16:04

    Using S3 is one way to sync your files. You got to write the codes that every photo upload (for example) will got to your S3 bucket. But of course the your 3 instance should be able to access it.

    Another solution is to have a shared filesystem, where you share a directory to the 3 instances. Possible solution to this is NFS or GlusterFS.

    For the RDS, I think that's no problem you can use a single DB for the 3 instances. Let me know if this helps.

提交回复
热议问题