WEBVTT

00:00.170 --> 00:00.740
Hey, everyone.

00:00.740 --> 00:01.830
And welcome back.

00:01.850 --> 00:07.520
Now, in today's video, we'll be looking into the lab setup for Nginx that we will be using throughout

00:07.520 --> 00:08.180
this course.

00:08.180 --> 00:09.540
So let's get started.

00:09.560 --> 00:15.860
Now, in terms for the preferred choice of Nginx installation method we'll be using or we'll be creating

00:15.860 --> 00:20.240
a new virtual machine and that virtual machine will be based on Linux.

00:20.240 --> 00:25.550
And once you have the VM ready, then we'll go ahead and install the Nginx directly on top of it.

00:25.550 --> 00:31.010
So just to revise the choices of the setup that we'll be using, the most important one is the operating

00:31.010 --> 00:31.370
system.

00:31.370 --> 00:35.810
So we will be using a red hat based OS based on version eight.

00:35.810 --> 00:41.660
So you can either make use of a CentOS eight or you can either make use of a rocky Linux eight as well.

00:41.660 --> 00:45.590
And in terms of cloud provider, we will be using Digitalocean.

00:45.590 --> 00:47.390
But this is something that is optional.

00:47.390 --> 00:51.200
You can use any cloud provider that you need or that you prefer.

00:51.230 --> 00:56.360
Now the exact operating system that we will be using in this course would be Rocky Linux eight.

00:56.390 --> 01:00.480
However, even if you're using CentOS eight, things should work perfectly well.

01:00.480 --> 01:02.490
They are very similar altogether.

01:02.490 --> 01:07.470
Now, for those who are wondering why we are making use of Rocky Linux, because this seems to be a

01:07.470 --> 01:08.340
newer name.

01:08.430 --> 01:15.030
The reason primarily because the primary support for CentOS eight CentOS is one of the most stable operating

01:15.030 --> 01:16.470
system in terms of Linux.

01:16.470 --> 01:21.690
However, the support for CentOS eight got reduced to December 2021.

01:21.690 --> 01:25.110
So this was an unexpected move by Red Hat altogether.

01:25.110 --> 01:29.490
So the stable alternative for the Red Hat is now rocky Linux.

01:29.490 --> 01:34.410
In fact, Rocky Linux is led by the founder of the CentOS project himself.

01:34.410 --> 01:40.440
So this is considered to be a very stable release, which is an alternative to that of CentOS eight

01:40.440 --> 01:43.770
specifically for that of the production environments.

01:43.770 --> 01:49.260
And this is one of the reasons why we will be using the Rocky Linux eight for our course.

01:49.260 --> 01:56.400
And if you go a bit down, this is backed by most of the popular providers like AWS, Azure, GCP,

01:56.430 --> 01:57.060
et cetera.

01:57.060 --> 02:02.490
And you will see Rocky Linux image available for all of the major providers as well.

02:02.790 --> 02:09.540
Now the second important criteria here is the cloud provider and the preferred cloud provider that we

02:09.540 --> 02:11.760
will be making use of is Digitalocean.

02:11.760 --> 02:17.430
Now, again, one of the question that comes is why Digitalocean instead of AWS or even other popular

02:17.430 --> 02:18.180
cloud providers?

02:18.180 --> 02:20.190
So let's quickly look into it now.

02:20.190 --> 02:26.160
One of the great benefits of Digital Ocean is that it is very straightforward for new users to go ahead

02:26.160 --> 02:32.910
and quickly create new servers in the cloud without much complexity and at an affordable cost.

02:32.940 --> 02:39.480
However, the primary reason why we are going to make use of digital ocean is because of the free credits

02:39.480 --> 02:41.460
that the service provider offers.

02:41.460 --> 02:47.160
So Digital Ocean offers a credit ranging from 50 to 100 USD for new users.

02:47.160 --> 02:52.860
So essentially, if you are making use of it, you can complete this entire course and even a few more

02:52.860 --> 02:56.400
other courses within the credits that you receive from it.

02:56.400 --> 02:58.080
So let's quickly look into it.

02:58.080 --> 03:03.870
Now, if you would look into the digital Ocean website, the virtual machine starts with just 5 USD

03:03.900 --> 03:04.800
per month.

03:04.890 --> 03:06.630
So let's quickly explore that.

03:06.630 --> 03:14.520
So if you just use a regular Intel SSD, one GB Ram, one Vcpu with one TB of data transfer and 25 GB

03:14.520 --> 03:21.570
of SSD disk just cost you $5 per month If you go ahead and terminate the instance before a month, you

03:21.570 --> 03:25.140
will be charged even less because this follows an hourly pricing.

03:25.140 --> 03:32.670
So even if you do not avail the credits that digital ocean offers, the overall cost is much more reduced.

03:32.670 --> 03:34.080
So this is one advantage.

03:34.080 --> 03:36.660
And the second advantage here is the credit.

03:36.660 --> 03:44.280
So if you would see currently Digital Ocean is providing 100 USD of credits altogether and in fact we

03:44.280 --> 03:50.310
are using Digital Ocean even for our other courses, specifically the Kubernetes and Splunk course where

03:50.310 --> 03:56.490
the users are deploying a highly available Kubernetes clusters completely free based on the credits

03:56.490 --> 03:58.140
that they have received.

03:58.140 --> 04:04.020
And this is the reason why we'll be using Nginx at a later part of this course when you will be using

04:04.020 --> 04:10.230
various Nginx features like load balancing reverse proxy where you need multiple servers for following

04:10.260 --> 04:10.800
the setup.

04:10.800 --> 04:13.200
The credit will prove to be very useful.

04:13.200 --> 04:19.080
Now again, one important part to remember here, this is not an advertising video for Digital Ocean.

04:19.080 --> 04:23.520
I personally use it extensively and this is one of the reasons why I recommend it.

04:23.550 --> 04:31.350
However, in case if you would want to use any other cloud provider like GCP, Azure, etcetera, you

04:31.350 --> 04:32.280
are free to use.

04:32.280 --> 04:38.310
Only primary thing that you need to note is make sure that you use a matching operating system choices.

04:38.310 --> 04:44.310
If you make use of Ubuntu altogether, then there is a certain difference in terms of the installation

04:44.320 --> 04:46.920
command in terms of the directory structure of Nginx.

04:46.920 --> 04:52.380
So the recommended operating system is CentOS eight or rocky Linux eight to begin with.

04:52.380 --> 04:55.920
So this is the high level overview about our lab setup.

04:55.920 --> 04:59.820
I'll also be posting the link of referral which you can use.

04:59.860 --> 05:05.320
To claim the credit and also get started in case if you would like to use Digitalocean.

05:05.320 --> 05:08.320
So with this, we'll conclude today's video.
