1 00:00:01,090 --> 00:00:03,310 Our entire testing pipeline is looking pretty good. 2 00:00:03,400 --> 00:00:06,640 So now going to start to move on to the deployment of our application. 3 00:00:07,330 --> 00:00:11,970 The first thing have to do to deploy our application is choose a hosting provider and create a new Cuban 4 00:00:11,970 --> 00:00:12,670 enties cluster. 5 00:00:13,330 --> 00:00:17,230 So we need to take a look at some of different providers that are available, evaluate them and eventually 6 00:00:17,230 --> 00:00:18,370 create a cluster itself. 7 00:00:19,120 --> 00:00:23,800 Before we discuss these providers at all, I do want to mention that a credit card is going to be required 8 00:00:23,800 --> 00:00:26,050 to move forward with one of these hosting providers. 9 00:00:26,560 --> 00:00:31,600 Every single one of them requires you to enter a credit card in order to run any kind of workload. 10 00:00:32,280 --> 00:00:37,540 You will need a credit card, without a doubt, until we're going to have to pay about a dollar or so 11 00:00:37,570 --> 00:00:38,440 to get a domain. 12 00:00:39,040 --> 00:00:42,070 We're also going to run or cost about seventy two cents. 13 00:00:42,100 --> 00:00:43,330 Notice that is sense right there. 14 00:00:43,360 --> 00:00:46,900 It is not seventy two dollars per day to run the cluster itself. 15 00:00:48,050 --> 00:00:52,280 Now, for the provider that we are going to use, you can't find coupon codes online. 16 00:00:52,850 --> 00:00:56,390 And these coupon codes are generally worth about 60 or 100 dollars or so. 17 00:00:56,660 --> 00:01:00,770 So at the end of the day, if you create a new account with a provider that we're going to use and you 18 00:01:00,770 --> 00:01:05,450 find a coupon code for it, you should probably be able to walk out of this with only paying one dollar 19 00:01:05,480 --> 00:01:06,770 for the domain name itself. 20 00:01:07,310 --> 00:01:10,310 And technically, the domain name is somewhat optional. 21 00:01:10,610 --> 00:01:14,750 If you do not get the domain name, you will not be able to load up our application side the browser, 22 00:01:15,020 --> 00:01:19,070 but you will be able to at least deploy it and verify that it is online and running. 23 00:01:19,430 --> 00:01:21,260 You just want people to access it in the browser. 24 00:01:22,830 --> 00:01:23,020 OK. 25 00:01:23,070 --> 00:01:26,520 So with all that mind, let's take a look at some of the different hosting providers. 26 00:01:26,550 --> 00:01:27,840 We are going to have access to. 27 00:01:28,800 --> 00:01:33,720 So we're going to very briefly discuss four different providers on each of these providers. 28 00:01:33,810 --> 00:01:35,100 I really just have two metrics. 29 00:01:35,160 --> 00:01:37,560 The first is the cost to use this provider. 30 00:01:38,550 --> 00:01:43,860 And the cost for each of these and is in terms of month and for each month, I'm assuming that we have 31 00:01:43,860 --> 00:01:45,840 three individual nodes inside of our cluster. 32 00:01:45,870 --> 00:01:50,970 So three virtual machines and that each of those has two gigabytes of RAM and about one C.P.U. 33 00:01:51,750 --> 00:01:55,050 Some of these providers also have some extra costs associated with them. 34 00:01:55,200 --> 00:01:56,130 And so wherever possible. 35 00:01:56,160 --> 00:01:58,500 I included or lumped in some of those costs. 36 00:01:59,980 --> 00:02:04,930 And some of these providers as well, there is no option to get a VM with two gigabytes of RAM and one 37 00:02:04,930 --> 00:02:05,440 C.P.U. 38 00:02:05,680 --> 00:02:09,850 So I just did my best to kind of round out and figure out something kind of equivalent. 39 00:02:10,600 --> 00:02:15,010 What I'm trying to say here is that you should not use the exact numbers I've quoted in each of these 40 00:02:15,010 --> 00:02:16,960 as gospel or the exact value. 41 00:02:17,200 --> 00:02:21,460 Instead, they are kind of very rough estimates on what we might possibly end up paying. 42 00:02:23,160 --> 00:02:23,780 So that might. 43 00:02:24,610 --> 00:02:26,590 Let's take a look at our four hosting providers. 44 00:02:27,260 --> 00:02:29,760 The four big names out there right now are Digital Ocean. 45 00:02:29,780 --> 00:02:31,830 Eight of us, Google Cloud and Azour. 46 00:02:33,810 --> 00:02:39,210 Reach these, you can see very easily that digital ocean by far leads on price and eight of us. 47 00:02:39,510 --> 00:02:41,880 Cloud are way more expensive. 48 00:02:43,100 --> 00:02:48,080 The reason for that is that eight of us in Google Cloud charge you money just to run a Cuban Nettie's 49 00:02:48,080 --> 00:02:50,840 cluster without any virtual machines inside of it. 50 00:02:51,660 --> 00:02:56,660 So remember, whenever we run communities, we have what is called the master node or the control plane, 51 00:02:56,780 --> 00:02:57,890 as it's also referred to. 52 00:02:58,520 --> 00:03:03,440 This is a process that evaluates and watches your cluster and make sure that it is doing everything 53 00:03:03,440 --> 00:03:04,010 correctly. 54 00:03:04,490 --> 00:03:09,320 It monitors all the different pods, creates pods, radar services, all that kind of good stuff. 55 00:03:10,070 --> 00:03:14,060 Eight of us in Google Cloud make you pay money just for that control plane. 56 00:03:14,480 --> 00:03:16,880 In total, it is one cent per hour. 57 00:03:17,630 --> 00:03:19,700 And that actually really adds up very quickly. 58 00:03:20,240 --> 00:03:21,110 One cent per hour. 59 00:03:21,290 --> 00:03:22,100 Let's do the math here. 60 00:03:22,220 --> 00:03:23,700 So one cent or something? 61 00:03:23,840 --> 00:03:25,100 Not once and 10 cents. 62 00:03:25,520 --> 00:03:27,050 So point one dollars. 63 00:03:28,250 --> 00:03:29,540 Finds 24 hours in the day. 64 00:03:29,570 --> 00:03:30,710 Times, 30 days. 65 00:03:31,100 --> 00:03:35,780 That is seventy two dollars a month that you are paying just to make use of eight of us or a Google 66 00:03:35,810 --> 00:03:36,260 cloud. 67 00:03:36,800 --> 00:03:37,670 That's a lot of money. 68 00:03:37,880 --> 00:03:42,920 And that's why it's so much more expensive to make use of eight of us or Google Cloud for a very small, 69 00:03:42,950 --> 00:03:44,810 very simple Cuban Nettie's cluster. 70 00:03:46,810 --> 00:03:52,540 Now, personally, I would like to use Google Cloud because it's pretty darn easy to use the UI is fantastic. 71 00:03:52,780 --> 00:03:54,280 Monitoring is really easy. 72 00:03:54,490 --> 00:03:55,000 And so on. 73 00:03:55,440 --> 00:03:57,010 What is a little bit more expensive. 74 00:03:57,220 --> 00:04:00,670 And we've kind of already touched on Google Cloud earlier on inside this course. 75 00:04:01,150 --> 00:04:02,740 So we're going to throw that out as an option. 76 00:04:03,980 --> 00:04:05,960 I also want to mention Azour over here really quickly. 77 00:04:06,020 --> 00:04:10,430 Not to be totally honest with you, I have not used Cuba Nettie's with ASA before, so I can't really 78 00:04:10,430 --> 00:04:11,510 give you a great opinion. 79 00:04:12,020 --> 00:04:16,530 I have had some great experiences with Azour in the past with non Cuban Nettie's deployments. 80 00:04:17,300 --> 00:04:19,520 Nonetheless, I don't really have professional experience with it. 81 00:04:19,580 --> 00:04:21,370 So to be honest, we're not going. 82 00:04:21,370 --> 00:04:25,280 He's inside this course because I can't really do a good job of explaining the pros and cons of it. 83 00:04:26,440 --> 00:04:30,880 That really leaves Digital Ocean and A.W. us now from the colors I have here. 84 00:04:30,910 --> 00:04:32,770 I bet you can guess which one we're going to use. 85 00:04:33,490 --> 00:04:35,190 We're going to use digital ocean. 86 00:04:35,920 --> 00:04:39,580 I know that many people taken this course would love to see a W.S.. 87 00:04:39,610 --> 00:04:40,030 Trust me. 88 00:04:40,060 --> 00:04:40,570 I know. 89 00:04:40,960 --> 00:04:43,520 I know you want to see eight of us with Cuban Nettie's. 90 00:04:43,600 --> 00:04:46,210 But let me just be really, really honest with you. 91 00:04:46,690 --> 00:04:50,680 This very well might be the first time that you are deploying something with Cuba Nettie's. 92 00:04:51,190 --> 00:04:52,640 And if you are just getting started. 93 00:04:52,660 --> 00:04:59,680 Cuban 80s eight of us is almost definitely the worst possible deployment provider out there, almost 94 00:04:59,680 --> 00:05:00,190 without a doubt. 95 00:05:01,440 --> 00:05:04,350 With eight of us, there is an incredible number of options. 96 00:05:04,680 --> 00:05:06,870 There's an incredible number of setup steps. 97 00:05:07,260 --> 00:05:11,370 There are an incredible number of setup screens, a ton of UI, a ton of settings. 98 00:05:11,880 --> 00:05:16,980 All of it is extremely mysterious and all the documentation is rather poor. 99 00:05:17,790 --> 00:05:22,410 In addition, they also provide a community is offering that is kind of tangled quite a bit with another 100 00:05:22,410 --> 00:05:24,970 product they offer called Eight of US Freegate. 101 00:05:25,320 --> 00:05:29,220 And Understanding what Fargo does is its own challenge in its own right. 102 00:05:29,610 --> 00:05:34,110 So if you are getting started with Cuban Eddys and deployment, I got to be honest with you. 103 00:05:34,170 --> 00:05:37,740 Eighty US is a really, really bad decision. 104 00:05:37,920 --> 00:05:43,740 And I really recommend you try out an easier provider first just to understand the general process and 105 00:05:43,740 --> 00:05:46,140 then you can go and take a shot at eight of us. 106 00:05:47,030 --> 00:05:48,730 So that is my opinion on eight of us. 107 00:05:48,780 --> 00:05:50,850 I'm sure there are people out there who disagree with me. 108 00:05:51,150 --> 00:05:53,850 Maybe they say, hey, learn the hardest thing first or something like that. 109 00:05:53,880 --> 00:05:59,550 But my opinion is NWS is just a very bad place to get started with Cuba Nettie's. 110 00:06:00,510 --> 00:06:01,530 So as you can imagine. 111 00:06:01,710 --> 00:06:02,670 Yep, digital ocean. 112 00:06:02,760 --> 00:06:03,720 That's what we're going to use. 113 00:06:03,990 --> 00:06:05,310 It is by far the cheapest. 114 00:06:06,180 --> 00:06:08,580 It's also extremely easy to use. 115 00:06:09,000 --> 00:06:09,900 Extremely easy. 116 00:06:10,680 --> 00:06:14,790 At some level, you're not even going to realize that we are running anything with digital ocean. 117 00:06:14,820 --> 00:06:18,960 It's going to feel like you're just accessing a company's lustre on your local machine. 118 00:06:19,050 --> 00:06:20,580 That's how easy it is going to end up being. 119 00:06:23,070 --> 00:06:24,480 Because we're going to use digital ocean. 120 00:06:24,730 --> 00:06:26,190 Let's go over to the Web site right now. 121 00:06:26,310 --> 00:06:30,360 We're going to make sure that you have an account and you get signed up for one hook up billing and 122 00:06:30,390 --> 00:06:31,180 all that kind of stuff. 123 00:06:32,060 --> 00:06:36,020 So instead of a new browser tab going to navigate judicial ocean dot com. 124 00:06:37,250 --> 00:06:39,650 And go ahead and sign up before you sign up. 125 00:06:39,980 --> 00:06:44,510 If you want to do it, you can do a quick Google search for something like digital ocean coupon code. 126 00:06:44,960 --> 00:06:49,790 And you probably are going to be all to find a hundred dollar coupon code that essentially gives you 127 00:06:49,790 --> 00:06:50,750 one hundred dollars of credit. 128 00:06:50,990 --> 00:06:52,010 With Digital Ocean. 129 00:06:52,660 --> 00:06:57,470 So if you want to pass a video, go and find a coupon code like that, click on it and then sign up 130 00:06:57,470 --> 00:06:58,940 for an account through that coupon. 131 00:06:59,720 --> 00:07:03,140 Otherwise, if you already have an account or if you just don't care about a coupon code, just go and 132 00:07:03,140 --> 00:07:05,120 create accounts and eventually. 133 00:07:06,770 --> 00:07:11,210 Well, we want to see is the main landing dashboard, which is going to look a little something like 134 00:07:11,210 --> 00:07:15,260 this, you might see a whole bunch of welcome screen or something like that. 135 00:07:15,660 --> 00:07:20,210 Basically, just make sure you create an account and get signed in as you sign in. 136 00:07:20,300 --> 00:07:22,610 You might be prompted to enter some billing information. 137 00:07:22,880 --> 00:07:23,480 And if you are. 138 00:07:23,570 --> 00:07:26,780 Make sure you enter your credit card number in order to run our cluster. 139 00:07:26,840 --> 00:07:29,430 You will need a credit card associated with your accounts. 140 00:07:30,410 --> 00:07:30,980 So go ahead. 141 00:07:31,050 --> 00:07:32,270 Do that sign up process. 142 00:07:32,480 --> 00:07:33,380 We're going to pause right here. 143 00:07:33,410 --> 00:07:37,900 And hopefully, if by the start of the next video, you'll end up at a screen somewhat similar to this 144 00:07:37,910 --> 00:07:38,390 right here. 145 00:07:38,670 --> 00:07:40,040 So I'll see you in just a minute.