News for hackers. Stuff that matters.
Re:AWS doesn't make sense for scientific computing by walnutclosefarm on Friday October 07, 2022 @12:30PM (#33123539)
Having had the responsibility of providing HPC for a literal buildings full of scientists, I can say that it may be true that you can get computation cheaper with owned hardware, than in a cloud. Certainly pay as you go, individual project at a time processing will look that way to the scientist. But I can also say with confidence that the contest is far closer than they think. Scientists who make this argument almost invariably leave major costs out of their calculation - assuming they can put their servers in a closet,maintain them themselves, do all the security infrastructure, provide redundancy and still get to shared compute when they have an overflow need. When the closet starts to smoke because they stuffed it with too many cheaply sourced, hot-running cores and GPUs, or gets hacked by one of their postdocs resulting in an institutional HIPAA violation, well, that's not their fault.

Put like for like in a well managed data center against negotiated and planned cloud services, and the former may still win, but it won't be dramatically cheaper, and figured over depreciable lifetime and including opportunity cost, may cost more. It takes work to figure out which is true.

Re:AWS doesn't make sense for scientific computing by W-Stool on Friday October 07, 2022 @12:43PM (#33123744)
Let me echo this as someone who once was responsible for HPC computing in a research intensive public university. Most career academics have NO IDEA how much enterprise computing infrastructure costs. If a 1 terabyte USB hard drive is $40 at Costco we (university IT) must be getting a much better deal than that. Take this argument and apply it to any aspect of HPC computing and that's what you're fighting against. The closet with racks of gear and no cooling is another fond memory. Don't forget the AC terminal strips that power the whole thing, sourced from the local dollar store.
Re:AWS doesn't make sense for scientific computing by 0xbadcafebee on Friday October 07, 2022 @12:48PM (#33123817)
I remember the first time a server caught fire in the closet we kept the rack in. Backups were kept on a server right below the one on fire. But, y'know, we saved money.
Re:AWS doesn't make sense for scientific computing by eastbound on Friday October 07, 2022 @01:15PM (#33124215)
Don’t worry, we do incremental backups during weekdays and a full backup on Sunday. We use 2 tapes only, so one is always outside of the building. But you know, we saved money.
Re:AWS doesn't make sense for scientific computing by bilbo0s on Friday October 07, 2022 @01:55PM (#33124741)
A bit off topic, but I gotta say you guys are a riot!

If there was a comedy tour for IT/Programmer types, I'd pay to see you guys in it.

Best thing about your stuff is that it's literally all funny precisely because it's all true.

Re:AWS doesn't make sense for scientific computing by geoduck14 on Friday October 07, 2022 @08:40PM (#33128725)
I don't know why you are being down voted. I'd watch a Netflix special on this stuff
Re:AWS doesn't make sense for scientific computing by treeman79 on Friday October 07, 2022 @06:20PM (#33127553)
We had a million dollars worth of hardware installed in a closet. It had a portable AC hooked up that needed it’s water bin changed every so often.

Well I was in the middle of that. When the Director decided to show off the new security doors. So he closed the room up. Then found out that new security doors didn’t work. I find out as I’m coming back to turn AC back on. Room will get hot really fast.

We get office Security to unlock door. He says he doesn’t have authority. His supervisor will be by later in the day.

Completely deadpan, and in front of several VPs of a forth one 50.

I turn to guy to my right who lived nearby. “Go home and get your chainsaw”

We were quickly let in. Also got fast approval to install proper cooling.

Re:AWS doesn't make sense for scientific computing by pbronez on Friday October 07, 2022 @05:07PM (#33126862)
This is my fear about my homelab lol

Fire extinguisher nearby, smart temp sensors, but still...

Re:AWS doesn't make sense for scientific computing by rovr138 on Friday October 07, 2022 @05:54PM (#33127342)
oh, nice idea with temp sensor.

I have extinguishers all over the house, but hadn't considered a temperature sensor set to send alerts.

Do you have any recommendations?

Re:AWS doesn't make sense for scientific computing by W-Stool on Friday October 07, 2022 @05:56PM (#33127362)
What are you using for a homelab priced temperature sensor?
Re:AWS doesn't make sense for scientific computing by xani_ on Friday October 07, 2022 @06:57PM (#33127952)
Homelab-priced sensor is the temp sensor in your server, it's free! Actual servers have a bunch, usually have one at intake, "random old PC" servers can use motherboard temp as rough proxy for environment temp.

Hell, even in DC you can look at temperatures and see in front of which server technican was standing just by those sensors.

Second cheapest would be USB-to-1wire module + some DS18B20 1-sire sensors. Easy hobby job to make. They also come with unique ID which means if you put it in TSDB by that ID it doesn't matter where you plug those sensors.

Re:AWS doesn't make sense for scientific computing by xani_ on Friday October 07, 2022 @07:03PM (#33128021)
No more or less chance that really anything else connected to power to catch on fire. Just make sure RCD works.

