deploy-code-server ๐Ÿš€

December 9, 2022 ยท View on GitHub

A collection of one-click buttons and scripts for deploying code-server to various cloud hosting platforms. The fastest way to get a code-server environment! โ˜๏ธ

NameTypeLowest-Price PlanDeploy
CoderCoderAnythingOpen Sourceread the docs
AWS EC2AWS EC2VMFree Tier, 1 CPU, 1 GB RAMsee guide
DigitalOceanDigitalOceanVM$5/mo, 1 CPU, 1 GB RAMsee guide
VultrVultrVM$3.50/mo, 1 CPU, 512 MB RAMcoming soon
LinodeLinodeVM$5/mo, 1 CPU, 1 GB RAMsee guide
RailwayRailwayContainerFree, Shared CPU, 1 GB RAM ๐Ÿš€see guide
HerokuHerokuContainerFree, 1 CPU, 512 MB RAMsee guide
Azure App ServiceAzure App ServiceContainerFree, 1 CPU, 1 GB RAMsee guide
Oracle CloudOracle CloudTerraform / OCIFree Tier Supportsee guide

code-server on a VM vs. a Container

  • VMs are deployed once, and then can be modified to install new software
    • You need to save "snapshots" to use your latest images
    • Storage is always persistent, and you can usually add extra volumes
    • VMs can support many workloads, such as running Docker or Kubernetes clusters
    • ๐Ÿ‘€ Docs for the VM install script
  • Deployed containers do not persist, and are often rebuilt
    • Containers can shut down when you are not using them, saving you money
    • All software and dependencies need to be defined in the Dockerfile or install script so they aren't destroyed on a rebuild. This is great if you want to have a new, clean environment every time you code
    • Most app platforms do not support running docker or virtual volume mounts in the container.
    • Storage may not be persistent. You may have to use rclone to store your filesystem on a cloud service. Documented below:
    • ๐Ÿ“„ Docs for code-server-deploy-container