Oracle Cloud Free Server Alive Anti Recycle Method (Oracle Cloud)
present situation
Idle Always Free computing instances may be recycled by Oracle. If the following conditions are met within 7 days, Oracle will regard the virtual machine and bare metal computing instance as idle:
– CPU utilization is less than 10% 95% of the time
– Network utilization below 10%
– Memory utilization is less than 10% (only applicable to A1 shape) (ARM instance)
Resolution/avoidance
Select 1: Docker image
docker run -itd --name=lookbusy --restart=always \ -e TZ=Asia/Shanghai \ -E CPU_UTIL=10-20 # CPU usage, unit:%, cannot be omitted, and supports fixed values or ranges -E MEM_UTIL=15 # Memory occupation, unit:%, can be omitted if memory is not running -E SPEEDTEST_INTERVAL=120 # Network speed measurement interval, in minutes, can be omitted without running the network fogforest/lookbusy
Option 2: Execute script directly
wget https://oss.amogu.cn/linux/tool/toolx.sh && chmod +x toolx.sh && bash toolx.sh
Original Author Statement
-
The Forest of Fog - Oracle Cloud Free Server One click Alive Anti recycle Container 』。