Hell, some weeks ago my oven decided the lower heater's line is now connected to ground and blows fuses...

Our 8 racks in DC only had single event of something blowing (power supply) and aside of smell and fuse blowing nothing really happened

Servers are essentially metal boxes with a bit of glass-reinforced epoxy and some plastic inside so there is limited amount of stuff that can burn. UPS is probably bigger problem

For example the OVH datacenter fire was more of "stuff around servers was flammable" (they had wooden ceilings for some reason...) rather than "just" servers.

Re:AWS doesn't make sense for scientific computing by absolutelynobo on Friday October 07, 2022 @08:35PM (#33128694)
Cool how you use the acronym RCD and don’t expand it anywhere. Or any of the other homelab acronyms you used!
Re:AWS doesn't make sense for scientific computing by tiagod on Saturday October 08, 2022 @12:44AM (#33129829)
RCD is not a homelab acronym, its a type of circuit breaker.
Re:AWS doesn't make sense for scientific computing by halper on Saturday October 08, 2022 @12:43PM (#33133804)
"Residual current device". It detects current leaking to ground; essentially it prevents you from killing someone by throwing a toaster into the bathtub.
Re:AWS doesn't make sense for scientific computing by walnutclosefarm on Friday October 07, 2022 @09:18PM (#33128926)
I never saw an actual fire, but I we did see smoke, in a closet, on a floor that was 90% patient care, but happened to have a research area as well because the research needed access to expensive radiography equipment. The close was literally stuffed with what amounted to gaming machines, purchased with grant money through an importer, directly from China. The guy who set them up was smart enough to put them all behind a little firewall, so the enterprise network couldn't see them. It was a (literally) hot mess, both infrastructure and security-wise.
Re:AWS doesn't make sense for scientific computing by bluedino on Friday October 07, 2022 @02:54PM (#33125435)
It's kind of funny around this time of year when some researchers have $10,000 in their budget they need to spend, and they want to 'gift' us with some GPU's.
Re:AWS doesn't make sense for scientific computing by davidmr on Friday October 07, 2022 @05:29PM (#33127095)
That was definitely one of the weirdest things of working in academia IT: “hey. Can you buy me a workstation that’s as close to $6,328.45 as it is possible to get, and can you do it by 4pm?”
Re:AWS doesn't make sense for scientific computing by kjs3 on Monday October 10, 2022 @12:53PM (#33153707)
Same thing happens in the government sector here (US). If you don't spend all of the budget you requested last year, you might not get it next year. There is an entire ecosystem of bottom-feeder GSA companies that apparently exist to spend year-end money that would otherwise go to 'waste'.
Re:AWS doesn't make sense for scientific computing by systemvoltage on Friday October 07, 2022 @05:00PM (#33126795)
I am dealing with the exact opposite problem: "Oh you mean, we should leave the EC2 instance running 24/7??? No way, that would be too expensive"... to which I need to respond "No, it would be like $15/month. Trivial, stop worrying about costs in EC2 and S3, we're like 7 people here with 3 GB of data."

I deal with Scientists that think AWS is some sort of a massively expensive enterprise thing. I can be, but not for the use case they're going to be embarking on. Our budget is $7M spanning 4 years.

Re:AWS doesn't make sense for scientific computing by capableweb on Friday October 07, 2022 @05:45PM (#33127253)
> think AWS is some sort of a massively expensive enterprise thing

Compared to using dedicated instances with way cheaper bandwidth, storage and compute power, it might as well be.

Cloud makes sense when you have to scale up/down very quickly, or you'd be losing money fast. But most don't suffer from this problem.

Re:AWS doesn't make sense for scientific computing by pwinnski on Friday October 07, 2022 @07:04PM (#33128034)
At $15/month, it would take longer than a typical school year to beat.
Re:AWS doesn't make sense for scientific computing by gonzo41 on Friday October 07, 2022 @06:15PM (#33127519)
Don't say the budget outloud near AWS. They'll find a way to help you spend it.
Re:AWS doesn't make sense for scientific computing by systemvoltage on Friday October 07, 2022 @06:31PM (#33127653)
Hahaha, may be I need to just go into the AWS ether and start yakking big words like "Elastic Kubernetes Service" to confuse the scientists and get my aws fix. These people are too stingy. I want some shit running in AWS, what good is this admin IAM role.
Re:AWS doesn't make sense for scientific computing by absolutelynobo on Friday October 07, 2022 @08:36PM (#33128701)
GP has already lost that battle.
Re:AWS doesn't make sense for scientific computing by datavirtue on Saturday October 08, 2022 @08:35AM (#33131781)
Yeah, by following the "documentation" and "best practices."
Re:AWS doesn't make sense for scientific computing by geoduck14 on Friday October 07, 2022 @08:43PM (#33128737)
We use a phrase around my job: the only attack we suffer from is "denial of wallet"
Re:AWS doesn't make sense for scientific computing by slavik81 on Saturday October 08, 2022 @02:20AM (#33130231)
What are you getting for $15/mo? That's surprisingly inexpensive for scientific compute.
Re:AWS doesn't make sense for scientific computing by funstuff007 on Friday October 07, 2022 @07:28PM (#33128227)
I cannot wait for Ampere servers to become widespread. Most of the power and cooling issues will go away.
Re:AWS doesn't make sense for scientific computing by getcrunk on Saturday October 08, 2022 @06:09PM (#33136509)
sarcasm?
Re:AWS doesn't make sense for scientific computing by absolutelynobo on Friday October 07, 2022 @08:33PM (#33128684)
> Don't forget the AC terminal strips that power the whole thing, sourced from the local dollar store.

