How to Use Port 443 in Siliod
In Siliod, port 443 is used by default when connecting to instances.Therefore, to use port 443 for HTTPS etc., you need to change the instance connection port to 8443 etc.
Port 443: This is the standard port for HTTPS (HTTP Secure).
It's the port that web browsers use by default for SSL/TLS encrypted connections.
Since it's a system port (1-1023), sudo privileges are required when using it.
How to Modify Instance Connection Port
1.1 For GUI, modify start.sh
Change the port in existing settings to 8443:
Open
/home/ubuntu/.novnc/start.sh
and modify the last option on the last lineExisting setting:
..... --listen 443
Modified setting:
..... --listen 8443
1.2 For CLI, modify Crontab settings
Change the port in existing settings to 8443:
crontab -e
Existing setting:
@reboot sudo /home/ubuntu/.ttyd/build/ttyd --port 443 --ssl .....
Modified setting:
@reboot sudo /home/ubuntu/.ttyd/build/ttyd --port 8443 --ssl .....
2. Open Port in Dashboard
Proceed step by step:
- Select Instance: Click on the corresponding instance to select it
- More Menu at Bottom: Click the "More" button at the bottom of instance details
- Port Settings: Go to Network/Security settings menu
Add TCP 8443 port:
- Protocol: TCP
- Port: 8443
- Source: 0.0.0.0/0 (allow all IPs) or restrict as needed
3. Restart Instance
Once configuration is complete, restart the instance:
- From dashboard:
- Select instance
- Click "Restart Instance" button
- Or from terminal:
sudo reboot
4. Verify Connection
After restart, verify connection by accessing the following URL:
https://{instance-id}.siliod.com:8443
If you want to create an HTTPS server
In Siliod, domains and TLS certificates are automatically generated when creating instances, so you don't need to issue certificates separately.
SSL(TLS) certificate paths:
- Certificate file:
/etc/ssl/certs/{instance-id}.siliod.com.crt
- Private key file:
/etc/ssl/private/{instance-id}.siliod.com.key
Command to verify certificate files:
sudo ls -la /etc/letsencrypt/live/{instance-id}.siliod.com/
I Want to Increase Storage Capacity
1. Add Storage CapacityProceed step by step:
- Select Instance: Click on the corresponding instance to select it
- More Menu at Bottom: Click the "More" button at the bottom of instance details
- Storage Capacity: Increase capacity as desired and click "Add Capacity" button (reducing capacity is not possible)
2. Storage Resizing
In Linux, you cannot immediately use the capacity even if you increase hardware capacity.
First, check existing storage capacity with
df -h
Then enter:
sudo growpart /dev/nvme0n1 1
sudo resize2fs /dev/nvme0n1p1
to resize storage
Then check the changed storage capacity again with
df -h