These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Set up vnstat. The network connection to monitor varies from distribution to distribution. Note that 2T is a lot of data.
If you really think you are going to get close to the limit, I would suggest looking for a procedure to send an email at say 1.5T. But installing vnstat is the first step.
The developer cloud
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.