Oracle Free Micro: Number Protection and Tuning of Two Chickens
Contents
Let’s talk about the conclusion first
The two AMD Micros (1 core/1GB/50GB) in Oracle's free package are currently the most stable free machines in my hands. The node has been running for several days without going offline, and ChatGPT, Gemini, and TikTok can all be opened. The disadvantage is that you can't get A1 (ARM), and the performance of Micro is only enough to be used as a proxy node.
Activation and network
- The region is locked in Phoenix, West America, and a VCN and public network subnet are built.
- The security group releases ports 22, 443, etc.
- Both are in Phoenix AD-2, the IPs are 141.148.141.174 and 161.153.36.190
The first pitfall: the built-in iptables
Oracle's Ubuntu image comes with a set of iptables rules. There is an INPUT REJECT in front of the ufw rule, causing all ports except port 22 to be blocked. The performance is that after the node is installed, the port is blocked.
Solution: Delete the REJECT rule, both the real-time rules and the /etc/iptables/rules.v4 file. It works immediately after deleting the node.
The second pitfall: don’t change the SSH configuration randomly
Once I added a socket configuration to SSH and wanted to change the monitoring method, but the result was that SSH was directly disconnected, and finally it was repaired by mounting the boot disk. Lesson: Don’t use ssh.socket’s drop-in configuration for Oracle images, and change sshd_config honestly.
Nodes and Tuning
Each machine runs two sets of nodes:
- VLESS + REALITY (port 443): main, SNI uses dl.google.com
- Hysteria2 (443 UDP): Alternate, self-signed certificate
Did two other things:
- Open BBR: The TCP congestion algorithm is replaced by BBR, which makes it easier to use on mobile phones.
- Account Protection Script: Run a round of CPU and download every 2 hours to prevent recycling. If the free machine is idle for a long time, it will be taken back. This cannot be saved.
A1 Seize the opportunity: Tried 3163 times and gave up.
In order to grab the free ARM model (A1), I wrote an automatic grabbing script and polled three availability zones. In the end, I ran 3163 times, all of which were "insufficient capacity", and I didn't grab a single one. It was decided to stop on November 30 and the script would be left for later.
Summary
- Oracle free Micro is worth holding for a long time and is suitable as a backup node
- Be sure to check the iptables that comes with the image.
- Don’t mess with SSH socket configuration
- A1 You can't get it by grabbing it. Let's talk about it when you have time.
加载中…