Friendship of Data with Cloud: Close friends or Best friends? by Dhruv Aggarwal
8K views
Nov 1, 2023
C# Corner - Community of Software and Data Developers https://www.c-sharpcorner.com #CSharpCorner #CSharpConf22
View Video Transcript
0:00
We'll be discussing about friendship of data with cloud, close friends or best friends, like, I think many of us have been using cloud
0:21
Like we must be beginners, we must be professionals, like, so we don't know the relationship between data and cloud
0:29
don't know whether they are best friends or whether they are close friends
0:33
So we'll be getting to know in further slides like what's the relationship between them
0:39
whether they are best friends or close friends. So I'm working as a software engineer at Excel Technologies
0:47
I have worked with ytics with their geeks for geeks, project pros, CFT in data science, big data
0:54
technologies as an intern, two plus years of experience as an intern
0:58
Obviously, remote working was there. We were not allowed to work in office
1:03
Also, I'm currently a AWS community builder for machine learning for a second consecutive year
1:09
Cagle 3X expert. So like in cloud technologies, we are using AWS, Azure, GCP, Red Hat also
1:17
So starting of it, the agenda would be the issues and challenges
1:24
involving on-prem system with data effectively informed decisions. Next we'll be covering major tools and technologies
1:34
in cloud that are solving the problems and why we should shift to cloud
1:39
rather than on-prem systems. Then thirdly we'll be deriving the relationship with the data and cloud technology
1:46
like whether they are close friends or whether they are best friends. Right
1:52
So starting of it, anyone of you can explain what is cloud computing
1:56
like it's obviously not computers can fly it's obviously not so do you know what is cloud
2:02
computing yeah that's a more more competitive way right so I was hoping for a slightly
2:10
more detailed explanation of how cloud computing works it's it's a magic so yeah and
2:17
it's not feels like we're a masman which i'm going and then there's an internet on the
2:22
cloud forming server it's not like that it's basically basically like and it's also not like the we are renting a car right we are obviously renting
2:32
a data center of some company we are using the virtual machines we are using using more
2:37
technologies out of it so please get this out of your mind like we are renting a car it's not
2:43
like that okay so uh yeah something winifun now it's like we are using infrastructure as a service
2:51
we are using platform as a service we are using software as a service so you must have out
2:56
heard the terms like IWS, PWS, and SaaS, software as a service
3:01
Like, software as a service involves, you know, these application security databases
3:06
Platform as a service involves application and infrastructure as a service, application security databases
3:12
Like most of the companies work directly on SaaS. Some companies work on PAS
3:17
There are only few companies which work directly on three of these, like, yeah, three of these
3:25
terminologies, right? And then we have enterprise IT where they work on all these technologies
3:30
like data center, networking, storage, server, virtualization operating system databases. Right. Then we are going to look on issues and challenges involving on-prem systems
3:41
and why companies need to move to cloud technologies. So you must have heard of like they save
3:48
a lot of money out of it, right? Security is, you know, a conflict. They can be secure
3:55
They cannot be secure. It's a 50-50 ratio because last six months
3:59
we have heard that there is a cloud breach in the security part. So yeah, then we have on-prem system that can't adjust
4:08
to the growing company needs. That's, yeah, one of the main issues is that many companies
4:12
have to scale effectively. Like, for example, we have hot star, right
4:17
You must have been watching cricket matches, like India versus Pakistan is there
4:22
So recently I was watching a YouTube video where they have explained that the viewership count was approximately 1 and 30 lakhs So why they on a single day like so they were using AWAS EC2 instance
4:37
EC2 is basically elastic compute. So the number one reason for them is that their EC2 instance have to scale
4:44
means they have to scale their compute resources. So that's a major term for our company to choose the cloud over their online
4:51
cloud over their on-prem system. Next is the cost perspective. Next is the cost perspective
5:00
Like on the server part, if we are, you know, installing server, keeping networks in our offices
5:07
like it involves a huge cost. Like we have to maintain IT team for that
5:11
keeping a check on the security part also. So that part, we just move to the AWS or GCP
5:19
and other cloud services. and other cloud services parts. So the cost gets highly reduced
5:26
Next is a huge capital expense compared to the affordable cloud services
5:31
Yeah, that's the same. Like high cause and capital expenses get reduced
5:35
The IT team we have to keep, that gets all erased. Then we have a risk of losing critical information
5:43
Yeah, so that's a major concern. If you take an example of Hot Star part
5:47
like there, the data is currently stored on the, their servers only. They're not keeping on that their on AWS servers. So this point is
5:58
being widely discussed in many conferences, especially like the security part. So it's a 50-50
6:05
rate ratio like many trust the cloud services, many not trust the cloud services. Okay
6:11
Then maintaining on-to-m system is a costly affair and time consuming for companies as it can be
6:17
monthly quarterly. So if you choose a yearly plan, or yearly service for our cloud services
6:23
we get a lot of discount on the cost perspective, right? So that's another point
6:32
Yeah, the skillability part is that the cloud is amazing. So skill we're so cloud
6:39
So that's the main point. Now we talk, now we'll be talking about security part
6:45
So data security is a major concern in cloud. that's a myth
6:51
you use cloud computing your work must be so secure yeah that security part
6:56
they give us the in return that your data would be secured
7:01
but many companies don't trust them right so now major tools and technologies
7:08
provided in cloud that are solving problem and using emerging technologies so here I have taken an example
7:14
of Google compute engine computer engine basically involved virtual machines disk and network. So anyone knows what is virtual machine
7:27
Okay, so anyone know containers, what are containers? and what's the difference between containers and virtual machines like, yeah
7:37
Do you know that? Yeah, storage and operating system also can also be there, right
7:46
Correct, correct, correct, correct, correct. Yeah. So this part, if we take on the server, we buy a server we keep in our office
7:53
So the cost perspective is a lot more, yeah, in lags and crores
7:58
So rather than buying, maintaining an IT team, which is using the Google Cloud or AW, that's your choice
8:04
Azure also offers the same service with a different name. So this service we can use
8:09
Right. Then we have a microservices part where the container part is also there
8:16
Next is that, yeah, if we need a Docker or a Kubernetes service, right
8:23
So in the Hot Star example, so Google Cloud Platform supporting Docker and Kubernetes like Boss
8:28
yeah, it can be GCP, it can be Azure and it can be AWS, anyone like that
8:33
So in the Hot Star example that I have shared, there they were using Kubernetes
8:39
Yeah, so Kubernetes as instances, containers, et cetera, et cetera. So their scalability powers was like they were able to scale much accessly Now you must have heard serverless in cloud computing right So in serverless like it not that we don have a server It not like that it just a name that have been given to serverless technology
9:05
So in that, you keep using that word, yeah. Now, config management
9:11
Do you know about conflict management? Anyone knows about config management? Some word of that, yeah
9:22
Yeah, hardware and system can be there. Yeah, hardware and system can be there
9:32
Correct, correct, correct. So yeah, serverless technologies, many have a myth like that
9:37
If you don't need config management, if you use serverless, that's completely not 100% correct
9:44
We need config management and if you are using serverless, some of it can be deduced or cannot be done, but we need that
9:54
So this is an example of N2L machine learning using cloud services
9:59
Okay, so in this architecture we have used in EC2 instance. EC2 instance is basically of AWS part
10:08
So using cloud services we can build an N2N machine learning model
10:13
we can collect the data, basically Twitter data. We have tweets, okay
10:19
We can collect the real-time data. And then we can put into the NIFI, Kafka
10:26
and we can process the data using Spark. So Spark, NIFI, Kafka are all big data technologies
10:32
that can be used. And MongoDB, this is the storage part, MongoDB, that is used as a no-SQL database
10:39
Okay? And then we can plot the data using Dash or Plotly server
10:43
So the cloud services and we are using easy to instance there
10:47
So this configuration, this architecture has a reduced cost that can scale effectively and for a team that can, if a miss happening happens, right
10:59
If a mis happening is there, so this part can be corrected easily if you put that architecture on the cloud
11:05
rather than being on a server of a company that is purchased. right so end-to-end website monitoring in dual-time on cloud yeah this service
11:16
website monitoring can also be done using only the cloud services only like
11:22
we can not we are not using any third-party application here so what is so so so
11:28
what we are doing is that we are using Amazon EC2 instance for the compute part
11:33
we are getting the website that's a website data we are using Kinesis for the
11:38
data streams and then the lambda for the serverless technologies here and then we are using
11:44
Aurora and SNS service yeah so don't we don't need any third-party service with the third-party
11:50
applications third-party software here everything can be done using cloud and the data
11:54
has a and the data has a real-time access here right okay so here okay so here
12:07
what we have done is that we have an EC, so we created an EC2 instance, AWS EC2 instance here
12:13
right? We are getting the data, that's the data source, okay? So we have, so we are getting
12:19
the data from the Twitter API, we have linked that, okay? And then here we are using
12:25
NYFA and we are using Kafka, Kafka for the collection, and I have for the ingestion of the data
12:31
Okay, and then when the data is, okay, yeah, so when the data is, is
12:37
pulled into the event stream, the machine learning model is already running there in the
12:41
backend to process the data. Then the, yeah, so the real-time data that is cutting, that is coming from the Twitter that
12:50
has a large volume. Okay, so that's why we are using Spark here
12:55
That's your choice if your data is large, you can use Spark or anything else
12:59
And that, after processing Spark Emly is a machine learning library of the Spark
13:07
We are reading the data, we are yzing data, and then after getting that, it's getting stored
13:13
into the database that can we access later on. And then we need to visualize the data It your choice if you need to visualize if you need to get the ysis of the data So we visualize the data using plotly or dash
13:29
And that's completely linked to the EC2 instance. For the EC2 instance, we are using the command line here. Okay
13:39
Does anyone have a doubt here? No. Yes, correct, correct, correct, that's the main point
13:58
We only pay for what we use. We don't have to purchase a license for a one year or a two year term, right
14:05
So that's the benefit of using APIs, that's the benefit of using Spark getting linked to the
14:10
EC2 instance. That's yeah. Okay so yeah we can also do end-to-end
14:17
website monitoring rather than we use third-party applications. We can directly use the various services of the cloud technologies. Here it's being
14:26
used only of AWS you can use you can try with a GCP or Azure. So now we
14:34
talk about friendship of data with the cloud. So it's not a close friendship like the
14:39
the Munna, Mbbs, the circuit and the Sanjad. Or the best friends like the Shole, I think
14:48
I don't remember the name. Yeah, JNVU, correct, correct, correct. So yeah, so it can be rather than a close phase or best friends, right
15:01
So, yeah, data and cloud can be close friends, and data can rely on cloud services and trust in
15:07
So in the last slide that we have seen the into website monitoring, the data is already trusting the cloud services, right
15:13
That's why the person who is doing that, framing that architecture, has already used the services
15:22
So the close friends that the data can deliver in cloud services and trust its various technologies
15:27
for its process, yeah, so data can be processed and pipelines can be built easily because data
15:33
so the data trust the cloud services, right? But for the best friends we already know
15:39
that they share everything but they don't trust. Right? So Dead and Cloud can be best friends only when they share everything between them
15:48
and specific to industry sectors. Like if we talk about ed tech sector
15:53
for the tech sector they can be best friends and close friends both
15:57
because they need to trust the services because there is a live interaction between the mentor and a student
16:04
Okay, one of, so they can't afford the breakdown of the services
16:08
services. So if there is a breakdown, the doubt so the students cannot be, so cannot be dissolved
16:16
on time. So yeah, this is for the, so that this is for the funny part, right? So we conclude
16:25
that data and cloud majorly are close friends because we have seen that in the industry
16:33
segments they both trust the services but they can't share everything. You can't build an application or a software just on the cloud services
16:42
You need third party applications. You need servers on your own. You need data on your servers as a private security
16:49
So now is the situation that they are close friends. But in the future, if the cloud is scaled, more services are introduced
16:57
They can be best friends also and you don't need a server room in your office or college or anything else. Right
17:05
So yeah. If you need the slides, you can scan the code for the future reference
17:12
Or if you want the memes, you can take that. You can copy there
17:17
So yeah, thank you. You can connect with me on LinkedIn, on Twitter
17:21
If you have any doubts related to cloud, so if you're not, then we'll be live interaction. Yeah. Yeah
17:29
No, no, close friends, like. Not best friend, we'll be close. Right
17:34
So, now underground on the same
#Cloud Storage
#Distributed & Cloud Computing
#File Sharing & Hosting
#Networking
#Web Services