Skip to content

Conversation

@janewang
Copy link
Contributor

@janewang janewang commented Jun 8, 2021

  • Consolidating instructions to run an archival node under Run a Node doc

@render
Copy link

render bot commented Jun 8, 2021

@janewang janewang requested a review from thisisjoshford June 9, 2021 15:06

## Steps to Run an Archival Node

Make sure [`nearup`](https://github.com/near/nearup) is installed. You can install `nearup` by following the instructions at https://github.com/near/nearup.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add instructions on how to run an archival node without nearup as well.

Copy link
Contributor

@chefsale chefsale Jun 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also add the tracked shards in the documentation for the archival nodes? Here is seems we only mention the archive: true flag?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janewang feel free to consult with @chefsale on this if you are not sure about how to run an archival node without nearup.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janewang feel free to ping me in chat or even schedule a meeting on running a neard standalone. I would really like to help on this, also provide maybe a guide on how to run it with systemd as well, as this is the best way to do it and that is how we manage all our current nodes on testnet and mainnet.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @chefsale. Would love to connect on neard and systemd. Thanks in advance on this!
@bowenwang1996 Will merge this PR as it stands and add archival instructions with @chefsale's help. Would like to make announcements in validators channels today and link to the docs. Thanks!

* Increase storage cost for archival node
* Clarify reason to run a node for development is to create apps with heavy reliance on RPC
* Fix link to Foundation grant program
@janewang janewang linked an issue Jun 10, 2021 that may be closed by this pull request
6 tasks
Copy link
Contributor

@chefsale chefsale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just please take a look at the comment here: https://github.com/near/docs/pull/742/files#r649917885, as I believe we should also mention the tracked_shards config alongside the archive flag,

janewang added 3 commits June 11, 2021 08:05
* The rough cost estimate is calculated from the hourly cost posted on these websites for the instance type
@janewang
Copy link
Contributor Author

janewang commented Jun 11, 2021

LGTM, just please take a look at the comment here: https://github.com/near/docs/pull/742/files#r649917885, as I believe we should also mention the tracked_shards config alongside the archive flag,

Thanks, updated the config.json for archival.

For server costs, I recalculated the estimated costs based on hourly for the instance type. AWS ended up the most expensive, which seems to be usually the case. Please take a look 3f9a963. Does this look alright to you @chefsale?

@chefsale
Copy link
Contributor

chefsale commented Jun 11, 2021

LGTM, just please take a look at the comment here: https://github.com/near/docs/pull/742/files#r649917885, as I believe we should also mention the tracked_shards config alongside the archive flag,

Thanks, updated the config.json for archival.

For server costs, I recalculated the estimated costs based on hourly for the instance type. AWS ended up the most expensive, which seems to be usually the case. Please take a look 3f9a963. Does this look alright to you @chefsale?

@janewang Yes, this looks reasonable to me.

I believe the SSDs are a bit more tricker, as there are two types of SSDs on GCP for example. But 300 dollars is a good rough estimate I believe, also the cost grows as we need to store more data from month to month and will need updating. Maybe we should mention that. 3 months from now it will be more archival data and more cost 😸

@janewang janewang merged commit ca43246 into master Jun 11, 2021
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

Successfully merging this pull request may close these issues.

[DOC] Further enhance documentation for Run a Node

5 participants