109 points · by rbanffy · 3y ago · 110 comments
Running on a Hetzner AX41-NVMe (6 cores, 64GB Ram, 2x512GB NVMe) for around $40ish. With GCP workstation for a e2-standard-4 (4 cores, 16GB Ram) would cost $230 + $10/mo for the 100GB storage
No hourly charge crap, can run all night do time and resource consuming tasks, huge storage space etc... all around good experience so far
Powering that host would cost me around £12/mo
That bandwidth is £44/mo
That host itself amortised over 3 years would be £22/mo
I'm use to 260-280ms latency, which is a lot better than it use to be.
Perth, Australia. Glad they finally have decent international cables. And fibrr drastically improved latency.
You may notice a tiny delay when refreshing files or when using hot/live reload stuff, but it's sub-second and only becomes an issue of you dig for it
Dev thought process: "I can have a working clean remote Linux machine since IT imposes work impeding crapware, barely working net connection, account restrictions and OS on the laptop - it's cheap too"
This: "Dev work happens on a highly monitored and locked down Linux environment rather than a uncontrollable local laptop - we can also charge a lot becuase it's security"
It turns out that having development environments only accessible via telnet and X Windows is great from IT management point of view.
Having it on a remote VM is so much better :
- my device isn't crippled
- a lot of potential security issues are now not my problem
- environment setup is dealt with by someone else
- I can code on a potato as long as it can render the screens I need
I can have what you're describing with a standard VM instance and SSH port open (or my home desktop and cloud flare tunnel)
1) my device isn't crippled
WHY would you assume they're not going to cripple your device? In the past they made it worse. One product that had exactly this purpose was "Sun Ray" machines. They weren't just crippled in software, they were utterly crippled in hardware. You see the problem with crippled hardware ... is that it's not really much cheaper than non-crippled hardware, but years behind. A bad chromebook is actually a pretty good crippled computer.
So you get the worst of everything
a) very slow processor (that actually costs more than a decent one)
b) too low amount of memory (that actually costs more than a sufficient amount of memory)
c) no local access whatsoever. So checking what ip address the thin client got ... not possible.
d) a low-res horrible headache-inducing screen. And forget about multi-monitor or anything like that.
2) a lot of potential security issues are now not my problem
Yeah because if there's one thing other departments in companies easily and quickly do it's accept responsibility for problems ...
3) environment setup is dealt with by someone else
Seriously ... why would they do this.
4) I can code on a potato as long as it can render the screens I need
You can't. You can only code on their potate. The one with spikes that leaks the suspicious black liquid and can't be replaced. Not because it isn't easy to replace, but because the problem is IT, not the technology.
At university they tried to introduce Sun Rays for us. The main thing I remember was the horrible monitor ... and when I brought my own full hd monitor from home, it crashed. Eventually I found out why: the thin client had so little memory the higher resolution made the framebuffer not fit in memory.
Unfortunately you pay for a 4-core 8GB RAM instance, which is only used 40 hours a week, more than for a comparable 8 to 16-core 32GB RAM local PC or laptop, which you use for three years.
But I imagine it’s the same value prop as other cloud services. It’s often cheaper to run legacy architecture in legacy ways, but there are technologies and concepts only available when running at cloud scale, and for those use cases you’re getting a discount over trying to roll your own.
The result is not just added latency, but actually slower build times etc. compared to your local laptop, not to speak about a high-performance PC.
I myself use a Hetzner server as a remote workstation, which I connect via RDP. 12 cores Intel processor, 64 GB RAM, 2x1 TB HDD and 2x512 GB SSD for US$ 60. If there’s any hardware issue it’s their problem and they will fix it really quickly, so I don’t have to worry about it.
GCP/Azure/AWS prices are insane.
For personal use, the interesting part about cloud isn't the scaling up—it's the ability to scale down rapidly to (near) zero costs. I have a couple of GPU instances on AWS that I only use sporadically at spot-prices; when turned off, I'm only paying for the EBS storage.
If I were to rent servers from Hetzner (which I have done it the past for longer running things), it would cost me €40-80 a month, vs €10 a month.
(There's other minor niceties from cloud as well, for example: I also have a lambda in my account that when any instance starts, it checks for a DnsName tag, and configures a appropriate A records pointing toward that instance's new IP address)
Btw azure has a tco calculator so you can see what assumptions you have to make for the cloud to come out ahead.
8hrs per workday for a 4 vCPU and 16 GB RAM = $217.36 per month[1]
1: https://cloud.google.com/workstations/pricing#pricing-exampl...
Your price includes the "workstation cluster fee", whatever that includes. Anyways this fee is fixed and does not increase for more workstations.
1 Dev => 68.64 + 144
100 Devs => 100 * 68.64 + 144
I guess $70, or even $140 with better hardware, might be worth it in some szenarios.
Personally, I'd never want to work with a company that doesn't trust me with a regular notebook.
The value proposition has nothing to do with trust.
Either a VM accessible via citrix, RDP, X Windows, Bastille,.... or a throw away laptop locked down to the project.
It could also be used to do wfh without having to bring your company laptop or mix your personal data.
“CFOs love this one cool trick!”
That's not chump change considering the measly specs.
After that, they have always been ridiculously slow, locked down, goes into hibernation if you leave it unconnected for too long. Mostly running windows. Sometimes forced to use video conferencing through it, with horrendous audio/video latency. Almost impossible to be productive on.
I think remote workstations, "done right" actually can be nice. Especially considering new editor integrations and/or e.g gpu intensive tasks. But I wonder if any org actually bothers to do it "right".
Personally I find it very dystopian but I’m a child of the PC and early Internet era and the idea of personal computing always seemed magical.
On cost it’s like other capital assets: if you use it heavily and evenly it makes more sense to buy, but if you use it rarely or you need “burstable” use it’s better to rent.
Developing and running builds on a powerful remote system in a data center from your laptop is a game changer, as long as you have a good connection and low latency.
I can also provision VMs that are much more powerful than any reasonable desktop temporarily.
But most developers don’t use desktops any more do they? Even if you’re hybrid and were forced to return to office, you would still want a laptop.
(at school they call me a "box hugger")
Or the thin clients that were all the rage for a week-and-a-half back in the late 90's.
Salesdroid: "Why spend $3,000 on each computer for your office, when you can use our thin client, which is only $1,500, including keyboard and mouse?"
Dell: - Starts shipping full computers for $299 -
What do you think restaurants, downtown shops, travel agencies, factory floor,doctors,.... are using?
For compliance with various anti-data-leak standards we currently use a very janky remote development setup at work. We're working on improving this situation while maintaining compliance. The thing I keep hearing from devs is "wouldn't it be nice if we could develop pn our Macs?"
I guess the bigcorps will have to deprecate and eventually stop development on local IDEs if they really want us to work this way, but I don't see that happening.
I have been doing VScode remote development for ages now and it is awesome. Even from a Chromebook
Unfortunately vs code has way too many things missing compared to JetBrains.
There was a short time between the transition of UNIX into Linux, and Citrix was growing up, that we actually used local development in consulting projects, coupled with RSA keys for access.
Around 2010, it was back into thin clients connecting to development VMs on Amazon EC2 instances.
So you just need to rent a VPS to get the same type of offering which is not a solution to IDE users.
There's nothing bad about IDEs.
Then there are options like theia or other self hosted workspaces.
Rendering can all be done locally with compute remote, only communicating minimal amounts of changes.
With my SecDevOps hat on, it would be as locked down as it needs for project delivery.
Specifically the files are also hosted remotely but the local text buffers are synced in the background not every keystroke.
Both should be good enough for remote work.
Choosing a shared environment is basically choosing to randomly give your development team a snow day. Maybe you’re okay with that tradeoff, but when it rains it pours… prod likely will go down when you can’t use the cloud dev machines.
Using AWS as an example (because that’s what I know), if Cloud 9 in us-east goes down and it’s not the entire service, I just launch from another region, do a git clone and keep moving.
It takes less than 2 minutes to bring up an environment if GCP’s offering is similar to AWS’s. I am assuming it will be.
Today, we are thrilled to announce the general availability of Cloud Workstations with a list of new enhanced features, providing fully managed integrated development environments (IDEs) on Google Cloud.
Makes me I believe that GA here means "general availability". Holy cr*p that is some lousy writing with an undefined acronym in the title. I guess I'm completely outside the target audience who're supposed to know these things.
Here are some other examples in common use:
When I read this title, I first saw it as "Google Cloud Workstations managed development environment is now [on] Google Analytics." I did a double-take (as this is clearly ridiculous) and then realized what it meant.
The fastest of any of those 4 I tried — "16-core" with 32GB of RAM — is like several multiples slower than my aging commodity-hardware Linux tower with 11th-generation Core i9 11900K and 64GB RAM and medium-fast NVMe (older-generation but still 5GB/sec or so reads).
I mean things that take 2 minutes on my self-managed "remote" box take 10-15 minutes on these hosted VMs. And that thing cost around $2000, years ago.
I'm not talking crazy workflows, either. Sometimes I build a big open source project like Swift or the Deno runtime, but the speed differential is totally apparent even just building medium-sized web apps and doing 'npm install'.
I completely endorse this general model of doing development on a centrally-located beefy machine (or perhaps set of purpose-specific VMs/containers hosted on that beefy machine), and making it available remotely to whatever device.
(BTW if you have kids, this model works awesome for them, too, once they get old enough to start wanting their own computing environment.)
But even if you are OK with the costs of these services, which are basically like buying a max-spec MacBook Pro every 2 years, the performance doesn't come close.
And yeah, I haven't tried this specific new one, but I am confident it is in the same ballpark because otherwise they would be shouting, "OVER 10X FASTER THAN GITHUB CODESPACES!" but they are not.
M1 Macs. Some places use only Macs for reasons and m1 is now the only option. But software is still optimized for x86 and emulation is not good enough yet. Not even that it's slow, but some things just don't work.
Yeah these cost money, but it works right now.