# How much does it cost you to run your Julia experiments on AWS / Azure etc.?

**URL:** https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804
**Category:** Offtopic
**Tags:** cloud-computing
**Created:** [May 5, 2020, 12:33pm UTC](https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804 "2020-05-05T12:33:53Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![zygmuntszpak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zygmuntszpak/32/2591_2.png) [@zygmuntszpak](https://discourse.julialang.org/u/zygmuntszpak)
#### Post date: [May 5, 2020, 12:33pm UTC](https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804/1 "2020-05-05T12:33:53Z")

</div>

I am in the process of scoping the budget for a project that I want to embark on which will involve large-scale 3D reconstruction from satellite images. I will need more than my desktop PC to handle the memory requirements and to the expedite computational time required to solve the large scale non-linear least squares “bundle adjustment” optimization problems associated with multiple-view image reconstruction.

I know that some of you (in particular Economists) regularly use Julia and cloud computing to conduct large-scale simulations for your experiments. I believe some of those experiments even run for a matter of days. I would be grateful if you could share some of your experiences with running Julia in the cloud, and in particular the ballpark costs associated with running your experiments.

Best wishes,

Zygmunt

---

<div class="post-metadata">

### Author: ![robsmith11](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/robsmith11/32/29641_2.png) [@robsmith11](https://discourse.julialang.org/u/robsmith11)
#### Post date: [May 5, 2020, 12:54pm UTC](https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804/2 "2020-05-05T12:54:27Z")

</div>

For me, Hetzner offers a great value with a variety of options, especially as an American because I’m exempt from the VAT.

They have dedicated servers starting at 34 euros per month with a recent i7 or Ryzen and 64GB RAM. Their cloud instances are also good because they charge by the hour and have a simple API for spinning them up with up to 16 virtual cores and 32GB of RAM per instance.

---

<div class="post-metadata">

### Author: ![ImreSamu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/imresamu/32/20677_2.png) [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)
#### Post date: [May 5, 2020, 1:37pm UTC](https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804/3 "2020-05-05T13:37:20Z")

</div>

> [@zygmuntszpak](#):
>
> costs associated with running your experiments.

imho:

- If you can split the problems with many small task, ( and save the results )  
then the key point is the **“spot pricing”** or similar service ( sometimes 70-80% savings compare to the on-demand request ) or _“Buy unused compute capacity at deep discounts”_  
So you can start 100 parallel service … and you have the result in very short time …  
see: ( `AWS EC2 Spot Instances`; `Google Cloud Preemptible VM`s; Azure Spot Virtual Machines )

- Try to containerize everything - so you can move your code easily …

- You have to benchmark ; the cpu (AVX2 / AVX-512), the network, the disk speed … some machine is 2-3 generation old …

- My favorite tool is [gnu `parallel`](https://www.gnu.org/software/parallel/) … so I can parallelize my jobs … and very easy to debug …

- Most of the cloud has a free credit / free trial … and it is good for learning

European experience:

- [Hetzner dedicated](https://www.hetzner.de/dedicated-rootserver/matrix-ax) is OK ; but need an extra month payment for as a frontend … ( ZEN2 and Intel cores ; full machine) … Not ideal for high parallel ( 50 machine ) + short time experiment ( 3 days )
- [Hetzner Cloud](https://www.hetzner.de/cloud) - cheap ; but shared CPU … so not perfect for high CPU works ( my experience )

Now for personal testing I am using the extreme cheap Contabo ( Europe )

- [Contabo🥇Cloud VPS & Dedicated Servers for a Price You'll Love](https://contabo.com/?show=vps) 15 EUR/month 30GB ; 800GB SSD; 8cores (" **VPS L _SSD_**")  
( my preference was a high SSD ; high RAM for the data processing )

And you have to compare/check the value with the [The cloud of choice | Scaleway](https://www.scaleway.com/en/) they improve the service very fast pace …

---

<div class="post-metadata">

### Author: ![zygmuntszpak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zygmuntszpak/32/2591_2.png) [@zygmuntszpak](https://discourse.julialang.org/u/zygmuntszpak)
#### Post date: [May 6, 2020, 1:58am UTC](https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804/4 "2020-05-06T01:58:33Z")

</div>

Thank you both for the fantastic advice. I really appreciate you taking the time.

---

<div class="post-metadata">

### Author: ![StatisticalMouse](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/statisticalmouse/32/43370_2.png) [@StatisticalMouse](https://discourse.julialang.org/u/StatisticalMouse)
#### Post date: [April 25, 2021, 9:12am UTC](https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804/5 "2021-04-25T09:12:30Z")

</div>

This is an old conversation, but I wanted to ask if people have new experience on Contabo? Looks cheap, but the 4.99€ version would be fine for a personal website, I think. It also includes 32TB transfer…

---

<div class="post-metadata">

### Author: ![roflmaostc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/roflmaostc/32/30123_2.png) [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)
#### Post date: [April 25, 2021, 9:33am UTC](https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804/6 "2021-04-25T09:33:57Z")

</div>

I’m using several Contabo VPS since years, for a personal website it’s definitely fine, maybe even overpowered.

I believe there are cheaper VPS around but usually with lower specs then.

---

<div class="post-metadata">

### Author: ![ImreSamu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/imresamu/32/20677_2.png) [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)
#### Post date: [June 15, 2021, 11:27am UTC](https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804/7 "2021-06-15T11:27:20Z")

</div>

another (free) alternative - **ideal for the ARM+Julia testing.**

4x Neoverse-N1 core ; BogoMips=50.00 ; aarch64

**Oracle Cloud Always Free Tier Ampere A1 Instance 4C 24GB RAM Details**  
_" In the Always Free tier, we get **four cores** and **up to 24GB of memory** so, in theory, we could make smaller instances. Still, we decided to go big and make one large instance."_

> **[Oracle Cloud Giving Away Ampere Arm A1 Instances Always Free](https://www.servethehome.com/oracle-cloud-giving-away-ampere-arm-a1-instances-always-free/)**
>
> Oracle Cloud is giving away Ampere Altra-based Arm A1 instances in its Always Free Tier with 4 cores and 24GB of memory

---

<div class="post-metadata">

### Author: ![StatisticalMouse](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/statisticalmouse/32/43370_2.png) [@StatisticalMouse](https://discourse.julialang.org/u/StatisticalMouse)
#### Post date: [July 23, 2021, 7:38am UTC](https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804/8 "2021-07-23T07:38:03Z")

</div>

Does Julia currently run on this?

---

<div class="post-metadata">

### Author: ![HexSpin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hexspin/32/19319_2.png) [@HexSpin](https://discourse.julialang.org/u/HexSpin)
#### Post date: [November 11, 2021, 10:19am UTC](https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804/9 "2021-11-11T10:19:54Z")

</div>

I’m trying to get my feet wet on cloud computing. You mentioned last year that you pay 34 euros/mo for a dedicated server. Does that mean you can run all the threads on the i7 for 24 hours a day for that price?

---

<div class="post-metadata">

### Author: ![roflmaostc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/roflmaostc/32/30123_2.png) [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)
#### Post date: [November 11, 2021, 1:45pm UTC](https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804/10 "2021-11-11T13:45:25Z")

</div>

Yes, that’s what it means.

However, the same is true for VPS. Usually you have a guaranteed availability of cores and ram. But, network, the physical processor and disk are shared.

As mentioned above, this is usually slower than a own dedicated machine.

---

<div class="post-metadata">

### Author: ![HexSpin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hexspin/32/19319_2.png) [@HexSpin](https://discourse.julialang.org/u/HexSpin)
#### Post date: [November 11, 2021, 2:18pm UTC](https://discourse.julialang.org/t/how-much-does-it-cost-you-to-run-your-julia-experiments-on-aws-azure-etc/38804/11 "2021-11-11T14:18:35Z")

</div>

Thank you for your response. I currently run my code 24/7 on 15 cores of an AMD 5950x machine that I built a few months ago - toward a computational goal that is still months away. Maybe I should sell it and rent 150 cores for a month… I’m not particular about when it runs or anything so maybe could get an interruptible service.
