在架構系統時, 尤其現在有許多 opensource 程式架構, 可以很方便快速地部署環境, 不過若想要更容易、更方便一些, 可以參考這個架構 – CapRover: https://caprover.com/
基於快速建立開發環境與管理, 使用 CapRover 這個 PaaS 架構是十分方便好用的, 官網上寫著:
CapRover is an extremely easy to use app/database deployment & web server manager for your NodeJS, Python, PHP, ASP.NET, Ruby, MySQL, MongoDB, Postgres, WordPress (and etc…) applications!
- A developer who does not like spending hours and days setting up a server, build tools, sending code to server, build it, get an SSL certificate, install it, update nginx over and over again.
- A developer who uses expensive services like Heroku, Microsoft Azure and etc. And is interested in reducing their cost by 4x (Heroku charges 25$/month for their 1gb instance, the same server is 5$ on DigitalOcean!!)
- A developer who prefers to write more of showResults(getUserList()) and not much of apt-get install libstdc++6 > /dev/null
- A developer who enjoys a platform where installing MySQL, MongoDB and etc on their server is done by selecting from a dropdown and clicking on install!
- A developer who likes to enjoy the power of Docker and nginx without having to learn them or deal with their settings scripts to make things work!!
- A developer who knows Docker and nginx inside out, and enjoys a platform where basic operations are done, yet allowing them to customize any specific settings if they need to
以上的情境都是適合用這個 CapRover 來達成的測試與開發環境的建置的, 不需要花太多時間管理與維護, 隨時可以打開與關閉這些環境.