This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
guide:cloud:faq [2020/08/19 17:10] lphukungoane [FAQ] |
guide:cloud:faq [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| *[[guide: | *[[guide: | ||
| - | ======FAQ====== | + | ======Technical FAQs====== |
| - | **Q: Do you monitor my VM’s activity?** | + | 1) ** Do you monitor my VM’s activity?** |
| - | A: We do not monitor user VM activity, but we used in the past a free open-source monitoring tool called Sensu to monitor our own VMs, and we have an Ansible playbook that you could use to deploy the sensu clients and server: https:// | + | |
| - | Sensu can be extended and you can send some of its metrics (cpu, memory, disk, network) to a Graphite server. There are are many other open-source monitoring solutions (Nagios, Cacti, Zabbix, etc) that can be used. | ||
| - | **Q: I cannot SSH into my VM which was working fine yesterday, do you know what happened?** | ||
| - | A: Please provide us more details about your VM in order to investigate. In the meantime, please click on the Instance name in the Compute -> Instances tab, and then click on the Console tab to see if there is any error output sent to the console. | + | 2) ** I cannot SSH into my VM which was working fine yesterday, do you know what happened?** |
| - | If you see messages like below it means that the kernel has hung and you will have to hard reboot the VM using the Actions drop-down menu. | + | |
| + | click on the Instance name in the Compute -> Instances tab, and then click on the Console tab to see | ||
| + | if there is any error output sent to the console. | ||
| + | |||
| + | If you see messages like below it means that the kernel has hung and you will have to hard reboot the | ||
| + | VM using the Actions drop-down menu. | ||
| Line 35: | Line 38: | ||
| [ 2040.401883] INFO: task apt-check: | [ 2040.401883] INFO: task apt-check: | ||
| - | FAQ - SSH into VM Image | ||
| - | |||
| - | |||
| - | A possible way to avoid this issue in the future is described in this blog: https:// | ||
| - | |||
| - | |||
| Basically, add these lines to "/ | Basically, add these lines to "/ | ||
| Line 54: | Line 51: | ||
| A good reading describing these parameters can also be found here: https:// | A good reading describing these parameters can also be found here: https:// | ||
| - | **Q: How can I save the changes I made to my VM, so I can use it later?** | ||
| - | A: You can snapshot your instance which saves its state into a new base image that you can use later. The snapshot causes the instance to be paused temporarily and it's preferable to not have disk activity while doing this, and the snapshot might even fail if the instance has (or had) a lot of data written to it since it was started. Please see the User Guide section for more info on how to take a snapshot. | + | 3) ** How can I save the changes I made to my VM, so I can use it later?** |
| - | ** | + | |
| - | Q: What can I do to protect | + | |
| - | A: You can “lock” the instance which will cause it to not accept any state changes, until it is “unlocked”. The operation is available in the “Actions” drop-down of each instance. | + | Answer: You can snapshot your instance which saves its state into a new base image that you can use |
| + | later. The snapshot causes the instance to be paused temporarily and it's preferable | ||
| + | activity while doing this, and the snapshot might even fail if the instance has (or had) a lot of data | ||
| + | written to it since it was started. Please see the User Guide section for more info on how to take a | ||
| + | snapshot. | ||
| - | **Q: I attached a large volume to my instance (10 TB), but when I try to format it takes a very long time. What can I do to make thQ: Do you monitor my VM’s activity?** | + | 4) ** I attached a large volume to my instance (10 TB), but when I try to format it takes a very long time. What can I do to make this step faster?** |
| - | A: We do not monitor user VM activity, but we used in the past a free open-source monitoring tool called Sensu to monitor our own VMs, and we have an Ansible playbook that you could use to deploy | + | Answer: We recommend you format it as XFS and use the " |
| - | Sensu can be extended and you can send some of its metrics (cpu, memory, disk, network) to a Graphite server. There are are many other open-source monitoring solutions (Nagios, Cacti, Zabbix, etc) that can be used. | + | mkfs.xfs -K / |
| - | **Q: I cannot SSH intoQ: I cannot SSH into my VM which was working fine yesterday, do you know what happened my VM which was working fine yesterday, do you know what happened**? | + | In our tests, it took around 3 min to format a 10 TB attached volume. |
| - | A: //Please provide us more details about your VM in order to investigate. In the meantime, please click on the Instance name in the Compute -> Instances tab, and then click on the Console tab to see if there is any error output sent to the console. | ||
| - | If you see messages like below it means that the kernel has hung and you will have to hard reboot the VM using the Actions drop-down menu.// | + | 5) ** How do I give access |
| - | + | Answer:You should never give another user access to your credentials or private key. Please run the following commands inside your instance in order to create a new user and allow him SSH key-based access to your instance. Replace " | |
| - | [ 1920.399095] Not tainted 3.13.0-79-generic #123-Ubuntu | + | sudo adduser username |
| - | [ 1920.399559] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" | + | sudo usermod |
| - | [ 1920.400763] INFO: task apt-check: | + | mkdir / |
| - | [ 1920.401360] Not tainted 3.13.0-79-generic # | + | chmod 700 /home/username/.ssh/ |
| - | [ 1920.401820] "echo 0 > /proc/sys/kernel/ | + | chown username:username |
| - | [ 2040.400079] INFO: task rs:main Q:Reg:1061 blocked for more than 120 seconds. | + | |
| - | [ 2040.400697] Not tainted 3.13.0-79-generic # | + | chown username:username / |
| - | [ 2040.401132] "echo 0 > /proc/sys/kernel/ | + | |
| - | [ 2040.401883] INFO: task apt-check: | + | |
| - | FAQ - SSH into VM Image | ||
| - | + | ---- | |
| - | A possible way to avoid this issue in the future is described in this blog: https:// | + | **For More Technical Assistance** |
| - | + | If you can’t find what you are looking for, please contact our support team. We are working hard to get back to you within 1-2 business days. Submit the ticket at [[http:// | |
| + | ---- | ||
| + | ====== Billing FAQs====== | ||
| - | Basically, add these lines to "/ | ||
| - | vm.dirty_background_ratio = 5 | + | 1) **I powered off my instance but I was still charged for usage!** |
| - | vm.dirty_ratio = 10 | + | |
| - | And then apply them: | + | |
| + | The resources you were approved for are reserved for you therefore | ||
| + | for them. | ||
| + | |||
| - | sysctl -p | + | 2) **How often am I billed?** |
| - | A good reading describing these parameters can also be found here: https:// | + | Answer: CHPC will send out invoices on the 5th of every month for the previous calendar month usage. |
| - | Q: How can I save the changes I made to my VM, so I can use it later? | + | |
| - | A: You can snapshot your instance which saves its state into a new base image that you can use later. The snapshot causes the instance to be paused temporarily and it's preferable to not have disk activity while doing this, and the snapshot might even fail if the instance has (or had) a lot of data written | + | 4) **If I have an unpaid invoice, does that unpaid invoice get rolled in to the next months invoice?** |
| - | Q: What can I do to protect my VM by accidentally being terminated by other colleagues sharing the resources available to our project? | + | |
| - | A: You can “lock” the instance which will cause it to not accept any state changes, until it is “unlocked”. The operation is available in the “Actions” drop-down of each instance. | + | Answer: Yes. |
| - | FAQ - Protect VM Image | + | 5)** Why does my bill fluctuate each month even though |
| - | Q: I attached a large volume to my instance (10 TB), but when I try to format it takes a very long time. What can I do to make this step faster? | + | |
| - | A: We recommend you format it as XFS and use the " | + | Answer: We charge for resources used per hour and the number of hours per month vary throughout the |
| + | year (28 days, 30 days, 31 days). | ||
| - | mkfs.xfs -K /dev/vdb | + | 6) **Why am I not receiving an invoice?** |
| - | + | ||
| - | In our tests, it took around 3 min to format a 10 TB attached volume. | + | |
| - | Q: How do I give access to another user to my instance, without giving him access to my SSH private key? | + | |
| - | + | ||
| - | A: You should never give another user access to your credentials or private key. Please run the following commands inside your instance in order to create a new user and allow him SSH key-based access to your instance. Replace " | + | |
| - | + | ||
| - | sudo adduser username | + | |
| - | sudo usermod -a -G users username | + | |
| - | mkdir / | + | |
| - | chmod 700 / | + | |
| - | chown username: | + | |
| - | Obtain the user’s SSH public key and add it to his home directory: / | + | |
| - | chown username: | + | |
| - | is step faster? | + | |
| - | + | ||
| - | A: We recommend you format it as XFS and use the " | + | |
| - | + | ||
| - | mkfs.xfs -K /dev/vdb | + | |
| - | + | ||
| - | In our tests, it took around 3 min to format a 10 TB attached volume. | + | |
| - | Q: How do I give access to another user to my instance, without giving him access to my SSH private key? | + | |
| - | + | ||
| - | A: You should never give another user access to your credentials or private key. Please run the following commands inside your instance in order to create a new user and allow him SSH key-based access to your instance. Replace " | + | |
| - | + | ||
| - | sudo adduser username | + | |
| - | sudo usermod -a -G users username | + | |
| - | mkdir / | + | |
| - | chmod 700 / | + | |
| - | chown username: | + | |
| - | Obtain the user’s SSH public key and add it to his home directory: / | + | |
| - | chown username: | + | |
| + | Answer: CHPC sends cloud resource usage invoices to all paying users on the 5th of every month. | ||
| + | | ||
| + | If you would like to terminate your account please email [[https:// | ||
| + | 7) **I have a billing related question that is not listed here, help?** | ||
| + | Answer: Email [[https:// | ||
| + | |||