DEV Community

Cover image for How I Built My Self-Hosted Cloud with Proxmox, Terraform & Docker

How I Built My Self-Hosted Cloud with Proxmox, Terraform & Docker

Tejas Patil on February 23, 2025

how I transformed a Mini PC into a private cloud, running virtual machines, containers, and CI/CD pipelines, all while ensuring secure remote acces...
Collapse
 
anemarie_dicola_9aaa699f0 profile image
Anemarie DiCola

Your post "How I Built My Self-Hosted Cloud with Proxmox, Terraform & Docker" contains great information on configuring an efficient and scalable self-hosted cloud system. From Proxmox virtualization, Terraform infrastructure-as-code, to Docker containerization, it is a complete guide on Cloud Application Development. It would be excellent to add more information regarding security best practices and automation techniques to further improve the deployment process.

Collapse
 
tejas2292 profile image
Tejas Patil

Thank you, Anemarie! I appreciate your feedback and your keen interest in security and automation best practices. 🔒⚙️
I’d love to dive deeper into security enhancements and automation techniques in a follow-up post!

Collapse
 
aavash_parajuli_72 profile image
Aavash Parajuli

Is it AI written? 🗿

Collapse
 
anemarie_dicola_9aaa699f0 profile image
Anemarie DiCola

No

Collapse
 
hadil profile image
Hadil Ben Abdallah

This is next-level home lab wizardry! Turning a Mini PC into a fully automated private cloud with Proxmox, Terraform, and Cloudflare Zero Trust is pure genius. The fact that you’ve got CI/CD pipelines managing infrastructure and secure access without exposing ports is so cool.
Thanks for sharing

Collapse
 
tejas2292 profile image
Tejas Patil

Thanks, Hadil! 😊 Really appreciate it!

Collapse
 
ltndat1 profile image
Dat Le

Wow, this is incredible! 🎉 I'm super impressed by how you built this self-hosted cloud with Proxmox, Terraform, and Docker. 💻 How did you ensure seamless scaling and performance of your virtual machines and containers? 🚀 Also, did you encounter any challenges while setting up Cloudflare Zero Trust for remote access? 🤔 Would love to hear more about your experience!

Collapse
 
tejas2292 profile image
Tejas Patil

Thanks, Dat! 😊

For scaling and performance, I optimized resources by:

  1. Assigning CPU/memory limits per VM/container.
  2. Proxmox clusters are ideal for scaling across multiple nodes with HA & live migration, but since I’m running a single-node setup, I focused on resource optimization.
  3. Cloudflare Zero Trust was smooth, but the key part was setting it up in Docker and tweaking authentication/tunnel configs."

This keeps it concise, structured, and clear while maintaining engagement.

Collapse
 
fstrube profile image
Franklin Strube

This is really cool and inspirational to me! I love self-hosting, and this is a good alternative to the "serverless" trend.

Collapse
 
tejas2292 profile image
Tejas Patil

Thanks, Franklin! 😊 Self-hosting gives full control and flexibility no reliance on third-party cloud providers! Glad you found it inspiring.

Collapse
 
nadeem_zia_257af7e986ffc6 profile image
nadeem zia

Good Explanation

Collapse
 
tejas2292 profile image
Tejas Patil

Thank you, Nadeem!