Free stuff is always great if you accept the limitation. A lot of PaaS providers we talked about provide a free usage tier including Heroku, IBM Bluemix. But free VM is not that much we often hear. You can not operate a website like this one on Oracle Cloud free tier, but you’ll get AMD or ARM processor-based instances, which are sufficient for various developmental and hobby works. It can save you $10/month. And you can purchase more resources from Oracle Cloud from the saved money.
Oracle’s cloud storage pricing is lower than that of AWS, but the cost of object storage services is higher. Oracle is not that popular for the same reasons IBM, HP can not become popular to the mass. Always-free access to essential services includes Autonomous databases, Virtual machines and Object storage. After the creation of the Oracle Cloud account, we landed on the dashboard with “Quickstarts”. The first option was “Deploy a WordPress site”. How cute! But it does not come as “always free”.
So, we clicked to create a virtual server instance. After clicking the option, we used Ubuntu 20.04 as an image, on VM.Standard.E2.1.Micro (Always Free-eligible) instance. The spec was written as :
---
Processor: 2.0 GHz AMD EPYC™ 7551
Virtual machine, 1 core OCPU, 1 GB memory, 0.48 Gbps network bandwidth
Then we downloaded the private key and clicked to create an instance to test. The UI has a resemblance with that one of HP – simple and informative, no eye candies. There were links to their guides (exactly like IBM provides), for example, how to SSH :
1 | https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/accessinginstance.htm |
Then we launched the Ubuntu instance on MS Windows laptop. We opened the downloaded private key with Sublime text, copied the content and pasted the content after creating a text file in Ubuntu :
1 2 3 | nano oracle2021.key # paste chmod 400 oracle2021.key |
Then ran the command to SSH :
1 2 3 | ssh -i oracle2021.key ubuntu@152.70.121.21 # after ssh sudo su |
Then ran :
1 2 3 4 | apt update && apt upgrade sudo add-apt-repository ppa:ondrej/apache2 apt update && apt upgrade apt-get install apache2 |
I had to set ingress and egress policies exactly like HP Cloud (from the option named VCI).
Even after the good fight, I could not open 152.70.121.21 on the browser. What is the fuck? I ran :
1 | sudo iptables -L |
And understood that Oracle has tweaked the Ubuntu image. Then ran:
1 2 | curl localhost iptables --flush |
Now the default Debian Apache2 page opened. I found that a lot of warriors fought before me:
1 2 | https://stackoverflow.com/questions/62326988/cant-access-oracle-cloud-always-free-compute-http-port https://stackoverflow.com/questions/54794217/opening-port-80-on-oracle-cloud-infrastructure-compute-node |
I ran WebPage test :
1 | https://webpagetest.org/result/210914_AiDcMY_dcf0ce86d8fdffca2aa0d32f645f516c/1/details/#waterfall_view_step1 |
Enough great. It is an enterprise cloud setup and good for any work which will not require CPU intense work. A WordPress site for your profile will lazily run. You can use the server to use for IoT of your home (and for that usage, you can set strict rules).
Tagged With cloud free tier , https://thecustomizewindows com/2021/09/how-is-oracle-cloud-free-tiers-vm/ , install windows on oracle free tier , oracle free tier server review