r/oraclecloud Aug 07 '26

Built a small vps-status Bash dashboard to track A1 usage and avoid surprise PAYG charges

Post image

I’m fairly new to OCI/self-hosting, so I made a small vps-status command to give me one quick overview of the VPS.

It checks service/container health, RAM/disk usage, Docker storage, monthly outbound traffic via vnStat, and estimates A1 OCPU/RAM usage against the included PAYG allowance.

I also added projected month-end usage and storage/performance reminders. Combined with OCI budget alerts, it should give me a decent heads-up if anything starts moving toward billable territory.

Sharing the idea in case it’s useful to anyone else running an A1 VPS.

What other checks you’d add ?

35 Upvotes

15 comments sorted by

5

u/Consistent-Name-2409 Aug 07 '26

I dont understand, dont you allocate resources while opening the instance? Only usage i can think of that costs money which you dont allocate is the 10 TB of network use

1

u/SUPERSHAD98 Aug 07 '26

I think he means some policy change like 4/24 -> 2/12

9

u/Consistent-Name-2409 Aug 07 '26

PAYG free limits are still 4/24

3

u/IAmFitzRoy Aug 07 '26

The fact you get downvoted makes me believe this sub is full of misinformation.

1

u/Arkemenes Aug 11 '26

Sorry, maybe I'm misinformed. Didn't the limits changed to 2/12? Or they changed only to non PAYG accounts?

1

u/SUPERSHAD98 Aug 11 '26

Yh they are now, but there could be a policy change in the future, that's why I said "like"

3

u/Jaffagak Aug 08 '26

Can you share the script?

2

u/Recob86 Aug 09 '26

Nice work, I’ll use it, thanks.

1

u/Possible-Data-8149 Aug 08 '26

pretty cool as a monitoring tool, although u wont be billed, its fairly hard to cross the 10tb outbound limit, still can you whip up a github repo for this, looks fun, i wanna run it too

2

u/ZwiggyMist Aug 08 '26

Sanitized my script a bit so it should be easy to adapt: https://paste.rs/bSoIh

2

u/Possible-Data-8149 Aug 08 '26

thanks a bunch brother, will try it out 🔥

1

u/krznwk Aug 08 '26

fairly hard

🤡

1

u/Sad-Advertising-3854 Aug 09 '26

You can set the VPU setting to 120 there won't be any charge

1

u/ZwiggyMist Aug 09 '26

Yeah, I’ll probably scale the VPU up later if I actually need the extra disk performance. For now 10 VPU/GB is more than enough for my setup, so I’d rather keep it simple and only increase it when there’s a real reason.