Although Serverless is cool and saves from lot of hassle handling configurations, updates and what not. There're some cool things you can with a simple cheap old VPS.

VPN (Socks Proxy)

ssh -N -D 9090 username@host

On Mac:

Safari → Preferences → Advanced Tab → Proxies → Change Settings → Enable SOCKS Proxy with localhost & port 9090

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b30043be-ddd7-4bd9-ab77-94eb099d41b9/Untitled.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3b7ab6a3-ec6f-44cb-a833-b3aa125b2709/Untitled.png

And that's it ! Every request you'll make now will be proxied through your vps and you can access every restriced websites.

Cloud Storage

We'll be using https://owncloud.org to set up own cloud storage with functionality same as google drive or dropbox

Installation

# Installing docker
sudo apt install docker.io

# Installing docker-compose 
sudo curl -L "<https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$>(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

# Download docker-compose file for owncloud
wget <https://raw.githubusercontent.com/owncloud/docs/master/modules/admin_manual/examples/installation/docker/docker-compose.yml>

# Create a .env file with credentials, own cloud version & port
OWNCLOUD_VERSION=10.5
OWNCLOUD_DOMAIN=localhost
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin
HTTP_PORT=8080

# Changing directory you want to put files in docker-compose.yml file
# Change in services -> owncloud -> volumes

# Starting own cloud
docker-compose up -d

And that' it! You've your own cloud storage running you can login with username and password from env file.