All my friends that's pretty much it.
We've set up everything we need to set up for Kuber Nettie's at least in our development local environment.
We're now going to start thinking about how we can take this application and apply it off to a production
environment instead such as AWOS or Google Cloud.
Now before I show you a diagram that's going to walk the series of steps that are going to use to deploy
this.
Just one quick last thing.
Again if you're seen that not secure message up you're totally fine in a development environment where
you're going to eventually fix this in the production environment.
But again in development no issue whatsoever.
OK.
So let's walk through our deployment steps.
So the first thing we're going to do is create a good hub repository.
We're going to create a good hover repo wall so create a get repo locally on our local machine and then
push all of our code up to get up.
After that we're going to set up a Travis see-I project to tie in with our Get help retail as well.
So we're going to use a very similar Travis see-I focused deployment method as we did previously on
both of our elastic beanstalk projects.
Travis see-I is going to be in charge of building our images and pushing them off to Dakar hub.
And then after that we're going to use Travis see-I to also deploy our application to a covered he's
cluster.
You can use other see-I environments if you choose to in general maybe not in this course I recommend
you do use Travis along with me but in general you can use other deployment or other see-I environments
such as Circle s.i if you choose to.
They were just as well.
Travis just in this course I chose to use Travis because in general it's a very reliable service which
makes it quite appropriate for a course.
After that we're going to set up a Google Cloud Project.
So again we're not going to deploy this Cooper and his application to us.
We're going to be using Google Cloud instead.
And I've got a whole slide can show you in this video and like one or two minutes that's going to outline
the reasons that we're swapping from each of us over to Google Cloud.
Again trust me.
Very good reasons that we're going to use Google Cloud here as opposed to AWOS.
Now suddenly it's very important.
And this is really the main point of this entire lecture is that in order to deploy this application
off to Google Cloud you will need to enable billing on a Google Cloud account.
And that means that you need a credit card or some type of payment card that is accepted by Google Cloud.
Now if you are in some country that does not have access to Google Cloud unfortunately you're probably
not going to to walk through these deployment steps.
But that is just kind of the reality of the situation.
Now the billing aspect here is rather important to mention this time around because unlike the elastic
beanstalk stuff where we paid $0 if you're in the free tier or you paid very little if you were outside
the frontier.
Unfortunately this Cooper NE's project is going to incur just a little bit of billing and it probably
is going to be for the most part unavoidable.
Now I want to very quickly show you a calculator that you can use to get an idea of how much you're
going to be paying for this Coover Nettie's project that we're going to set up just so you know I put
like all the Traviss setup stuff up here even though it kind of makes sense to create the Google project
first of all the Traviss stuff earlier appear to just to minimize the amount of time that we have to
have this Cabernets cluster up and running and causing you to have to pay money.
So I you know I'm very much conscious of the fact that you probably don't want me paying a lot of money
to learn all this stuff.
Now if you want to get a good idea on how much you're going to be paying you can do a google search
for Google.
Cloud cost calculator like so you'll find the first result here which is products slash calculator and
then on this page we can very quickly get an idea of exactly how much money you might be paying over
a short period of time.
You might be running this application.
So on this page I'm going to zoom in a little bit here just make sure it's very legible.
You can select Kuber Nettie's engine at the top and then under Kooper Nettie's engine we're going to
be running three separate notes.
We're going to be using the standard instance type so you can leave that as the same.
So I going to scroll down.
Leave everything else the same and I'm going to click add to estimate.
I will then find the persistent disk section on here.
We're going to have one persistent disk that's going to have like two gigabytes of space to like so
you can add in a to and then click add to estimate and then you can also find load balancing right here.
We're going to have one forwarding rule and we're going to at best be transferring about one gigabyte
like absolute no way we're going to actually be doing one gigabyte here.
I guess you could go down to megabyte if you want to.
And we could probably say like something like 100 megabytes is probably much more realistic.
I mean you can add that as an estimate as well.
So if you look at the total price for all this thing it comes out to around forty two dollars per month.
Now if you're running this for only one day because the billing here is like on a per minute basis or
something like that.
So if you go through all the cooper NE's videos in this course in like one day then you're going to
be paying about $42 divided by 30.
So that's something like I don't know a dollar forty or something like that total.
So $1 40 cents if you get everything in here in 24 hours if you get to it faster and shut everything
down you'll be paying even less.
So in general probably not going to be paying anywhere near $42 as long as you complete all this content
in a reasonable amount of time.
I just want you to be aware that you know you are going to be paying at least some tiny amount of money
here and you do really need to make sure that you absolutely clean up all these instances after you
get through this content especially if you like quit halfway through.
You need to be making sure that you close everything down.
And of course at the end of the cooper Netti section I'll give you a very detailed video on how you
clean all this stuff up as well.
OK.
So that's my spiel on pricing.
Now we're a little bit long here.
Let's take a quick pause and we will come back in the next section.
We're going to talk a little bit about why we're making use of Google cloud over us.
So quick pause and we'll cover that in the next section.