reberhardt7 / cplayground

GNU General Public License v3.0
115 stars 14 forks source link

Create VM image for reproducible development/testing/deployment #21

Open reberhardt7 opened 4 years ago

reberhardt7 commented 4 years ago

It's a pretty big hassle to set up a development environment for Cplayground, and an even bigger hassle to set up a server for deployment. Normally, the best solution for this would be to use Docker, but we can't do that because Cplayground uses Docker, and also because it depends on a modified Linux kernel.

I haven't looked at solutions, so I don't know the best way to do this, but I know that Vagrant has Vagrantfiles (like Dockerfiles) that can be used to reproducibly set up a VM for development or configure a server for deployment. If anyone has time to look into writing one (and making sure it can support custom kernels), that would be wonderful!

reberhardt7 commented 4 years ago

This has partially been addressed by 2466bd4. We still need some automation for spinning up production instances, and ideally this would work with an autoscaler so that we can add more instances as load increases.