Fireship · @fireship
Run VS Code in the browser with massive computing resources
Uploaded April 1, 2019 · Length 9:49
Summary
Run VS Code in the browser with massive computing resources using Code Server on Google Cloud Platform and Tensor Processing Unit (TPU) for machine learning.
- vs code in browser
- code server
- google cloud platform
- tensor processing unit
- machine learning
- tpu
- cloud computing
- vs code extensions
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
[Music]
- 0:05
the beauty of BS code is that it starts
- 0:08
out minimal it allows you to customise
- 0:10
it into a full-blown integrated
- 0:12
development environment I really like
- 0:13
the atom one dark syntax theme vs code
- 0:15
icons I have a bunch of custom workspace
- 0:18
settings and extensions that I just
- 0:19
couldn't live without but the problem is
- 0:21
that all these customizations are tied
- 0:23
to my local machine but fortunately a
- 0:25
company called coder just recently open
- 0:27
sourced a project called code server
- 0:28
that allows you to run vs code in the
- 0:30
cloud in today's video I'll show you how
- 0:32
to run your own instance of code server
- 0:33
on Google cloud platform and will
- 0:36
supercharge it with a tensor processing
- 0:37
unit which will give it access to a
- 0:39
massive amount of computing resources
- 0:40
for machine learning if you're new here
- 0:42
like and subscribe and you can find a
- 0:44
step-by-step breakdown of this video on
- 0:46
fire ship i/o let's start by taking a
- 0:48
look at coder this is a startup that has
- 0:50
taken BS code and made it available in
- 0:52
the browser this allows you to access
- 0:53
your IDE with all of its settings from
- 0:55
any machine even a cell phone or tablet
- 0:57
if you wanted to it also allows multiple
- 0:59
developers to collaborate on the same
- 1:00
project from the same editor and because
- 1:03
you consult host it you can attach an
- 1:04
unlimited amount of computing resources
- 1:06
to its back-end the easiest way to get
- 1:08
started is to just log into coder and it
- 1:10
will immediately bring you to this
- 1:11
instance of des code and the awesome
- 1:13
thing about this is that it feels just
- 1:14
like the vs code on your desktop so the
- 1:16
first thing I'll do is go to the
- 1:18
extensions and then install the atom one
- 1:19
dark-themed much better and if we open a
- 1:22
terminal session you can see that we
- 1:24
have access to the actual virtual
- 1:25
machine that's running this container it
- 1:27
doesn't come with no js' installed by
- 1:29
default so I'm going to the node version
- 1:31
manager repo and grabbing the install
- 1:33
command that installs node version
- 1:35
manager on the container then we can use
- 1:36
nvm to install node itself at this point
- 1:39
we could install angular or react and
- 1:41
start doing front-end development from
- 1:42
this virtual environment when developing
- 1:44
in the browser you might notice a small
- 1:46
amount of lag when saving files because
- 1:48
that has to happen remotely but when
- 1:50
you're actually writing code it should
- 1:51
feel just like you're working in the
- 1:52
desktop version of es code now coder
- 1:55
gives us a couple gigabytes of memory
- 1:56
and storage space but there's a good
- 1:58
chance you want to go beyond these


