Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ARM based architectures such as Amazon EC2 Graviton2 CPUs #574

Closed
kgapos opened this issue Mar 29, 2023 · 3 comments
Closed

Support ARM based architectures such as Amazon EC2 Graviton2 CPUs #574

kgapos opened this issue Mar 29, 2023 · 3 comments

Comments

@kgapos
Copy link
Member

kgapos commented Mar 29, 2023

Given the strong focus of vechain on sustainability, I think it makes sense that you add docker support running nodes on energy efficient ARM based architectures, such as Amazon EC2 Graviton2 CPUs. There are Graviton EC2 instances that are optimized for IO, making them excellent platforms for our nodes. These instances come with a >60% reduction in energy consumption and a corresponding reduction on the already excellent carbon footprint of AWS, over 95% renewable in Ireland and some other regions.

You currently publish docker containers only for linux/amd64. Therefore, we will need to build a new docker image that targets the ARM architecture. I think Graviton2 needs linux/arm64/8 but please confirm this.

I can implement this on my own, but I think there is value in offering this option in the official vechain docker hub registry, so that others may quickly and easily optimize their energy efficiency and reduce their carbon footprint.

Expected behavior

I should be able to run the vechain node on ARM based architectures such as Amazon EC2 Graviton2 CPUs.

Actual behavior

According to vechain docker hub, only linux/amd64 is supported.

@libotony
Copy link
Member

The current codebase supports ARM-based OSs. We need to add ARM-based docker images in the publishing process, I am exploring adding the GitHub registry as a secondary docker registry, will do it then. Thanks!

@libotony
Copy link
Member

Hi @kgapos, please take a look at #577 linux/arm64 has been added.

@kgapos
Copy link
Member Author

kgapos commented Apr 12, 2023

Awesome, looking forward to the next release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants