First infrastructure
Hey!
I'm looking for advice to making my "first" infrastructure for my apps.
I started freelancing not too long ago and looking for a good starting point, an easily scalable infrastructure.
Stack:
Nextjs (v15) + payloadcms (as CMS)
Postgres database
S3 storage (currently at DigitalOcean, moving to hetzner)
My main idea would be to have 3 VPS at hetzner and a S3 storage (for backups and static assets for the websites, like images, pdf, etc.)
1. vps - dokploy ui
2. vps - postgres
3. vps - apps
Current projects: startups, local landing pages, webshops
I want to have a staging and a production server as well. (Staging used for demo & development purpose)
(EU based projects only so no need for worldwide access)
Any ideas how to improve this setup or should I change it entirely?
I'm looking for advice to making my "first" infrastructure for my apps.
I started freelancing not too long ago and looking for a good starting point, an easily scalable infrastructure.
Stack:
Nextjs (v15) + payloadcms (as CMS)
Postgres database
S3 storage (currently at DigitalOcean, moving to hetzner)
My main idea would be to have 3 VPS at hetzner and a S3 storage (for backups and static assets for the websites, like images, pdf, etc.)
1. vps - dokploy ui
2. vps - postgres
3. vps - apps
Current projects: startups, local landing pages, webshops
I want to have a staging and a production server as well. (Staging used for demo & development purpose)
(EU based projects only so no need for worldwide access)
Any ideas how to improve this setup or should I change it entirely?