EDXG Project Sandbox based on Free Tools

Experimental space for ideas based on free product. This sandbox roadmap and detailed procedure:

Find a free cloud base VM with the best spec (save 30-150$/month), it is hosting this page!

The free tools is 'Free cloud instance on Oracle Cloud'

Summary:

  • 2 VMs
    • E2.1Micro(AMD) - Ubuntu - Compute (1OCPU, 1GB RAM, 48GB DISK, Internet=0.48Gbps)
    • A1 (ARM) - Ubuntu - Compute (4 OCPU, 24GB RAM, 200GB DISK)
  • Config many but used : Ubuntu 24.04 minimal

Possible Application

  • Website for free with NGINX
  • N8N on-premise server
  • Compute node
  • Trading node

Main Link

Workaround to make it work

  • Use Google Authentificator (instead of paying OracleAuthentificator)
  • Fees of 2.62$, do not care (suppose to be a display bug, no fees so far)
  • Can add an alarm in the dashboard in case of a X$ fee exceeding

How to

Configure and make a website

My notes

SSH connection

sudo chmod 400 ubuntu-tradev1-ssh-key-2025-12-23.key // pour changer les droits

ssh -i u24-tradev2-ssh-key-2025-12-26 ubuntu@151.145.48.208// Connection ssh


Update all package

sudo apt-get update


Nano (editor & edit tables)

sudo apt install nano


Specific to OracleCloud

sudo su -  // switch to root

Look for a free fix IP solution (save 3-8$/month)

The free tools is include in 'Free cloud instance on Oracle Cloud'

Summary

  • Included in OracleCloud (they have a pool)
  • May change on reboot or on platform maintenance (did not happen so far, >2 platerform mainteance, >5 reboots)

Main Link

Find a free DNS or DDNS to register domain (save 10-200$/year)

The free tools is DYNU

Summary

  • Can create a DDNS with various top level  (ex.: edxg.gleeze.com)

Main Link

How to

Create a free web server running on Ubuntu or FreeBSD

The free tools is NGINX

How to

 

Nano (editor & edit tables)

Sudo apt install nano

Sudo nano /etc/iptables/rules.v4

-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT

-A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT

SAVE (ctrl-o)

EXIT(ctrl-x)

sudo iptables-restore < /etc/iptables/rules.v4

 

NGINX

sudo apt install nginx

systemctl status nginx

 

EDIT page

cd /var/www/html

sudo nano index.nginx-debian.html 

$ sudo nginx -t // test the syntax

sudo systemctl restart nginx // restart web server

sudo systemctl daemon-reload // semble mieux marché que la précédente

 

In oci dashboard allow port 80 and 443 (http and https)

Edit the instance/details/networking/security/ingress rules …

 

Go to: OCI Console → Networking → Virtual Cloud Networks (VCN)

Select your VCN

Click Subnets

Choose the subnet where your instance lives

Click the Security List attached to that subnet

Under Ingress Rules, click Add Ingress Rule

Set: Source Type:CIDR / Source CIDR: 0.0.0.0/0 (public internet) / IP Protocol:TCP / Destination Port Range:80 / Description: Allow HTTP

Set: Source Type:CIDR / Source CIDR: 0.0.0.0/0 (public internet) / IP Protocol:TCP / Destination Port Range:443 / Description: Allow HTTPS

 

Uncomplicated firewall install

sudo apt install ufw

sudo ufw allow ssh // port 22

Sudo ufw allow http // port 80

Sudo ufw allow https // port 443

sudo ufw show added /// see rules before starting

Sudo ufw enable // ATTENTION LE PORT 22 DOIT ÊTRE OUVERT SINON VOUS VENEZ METTRE VOTRE VM EN Lou Gehrig

Create a webpage with free tools to document and centralize all sandbox projects (this page)

The free tools is ChatGPT, just ask : Create me a HTML page with a slick interface for my sandbox

Note

Free Certificate SSL/TLS for websites (0.5 - 4$/m)

Install SSL Certificate using Certbot on Nginx Webserver

Summary

  • The tool is "Certbot" on an Nginx Webserver
  • Only package and configuration
  • Autorenewal (other free mostly manual every 60 days!!!)

Main Link

How to

Detail Steps (deviation from the how to)

Connect to the VM via SSH

Run: sudo snap install --classic certbot

Run: sudo ln -s /snap/bin/certbot /usr/local/bin/certbot       // symbolic link creation for common usage

Run: sudo mv /etc/nginx/sites-available/default /etc/nginx/sites-available/your-site.conf.bak /etc/nginx/default.bak

Run: sudo certbot --nginx.  //generate and install certificate (interactively)

During interaction: I had to type the website manually,  only "edxg.gleeze.com"

Note:  It must be exactly your A or AAA record in DYNU (see "current DNS status in in DYNU)

Important: port 443 must be allow by OCI, by iptables.v4 file, by ufw

If it goes bad: for Certbot site: https://letsdebug.net/, a diagnostic for HTTPS connection

If it goes wrong (rollback)

sudo mv /etc/nginx/sites-available/your-site.conf.bak /etc/nginx/sites-available/your-site.conf

sudo systemctl reload nginx

Create a free N8N on-premise server to host AI automations projects

The free tools is N8N on-premise intalled with a docker file... still working on it....

Summary

  • The free tools is N8N on-premise intalled with a docker file

 

How to

  • Find a free webscraping tool for static and dynamic site
  • Trigger on new content and summarize it
  • See N8N on premise page (link below)
Create a compute node to run Python auto-trader project

The free tools is a raw python code running as a trading bot in the VM with a CRON job

  • Run my CDMA tweek trade strategy on output of stock variability and backtest project
  • See How to 'run a tradring bot in Python code into an independat server' page

Main Link

Building a trading bot in a VM

Create a webpage with non-free tools relevant to my projects

  • See Project Sandbox based on NON-Free Tools pagee (link below)

Other Links