Experiment with Oracle Cloud
After joining Standard Chartered Bank, life was not the same as before. There’s always work, even after we start working from home. Every other people I meet online during quarantine prepare watchlist in Netflix and Amazon Prime, I struggle to get time to learn something new. So, I took a week off and stayed away completely from work except few phone calls. This post is about the week my experiments with Oracle Cloud and few personal projects.
Major Topics on my Experiments
- Oracle Cloud and use
- Wireguard - a fast modern & secure VPN tunnel
- Pi-hole - A black hole for Internet advertisements
- Nextcloud - A personal cloud service
Topics in Detail
There are many cloud service available in the market. Amazon AWS, Microsoft Azure, Google Cloud are leading the market. Oracle is late in the game and offering better options for free of cost compared to others. They offer 30 days trial period with 400 SGD worth of services. There is always free tier covered here.
The always free tier consists of the following.
- Compute Engine (up to two instances)
- Autonomous Database (up to two database instances)
- Load Balancing (one load balancer)
- Block Volume (up to 100 GB total storage)
- Object Storage (up to 20 GiB)
- Vault (up to 20 keys and up to 150 secrets)
I have not any tried any of the above except the Compute Engine. The configuration of the compute engine is given below
- 100 GB storage for 2 instances.
- 1 GB memory (RAM)
- 1 Virtual CPU
- One Public IP address per instance
- Up to 10 TB data transfer, yeah that’s huge.
- Up to 480 Mbps network speed, which is relatively slow for a server.
This doesn’t support heavy computing like building Android ROMs. But it is very helpful to run a small web server and things that can be done using a Rasperry-PI or a decade old computer.
I wanted to have a personal VPN server for a long time. I have no intentention of doing unlawful stuff; but to keep myself away from prying eyes. In order to use wireguard, I need a Virtual Private Server. There are some cloud service providers (E.g., Digital Ocean, Scaleaway, etc.,) offers VPS for ~ $5 per month. The monthly mobile network charge is ~$5 (Rs.365 on today’s rate) per connection in India. Should I spend another Rs.365 per month for privacy?
Here the Oracle Cloud helps to build a Wireguard VPN server for free of cost.
Setting up wireguard is simple and it is more secure than the other VPN technology available currently.
I could use some paid VPN services, if I wanted privacy. But, the private VPN services do more harm than being without a VPN. They just collect all the data and sell it outside. If someone says there’s a free VPN, it’s not! You are paying their bills by sharing your data.
It was a surprise that I found pi-hole when I was getting into the steps for setting up wireguard. Pi-hole supports blocking network wide advertisements and unnecessary trackers. They call it as “A black hole for Internet advertisements”.
The installation is simple and their web-interface is very good to get the statistics for maintenance.
We all have a gmail account and by default we use Google’s cloud storage service ‘Google Drive’, some might use Microsoft’s One Drive, Dropbox or Box etc., We get 5 GB to 20 GB storage with the price of privacy. Google Photos backup all your photos in low resolution to build their AI. It has no help, if you want to use any of your photo and make a print, the quality dips.
Nextcloud is an opensource software to setup your own cloud, with zero compromise on privacy. It can be hosted locally with a small set of hardware (Rasperry-PI may be?) with additional data storage drives. It can be hosted online, but need to pay for the servers.