timoa / terraform-oci-vscode-server

Terraform project that deploys VSCode Server on Oracle Cloud Infrastructure (free tier) and protect the access with Cloudflare Zero Trust (optional) or an SSH tunnel
https://timoa.com
Apache License 2.0
26 stars 1 forks source link
cloudflare cloudflare-access cloudflare-tunnel cloudflare-zero-trust code-server managed-by-terraform oci terraform vscode vscode-remote

Deploy VSCode Server on OCI with Terraform

Latest Release Build Status License

Diagram VSCode hosted on OCI with CloudFlare Access (zero trust)

Terraform project that deploys VSCode Server on Oracle Cloud Infrastructure using only the free tier.

WARNING: This project is currently under active development. Please check back later.

The challenge

Goal

Deploy a free and easy maintenable VSCode Server.

Limitations

Currently, Oracle Cloud Free tier provides great performance (4vCPU ARM based, 24GB of RAM, and 200GB of storage), but:

Use cases

How to start

Create an OCI account

Signup for a free OCI account here.

If you're new to Oracle Cloud Infrastructure, you need to the following:

I recommend to create a new compartment for deploying VSCode Server, that way you will be able to use share free tier resource for a different project or rebuild from scratch a new VSCode Server instead of using the default compartment.

Configure the OCI authentication

Deploy the VSCode Server instance

Access to VSCode Server from your browser

Create a Cloudflare acount (optional)

Signup for a free Cloudflare account here.

Configure the Cloudflare Zero Trust (optional)

TODO

Known issues