Love how you’ve fuzzed the root cause to make it seem like the “dollar store strip” is the problem and not that it was plugged into an overloaded outlet or run inside a closet at significantly elevated temperatures, leading to plastic melting and wires shorting.

Always helps to keep the “magic” a secret so the rubes have to keep us wizards employed, right?

Re:AWS doesn't make sense for scientific computing by morbia on Saturday October 08, 2022 @06:19AM (#33131170)
Your comment about cooling reminded me of a fun anecdote from my time in academia.

My PhD involved quite a lot of high performance computing simulations. We kept running into problems where on warm days, all our jobs would get killed pretty consistently. Our IT guy noticed a pattern where the temps would be perfectly normal, and then suddenly out of nowhere go through the roof, triggering a thermal shutdown of the racks.

In the end our IT guy camped out in the server room on a hot day to watch what was happening. The Astrophysics' cabinet were directly infront of ours, and they had jerry rigged their cabinet door so that when it got too hot, it would swing open and their hot air would be blown all over the neighbouring cabinets...

Re:AWS doesn't make sense for scientific computing by ptero on Friday October 07, 2022 @12:45PM (#33123763)
I think it really depends on the task. Where HIPAA violation is a real threat, the equation changes. And just for CYA purposes those projects can get pushed to a cloud. Which does not necessarily involve any attempts to make them any more secure, but this is a different topic.

That said, many scientists are operating on premise hardware like this: some servers in a shared rack and an el-cheapo storage solutions with an ssh access for people working in the lab. And it works just fine for them.

Cloud services focus for running business computing in a cloud, emphasizing recurring revenue. Most research labs are much more comfortable with spending the hardware portion of a grant upfront and not worrying about some student who, instead of working on some fluid dynamics problem found a script to re-train a stable diffusion and left it running over winter break. My 2c.

Re:AWS doesn't make sense for scientific computing by crazygringo on Friday October 07, 2022 @01:06PM (#33124072)
> And it works just fine for them.

Until it doesn't because there's a fire or huge power surge or whatever.

That's the point -- there's a lot of risk they're not taking into account, and by focusing on the "it works just fine for them", you're cherry picking the ones that didn't suffer disaster.

Re:AWS doesn't make sense for scientific computing by withinboredom on Friday October 07, 2022 @01:18PM (#33124258)
Ummm. I’ve def been unable to do anything for entire days because our AWS region went down and we had to rebuild the database from scratch. AWS goes down, you twiddle your thumbs and the people you report to are going to be asking why, for how long, etc. and you can’t give them an answer until AWS comes back to see how fubar things are.

When your own hardware rack goes down. You know the problem, how much it costs to fix it, and when it will come back up; usually within a few hours (or minutes) of it going down.

Do things catch fire, yes. But I think you’re over-estimating how often. In my entire life, I’ve had a single SATA connector catch fire and it just melted plastic before going out.

Re:AWS doesn't make sense for scientific computing by crazygringo on Friday October 07, 2022 @01:27PM (#33124382)
I'm not talking about temporary outages, I'm talking about data loss.

With AWS it's extremely easy to keep an up-to-date database backup in a different region.

And it's great that you haven't personally encountered disaster, but of course once again that's cherry-picking. And it's not just a component overheating, it's the whole closet on fire, it's a broken ceiling sprinkler system going off, it's a hurricane, it's whatever.

Re:AWS doesn't make sense for scientific computing by withinboredom on Friday October 07, 2022 @01:36PM (#33124511)
So was I also talking about data loss. Not everything can be replicated, but backups can and were made.

For the rest, there’s insurance. Most calculations done in a research setting are dependent upon that research surviving. If there’s a fire and the whole building goes down, those calculations are probably worthless now too.

Hell, most companies probably can’t survive their own building/factory burning down.

Re:AWS doesn't make sense for scientific computing by FpUser on Friday October 07, 2022 @03:48PM (#33126069)
>"With AWS it's extremely easy to keep an up-to-date database backup in a different region"

It is just as extremely easy on Hetzner or on premises

Re:AWS doesn't make sense for scientific computing by monkmartinez on Friday October 07, 2022 @04:34PM (#33126576)
I would say even easier on prem as you don't need to wade 15 layers deep to do anything. Since I have moved to hosting my own stuff at my house, I have learned that connecting a monitor and keyboard to a 'sever' is awesome for productivity. I know where everything is, its fast as hell, and everything is locked down. Monitoring temps, adjusting and configuring hardware is just better in every imaginable way. Need more RAM, Storage, Compute? Slap those puppies in there and send it.

