Total Pageviews

5,392,846

Sunday, 23 March 2025

deploy-code-server


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
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
CoderCoderDev WorkspaceFor developer teams 👨🏼‍💻read the docs

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

from https://github.com/srcrs/deploy-code-server

No comments:

Post a Comment