1
00:00:00,790 --> 00:00:02,100
All my friends that's pretty much it.

2
00:00:02,110 --> 00:00:07,890
We've set up everything we need to set up for Kuber Nettie's at least in our development local environment.

3
00:00:07,930 --> 00:00:11,980
We're now going to start thinking about how we can take this application and apply it off to a production

4
00:00:11,980 --> 00:00:15,660
environment instead such as AWOS or Google Cloud.

5
00:00:15,730 --> 00:00:19,420
Now before I show you a diagram that's going to walk the series of steps that are going to use to deploy

6
00:00:19,420 --> 00:00:19,830
this.

7
00:00:19,900 --> 00:00:21,320
Just one quick last thing.

8
00:00:21,400 --> 00:00:26,530
Again if you're seen that not secure message up you're totally fine in a development environment where

9
00:00:26,530 --> 00:00:29,310
you're going to eventually fix this in the production environment.

10
00:00:29,320 --> 00:00:32,800
But again in development no issue whatsoever.

11
00:00:33,150 --> 00:00:33,430
OK.

12
00:00:33,460 --> 00:00:35,410
So let's walk through our deployment steps.

13
00:00:35,410 --> 00:00:38,640
So the first thing we're going to do is create a good hub repository.

14
00:00:38,680 --> 00:00:44,200
We're going to create a good hover repo wall so create a get repo locally on our local machine and then

15
00:00:44,200 --> 00:00:46,000
push all of our code up to get up.

16
00:00:46,180 --> 00:00:51,020
After that we're going to set up a Travis see-I project to tie in with our Get help retail as well.

17
00:00:51,220 --> 00:00:56,440
So we're going to use a very similar Travis see-I focused deployment method as we did previously on

18
00:00:56,440 --> 00:00:58,860
both of our elastic beanstalk projects.

19
00:00:58,990 --> 00:01:03,660
Travis see-I is going to be in charge of building our images and pushing them off to Dakar hub.

20
00:01:03,790 --> 00:01:08,500
And then after that we're going to use Travis see-I to also deploy our application to a covered he's

21
00:01:08,510 --> 00:01:09,630
cluster.

22
00:01:09,850 --> 00:01:15,310
You can use other see-I environments if you choose to in general maybe not in this course I recommend

23
00:01:15,310 --> 00:01:20,110
you do use Travis along with me but in general you can use other deployment or other see-I environments

24
00:01:20,110 --> 00:01:22,250
such as Circle s.i if you choose to.

25
00:01:22,330 --> 00:01:23,250
They were just as well.

26
00:01:23,260 --> 00:01:28,600
Travis just in this course I chose to use Travis because in general it's a very reliable service which

27
00:01:28,600 --> 00:01:31,140
makes it quite appropriate for a course.

28
00:01:31,360 --> 00:01:34,590
After that we're going to set up a Google Cloud Project.

29
00:01:34,600 --> 00:01:38,800
So again we're not going to deploy this Cooper and his application to us.

30
00:01:38,860 --> 00:01:41,540
We're going to be using Google Cloud instead.

31
00:01:41,560 --> 00:01:46,390
And I've got a whole slide can show you in this video and like one or two minutes that's going to outline

32
00:01:46,390 --> 00:01:50,080
the reasons that we're swapping from each of us over to Google Cloud.

33
00:01:50,230 --> 00:01:51,070
Again trust me.

34
00:01:51,070 --> 00:01:55,960
Very good reasons that we're going to use Google Cloud here as opposed to AWOS.

35
00:01:56,050 --> 00:01:57,640
Now suddenly it's very important.

36
00:01:57,670 --> 00:02:02,710
And this is really the main point of this entire lecture is that in order to deploy this application

37
00:02:02,740 --> 00:02:07,900
off to Google Cloud you will need to enable billing on a Google Cloud account.

38
00:02:08,110 --> 00:02:14,740
And that means that you need a credit card or some type of payment card that is accepted by Google Cloud.

39
00:02:14,740 --> 00:02:19,660
Now if you are in some country that does not have access to Google Cloud unfortunately you're probably

40
00:02:19,660 --> 00:02:22,000
not going to to walk through these deployment steps.

41
00:02:22,000 --> 00:02:24,510
But that is just kind of the reality of the situation.

42
00:02:26,070 --> 00:02:31,740
Now the billing aspect here is rather important to mention this time around because unlike the elastic

43
00:02:31,740 --> 00:02:37,380
beanstalk stuff where we paid $0 if you're in the free tier or you paid very little if you were outside

44
00:02:37,380 --> 00:02:38,090
the frontier.

45
00:02:38,190 --> 00:02:43,590
Unfortunately this Cooper NE's project is going to incur just a little bit of billing and it probably

46
00:02:43,590 --> 00:02:46,070
is going to be for the most part unavoidable.

47
00:02:46,080 --> 00:02:50,610
Now I want to very quickly show you a calculator that you can use to get an idea of how much you're

48
00:02:50,610 --> 00:02:55,210
going to be paying for this Coover Nettie's project that we're going to set up just so you know I put