For home gamers like myself, it's has become a no brainer with advances in tunneling, docker, and cheap prices on Ebay.

Re:AWS doesn't make sense for scientific computing by kijin on Friday October 07, 2022 @01:35PM (#33124499)
Even that depends on what you're doing. Most scientists aren't running apps that require several 9's of availability, connect to an irreplaceable customer database, etc.

An outage, or even permanent loss of hardware, might not be a big problem if you're just running computations on data of which you have multiple copies. At worst, you might have to copy a few TB of data from an external hard drive and redo a few weeks' worth of computations.

Re:AWS doesn't make sense for scientific computing by billythemaniam on Friday October 07, 2022 @02:04PM (#33124878)
The counterpoint to that point is that a significant percentage of scientific computing doesn't care about any of that. They are unlikely to have enough hardware to cause a fire and they don't care about outages or even data loss in many cases. As others have said, it depends on the specifics of the research. In the cases where that stuff matters, the cloud would be better option.
Re:AWS doesn't make sense for scientific computing by Fomite on Friday October 07, 2022 @03:21PM (#33125746)
This. If my lab-level server failed tomorrow, I'd be annoyed, order another one, and start the simulations again.
Re:AWS doesn't make sense for scientific computing by ptero on Friday October 07, 2022 @02:19PM (#33125047)
> there's a lot of risk they're not taking into account

I see it the other way: experimental scientists operate with unreliable systems all the time: fickle systems, soldered one-time setups, shared lab space, etc. Computing is just one more thing that is not 100% reliable (but way more reliable than some other equipment), and usb data sticks serve as a good enough data backup.

Re:AWS doesn't make sense for scientific computing by mangecoeur on Friday October 07, 2022 @03:37PM (#33125932)
Or your university might have it's own backup system. We have a massive central tape-based archive that you can run nightly backups to.
Re:AWS doesn't make sense for scientific computing by horsawlarway on Friday October 07, 2022 @02:27PM (#33125124)
I'd counter by saying I think you're over-estimating how valuable mitigating that risk is to this crowd.

I'd further say that you're probably over-estimating how valuable mitigating that risk is to anyone, although there are a few limited set of customers that genuinely do care.

There are few places I can think of that would benefit more by avoiding cloud costs than scientific computing...

They often have limited budgets that are driven by grants, not derived by providing online services (computer going down does not impact bottom line).

They have real computation needs that mean hardware is unlikely to sit idle.

There is no compelling reason to "scale" in the way that a company might need to in order to handle additional unexpected load from customers or hit marketing campaigns.

Basically... the only meaningful offering from the cloud is likely preventing data loss, and this can be done fairly well with a simple backup strategy.

Again - they aren't a business where losing a few hours/days of customer data is potentially business ending.

---

And to be blunt - I can make the same risk avoidance claims about a lot of things that would simply get me laughed out of the room.

"The lead researcher shouldn't be allowed in a car because it might crash!"

"The lab work must be done in a bomb shelter in case of war or tornados!"

"No one on the team can eat red meat because it increases the risk of heart attack!"

and on and on and on... Simply saying "There's risk" is not sufficient - you must still make a compelling argument that the cost of avoiding that risk is justified, and you're not doing that.

Re:AWS doesn't make sense for scientific computing by noobermin on Friday October 07, 2022 @02:42PM (#33125323)
May be consider that your use case and the average scientist's use case isn't the same? What works for you won't work for them and vise versa? What you consider a risk, I wouldn't?

Consider the following, I have never considered applying meltdown or spectre mitigations if it makes my code run slower because I plain don't care, assuming anyone even peeks at what my simulations doing, whoopdeedo, I don't care. I won't do that on my laptop I use to buy shit off amazon with, but the workstation I have control of? I don't care. I DO care if my simulation will take 10 days instead of a week.

My use case isn't yours because my needs aren't yours. Not everything maps across domains.

Re:AWS doesn't make sense for scientific computing by vjk800 on Friday October 07, 2022 @04:24PM (#33126484)
The point is, there's not need for everything to be 100% reliable in this context. If a fire destroys everything and their computational resources is unavailable for a few days, that's somewhat okay. Not ideal, but not a catastrophic loss either. Even data loss is no catastrophic - at worst it means redoing one or two weeks worth of computations.

Some sort of 80/20 principle is at works here. Most of the costs in professional cloud solutions comes from making the infrastructure 99.99% reliable instead of 99% reliable. It is totally worth it if you have millions of customers that expect a certain level of reliability, but a complete overkill if the worst case scenario from a system failure is some graduate student having to redo a few days worth of computations (which probably had to be redone several times anyway because of some bug in the code or something).

