-
Notifications
You must be signed in to change notification settings - Fork 0
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
Storage Docs / Notifications #116
base: main
Are you sure you want to change the base?
Changes from all commits
b3dc182
add0d3b
8ddc211
7281668
2b9d401
468d4f1
bcab9e1
7fe9326
6c52cb7
7247c6d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.. _notifications: | ||
|
||
Notifications | ||
======================================= | ||
|
||
As a creator / owner of resources inside Ronin you may receive Email based notification depending on their state. | ||
These intend to alert you of possible under utilization of resources to help avoid unnecessary project spend. | ||
|
||
.. note:: | ||
All notifications will come from the address **[email protected]**, always be cautious when following links from external addresses! | ||
|
||
.. _instance_utilization: | ||
|
||
Instance Utilization | ||
--------------------------------------- | ||
|
||
If you have received an email titled "Ronin Under Utilization Alert!" this means that Ronin has noticed an :term:`instance` in your project has gone for more than more than 24 hours with under 10% CPU utilization. | ||
This is designed to ensure you've not accidentally left a machine running idle. Unlike on-premise VMs that run 24/7 we recommend you shut down your instances when not in use, much like you would your own PC. | ||
|
||
Only instances that are running are subject to the hourly usage rates however you will still be charged for the provision of storage as is explained below. | ||
|
||
We do also understand this alert could be a false positive where your workloads are not CPU demanding but still require the machine be on for extended periods. | ||
If this is the case please get in touch and we can make the instance exempt from these alerts. | ||
|
||
.. _unused_drive_storage: | ||
|
||
Unused Drive Storage | ||
--------------------------------------- | ||
|
||
If you have received an email titled "Unused Drive Storage Detected" this means that Ronin has noticed detached drives have been in your project for extended periods. | ||
|
||
This could be from a terminated instance that had the "Keep On Termination" flag set: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Describe what happens when this option is set. People won't necessarily understand what "keep on termination" means. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I try to avoid adding bits like that as I feel it becomes a fine line of teaching people to suck eggs. This is where I'm disappointed that Ronin don't have their own end user documentation we can reference... Do we really have to write our own docs on how another companies product works? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. People won't understand these concepts already so it's better for it to be explained simply and clearly. (It will feel too simple for us but it will be useful for them to have it spelled out.) But I agree, the RONIN docs need to be better, it's not our job to explain their product. |
||
|
||
.. image:: images/keep_on_termination.png | ||
:align: center | ||
|
||
| | ||
|
||
Or volumes that were detached and forgotten etc... | ||
|
||
As provisioned volumes are charged for based on how much storage is requested it's best practice remove unused storage once it's no longer required. | ||
For long term and/or bulk data storage we recommend you use :ref:`object-storage` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.. _drive-storage: | ||
|
||
Drive Storage | ||
======================================= | ||
|
||
Drive storage, or 'block storage' as it's sometimes more generally referred to as, is the storage attached directly to your :term:`instances<instance>` within Ronin. | ||
The other main type of stored available in Ronin is :ref:`object-storage`. Drive/block storage offers better performance for both reading/writing data and also for file metadata queries, but object storage is cheaper and offers larger capacities. | ||
|
||
These are most commonly the 'Root Drive' however Ronin gives you the option to create your own additional drive/block storage devices that can be attached to instances and moved _between_ instances. | ||
|
||
Should you want to know about the nitty gritty, the underlying technology used here is `AWS EBS <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html>`_. | ||
|
||
.. _drive_types: | ||
|
||
Drive Types | ||
--------------------------------------- | ||
|
||
When creating a new non-root drive, Ronin gives you multiple options for drive types. | ||
As a general rule of thumb we recommend you select **SSD**, this is due to how AWS provisions drive speed. | ||
|
||
The SSD drives will be allocated | ||
* 125 MiB/s of read and write performance and | ||
* 3000 of IOPS ('input/output operations per second') | ||
(as per `gp3 defaults <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/general-purpose.html#gp3-performance>`_). | ||
Should your workload require more performance please do get in touch. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd like a guide on using the storage-optimised machines properly please 😸 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could signpost to tooling that helps people quantify IO perf (on Linux and Windows instances - A (mermaid.js) flow chart for diagnosing IO perf issues could be useful. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes please |
||
|
||
For those wondering why we omit the other drive options, this is mainly due to the behavior of the magnetic storage classes. | ||
The HDD storage classes base their throughput off the provisioned storage size `see here <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hdd-vols.html>`_. | ||
Because of this we recommend that you use :ref:`object-storage` for storing large amounts of data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more likely that the user has provisioned a far-too-big machine or doesn't understand how to use parallel processing, so it might be worth suggesting that they spin up a smaller machine if appropriate for that workload.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to avoid the discussion of 'right sizing' in this specific doc. I think it needs it's own page / paragraph to be referenced.
That said I'm not sure how to approach the topic as sizing is going to be very specific to the users needs and AWS' instance types are semi-regularly changing. It's hard not to just point to the AWS docs, which isn't helpful for a majority of people.
I fear the doc we make will end up being too simple. This is a topic we're eager to push over to Ronin to see if they can make the UX explain this better so that people are less likely to pick a silly instance for their workload.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://blog.ronin.cloud/selecting-machine/
Turns out they do have a doc for this. It's probably a good place to signpost people to.
Q: What's the likelyhood a user will acutally read this.