Jump to content

AWS EC2 Instance type


Recommended Posts

Hello, Iam deploying an XRP server on AWS, according to System Requirements 

"Do not use Amazon Elastic Block Store (AWS EBS) because its latency is too high to sync reliably"

So, as they suggested I must use instance of i family that includes an instance storage

My questions are:

Should I consider instance storage as the main datastore?
If yes, how can I rely on ephemeral storage as a main datastore?

Link to comment
Share on other sites

The Capacity Planning page has more info about this:

Quote

AWS instance stores (ephemeral storage) provide suitable performance, but you may lose data in some circumstances, including when you start/stop an instance. This may be acceptable, since an individual XRP Ledger server can usually re-acquire lost ledger history from its peers. Configuration settings should be stored on more permanent storage.

Make sure the path of your [node_db] stanza and your [database_path] both point to the appropriate storage.

Put your config file on some kind of non-ephemeral storage, put your databases on instance storage. The database data can be re-downloaded from the p2p network when you lose it so it's not a big deal unless you want to store a lot of history.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.