How to Create an Always Free Website on the Oracle Cloud
hey everyone this is tony teaches tech i’m tony and i’m going to show you how to create a website on the oracle cloud free tier now this is pretty much a 100 completely free website they have this always free tier on the on the oracle cloud and that’s what we’re going to work through today i’m going to set up a vm we’re going to install some software on there associate a domain name with it the domain name you will have to pay for but other than that the service itself the hosting is free and you get a certain amount of benefits with that which i will explain this is as slightly technical but the cool.

Is I’m Going to Walk You Through Every
thing is i’m going to walk you through every step of the process including the account sign up the spin-up of the vm and all that stuff so if that’s something you’re interested in then let’s go ahead and hop right on into the tutorial okay so go to oracle.com cloud free and you’ll come to a page that looks similar to this now what we’re working with is the always free cloud services okay so this is a highlight of what you’re going to get with those always free cloud services but what we’re going to do is take advantage of one of these virtual machines okay and there’s going to be a lot of stuff here that we.
go through for the setup process of the vm but as long as you follow through uh with the choices that i make then you don’t have to worry about having to pay for any of it okay so let’s click on this button that says start for free and what we’re going to do is type in your information so i’m going to pick my country i’m from the united states and type in my name last name and my email and prove that i’m a human we have to do one of these okay then verify your email okay so oracle has sent an email verification link to my email address so that’s open over here and this.
is just verifying that you actually own that email so we’ll do that and that has been verified now the next thing that we want to do is create a password optional company name an account name in a home region so i’m going to go ahead and do that and then finally pick a home region which for me i’ll pick us west phoenix okay so click on continue and fill out your address information and after you do that then you have to do the payment verification now you will need some type of payment method to associate with your account that’s not to say that you’re going to be charged anything as it says here you won’t.

Information I’m Going to Click Close and Just
be charged unless you elect to upgrade the account so this is this is we’re specifically working with the oracle cloud free tier so go ahead and add a credit card to your account but again you won’t be charged for anything okay so i have added my payment information i’m going to click close and just click that you agree to the service agreement and then you can start your free trial and let that happen okay so once you have your account you’re going to come to a dashboard that looks something similar to this and what you can do is click on create a vm instance but just in case this option isn’t here which by the.
way it is always free eligible you can also come to the three hamburger menu over in the upper left hand corner come to compute and go to instances now this is my um account that i’ve already worked with before as you can see it’s in a different region than the one i just showed you it’s in ashburn so i was playing around with this prior to this tutorial but the like i’m saying the alternative is to click on create instance and that’s going to take you to the same exact place so what we’re going to do is create our always free vm machine we can call it whatever you want i’m going to call mayan.
tony’s vm and what we’re going to do is configure a couple options in here so for placement we’re not going to do anything i just want to show you that you have options of which domain you want to associate that with the default is just fine because again it is always free eligible now the image and shape we’re going to install the default is oracle linux obviously because we’re using oracle.com but we can change that to be another operating system so let’s do an ubuntu operating system which again this one is always free eligible we’ll do a full installation of 20.04 so we’ll select that image and you can pick something else like centos or.

I’m Not Going To
you can keep oracle as well now for the shape this is this is talking about the processor and the memory so the always free eligible option is the one core one gigabyte of memory uh half a gigabit per second network bandwidth amd micro instance i do want to point out that this one yes it’s always free eligible but there’s also another option in here amd doesn’t have any intel doesn’t have any free options but the free option for ampere i think that’s how you say that is this vm standard a1 flex which is one cpu cord and six gigabytes of memory with one gigabit per second networking now the reason that i’m not going to.
pick this one for the tutorial and i’m just going to stick with the default this one right here is because uh if we look at the always free resource page you’ll see that the micro instance with amd processor you get two free vms using this uh this shape whereas i’m not really sure i completely understand the fact that you get the first 3 000 oc pu hours and 18 000 gigabyte hours per month for free so the it seems like at some point you will hit a limit but in order to you know avoid that completely let’s just stick with the micro instance in this case so back over here uh we will stick with.
that and then for networking we’ll do a little bit of networking configuration later so we’ll keep the defaults as they are right now but for the ssh key let’s go ahead and generate a key pair for me so let’s save the public key and the private key and that looks good and we’ll use that to ssh to log into the server in the future and then for the boot volume um technically well by default we’re getting 46.6 gigabytes of space in our default boot volume um again according to the documentation we can have up to let me see if i can find this real quick storage it’s 200 yeah so block volume all tendencies receive.

I’m Just Going to Stick with the Default
a total of 200 gigabytes of block volume storage so if you have two vms each one of them can have 100 gigabytes or you can put one vm with 200 gigabytes but again for this tutorial i’m just going to stick with the default volume size you can come check this box and pick a size for the free tier up to 200 gigabytes okay so that’s it for the configuration let’s go ahead and create that and this will take a little bit for it to spin up so we’ll just fast forward through this process and i’ll catch up with you when it finishes okay guys about one minute later tops we have our vm instance up.
and running as you can see here a couple points of information we can see that our public ip address is this right here ending in dot five nine so we want to take note of that and also the user name is ubuntu so that’s how we’re gonna access it via ssh but first let’s do some configuration for this instance as far as networking is concerned so let’s click on the hamburger menu up here go to networking and virtual cloud networks so one of these is automatically created for your instance so click on that and what we want to do is click on the subnet and default security list for that we’re going to dive down.

What We’re Going to Do Is
in here and what we’re going to do is add it in ingress rule to allow http connections over port 80.

