does nightscout VM in Google Cloud require Premium Tier networking to be free of charge? #4100
Replies: 4 comments 3 replies
-
Create a cost table and we can find out why you have been charged: https://navid200.github.io/xDrip/docs/Nightscout/NS_FreeTier.html We don't add anything to the guide just because we have had an idea. If you see something in guide, that means it's been tested. I am more than happy to improve the guide if needed. If you are interested to join a few of us who discuss ideas and test them before release, you can join this Facebook group: https://m.facebook.com/groups/google.cloud.nightscout/ |
Beta Was this translation helpful? Give feedback.
-
My setup is brand new, only about a week of use. I am in the free-trial period of 90 days, so the charges are not really billed to me. I am just monitoring it to understand the network traffic and make sure I have set it up correctly to not be charged. I am glad to hear it's been in use for 3 years. I must have something else set up incorrectly. Google doesn't allow me to do a Cost table since my project is only a week old - it only has June as an invoice option. |
Beta Was this translation helpful? Give feedback.
-
When we started this project, we went with the default network service tier. At the time, we would get charged $0.01-$0.02 a month because of the crawlers in China causing traffic to where the free tier was excluded (China and Australia). Someone suggested switching the network service tier to standard. Looking at the free tier guide, I made the conclusion you have made and ignored the suggestion. For December of 2024, many of us were charged about $0.50. After a lot of investigation, we discovered that there were some scanners in Brazil creating extensive traffic by constantly scanning us. This means they had caused traffic to go over 1GB for the month. At the end of the month, the test results showed the best solution was switching the network service tier. There are rounding errors in Google Cloud that results in a cost of about $0.02 some months. The next month, you will be given a credit. So, the overall annual cost is 0. But, the monthly cost is a max of $0.02. |
Beta Was this translation helpful? Give feedback.
-
Thank you for all the detailed info on the test environments. It does not look like my VM had a snapshot schedule by default, so that is not a problem. I have modified my machine back to Standard Tier networking. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I created a VM instance in my google account using these detailed step-by-step instructions: https://navid200.github.io/xDrip/docs/Nightscout/VirtualMachine.html. These instructions are meant to set up for a “Free Tier” machine. I was seeing some very small network and “VM manager” charges. After some research, we found that the 1GB outbound data free limit does not apply to the “Standard Network Tier”. You must use “Premium Network Tier” for the "Always Free usage limits" to apply.
The documentation seems contradictory in places, but this page says:
Standard Tier pricing
Egress pricing is per GiB delivered. Egress pricing is based on the source region of the traffic. Ingress pricing is still free. Always Free usage limits do not apply to Standard Tier.
So .. the Premium Tier (which is more expensive per GiB) gives you the free tier benefits, while Standard Tier (which is cheaper per GiB) charges for all egress traffic from the first byte. The bottom line for nightscout users is that if your system is going to stay below 1GB of outbound traffic per day, you need to select the Premium Tier network service or you will be subject to some charges on egress traffic.
I also added some "Custom metadata" variables to turn off some osconfig features that I thought might be contributing to the "VM Manager" charges. I will keep checking the billing info to make sure my config is remaining free.
Beta Was this translation helpful? Give feedback.
All reactions