Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Miguejarias's avatar

Laravel Forge + Multiple Servers + File Storage

Im using laravel forge with multiple servers and a load balancer. Im trying to store files in the storage folder like uploaded images and such. How do i go about this with my current multi server setup? i dont want it to be stored in one and not the others because it will cause obvious problems. How do I do this correctly?

0 likes
1 reply
Loach's avatar
Loach
Best Answer
Level 11

You will need to use a service like AmazonS3 or Digital Ocean Spaces. Serioulsy it is the easiest way. Unless you want to come up with some idea of move those files between your servers yourself. By FTP or some other means.

Please or to participate in this conversation.