Placeholder Image

Subtitles section Play video

  • please go to the line the computer guy dot com, in order to view schematics, code and Maur for the projects that you are learning about.

  • Welcome back.

  • So today's video I want to talk about client server architecture in regard to client computing infrastructure.

  • So it is important to understand when I start talking about architectures where, whether I'm talking about client server architecture or service oriented architecture or server less architecture, these are methodologies for building out your infrastructure.

  • Don't get too hyper focused on the specific definitions of this thing, that thing or the other thing.

  • Basically, this is a way of looking and thinking about how to build your infrastructure and then from that concept, you will then go out and you will pick the technologies and you'll pick the specific products in order to build the infrastructure that you think will be good for your organization.

  • A lot of new people, whenever they first get into this, and they first started learning about architectures, they think it's they think it's, you know, 100% 1 thing or 100%.

  • Another thing that basically it's some kind of binary issue.

  • Either you have a service oriented architecture or you have a client server architecture or you have a server less architecture.

  • In reality, the fact of the matter is you're gonna have some client server stuff going on.

  • You're gonna have some service or into going on.

  • You want to maybe possibly have some several is going on, and then there's gonna be a couple of other architectures out there that will kind of get mission mash and all just kind of squeezed together into whatever infrastructure that you have built.

  • So whenever we're talking about these architectures, don't get hyper focused on any one thing.

  • Basically, this is a methodology.

  • It's a way of thinking about how you're going to be building your infrastructure so that once you have that idea, you're like Okay, yeah, this is how these things should work together.

  • Then you start figuring out the technologies that will actually allow that to happen, and then you figure out the products that will then implement those technologies to make all of that happened.

  • So we're talking about architectures.

  • This is just methodologies.

  • There's these air concepts about the ways that you're infrastructures should be designed.

  • Don't get too hyper focused on one specific thing.

  • So with this, when we're talking about client server architecture, we're talking about architecture style that's been around for a long time now.

  • And basically, this is the standard architecture style that you will have dealt with on your local area network.

  • So if you've been dealing with land environments, we've been dealing with active directory environments.

  • You've been dealing with old school e mail with extreme server environments.

  • That's the old client server architectures.

  • Basically, the idea with a client server architecture is that you have a server.

  • So you have a physical server.

  • That physical server has a server operating system on silent on it.

  • And then that operating system has specific service is installed on an operating system.

  • So think about active directory or extreme server FTP server.

  • Rounding a revote were crowding and remote access server, which is the VPN server.

  • The Microsoft World.

  • Right.

  • So think about that.

  • Basically, you have the sir, you have a physical server.

  • You have the operating system, a server operating system installed on the physical server and then on that operating system.

  • Then you have service is that will then be be provided to the clients on the network.

  • And then when you go out to the client computer, the client devices so compliant computer could be a laptop computer desktop computer.

  • Could be a laptop computer.

  • Could be a smartphone.

  • To this point, who knows?

  • Maybe a smart launching this point basically, have some computer that's a client computer that then has an application installed on that client computer that is able to communicate back to the server and be able to access the service is on the service.

  • That's why we call it a client server architecture.

  • You have clients.

  • You have client computers that have an application installed on them that are able to then get service is from the server computer.

  • And that's basically how networking has been built for a long time.

  • And so you're going to be dealing with this one way or another for a long time to come.

  • Now, one of the big things that's different about client server architecture versus some of the other architectures when you're thinking about designing this or when you have to maintain it, is that you have to deal with all of the equipment.

  • All the service is all the systems that allow communication happen between the client computers and the servers.

  • So when you're dealing with some of the other architectures out there Ah, a lot of times you really don't have to worry about the networking.

  • You don't have to worry about firewalls.

  • You don't have to worry about those types of things that has already been built into how the communication is supposed to happen.

  • Whereas when you're dealing with client server architecture, you're going to have to be dealing with everything.

  • So basically, you're going have a client computer, so that client computer is gonna have an operating system on it.

  • They're gonna have to make sure that's working properly.

  • Then it's going to have the app or the software on it that's gonna be communicating with server.

  • So you have to make sure that's working properly, and that's configured properly.

  • You have to have the server with a server operating system.

  • With the server, service is installed.

  • So again you have a physical server.

  • You have what's a server 2012 and then you have exchange servers.

  • You'd have to make sure extreme server and all of those things are configured.

  • Then you have to make sure things such as the firewalls, the ports and the firewalls are open of being able to to route traffic from the client computer to the server.

  • You have to make sure that can happen.

  • So if its internal to your local area network, you have to make sure the client computer on the servers are on the same sub net or that there was routing.

  • They're they're able to be communicated with through routers if your client computer is actually outside your land.

  • So let's say it's a remote work or something like that.

  • You have to set up the way that that remote worker is actually able to connect back to the server within your environment.

  • So whether that's through something like pork forwarding within a firewall or whether it's setting up VP and access right, all of those things have to be considered to make sure that your client server architecture works how it's supposed to work in the real world.

  • Back in the old days, 13 years ago or so, I was doing some work with a company on, they had a lot of remote workers, and one day they just got started getting inundated with help desk calls.

  • Basically, the VP and the service was no longer working, so they had a round in a remote access server within their environment and all their their their users, they're remote.

  • Users were able to connect to the internal environment using VPN to connect to that routing remote access server.

  • Well, where a weird thing happened, quirky thing happened.

  • As they say, Comcast, out of the blue blue decided to shut off the V p.

  • M port for residential clients.

  • Comcast just one day decided, Well, you know, residential clients, they don't need VP and access.

  • We're simply going to turn off the VP in port.

  • Um And so when they shut off the V P import over the Comcast network for the residential clients, all of our remote workers that used calm castes who no longer connect to the VP and service that they have a VP and client on their system, there's a VPN server that allows them access to the internal network and then they actually have to communicate over the I S.

  • P.

  • Since the Iast he decided to show off that particular port this service all just stop working in the blink of an eye, and that was just that was about it.

  • An amusing week.

  • And so that's something you have to be thinking about with clients.

  • Service architecture is you're not simply responsible for configuring the service.

  • You're not simply responsible for configuring the client.

  • You're responsible for everything that is required for the clients to be able to communicate with the server and make sure all that happens.

  • And so that's one of problems you can run into is if your eyes P just decides that we're gonna close a port, then you can run into a lot of major issues.

  • So that's one of things to really be thinking about what we're talking about, the client service client server architecture and why this is a little bit different than some of the other architectures.

  • So you may be sitting there thinking, Well, you know, if client server architecture is old and I'm young, so I don't want to deal with old stuff, why would I?

  • Why would I even bother with client server architecture anymore?

  • And the reality is there, and it is as you will bother with clients over architecture for the reason all of us deal with incredibly old crap that should been thrown in the trash years ago.

  • It's called legacy infrastructure.

  • So what legacy infrastructure means is all the crap that was built before you that basically the executives don't want to replace.

  • Remember, when you're dealing with executives, when you're dealing with managers in your company, they will be willing to spend money and possibly a lot of money.

  • To get better service is to get better performance to get something.

  • Maur.

  • They're not going to spend very much money to basically replace exactly what you already have with something else that provides the exact same thing on Lee.

  • The architecture is different, right?

  • So basically that that's one of the big problems is let's say you coded something way back when and PHP So you have a lot of code running and PHP you realize, Oh, you know, this would be so much better if it wasn't node.js.

  • So you think Hey, I'm gonna migrate all the code from PHP to node.js.

  • You go the executives and you say, Hey, I want to spend this much money migrating the code and they say, Well, why?

  • What additional thing are we going to get by having this written and node.js versus PHP, you go well.

  • It will be a little bit easier for the coders to know.

  • And it's a modern language Allah and basically, executives are going to say, So you want to spend all this money to essentially get exactly what we already have?

  • No, we will spend money on something else.

  • And so that's why you're going to be dealing with client server our protection for a long time to come simply because it is.

  • It is a legacy if you're dealing with large corporations or even medium sized organizations and companies, The fact of the matter is, they already have a client server architecture.

  • They already have their client computers communicating back, most likely with their their Microsoft servers.

  • And you're going to keep that going because it is easier to maintain and build off of what has already been built versus trying to start again from Square One is that's one of reasons why you're going to be dealing with the client server architectures now.

  • From that point, though, one of things you can start doing is you can start thinking about how you can start bringing the cloud into your client server architecture how you can start migrating so Miss Service's off onto the cloud and that type of thing.

  • Eso, let's say with with email service, is so you may have outlook, so outlook is installed on your Microsoft client computers, and then you have exchange server on one of your Microsoft servers.

  • And so again, that's a client server architecture.

  • That right there so one of things you might start thinking about is like, Well, you know, there's a lot of vulnerability with having one or two exchange servers.

  • This is big problem.

  • There's a lot of costs for maintenance and all that.

  • What about if we migrated that up to office?

  • 3 65 So Office 3 65 is Maur.

  • I would argue more like a service oriented architecture type thing is a service that's being provided for you.

  • It's a software as a service model on DSO.

  • That's one thing.

  • You may look at a go, you know, instead of instead of upgrading to the next exchange server, which may cost us $50,000 servers plus all the labor to migrate up to the next version Exchange server.

  • Why not at that time.

  • Wine only mark my great office over the office 3 65 or the female premium Siri's or something like that to basically get rid of this vulnerability of this server that we have in our environment.

  • So that's something one of the things that you could be thinking about beyond that again, we start thinking about the whole client server architecture.

  • You start thinking about things about like, Well, where would be the best place to really put a server right?

  • Having a physical server with in your local area network is that Is that really the wisest way to be?

  • Providing service is to your to your clients, possibly simply doing something such as turning your physical server into a virtual machine, turning into a virtual server on, then running that within a hyper visor within your system or possibly up on the cloud.

  • That may be a better way to provide service is for your users than what you're currently using or even go with.

  • The whole medal is a service where you started thinking about, you know, like, well, do I really want to spend all this time and money having our own server room in our environment.

  • Or would it be better to migrate the servers that we have up onto the clouds basically purchased a dedicated server, migrate the service's and the data up to a dedicated server and then figure out how the architecture should be built that way?

  • So these are some of the things to be thinking about the whole client server architecture.

  • And then, as you start going into the future, not just simply again because his legacy, I mean, you don't have to upgrade everything.

  • So something's got me thinking about as well.

  • Maybe we should migrate to office 3 65 Maybe we should migrate to something else.

  • Then you could be thinking about Should you should you turn some servers and virtual servers instead of having his physical servers?

  • Should you move some of the physical servers from your environment up into maybe a co location facility or rent a dedicated server somewhere, that type of thing.

  • So these are some of the things to be thinking about if you're dealing with a client server architecture and think about going into the future with it.

  • So with what I have said, let's go over the white board for a second.

  • I just want to draw out a couple of examples of ways to be thinking about your client server architecture and how you might want to think about building this going into the future for the modern world.

  • So in the old days, client server architecture worked very well, cause more or less everybody was in the same building again.

  • For a lot of younger folks out there, you may not realize this, but D S L broadband connection really did not start coming into its own until 2000 or 2001.

  • Eso most people simply did not have the ability to do things like VPN access into somebody else's land.

  • Mobile phones, mobile devices.

  • They really have only come into their own within the last 10 years.

  • And so, basically, if you go back and you look at the architecture's and the infrastructure is that we were building not that long ago, uh, the idea was everything was in the same building.

  • So you have your servers that are in the building and you have an active directory server.

  • You have an email server, no file server, and then you have your your host computers, your your client computers and on your client computers you have, let's say Windows X P installed and that allow you to connect to an active directory server.

  • You have outlook install that will allow you connect to on email server, and you have the file transfer protocols and all that kind of stuff installed.

  • And so the thing Woz Why why the client server architecture works so well for so long is because everybody was basically in the same building.

  • Eso all of your servers were connected more or less 21 switch or less to one sub net.

  • All of your client computers were more or less connected to the exact same switch, more or less on the exact same sub net.

  • I have to say more or less here because you could get a little bit complicated with routing and all that kind of stuff, but more or less right, everything's in the same building.

  • Everything's on the same sub net.

  • Everything is on the same switch.

  • And so having your systems be able to communicate to the servers was relatively easy.

  • Uh, the other thing to think about is basically everybody only had their one computer, so everybody had their one desktop computer, and that is it.

  • So now, in the modern world, you have a desktop computer and your laptop computer and your tablet and your phone and your wife and a lot of devices that are synchronizing information back and forth.

  • Well, in the old days realize that just wasn't the case.

  • Basically, you had your desktop computer, and that was it.

  • The other thing is, back In the old days, everybody basically used the exact same software again.

  • If you were running a server, you were running Microsoft.

  • Whether it was went in t 40 our Windows 2000 or Windows 2003.

  • Basically, everybody ran the exact same server software.

  • If you had a client computer and you were doing email more or less, everybody used outlook.

  • So it was a nice, simple, easy to understand, easy to maintain infrastructure where everybody used the exact same crap and everything was on a relatively simple network.

  • And so that's the old old world of the client server architecture.

  • Now, as we start moving in the few into the future, let's say it starts getting a little bit more confusing.

  • So we start going to let's at the 2005 time frame again.

  • Then we still we have your servers and you had your client computers.

  • And this is these things they're communicating normally, like they always d'oh.

  • But then about by 2005 remote working becomes a rather normal thing.

  • Now, this is not necessarily even telecommuters the way you think of telecommuters.

  • Now, uh, things like on the road.

  • Salesforce's eso cos I worked for had a lot of sales people.

  • They would be out trying to close deals.

  • And so when they are out, you know, out in the real world and they're trying to close deals, they need to get email access.

  • They need to get all these things they need access to the servers within their facility from from the outside.

  • And this is where when you started in with his client server architecture, it starts to get a little bit more complicated.

  • Because remember, you're responsible in this world Not yes, for the servers, but for the servers for the client computers and the application's installed, plus things like networking, right.

  • So basically, if you have these people that are out on the road.

  • They have to connect to the Internet three I s P, whether it's rise and request a t and T or whatever.

  • And from there, they have to go from the cloud and actually be able to get to your servers.

  • So for this, you have firewall rules to be thinking about.

  • You have routing rules to be thinking about you have Ah, do you wanna have VPN access?

  • So they're gonna be communicating with your internal servers using VPN.

  • Are you going to be doing something like pork forwarding?

  • Right.

  • So even something like an email service.

  • So if you have outlook, if I have outlook installed in my client computer and it needs to communicate with the exchange server in the facility, then not only do I have to worry about outlook, and not only do I have to worry about the extreme server, but then I have to set up something called a rounding and remote access servers.

  • That's a VPN server.

  • So with that, that's the Microsoft version of virtual private networking, and so then that will give me the tunnel that will then be able to get me into the internal land so that I could do things such as email service and file and print sharing in that type of thing.

  • And so this is where let's say about the 2005 time frame, the whole client server architecture of starts to become a lot more complicated because as you have Maura and more and more and more and more people working outside the main facility, not only do you have to figure out how they can gain access to the servers, but then also, you have to worry about hackers, right?

  • So every person you allow access into your local land that is a possible vulnerability where some hacker can come in and try to target.

  • Try to compromise your systems.

  • Um, and so that's where we start.

  • We start working.

  • That's where he's looking around in a remote access.

  • We start working some other things, then we get to, let's say, the modern world.

  • So let's say we get to the 2015 and beyond, And so now we have the facility.

  • Let's see, you have some servers in there, But then one of the problems is is even for your internal users.

  • So you have all your internal users, but those internal users now they have a desktop and they have a laptop and they have a tablet and they have a phone.

  • And so this user may send an e mail from his phone and then read the response from his desktop computer and then replied in that response from his tablet.

  • And then you have to be thinking about how these different devices are gonna be communicating with these servers, right?

  • The desktop computer is going to be communicating internally, but your smartphone that may be using an L T E connection.

  • So it's actually going out to the cloud and trying to communicate internally.

  • And so this is where things just start to become really complicated, and you have to make sure that all the data amongst all of these devices synchronized so everything everything is is at the exact same place.

  • And then you have the users that are in the outside world and you start running into a lot of issues.

  • And so that's where it becomes easier for a lot of people to start using cloud service is again some things like office 3 65 or Gmail or some of these other things, so they don't have to worry about the route.

  • And they don't have to worry about the fire while they don't have to worry about the worry about the port forward.

  • And they don't have to worry about all of these devices and possible vulnerabilities, because that's one thing to be thinking about to in the old fashioned land, a local area network infrastructure with the client server.

  • Architecture is before the I T department had control of everything right I owned, I owned your computer.

  • I literally owned your computer.

  • Like, literally, the company owned your system.

  • So I told you, what operating system you're going to use?

  • I told you what you were able to install.

  • I put security policies, right.

  • So I was able to lock down your particular computer.

  • And so that was good from a security standpoint.

  • But the problem we get to nowadays is what happens It you have an android phone.

  • You haven't android phone that you want to be able to communicate with the office email service is, but the company doesn't actually own your android phone.

  • Your company doesn't actually maintain your android phone, so what happens if you download malware into your android phone?

  • You then use a VPN connection to get into the internal network, the internal land, and then that malware that you installed starts doing a nasty crap to to to the servers that we have.

  • So these are some of the issues that you start running into with a client server architecture and things that you need to be thinking about with.

  • How do you actually want to build these things out again?

  • That's one reason why you might want to do simple things, such as move some of your servers just up to the cloud, so metal as a service, as we talked about before.

  • Basically, this is where you can rent physical servers in other people's data centers, or again, even, just simply go with a cold location facilities.

  • So certain things you can start thinking about even if you're stuck with the client server architecture is if you worried about your land right, you're like, OK, I've got these people in the outside world.

  • They're gonna be trying to connect two servers.

  • I'm worried that one of them will have malware or something installed on their system.

  • and then that might compromise my land.

  • So one of things I can think about doing is I can move servers up onto the cloud.

  • So the servers that these people will need access to I can move them up into the kind of cloud echolocation facility.

  • Metal is a service, something like that.

  • And then basically Aiken, then trying to firewall those servers and segment those servers off from my local area network.

  • So let's say, if an email server or a VPN server and FTP server something like that gets compromised up in the cloud, then if you have firewalls.

  • If if there's a level of separation between your land and the cloud infrastructure that you've built, hopefully there won't be able to compromise your internal network.

  • And so these are.

  • These are some of the things just just to be thinking about and considering even if you stay with a client server architecture ideas about how how can you do things to make that architecture more secure?

  • How can you segment it more?

  • That will be very valuable?

  • Going to the future is people have Maura and more and more devices and trying to control over all of those devices becomes ever more complicated.

  • So those are some things that think about with client server architecture, respect, especially as you start looking at building out of cloud computing infrastructure.

  • They're going to be dealing with client server architecture again because it is legacy because it was built a long before you.

  • And frankly, it will be around long after you.

  • You can't fight inertia.

  • A nurse.

  • A will win for the most part, but well, you can do is you can try to start moving things into the proper direction again, going from extreme servers of office 3 65 trying to do specific things in order to make your infrastructure ah, work better and possibly cost your company less money being more secure.

  • So on and so forth We're talking about client server architecture were simply talking about the old architecture of you have a client computer.

  • You have the software installed on that client computer again, something like Outlook that then is able to communicate back to a physical server that as a server operating system that has a server service and stole on it, something like Exchange Server.

  • So my outlook client is able to communicate with my exchange server.

  • The Experience server is able to receive e mails from the outside world, and then it routs them to my client.

  • When I want to send or respond to emails, I'm able to write that on my client.

  • That then goes to the Extreme Server and Extreme Server is weapon around set out to the outside world again.

  • This isn't a system and architecture that has been around for a long time, and it works very well and rather simplistic environments when everybody is Maur or less in the same building when everybody is Maura, unless on the same network, that type of thing, when everybody more or less is using one or two possibly devices.

  • Client server architecture works absolutely great.

  • That problem that you start running into is as you start, have more remote workers as you have people have Maura and Maur devices trying to communicate with your servers.

  • You start running into massive issues with security vulnerabilities.

  • You're on issues about again, how to route the network traffic.

  • You run into weird issues again with I S P s and that type of thing.

  • And that's why client server architecture at this point in time can become really frustrating.

  • And that's why a lot of people are then moving to cloud service is just because it's just a hell of a lot easier to deal with.

  • Why worry about the CPU fan failing on your exchange server when you can simply use office 3 65 and it's gonna keep doing what you're doing?

  • I know some people out there.

  • Where are you?

  • Are you?

  • Gmail fails every once in a while, you know.

  • You know, I don't know if I can accept the male family office 3 65 going down for a couple of hours.

  • I'll say, I'll say with this is with female on office.

  • 3 65 We see them go down for a couple of hours.

  • You don't see the server's destroyed themselves.

  • I have received exchanging servers.

  • Go bye bye ups.

  • Hopes you mean multiple old hole drives in your raid failed at the same time, and your backups weren't working properly.

  • Oh, well, it's only five years of email for every person in the company.

  • That's not really any big deal, right?

  • And so that's the kind of thing to be thinking about again.

  • We start that truck thing about architectures and infrastructures and all that.

  • Do you really want to rely on one system?

  • Does Does that make you feel comfortable?

  • You won't have to deal with networking and all that kind of stuff that goes along with it again, dealing with ports, dealing with routing all of that type of thing.

  • Because if I have a client computer and that client has a particular I P address, it's on a particular sub net, and then you have the server that might be on a different, obviously, is different I p address, but is on a different subject ET than making sure how one is able to communicate with the other can be a bit frustrating and can run into some problems.

  • So anyways, that's a brief overview of client server architecture or some of the things that you need to be thinking about again.

  • When you start thinking about about client computing, Uh, and as a client client compute cloud cloud computing.

  • We start think about Cloud computer.

please go to the line the computer guy dot com, in order to view schematics, code and Maur for the projects that you are learning about.

Subtitles and vocabulary

Click the word to look it up Click the word to find further inforamtion about it