Re:AWS doesn't make sense for scientific computing by secabeen on Friday October 07, 2022 @02:47PM (#33125378)
Thankfully, only a small part of the academic research enterprise involves human subjects, HIPAA, and all that. Neither fruit flies nor quarks have privacy rights.
Re:AWS doesn't make sense for scientific computing by dmicah on Friday October 07, 2022 @02:59PM (#33125500)
Research involving human subjects (psychology, cognitive neuroscience, behavioral economics, etc.) requires institutional review board approval and informed consent, etc. but mostly doesn't involve HIPAA either.
Re:AWS doesn't make sense for scientific computing by Fomite on Friday October 07, 2022 @03:23PM (#33125771)
And many, many institutions are over cautious. My own university, for example, has no data classification between "It would be totally okay if anyone in the university has access" and "Regulated data", so "I mean, it's health information, and it's governed by our data use agreement with the provider..." gets it kicked to the same level as full-fat HIPAA data.
Re:AWS doesn't make sense for scientific computing by charcircuit on Friday October 07, 2022 @03:20PM (#33125731)
That is not a law.
Re:AWS doesn't make sense for scientific computing by icedchai on Friday October 07, 2022 @03:43PM (#33126009)
There are actually laws around such things. You can read about them here: https://www.hhs.gov/ohrp/index.html
Re:AWS doesn't make sense for scientific computing by charcircuit on Friday October 07, 2022 @08:52PM (#33128787)
That only applies to government / government sponsored research. That is different from someone doing their own research
Re:AWS doesn't make sense for scientific computing by icedchai on Friday October 07, 2022 @09:01PM (#33128835)
This is true, but to say it is "not a law", as you did, completely unqualified, is incorrect. If the research project is connected with a government grant (and many are) you need to pay attention to those laws. Many universities also have their own policies you need to follow, regardless. (Requiring informed consent and protecting people's privacy seems like a good thing.)
Re:AWS doesn't make sense for scientific computing by charcircuit on Friday October 07, 2022 @10:49PM (#33129380)
Let me repeat it another way. The law only restricts the actions of the government. Members of a university are not the government. Even if they took government money they could legally ignore all of that stuff. Worst case you will not get more funding from them in the future.
Re:AWS doesn't make sense for scientific computing by icedchai on Friday October 07, 2022 @11:06PM (#33129459)
I believe you are technically correct, but that does not change the fact that universities have IRBs and will require reviews/approval if you are connected to that institution. You really think they're going to put their funding at risk? This seems very unlikely.

I found this article: https://journals.sagepub.com/doi/10.1177/1073110520917030

Re:AWS doesn't make sense for scientific computing by duxup on Friday October 07, 2022 @01:29PM (#33124418)
When I worked as a network engineer I spent months working with some great scientists / their team who built a crazy microscope (I assumed it was looking at atoms or something...) the size of a small building.

Their budget for the network gear was a couple hundred bucks and some old garbage consumer grade network gear. For something that spit out 10s of GB a second (at least) across a ton of network connections (they didn't seem to know what would even happen when they ran it), and was so bursty all but the highest end of gear could handle it.

Can confirm sometimes scientists aren't really up on the overall costs. Then they dump it "this isn't working" on their university IT team to absorb the costs / manpower costs.

Re:AWS doesn't make sense for scientific computing by forgomonika on Friday October 07, 2022 @01:52PM (#33124704)
This nails so much of the discussion that should be had. When using any cloud service provider, you aren't just paying for the machines/hardware you use - you are paying for people to take care of a bunch of headaches of having to maintain this hardware. It's incredibly easy to overlook this aspect of costs and really easy to oversimplify what's involved if you don't know how these things actually work.
Re:AWS doesn't make sense for scientific computing by COGlory on Friday October 07, 2022 @01:57PM (#33124775)
>the security infrastructure, provide redundancy and still get to shared compute when they have an overflow need

The article points out that this is mostly not necessary for scientific computing.

Re:AWS doesn't make sense for scientific computing by jrumbut on Friday October 07, 2022 @02:22PM (#33125072)
Which I thought was the best point of the article, that a lot of IT best practice comes from the web app world.

Web apps quickly become finely tuned factory machines, executing a million times a day and being duplicated thousands of times.

Scientific computing projects are often more like workshops. Getting charged by the second while you're sitting at a console trying to figure out what this giant blob you were sent even is is unpleasant. The solution you create is most likely to be run exactly once. If it is a big hit, it may be run a dozen times.

Trying to run scientific workloads on the cloud is like trying to put a human shoe on a horse. It might be possible but it's clearly not designed for that purpose.

Re:AWS doesn't make sense for scientific computing by ipaddr on Friday October 07, 2022 @02:09PM (#33124937)
You are paying 10x more because no one gets fired for using IBM. AWS has many benefits most which you don't need. Pair up with another school in a different region and backup data. Computers are not scary they rarely catch fire.
Re:AWS doesn't make sense for scientific computing by mangecoeur on Friday October 07, 2022 @02:11PM (#33124956)
I've been running a group server (basically a shared workstation) for 5 years and it's been great. Way cheaper than cloud, no worrying about national rules on where data can be stored, no waiting in a SLURM batch queue, Jupyter notebooks on tap for everyone. A single $~6k outlay (we don't need GPUs which helps).

Classic big workstations are way more capable than people think - but at the same time it's hard to justify buying one machine per user unless your department is swimming in money. Also, academic budgets tend to come in fixed chunks, and university IT departments may not have your particular group as a priority - so often it's just better to invest once in a standalone server tower that you can set up to do exactly what you need it to than try to get IT to support your needs or the accounting department to pay recurring AWS bills.

Re:AWS doesn't make sense for scientific computing by killingtime74 on Friday October 07, 2022 @02:21PM (#33125067)
Aren't you talking about 1 server when this is talking about HPC?
Re:AWS doesn't make sense for scientific computing by noobermin on Friday October 07, 2022 @02:32PM (#33125188)
Why is this being downvoted? HPC isn't jupyter notebooks on a workstation. I wish the 100GB output files (per timestep, some of my simulations produced 100+ of them) could fit on a jupyterhub instance because it would make life much easier.
Re:AWS doesn't make sense for scientific computing by mangecoeur on Friday October 07, 2022 @03:34PM (#33125905)
Well the title is scientific computing, which includes HPC but not only. Anyway the fact is that a lot of "HPC" in university clusters is smaller jobs that are too much for an average PC to handle, but still fit into a single typical HPC node. These are usually the jobs that people think to farm out to AWS, but that you will generally find are cheaper, faster, and more reliable if you just run them on your own hardware.
Re:AWS doesn't make sense for scientific computing by secabeen on Friday October 07, 2022 @02:46PM (#33125360)
They leave out major costs because they don't pay those costs. Power, Cooling, Real Estate are all significant drivers of AWS costs. Researchers don't pay those costs directly. The university does, sure, but to the researcher, that means those costs are pre-paid. Going to AWS means you're essentially paying for those costs twice. plus all the profit margin and availability that AWS provides that you also don't need.
Re:AWS doesn't make sense for scientific computing by walnutclosefarm on Friday October 07, 2022 @08:53PM (#33128795)
Definitely some truth in this, and the way research funding is managed, especially with Federal grants, makes it incredibly difficult to sort out and identify the right solution.
Re:AWS doesn't make sense for scientific computing by whatever1 on Friday October 07, 2022 @03:40PM (#33125976)
Nah for us it was the department IT guy who set up once everything (a full cluster of 50 r720s) and works like a dream.

Properly provisioned linux machines need no maintenance. You drive them until there is a hardware failure.

Re:AWS doesn't make sense for scientific computing by fuzzfactor on Saturday October 08, 2022 @01:46PM (#33134350)
Sounds like you've got the kind of outstanding IT guy that was motivated to make the electronics run like the scientists wanted more so than anything.

At the other end of the spectrum there's labs [0] where the scientists need to carefully study and develop increasing skills at operating the electronics the way IT wants it done, and even worse of a distraction when there's a moving target keeping up with the IT electronics approach changing faster than the progress most labs make in their own scientific field.

What labs need more of is your kind of IT operator who can bring that option (your extreme end of the spectrum in favor of lab workers) within reach for when it is the most appropriate choice.

When labs fail to retain such adequate talent, they can rule out that option going forward, and that's one less tool in the toolbox.

[0] Including many which have good records of breakthrough progress before becoming computerized to begin with.

Re:AWS doesn't make sense for scientific computing by jacobr1 on Friday October 07, 2022 @03:58PM (#33126194)
Also it assumes full utilization of hardware. If you have variable load (such as only needing to run compute after an experiment). The overhead costs of maintaining a cluster you don't need all time are probably much lower than resources you can schedule on-demand.
Re:AWS doesn't make sense for scientific computing by pbronez on Friday October 07, 2022 @05:13PM (#33126931)
The article estimated:

Running a modern AMD-based server that has 48 cores, at least 192 GB of RAM, and no included disk space costs:

    ~$2670.36/mo for a c5a.24xlarge AWS on-demand instance
    ~$1014.7/mo for a c5a.24xlarge AWS reserved instance on a three-year term, paid upfront
    ~$558.65/mo on OVH Cloud[1]
    ~$512.92/mo on Hetzner[2]
    ~$200/mo on your own infrastructure as a large institution[3]
Footnote [3] explains this cost estimate as:

"Assumes an AMD EPYC 7552 run at 100% load in Boston with high electricity prices of $0.23/kWh, for $33.24/mo in raw power. Hardware is amortized over five years, for an average monthly price of $67.08/mo. We assume that your large institution already has 24/7 security and public internet bandwidth, but multiply base hardware and power costs by 2x to account for other hardware, cooling, physical space, and a half-a-$120k-sysadmin amortized across 100 servers."

Re:AWS doesn't make sense for scientific computing by insane_dreamer on Friday October 07, 2022 @05:56PM (#33127361)
Plus the supposed savings of in-house hardware only materialize if you have sufficiently managed and queued load to keep your servers running at 100% 24/7. The advantage of AWS/other is to be able to acquire the necessary amount of compute power for the duration that you need it.

For a large university it probably makes sense to have and manage their own compute infrastructure (cheap post-doc labor, ftw!) but for smaller outfits, AWS can make a lot of sense for scientific computing (said as someone who uses AWS for scientific computing), especially if you have fluctuating loads.

What works best IMO (and what we do) is have a minimum-to-moderate amount of compute resources in house that can satisfy the processing jobs most commonly run (and where you haven't had to overinvest in hardware), and then switch to AWS/other for heavier loads that run for a finite period.

Another problem with in-house hardware is that you spent all that money on Nvidia V100's a few years ago and now there's the A100 that blows it away, but you can't just switch and take advantage of it without another huge capital investment.

Re:AWS doesn't make sense for scientific computing by prpl on Friday October 07, 2022 @06:46PM (#33127833)
The things that tend to be "cheap" on campuses:

Power (especially if there is some kind of significant scientific facility on premise), space (especially in reused buildings), manpower (undergrads, grad students, post docs, professional post graduates), running old/reused hardware, etc...

You can get away with those at large research universities. Some of that you can get away with at national lab sorts of places (not going to find as much free/cheap labor, surplus hardware). If you start going down in scale/prestige, etc... none of that holds true.

Running a bunch of hardware from the surplus store in a closet somewhere with Lasko fans taped to the door is cheap. To some extent, the university system encourages such subsidies.

In any case, once you get to actually building a datacenter, if you have to factor in power, if you have a 4 hardware refresh cycle, professional staffing, etc... unless you are in one of those low CoL college towns - cloud is probably more more than 1.5 to 3x more expensive for compute (spot, etc...). Storage on prem is much cheaper - erasure coded storage systems are cheap to buy and run, and everybody wants their own high performance file system.

One continuing cloud obstacle though - researchers don't want to spend their time figuring out how to get their code friendly to preemptible VMs - which is the cost effective way to run on cloud.

Another real issue with sticking to on-prem HPC is talent acquisition and staff development. When you don't care about those things so much, it's easy to say it's cheap to run on-prem, but often the pay is crap for the required expertise, and ignoring cloud doesn't help your staff either.

Re:AWS doesn't make sense for scientific computing by onetimeusename on Friday October 07, 2022 @06:47PM (#33127849)
Is a postdoc hacking a cluster something you have seen before? I am genuinely curious because I worked on a cluster owned by my university as an undergrad and everyone was kind of assumed to be trusted. If you had shell access on the main node you could run any job you wanted on the cluster. You could enhance security I just wonder about this threat model, that's an interesting one. I am sure it happens to be clear.
Re:AWS doesn't make sense for scientific computing by walnutclosefarm on Friday October 07, 2022 @09:08PM (#33128884)
Yes. Probably not surprise that the postdoc was a PRC national. Very competent in their field of study, but also in this country with instructions from an APT group.
Re:AWS doesn't make sense for scientific computing by onetimeusename on Friday October 07, 2022 @10:03PM (#33129169)
I had a feeling you would say that. I don't think this was part of our threat model until pretty recently. That was why I asked, because these stories aren't really internalized collectively yet I think and it's valuable to reconsider who we can trust and what threat actors might value.
Re:AWS doesn't make sense for scientific computing by kregasaurusrex on Saturday October 08, 2022 @12:42AM (#33129823)
Sorry you were on the receiving end of that and had to learn the hard way. We had the dean of the college (large public research university) I was working at the time receive a gift of a bunch of new MBPs as a token of goodwill from a foreign country, and heard in the very next sentence that they would be going straight into a shredder. At the time I thought these brand-new laptops could easily be wiped & repurposed; but now realize it was a potential attack surface that can easily leak info to APT/espionage groups the second it connects to a network.

Less than a year later a story made national headlines that a professor with direct access to classified material had mysteriously disappeared & never disclosed his close ties with their home country. So not only should you be worried about back doors and side doors; but also watch what's going through your front door as well!

Re:AWS doesn't make sense for scientific computing by funstuff007 on Friday October 07, 2022 @07:26PM (#33128209)
I'd much rather store HIPAA data on a server in my office or closet than worry I got all the IAM settings right. And if I fire someone, security makes sure they can't get in the building. You cannot say the same about the cloud. Yes, I know you can do cloud security right, but on prem security is just harder to mess up.
Re:AWS doesn't make sense for scientific computing by walnutclosefarm on Friday October 07, 2022 @09:06PM (#33128873)
More than half of security penetrations in our institution (A medical center - research - med school complex) over the 8 years I worked there, ending in 2020, came through the research arm, even though Research accounted for no more than 10% of enabled servers in the infrastructure. And we're talking APT penetrations. They weren't looking for HIPAA data (although I used that example in my original post), they were looking for a path to permanent presence in our network in order to mine research. So, why did they come through Research? Because a PI buys some equipment - servers or other network enabled stuff - puts a grad student or post doc in charge of it, and enjoys his or her cheap compute. But that student or post doc is not an infrastructure expert, and most definitely doesn't understand enterprise security. Next thing you know, we've got an APT owned server on the inside of the network. (And none of that is counting the ones where the post doc is a foreign national who actually intends to use their position to compromise their employer. Had that happen too.) There are a some computational scientists who actually do understand this stuff, but they're rare. Being on the cloud does not inherently fix this oroblem, but to fix it you have to be on institutionally, professionally managed infrastructure, and once you are, the cost differential between owned infrastructure and well negotiated, managed cloud infrastructure becomes much more nuanced.
Re:AWS doesn't make sense for scientific computing by funstuff007 on Friday October 07, 2022 @10:29PM (#33129306)
I appreciate your perspective, but it seems the security team should be watching for reverse proxies, tunnels, and other firewall anomalies for on-prem hardware just as a normal course of biz. And if a PI installs a self-managed server, that really should not gum up the works.

All that being said, I have never worked at a place (or in a dept) whose threat profile made APT a real thing.

Re:AWS doesn't make sense for scientific computing by walnutclosefarm on Saturday October 08, 2022 @09:04AM (#33131972)
Obviously we do all those things. But you NEVER want an outside, and particularly APT owned machine inside your network. They can be well hidden and still do very real damage.

You're fortunate if APTs don't consider you a worthy target. They are no joke, and in most cases are playing a long game, more interested in penetration, persistent presence, and quiet theft of information, than in doing anything you'd notice - until they aren't. We had one who burned an asset that had been cultivated on our network for a couple of years to make a hard press play for information about a very particular high profile patient immediately after that patient had been seen (the fact that the patient was seen was public information). But with over 20,000 servers and 300,000 total nodes on the network - some of which cannot be fully patched because they run software someone has to have access to but which won't run on the newest versions of OSs or databases - you still don't know what else they've burrowed into.

A big tech company supplier to our organization had a very telling incident that ended up being detected on our side of the connection, where a brief mistake by network admins opened a channel through their layers of protection for their buid pipeline. In the minutes it was open, an APT detected the access (likely because they already owned something internal), and inserted code into their certified OS build pipeline, which we ended up with in our institution.

Re:AWS doesn't make sense for scientific computing by funstuff007 on Saturday October 08, 2022 @07:28PM (#33137017)
Is an APT-owned server a significantly different risk than an APT-owned desktop? They are both inside your house.
Re:AWS doesn't make sense for scientific computing by walnutclosefarm on Tuesday October 11, 2022 @03:42PM (#33168253)
Probably not hugely more significant, but there are differences. A workstation should be segmented and limited in the range of nodes it can communicate with, if you're running your network properly. A server will likely be in a segment that has much broader access to it, unless you're doing micro-segmentation, and doing it well. By construction, a server set up by a workgroup team outside your core IT server administration staff is unlikely to be properly segmented. And if you're doing traffic analysis to look for rogue behavior, it's harder to spot from something that profiles as a server, because, again, you expect a server to have lots of contacts within the network. Counterbalancing that, if it profiles as a server, you should be more suspicious of any outbound activity.
Re:AWS doesn't make sense for scientific computing by cdsx on Friday October 07, 2022 @08:50PM (#33128778)
Perspective from a computational biologist: Campus hosted HPC means the direct cost pressure is seen as IT staff and hardware related costs. Researchers are encouraged to use the available capacity. This is good.

Externally-hosted HPC means every single compute job is seen as something that directly costs money. This negatively affects the quality of scientific output (research playfulness / creativity / focus on the research / etc).

Re:AWS doesn't make sense for scientific computing by walnutclosefarm on Friday October 07, 2022 @09:12PM (#33128901)
Yes. The costing models that are used (and often required by granting agencies) make apples to apples cost comparisons almost impossible, and impose undoubted and significant false costs on research budgets. No question this is true.
Re:AWS doesn't make sense for scientific computing by osigurdson on Friday October 07, 2022 @10:25PM (#33129289)
>> seen as something that directly costs money.

Seen by whom? Dummies it seems. Maybe the dummies are the problem, not the computing or accounting models.

Re:AWS doesn't make sense for scientific computing by mattpallissard on Monday October 10, 2022 @11:51AM (#33152935)
I also managed HPC data centers and I agree with you. I feel like the term data center is a key word there. There is a point of scaling where it's just cheaper to manage a data center with a dedicated in house team. I think that holds true in other industries as well.

As far as HPC goes specifically, we could get some of the financial numbers to make sense in the cloud (cpu intensive jobs), but couldn't make it work for others (data intensive jobs shipping PB's around on the reg)

That and HPC has a lot of grant funding. It can be quite advantageous for an org to use an on prem data center almost like a slush fund. Can keep key projects running that would otherwise die when they are having a rough funding year.