49
00:02:55,230 --> 00:03:01,020
like all the Traviss setup stuff up here even though it kind of makes sense to create the Google project

50
00:03:01,030 --> 00:03:07,140
first of all the Traviss stuff earlier appear to just to minimize the amount of time that we have to

51
00:03:07,140 --> 00:03:11,220
have this Cabernets cluster up and running and causing you to have to pay money.

52
00:03:11,220 --> 00:03:15,570
So I you know I'm very much conscious of the fact that you probably don't want me paying a lot of money

53
00:03:15,570 --> 00:03:16,890
to learn all this stuff.

54
00:03:17,070 --> 00:03:20,880
Now if you want to get a good idea on how much you're going to be paying you can do a google search

55
00:03:20,880 --> 00:03:22,070
for Google.

56
00:03:22,080 --> 00:03:30,490
Cloud cost calculator like so you'll find the first result here which is products slash calculator and

57
00:03:30,490 --> 00:03:35,890
then on this page we can very quickly get an idea of exactly how much money you might be paying over

58
00:03:36,220 --> 00:03:37,350
a short period of time.

59
00:03:37,360 --> 00:03:38,990
You might be running this application.

60
00:03:39,240 --> 00:03:43,010
So on this page I'm going to zoom in a little bit here just make sure it's very legible.

61
00:03:43,030 --> 00:03:48,190
You can select Kuber Nettie's engine at the top and then under Kooper Nettie's engine we're going to

62
00:03:48,190 --> 00:03:50,490
be running three separate notes.

63
00:03:50,530 --> 00:03:54,410
We're going to be using the standard instance type so you can leave that as the same.

64
00:03:54,410 --> 00:03:55,370
So I going to scroll down.

65
00:03:55,390 --> 00:03:59,550
Leave everything else the same and I'm going to click add to estimate.

66
00:03:59,680 --> 00:04:03,390
I will then find the persistent disk section on here.

67
00:04:03,400 --> 00:04:09,490
We're going to have one persistent disk that's going to have like two gigabytes of space to like so

68
00:04:09,890 --> 00:04:15,810
you can add in a to and then click add to estimate and then you can also find load balancing right here.

69
00:04:15,850 --> 00:04:21,520
We're going to have one forwarding rule and we're going to at best be transferring about one gigabyte

70
00:04:21,520 --> 00:04:25,200
like absolute no way we're going to actually be doing one gigabyte here.

71
00:04:25,390 --> 00:04:27,470
I guess you could go down to megabyte if you want to.

72
00:04:27,520 --> 00:04:31,110
And we could probably say like something like 100 megabytes is probably much more realistic.

73
00:04:31,320 --> 00:04:33,610
I mean you can add that as an estimate as well.

74
00:04:33,610 --> 00:04:39,730
So if you look at the total price for all this thing it comes out to around forty two dollars per month.

75
00:04:39,940 --> 00:04:44,770
Now if you're running this for only one day because the billing here is like on a per minute basis or

76
00:04:44,770 --> 00:04:45,600
something like that.

77
00:04:45,760 --> 00:04:50,530
So if you go through all the cooper NE's videos in this course in like one day then you're going to

78
00:04:50,530 --> 00:04:53,680
be paying about $42 divided by 30.

79
00:04:53,690 --> 00:04:56,530
So that's something like I don't know a dollar forty or something like that total.

80
00:04:56,530 --> 00:05:03,130
So $1 40 cents if you get everything in here in 24 hours if you get to it faster and shut everything

81
00:05:03,130 --> 00:05:05,350
down you'll be paying even less.

82
00:05:05,350 --> 00:05:11,290
So in general probably not going to be paying anywhere near $42 as long as you complete all this content

83
00:05:11,560 --> 00:05:12,760
in a reasonable amount of time.

84
00:05:12,790 --> 00:05:17,290
I just want you to be aware that you know you are going to be paying at least some tiny amount of money

85
00:05:17,290 --> 00:05:23,440
here and you do really need to make sure that you absolutely clean up all these instances after you

86
00:05:23,440 --> 00:05:26,410
get through this content especially if you like quit halfway through.

87
00:05:26,410 --> 00:05:29,440
You need to be making sure that you close everything down.

88
00:05:29,440 --> 00:05:33,850
And of course at the end of the cooper Netti section I'll give you a very detailed video on how you

89
00:05:33,850 --> 00:05:35,700
clean all this stuff up as well.

90
00:05:36,060 --> 00:05:36,290
OK.

91
00:05:36,310 --> 00:05:38,460
So that's my spiel on pricing.

92
00:05:38,480 --> 00:05:39,970
Now we're a little bit long here.

93
00:05:39,970 --> 00:05:42,830
Let's take a quick pause and we will come back in the next section.

94
00:05:42,850 --> 00:05:46,790
We're going to talk a little bit about why we're making use of Google cloud over us.

95
00:05:46,870 --> 00:05:49,200
So quick pause and we'll cover that in the next section.
