Cloud Computing Tutorial | Cloud Computing Explained | What is Cloud Computing | Intellipaat

Cloud Computing Tutorial | Cloud Computing Explained | What is Cloud Computing | Intellipaat


hey guys welcome to Intellipaat cloud
computing has revolutionized the way we think about building deploying managing
and scaling our applications services and infrastructure there has been no
industry that has not been impacted by cloud computing some of the major
companies have completely moved away from on-premise infrastructure to cloud
computing but how do we get started with cloud computing and how do you become a
cloud engineer to help you understand these questions we have come up with
this video before we start do subscribe to Intellipaat’s YouTube channel so that
you never miss out on our upcoming videos now let me walk you through the
agenda for today’s video we will begin with understanding what cloud computing
is and its advantages then we will look at some of the products that are built
by cloud computing after which we will learn about deployment and service
models in cloud computing most which we will get some hands-on experience on
creating launching servers on cloud providers like AWS and Azure after which
we have a good understanding about who a cloud engineer is the roles and
responsibilities of a cloud engineer and the skills required to become one
finally we would be giving you the most important interview questions so that
you can prepare and help yourself for the next interview as a cloud engineer
after going through this video you should have a good understanding about
using and building apps and services with cloud computing also guys if you
are interested in an end-to-end course in cloud computing Intellipaat provides
the training in the same and you can master all the concepts thoroughly now
without much delay let’s move on to the class let’s start off with a basic
necessity what is the salary that a cloud engineer actually earns right so
let’s talk about that so what we have done is we have basically collected data
from a lot of sites which basically do job postings we have done it from zip
recruiter via from indeed we have done from blast-off
and this is what we have seen so in the u.s. a cloud engineer an average cloud
engineer basically earns one hundred and twenty eight thousand dollars per annum
in India a average cloud engineer owns around seven lakh rupees per annum and
in the UK you have around sixty thousand pounds per annum okay so case this is an
average salary you know based on your experience let’s say you have a 10 or 12
years of experience in the IT domain and you plan on to shift on to the cloud
sphere in that case you might even get a salary up to 20 plus lakhs per annum in
India right I’m just talking about with the limited experience that I have so I
have friends who have salaries for 25 plus lakhs per annum but that given that
they also have a very strong background in the IT domain right I also have seen
people who have basically shifted from non IT domains and they are started in
the cloud fear and even in that case given that you know you can implement
what you have learnt in your past experience in the cloud domain they
easily can grab a salary of around 12 to 15 lakhs based on the experience right
so this these are the two things that I talked about the other thing is it also
depends like I said on an experience and if you’re a fresher and you’re just
starting out you know and you’re thinking of basically starting off with
the cloud domain you can easily earn around 4.5 to 5 lakhs per annum if you
are a fresher given you have you don’t have any experience in the nursery and
you are just starting off as a cloud engineer in the space right so this is
the salary that you get when you basically become a cloud engineer and
based on your experience you can expect a different or a varied salary exposure
ok moving forward guys now let’s talk about the things which are important for you
to get a higher salary now how do you differentiate yourself from the people
who are also they are appearing for the same
profile and are there any interview room so what differentiates you is your
certification so what are you certified with are you certified from AWS are you
certified from Microsoft or are you clarified from google cloud now these
are the top three cloud providers in the market right now and each and every
company who works on cloud would have their product on any of these cloud
right and basically that is a reason any company who is basically expecting a
cloud engineer in their firm they would expect you to have a certification from
either of these three right and once you get certified that basically tells the
company okay so now you’re certified in this particular domain we now know that
you know cloud up till a particular proficiency and then they start asking
asking questions from that particular level now this might not be helpful for
some people who have a hybrid kind of a profile wherein they are working as a
software developer full-time and they also work on cloud for some part of
their project right but if they try to shift their domain they might get a job
even without getting certified that is also possible but usually certification
helps you when let’s say you are working in a domain where cloud is not at all
used right let’s say you’re working as a system administrator and let’s say
you’re working for a company like IBM which have their own private cloud so
what you don’t have experience in or what you cannot put in your resume is
that you have worked on AWS you worked on GCP work nas you’re on certain
projects you that you cannot put so for people like these for people who don’t
have the working experience in these domains that have AWS Microsoft Azure
and Google cloud if you are planning to become a cloud engineer you would the
first step would you you would be to get certified in these cloud means right so
once you get certified that basically tells the company even though this
person has not worked on production for these clouds this guy has been basically
certified by a parent body of the the operator for in a case let’s talk
about aw so in case of aw as a parent company is Amazon so Amazon certifies
this guy that he’s proficient in their cloud infrastructure right and this is
what the certification tells me now on this certification obviously you will
have to also do some projects that you would be doing independently and that
will have to add to your resume and that is how you will tell the company that
you are appearing for that I have done some projects in Cloud although I did
not get the time while I was working in my company in the production environment
but this is what I have done in the side time of mine right I have done these
projects and I have also got a certification from this company that I
am a solution architect or a developer or navigator whichever certification you
do right so a certification is very important and with the certification you
can expect a salary act right and the salary average salary which we have
discussed this just one thirty nine thousand is just a number but whatever
we discussed you can aim for those salaries a given you don’t have the
experience in a current company with the certification so you will have to get
certified if you want to become a cloud engineer and you don’t have their
element experience right now okay just a quick info guys if you want to become a
certified professional in cloud computing Intellipaat provides the
training on the same which covers all the concepts thoroughly for further
details check the description box below now let’s continue with the class moving
forward guys now let me tell you some of the average salaries based on the
certifications so if you are an AWS certified Solutions Architect in the US
you can expect around $130 thousand dollars per annum if you are AWS
certified developer you can expect around one hundred and thirty thousand
dollars and if you are a Microsoft Azure certified Solutions Architect you can
expect around 121 thousand dollars now all these salaries are basically the
average salary so what I can tell you is from one hundred and twenty two hundred
and thirty thousand dollars in the US you can earn once you get certified by
these companies and given you have the as relevant experience okay now you
might have noticed over here that you have something called as a Solutions
Architect or you have something called as a developer and all of these are
basically certified by AWS so what are these nowadays for the people who are
from the IT domain and if they want to make a shift to the cloud and you also
want to bring along with yours with you the experience that you have in the IT
industry what I can do is let’s say you are a developer right now okay and what
you want to do is you want to become or you want to do development in AWS with
the let’s say you have an application of node.js and you want that node.js
application to interact with some services on AWS so what we’ll have to
know you’ll have to know some SDKs you’ll have to know how to interact with
either AWS APs so all that knowledge is basically gained by a person who is a
AWS certified developer when we compare it compare him with the Solutions
Architect and the Solutions Architect job is not to code so most of the people
that I’ve trained or that I know basically our Solutions Architect the
reason for that is when they started off in in their IT journey they did not know
much about cloud and they started off as a normal software engineer or a system
admin or something like that and now for the people who don’t know coding right
and they still want to be in cloud people can easily crack the solutions
architect profile the reason for that is in the solution the architect profile
what do you have to know is how to plan things what do you have to know is how
to architect applications without happening or without knowing the actual
implementation of the code so that is what the solutions Architect profile is
but mind you is this profile is super tough as well as you progress in your
career so you will find architects who were developers before who were system
admins before they have the complete knowledge of the inside and out of the
product they can code also and they also know how to plan so those kind of people
are also solutions architect and obviously their side salary are on the
higher range if I talk about a Solutions Architect who knows coding who knows in
and out of the application and knows multiple clouds his salary can go up to 40
plus lakhs per annum as well in India right so that is the kind of scope that
you have when you get yourself acquainted with AWS it’s a journey that
you’ll have to start with right but you will even find solutions architect who
are sitting at four or five lakhs per annum and those people are basically
freshers who’ve joined the industry and they just know AWS right you will also
find solutions architect who are on 14 or 15 Lakhs based on the experience that
they had and now they have shifted to cloud so based on your experience you
can go up the ladder right the silly certified Solutions Architect as you see
it is just a certification but what matters is what experience you’re
bringing to the table and that that just makes everything change or that makes
the rice tolling when you are basically applying for the job okay moving forward
guys now let’s talk about what is the cloud engineer also we have talked about
why you should be a cloud engineer where I talk to guys about we have talked
about the money aspect let me also give you one more aspect guys that forbes
or some independent body we are gonna discuss about it in the future in the
next couple of slides but they have predicted that whatever revenue cloud is
owning right now in 2019 by 2023 that revenue itself off the whole cloud
industry is gonna double right so that basically means whatever number of job
postings that I’m gonna show you today they are going to basically double or
triple by the Year 2023 or 2025 right so that’s the kind of growth that cloud is
gonna see in the future and if there is any time to shift to the cloud domain it
is right now right so if you are thinking about moving to the cloud
domain or if you and are intrigued with what cloud is and
your job in the cloud domain right now is the time that you should migrate from
your current job role to cloud right now what will you do when you become a cloud
engineer what exactly will be your role let’s discuss that now there is a cloud
engineer or like for my friends who are not acquainted with what cloud is this
cloud is nothing but in the most simplest terms possible it is the use of
remote servers on the Internet ok so if you have remote servers on the internet
and you use them from the comfort of your own laptop you are basically on
cloud you’re basically using servers which are not there in your premises you
are not you’re using servers which said away from you so that means you’re using
the cloud so don’t get confused what cloud means cloud basically means you
don’t know where the server exists you just have an IP address you have the
username and the password and you just type that in your you can see the
desktop of that machine and even put do anything you want that is cloud right in
the most simplest terms but it gets a little complex when we talk about so I
talked about a server that you would be existing on cloud that you can connect
with right now you have specialized servers in cloud which can do a
particular task for example you have back-end servers you have front end
servers you have database servers and you can do a mix and match of these
servers and create a whole ecosystem of applications around you so this is what
a cloud engineer knows he knows how to use the services provided by a cloud
provider in the best in the most optimal fashion possible and create a highly
available and highly reliable application out of it right
just a quick info guys if you want to become a certified professional in cloud
computing Intellipaat provides the training on the same which covers all
the concepts thoroughly for further details check the description box below
now let’s go continue with the class doesn’t matter
if you quote the best application in the world but if your infrastructure is not
supporting your application you won’t get the kind of performance you want out
of your application right and that is exactly why you need cloud engineers
because they know how to deploy your application they know which server to
deploy it on or which service to use it on use on cloud Rider deploy a
particular application if I were to give you an example of how
it works from the top of my mind is there are two back-end languages are not sure
if everybody of you would have heard of it but just here to the example and you
know what I’m talking about so there is a plan with programming language called
PHP and there’s a programming language called nodejs now note JS basically
works on single thread while PHP works from multi thread right so what happens
is when you have to choose between PHP and node.js for your application let’s
say you work in a company and that company has made an applicant
development team has made an application and now they come to you asking or they
are planning to make an application and they come to you asking which
programming language should we use should we use PHP or should we use
node.js now you as an architect you tell them that you know if you’re using PHP
it’s a multi-threaded language if you use notice that the single threaded
language now this is something that you will find in any of the documentation
but what needs to what in what an architect needs to know is what are the
advantages of using single trained language and what are the advantages of
using a multi thread language when you use a single thread language you cannot
give that language processing intensive tasks for example if there is one task
that requires a lot of processing that would not function well on node.js given
it’s a single threaded language right while on PHP if there are multiple
threads which can run at a single time that particular language can accept
process you know an application which involves a
lot of processing right but if your application does not have that much of a
processing it’s just about doing crud operations on databases right in those
kind of scenarios you can use node.js because it performs way better than PHP
now this knowledge which I just told you isn’t knowledge that an architect should
know right or a person who is handing a team or who’s gonna deploy or
application of a particular infrastructure or in a particular
environment should know and this is similar to this knowledge in
infrastructure a cloud engineer should also know right for example if my
application is process intensive it if it requires a lot of processing how much
of RAM or how much of CPU would a single server require that I have to plan which
service on the cloud like for example in AWS there are three type of compute
services mainly right you have ec2 you have elastic beanstalk you have lambda
right so where to put which application you have to know for example lambda
requires back-end or basically does back in processing see you right so back in
part of your application would go on AWS lambda now obviously if it’s going on AWS lambda you’ll also have to make it highly available so either with lambda
handles it for you but when you talk about your front-end where a lot of
users I’m going to ping your website that task will basically requiring a lot
of scaling up and down because the traffic is not the same at every time
what I basically mean by that is let’s say you are running a company and at
around 4 p.m. you get the maximum traffic right so in that case you need a
server capacity of around nine or ten servers at that time and at 6 p.m. the
traffic drops ok at that time you don’t need those many servers so how to
configure the auto scaling properties and cloud providers right that and all
all this knowledge is what an architect gains when he basically gets certified
or you know when he roasts himself by doing work day in and day out as
cloud engineer right so there’s a cloud engineer role to sum it up is to know
what application would go on what service of the cloud and what would be
the best practices of deploying an application that is what a cloud
engineer should know right now he can work he has to work on planning he has
to work on architecting then he also has to work on managing or the
infrastructure once it’s deployed and obviously he also has to look at how we
can monitor and support this particular application all this planning all this
implementation is done by the architect or the administrator or the developer
but essentially they are known as cloud engineers and this is what your role
would be when you shift into the cloud domain so to sum it up if you are
applying the best practices and whatever principles you have learnt in cloud then
that profile would sum up to become a cloud engineer profile now moving
forward guys let’s talk about the skills that a cloud engineer should have right
so a cloud engineer or a person if I’m a company and I’m if I’m hiring a cloud
engineer I would expect certain skills out of a person so I would expect he
would he should know some programming language I would expect he would know
some Linux Kipling’s skills that he should have I would I would expect him
to have some troubleshooting skills and I would expect him to know multiple
cloud to means now this is not what I think the companies would expect this is
basically the research that we have done and I’ll show you in some human guys
some I will show you some job descriptions from companies for
basically hiring cloud engineers and I’ll show you what kind of skills that
they ask right so how do you become a cloud engineer so I told you guys some
companies expect some skills now how to get yourself acquainted in those skills
but before that let me show you actually what are the requirement in skills that
are expected from a cloud engineer so guys a job description is what we will
be looking at so in this rejection of job roles and
responsibilities that I’ll be showing you some job descriptions from multiple
companies and then we’ll sum it up and see what are the required skills which
the industry is demanding right now to become a cloud engineer okay so let’s
start off with the first Job Description so this is a job description which is by
Cisco right and they are basically hiring a cloud infrastructure engineer
and what they expect this guy to know is DevOps he should know how to resolve
customer issues that is you should be customer centric right you should know
how to deploy cloud applications on AWS you should know about VP C’s which are
basically services in AWS ec2 again a service etc right so these are the
skills that they expect from a cloud engineer you would be wondering what is
DevOps away yeah all right so I will explain that in a few moments but as you
can see these are all the skills that they expect from a cloud engineer in the
cisco company now let’s square it let’s talk about Amazon so Amazon is also
hiring a cloud engineer and what they expect is they should know
troubleshooting they should have experience with AWS Google Cloud
Rackspace software management etc they should know a programming language among
Java Perl Ruby or Python and they should have experience in managing full stack
applications right this is the expectation from a cloud engineer by
Amazon company then there is a company McAfee which I’m sure all of you know now in this you are expected to know AWS
you are expected to know as your you are expected to know Google Cloud right you
are expected to know CloudFormation which is basically a service in AWS you
are expected to know puppet ansible and chef which are basically DevOps tools
you are expected to know Python right so all these skills are required so what
I’m trying to tell you is it is not work if you just know one cloud provider it
will not work if you just know one programming language
you have to know a combination of multiple things and only then this cloud
and in a profile can be taken on okay and more and more skills and more and
more relevant you become with the job descriptions for example I’m not
focusing or not on any one company what I’ve done is I have generally taken out
skills from multiple cloud engineer profiles and then I have accumulated
them together let me show you how that looks like
so the required skills are these so if you were to sum it up if you want to
become a cloud engineer you should have knowledge of AWS your and GCP alright
then you should have a experience in any of these programming languages Python
Java go our closure I would recommend you if you are planning on to learn
programming language you should basically either learn Python or go
basically because they are huge when it comes to the demand that they have right
now you should have a little experience in linux operating systems not a little
actually i’ll say you should be an intermediate in your Linux cells then
you should also have no tools like puppet chef get darker Cuban Aries
nagaru star form etc right just a quick info guys if you want to become a
certified professional in cloud computing in telepath provides the
training on the same which covers all the concepts are only for further
details check the description box below now let’s continue with the class so
don’t get scared guys with all these big words I’m not only telling you the
problem or what all the companies expect I also give you a solution as to how you
can prepare for this ok so and you should also have an understanding of
api’s and web services ok so these are all the skills that are required to
become a cloud engineer and I would say even if you gauge around 60 to 70% of
these skills you can apply for a cloud engineer job this is basically a job
description for a generic company which is out there now how relevant you become
to become a cloud engineer is this list the more
more you know this list the more and more you become relevant and you can
apply for any cloud engineer job as you move along okay now let’s talk about
what are the skills that we have summarized so I’ve told you guys that
you should know links so first off when you start on the journey of becoming
clouded in general you should start off by learning Linux if in no loops you can
skip this but if you don’t know Alex first
you should learn this right then you should start off with all the cloud
providers that is a SS as you’re ng CP you should start learning that once you
are done with Linux and cloud providers you now know how things work on cloud
okay now what you have to know is how companies implement or upload or
basically help their development team to integrate their development tools with
clout and that is exactly what DevOps is for if I were to give you an example
let’s say there’s a developer in a company and what he knows is basically a
place where you can upload your code right for example a developer’s best
friend is basically a version control system let’s assume he is using github
right so all he knows how to code and how upload it on github but from github
how do you test that application and if the test is complete how do you make it
available on production that lifecycle is basically what DevOps caters to okay
now how does cloud fit Enda boxes when you have deployed a application on let’s
say your production server if now not if most of the companies now are basically
using cloud right which basically means they don’t have any infrastructure of
their own probably the developers machine will be there in the company but
the server on which the application is deployed is not in the company it’s on
the cloud so I think you got the idea that whenever your applications are
either getting deployed on testing server or on the prod server these
servers are nothing but these are servers which are deployed on the cloud
which could be either a WRO GCP so how to create the DevOps lifecycle on the
cloud is what you’ll have to learn and that’s why you also have the DevOps
tools as a skill when you want to become a cloud engineer then you should also
know a programming language the reason for that is I told you guys a cloud
engineers should also know how to code the reason for that is let’s say an
application stops working all right and now the developers have no clue why
it’s not working so it’s your job to understand the code and understand where
exactly the problem is occurring and that’s why it is recommended that you
should know a programming language otherwise if you are planning to aim for
the cloud developer role in that case what you will be doing is you basically
will be implementing your application with the cloud right and if you’re
integrating your application with the cloud which basically means you have to
interact with the services of the cloud then you have to know how to implement
SDKs right in a programming language and that exactly would be covered when you
know a programming language right and finally because today in this today’s
world we are no longer working with monolith monolithic applications what
are monolithic applications there is no one code which will basically run my
whole application you basically have different parts of the application
deployed separately and these different parts interact with each other and these
are what api’s are in the most simplest terms okay so if you did not get that
let me just tell you in a brief sentence that earlier all the applications had
one single codebase and they were deployed and the application used to
work but what happened was as we progressed in the software development
journey we realized that let’s say I am using you were a p– and I have to add a
feature in the payments section so I’ll have to open the whole codebase again
and I have to go to the payments section of the code and I’ll have to make
changes and then upload the whole code again this unnecessarily broke something
or the other in the whole codebase and now what we follow is a micro services
architecture and in the micro services architecture
what we do is we basically break the application into
multiple parts and then these parts interact with each other using API
endpoints right so as a cloud engineer with the modern applications that we
deploy you should also know what our API is okay so these are the required skills
for you to become a cloud engineer and you should follow this particular
fashion when you are basically preparing for a cloud engineer role okay now I
told guys how you can prepare for a cloud engineer role right now if you
were to do it on your own this is the way if you want help from us or from any
elearning company I will tell you a way as to how you can learn that as well
okay but before that before we wrap up the session I’d like to tell you there
is the present is good I mean if you want to become a cloud engine right now
it’s the best possible time you can become if you become right now what is
the future that lies in front of you it should not be like that in two three
years the demand goes down right so let me tell you the future of a cloud
engineers so there’s these are basically some statements that I have picked up
from these companies like Forbes says cloud engineer or cloud architect
referral is in the Forbes top 15 list of highest paying top tech jobs right now
right folks says around 150 140 $6,000 is the median salary for a cloud
professional which is basically a jump because when they did the survey in 2016
it was 22,000 dollars less than the figure that you see right now so as the
number of years are passing by the the obviously the inflation is also there
but $22,000 not the kind of inflation that you would see guys right it’s a
huge jump in the median salary in the average salary of a cloud engineer then
according to blast or in in the last month alone right we are talking right
now in August to 2019 so in july 2019 they were 5765 jobs posted in
just for a cloud engineer and there were 30 3272 jobs which are posted that were
in the US okay so this is the huge demand that you can see that is there
for a cloud engineer profile similarly there’s a company called can alysus so
they say AWS which is the biggest cloud provider in the market right now it owns
around thirty one point five person of the cloud market share now you would
think that you know thirty one point five is not a huge number but when you
compare it with Azure which is the second largest cloud provider it it has
on fourteen or fifteen person to the cloud market shell which is actually the
half of what AWS owns and it is the second largest flower trader Microsoft
is your honor so as you see AWS has a whole lead and the reason for telling
you this is when you are planning to learn about the cloud providers which
are basically totally three which are a double assess your and GCP you should
always start with AWS given you don’t know AWS yet right the reason for that
is once you learn in the previous and it’s a you don’t you plan on going on
with the other skills like the DevOps skills and the programming languages
skills you can actually skip Azure and GCP for a while because when you apply
for jobs 3131 companies would be using AWS 16 companies would be using
Microsoft Azure and if I were to go by memory around 8 to 9 percent or 6 to 7
percent is actually by the GCP so out of 131 companies AWS 16 companies Microsoft
Azure and six to seven companies would be Google cloud so this is the current
figure so if you go by probability you are likely to get a job as a cloud
engineer if you know in a blue s then you know if you know a Microsoft Azure
and GCP but re mission know all the three but if you were to plan as to how
to learn all the skills that we have discussed today you should start with
AWS so this point is specifically for that and finally according to report
linker so this was the fact that I was talking about
the beginning of the session that right now the cloud industry has the revenue
of around 258 billion dollars annually right so by 2023 this is going to become
six hundred and twenty three point three billion dollars that’s more than the
double of what the cloud industry is gaining right now right so this
basically just tells us how much the cloud industry is gonna grow in the
future all right moving forward now let’s talk about the
job roles that you have in cloud so I told you you can become a cloud engineer
can become a cloud engineer but actually a cloud engineer is basically a general
profile which companies post on the job portal the fitbit’s is basically built
up with a combination of job roles so what are those job roles so the first
role finding solutions architect which I told you about wherein you have to plan
you have to know the in and out of your application you should know which part
of your application should be deployed in which service of the cloud that job
is basically the solutions architecture then you have the cloud developer so
cloud well a person who knows how to develop applications and also how to
write SDKs so that the application can interact with the cloud services so
that’s a guy who is a cloud developer then you have a person who’s a sis ops
administrator’s office administrator is a person who basically manages the
infrastructure once it has been deployed by the architecture right so once the
infrastructure has been either designed or applied by the architect the system
guys job would be to implement that architecture or handle that architecture
according to the norms that has been specified by the solutions architect so
this is what does this observation interest so for all my friends who have
an experience in development and they feel that you know I want to stay in
development right now I don’t want to become a full stock cloud engineer I
basically want to be in development but I would want some of my job to include
cloud and then you profile that you’re aiming for is cloud developer for my
friends who are already system administrators and they
I basically want to scale up themselves by becoming system administrators for a
particular cloud provider they can basically aim for the SIS ops
administrator profile and for the people who want to move up the ladder they
basically have around 14 to 15 years of experience either or all Orbach
basically the from an online ID background and they want a shift in the
cloud domain you should start off with the Solutions Architect profile okay
then have some more profiles which are basically cloud network engineers so
people who are focused on just networking aspect of cloud if you want
to become a network guru then in your case you should opt for the cloud
network engineer profile and then you have the cloud of ops engineer which is
basically a profile which which basically expects you to no cloud in and
out which expects you to no devops in and out and this is basically the
profile that I was telling you about that you should aim for right you should
know all the skills that are basically expected from a person who is a cloud
engineer and basically then would become a general cloud engineer who can apply
to any company so this is the guy so your aim is this if you want to start
off from a particular point your your point would be this you become a
Solutions Architect first get yourself certified in that then work your way up
for cloud Dobson’s you know and similarly you can become a cloud
developer oSIsoft site administrator and then you can get certified in cloud
devops engineer similarly for cloud network engineer as well okay now we
discussed all the jobs which are there in cloud if you want to become a full
stack or if you if you want to implement cloud in your job I just showed you some
profiles which you get can get certified in now some of my viewers today would be
wondering like the current job that I am in right now can i implement cloud in
that so let me show you some stats so there is the top 15 tech jobs which have
the cloud related skills in the job description that is what we are going to
discuss right now so guys a software if you go by the generic job
descriptions that we see every day more and more software engineers job
descriptions are expecting the software engineers to know cloud which basically
means if you are a software engineer right now and you are aiming for the
future and you still want to be a software engineer then almost eight to
nine percent currently job description expects you to eight to nine percent off
your job description that means let’s say you have hundred skills out of those
ten skills should be in cloud right so this is what the 7.92 number means then
you have the senior software engineer profile which basically again expects
you to have around 6.7% skills in cloud software architect expects you to have
6.2 one percent so basically the aim is to show you guys that all the profiles
it is see over here although they do not coincide with any cloud profile still
they have some elements of cloud skills in their job description which basically
means most of the companies which are related to IT today are doing something
or the other thing on cloud and that’s why they expect all their employees to
know cloud right so what I’m trying to tell you from the sliders whatever
profile you are in if you want to be relevant to the industry you should know
or you should start upgrading yourself with cloud today okay then these are
some of the other profiles that you can have a look at for example a cloud
engineer profile a generate cloud engineer profile data engineer profile a
Java developer profile system engineer data scientist then a system admitted
Java developer dot name front-end will be back and all of these people they
have some element of cloud skills in the job description and that is what you
should aim for if you are currently sitting in these profiles and you don’t
have the sprout skill you should get started today now let’s go ahead and
talk about the cloud computing models right so what are the cloud computing
model what are the basically different
business models on which the cloud companies are offering their services
let’s discuss about that so there are two kind of models that cloud company is
follow one are called the deployment models and the other are
called these service models right so these are two modes of business or two
motor services that you get in cloud so let’s discuss about them one by one
so let’s talk about the deployment models first so what is deployment
models how can you deploy your applications on cloud what are the
various ways you can deploy your applications on cloud that is what
deployment models are okay so let’s discuss them so there is the first
option that you have in deployment models public cloud so what is public
cloud public cloud is basically a place wherein you have one server acts so
let’s talk about how cloud providers give you this awesome service of cloud
computing right so let’s say you as a company have launched around 20 servers
on some cloud provider right and those 20 so let’s say R of the config let’s
say 8 GB RAM and let’s say 4 core CPUs right this is the config and you’ve
launched 20 such servers in cloud now how do you think the cloud managers or
the cloud providers who are giving you these 20 servers are managing these 20
servers on their infrastructure how are these 20 servers managed on the cloud
infrastructure so for you they are 20 different servers but for the cloud
provider it’s basically like one server rack so what basically happens is
there’s a rack in which there are multiple servers which are installed ok
so each server so these cloud providers they do not have specifications like 1
GB or 2 GB RAM servers they have one server which has around 120 gig ram and
let’s say 16 core CPUs I’m just taking an example so one server of those have
this much of configuration what they do is on one of this server
they installed virtual machines so if you launched 20 virtual machines it
could be that these 20 virtual machines are there on one server of the cloud
provider I hope this this point is clear less so
what happens is cloud providers they do not you know deal in machines which are
of 1 GB or 2 GB size they buy servers which are 128 gig ram or and 16 core
CPUs this is one server for them but for us as end-users if you want a 1 GB
machine what they do is they virtualized multiple systems or they create multiple
virtual machines out of one seven and they give it to us ok so I as a company
if I have launched 20 servers it could be that I am just on one server I’m
operating out of one seven and I feel that I am working with many servers
right so for the cloud provider they are just making or maintaining one server
and I feel that I have launched 20 servers that I am working in them so
this is a basic business model of cloud and that is how they own they charge you
for 20 servers but they’re actually operating just one server right so when
you are basically on this kind of an infrastructure where in you know this
the the server that you are on it could be some other customer also have
launched their own virtual machine also on this server right so this is a public
server in which anybody can have their own virtual machine and hence it’s
called a public look ok when you compare it with private cloud what basically
happens is in private cloud the cloud provider guarantees you that the server
that your virtual machine exists on it will not be shared by any other customer
and this is basically the case with companies which have very confidential
data although the cloud providers guarantee that there will be
no you know there will be no leak of data or the it could it will never be
like if you are on the same server and you are working on one module machine
and you can see the other person’s virtual machine who are also who is also
on that server it will never happen like that but still some companies they have
to meet their data requirements they have some data policies and according to
their data policies they do not want to be on a public cloud infrastructure and
that is when cloud providers say ok so what we are going to do is we are going
to give you a separate server no other application will be deployed on a server
it will be just your machines which will be launched on this particular server so
this is one type of private cloud then you have another type of private cloud
also in which basically you your company by their own Souls right so instead of
going to a cloud provider they buy multiple servers and these servers are
then you know virtualized and they are used as if you are using a cloud
provider and this is again done because of security purposes when companies they
do not want to rely on companies like Google or Azure or AWS because they
think their data might be stolen and it’s very confidential so in that case
they buy their own server service because probably money is not a problem
for them right and from those servers they launch multiple machines just like
how the cloud providers are doing so that is also what private cloud is and
if you have heard about OpenStack that is one such software which helps you to
deploy a private cloud all right but like I said guys there are two type of
private clouds you can get a private cloud from a cloud provider as well
where in the promise you that your server will not be shared by any other
guy right and the other type of private cloud is when you buy your own set of or
stack of servers and you treat it as a cloud for yourself where you would
virtually deploy multiple servers from each server also and that is also a
called a private flower right then you have the third kind of crowd which is
called a hybrid cloud now what is a hybrid cloud in high
basically you have a mixture of public and private cloud right so that could
basically mean that let’s say you know my company also deals in confidential
data and I also want you know a website to be hosted for my company so what I’ll
do is let’s see the website accesses a database which I do not want you know to
be there on public level so what I can do is I deploy in their database on the
private cloud and I deploy my application on the public log because
obviously with the definition you would have got the trial cloud is obviously
more expensive right and my website is anyways available to the whole world so
why not deploy it on public cloud and all my confidential data can reside on
the private cloud and the right side only my website can access the private
cloud of mine so this is also one kind of deployment that you have in the
industry and this kind of deployment is called a hybrid deployment of cloud ok
moving forward guys now let’s talk about the service model so we talked about
three models in which there were three different modes of deploying our
application we had the public mode of deploying application we have the
private mode of deploying applications and then we have the hybrid mode of
deploying applications now let’s move ahead and talk about service models so
what are service models so service models are basically the services that
are giving you by cloud and you can choose which kind of service you want
for example there are three kind of services that can be given to you you
could be given infrastructure as a service by a cloud provider you could be
given platform as a service by the cloud provider or you could be given software
as a service by the cloud provider now what does this mean now we were talking
about service right so if you get a server for yourself the whole server for
yourself you’re basically getting an infrastructure right so that is called
infrastructure service so the service that lets out provider is giving you is
that it can give you machines to work on when I say machines to work on it will
launch a machine for you and you can go to that IP address you can
you’re getting the whole infrastructure you’re getting the whole machine you’re
getting the access to the operating system all right you can install any
kind of application on it and you can do any whatever you want
with that service so this is what infrastructure as a services you get a
physical machine that the cloud provider launches which you can basically RDP or
SSH into and then work then you have something called as platform as a
service so in platform as a service you do not
get access to any kind of server so if I were to take an example let’s say you
want to launch a website or you want to deploy a website okay
then there are two ways you can deploy a website either I give you a server where
you install all the required environment applications like for example you
install the webs web applications offers and then you deploy as a web site onto
it and then you go ahead and see how it is going doing you know right the other
way to do it is that I do not give you access to the server but what I tell you
is you know what this is a website or this is a app that I’ve developed all
you have to do is you just click on the upload button and you specify the
website code files that you have and then you click on deploy so what I do is
I already have servers which have the necessary software installed I’ll put
your website on my servers and I’ll give you a IP address which you can go onto
and see your website all right so in this case you do not have to manage all
the software’s which will be installed on the servers you do not have to manage
about the size of the machine that you want to launch your website on
everything is you know abstracted from you and you are basically just given an
application through which you can upload a website and which will result in to
giving you a IP address which if you want to you will see a website right so
this is what platform as-a-service of it is right so instead of giving machines
I’m giving you a dashboard where you can upload a website and then you can get
your work done so you do not have to worry about a software installation and
all I do that for you so this is the platform as a service so if I were to
give you examples for this let’s say if you guys have know about
Abe Lewis there’s an application called elastic Beanstalk in which it gives you
a dashboard you upload your website and that websites gets hosted on a
particular domain you go to that domain and you’ll be able to see your website
all right the other example that I can give you is you would have seen there
are a lot of websites which convert PDF to word right
so basically they do not ask you anything you go on that website you
upload a PDF you click on convert word your word is downloaded right so that is
I mean a platform wherein you do not have to download any software on your
system and basically then put your PDFs into it and then you get a software
software is already there on their servers just upload a PDF or there you
will get the word file that is platform-as-a-service then the third
type of service that you get is software as a service now what is software as a
service basically imagine something like this that let’s say you go to Gmail
right so when you go to Gmail you’re using the mail software which is given
to you as a service or let’s talk about Google Drive so you have Microsoft Word
you have Microsoft PowerPoint which you have to install on a system to work on
right so instead of installing everything what you do get is the same
software on the Internet as a service to you so Google is giving you that as a
service so you can use you know the Google Docs you can use Google
powerpoints you can use Google Excel sheets so all that you can use and all
that software is there on the cloud and just by going onto your browser and
browsing to the website you get that as a service to yourself so that is
software as a service so in terms of their services there are three kind of
services I will just revisit again infrastructure the service when you get
a server to work on platform as a service where you get a dashboard and
you can upload your work and see your work after that and a third is software
as a service where you don’t have to install any software on your system to
use them you basically get them from the cloud Friday
and you can use them as it is on your browser the other example for software
services CRM the Zoho CRM for example is again a popular software is a service
which you can use in your company for sales purposes or managing the courts
services etc right so these were the cloud computing models which exist out
there now if I were to differentiate between these three as you can see when
you have your own computer you have to manage everything from networking
storage servers if you have to do virtualization there in virtualization
then your operating system middleware runtime data application this is when
ioan you’re not using cloud computing right when you’re using infrastructure
as a service from cloud you get networking you get storage you get
servers you get virtualization and everything this of this sort is managed
by the vendor right you do not have to worry about it then you have something
called as operating system it’ll be a runtime data and application which when
you get infrastructure as a service you have to manage everything right every
hardware component is managed by the vendor by the software components you
have to manage when you get a server from the cloud provider when we talk
about platform as a service again everything is managed by the cloud
private till you know the runtime environment the operating system
everything is managed but only your application you will have to upload any
data will have to upload and everything else will be managed by the cloud
provider then comes soft feel as a service where everything is managed by
the vendor or your cloud provider you just have to work on it right and then
that is what a software-as-a-service is so then these were the three different
you know cloud computing models that you have
which you can work on now let’s go ahead and talk about we talked about the cloud
computing service well a lot of people a lot of companies give the cloud
computing service but now let’s talk about the companies which give these
cloud computing services to you right so if you were to get these
whom should you go to so there are a lot of cloud providers guys the top three
cloud Fridays are AWS Microsoft Azure and Google cloud right so if you if you
talk in terms of the market share then AWS is on the top followed by you
have Microsoft Azure and then we have the Google cloud platform so these are
the three top cloud providers in the market right now which basically offer
the cloud services and they offer all the cloud services that we have
discussed so far right today in this session what I’m gonna do is I’m gonna
give you a taste of how it happens on the cloud or how do you get started on
to cloud for example we would talk more relaunching servers right so how do you
launch service on the cloud so let me show you that so let’s start by going to
AWS website right so let me just skip on to my browser and let’s go to
aws.amazon.com right so I am on to the AWS website now the first thing that you
do is you log in so I already have an account if you don’t you can just click
on this orange button and then AWS account will be created for you so I
have any ws account which I’m going to log in right now so it’s the email ID
for that this and password for that would be this okay so this gives you the
AWS management console and from here you can manage your infrastructure now how
can you manage your infrastructure so I want to deploy a server so what I’ll
have to do is I will have to go to ec2 so you will click on ec2 so easy to is
basically a service which basically gives you servers to work on now as you
can see there are no running service as of now so what I can go do is I can just
go click on running instances and I can click on launch instance and now I will
be asked to choose an operating system that I want on my server so let’s say I
want the go to so okay so I clicked on the Ubuntu
server and now it is ask me what kind of specification of configuration do you
want for your service do you want a 1 v cpu and a 1 gb ram so yes probably that
would be enough then it will ask you the network preferences so if you do not
want to get into the details you can actually just leave everything at
default and you can straight away go ahead and click on review and launch so
now you can just verify if everything is according to what you want and finally
click on launch right now a good thing about AWS is guys that it gives you a
free trial for one year right so for that which basically means that for one
year you can launch service for free but only of a specific configuration which
is T 2 dot micro so that’s what I’m doing right now when you launch a new
server guys so basically you have two kind of security mechanisms in place one
is you can either login through password which is the default way to do it with
AWS it gives you a more secure way of logging in which is using key pair right
so you’ll have to create a new key pair the first time when you are creating a
server so let’s call it demo – AWS let’s download it and now let’s launch the
server okay so my server is now getting launched so it is in the pending state
it takes around a minute to launch a so let’s name this server as EWS and now we
would want to connect to the server right now how do you connect to this
particular server what you do is you need software’s like putty
right so put either SSH tool we can use which you can use to connect your server
and you also have a tool like put ijen right so you can just click on put again
put again basically converts your key file into a format which booty can
read/write it so right now it’s in the PEM format we will have to convert it
into PPK format let’s do that so we’re going to load
the girl downloads and now will have to select the Pam file now we’ll save on
the private key let’s save it on the deck store and let’s name it as demo –
us right so now I if I go to my desktop you can see that I have a PPK which is
called demo – AWS and this has just been converted by the puttygen now what I’ll
do is I’ll go to put key which is basically this particular software and
over here I will have to enter the IP address so this is the IP address of my
soul which has now launched as you can see public IP I copy this IP address and
I paste it in this petite terminal right and now I’ll select the PPK file so
which is basically on the desktop and the name is demo – aw – right
I selected I click on open and it basically says that this is a new server
that you are connecting to who are you sure you want to connect to it and say
yes and now will ask me the login for this server so I’ve launched a new bun –
operating system so the login for this operating system is Ubuntu I’ll hit
enter and now I am in right so as you can see I am inside the server and now
what I whatever I want I can do with this server so there are some commands
like I can update the system which will basically update the operating system
and then I can also launch a website over here right so let’s say there is a
sort of web application software that I can install on it which is basically a
patch of two so I can say sudo apt-get install apache2 so this is a software
which basically helps you to host websites so let me show you a cool thing
so if we go to the security groups you can see only 422 ways open as of now
when you use websites or when you want to access websites from a server what
you have to do is you have to open put right so let’s open port 80 over here
which is port HTTP right so port 80 will have to open
and who can access port 80 anywhere everyone in the world can access it
let’s click on save and right now I have not installed the software so basically
if I go to the dashboard and try to type in this IP address on the browser I
would not be able to access anything it’ll say it refused to connect right
but the moment I install the software you would be able to see that you know
my browser will show you a website which will basically be the apache – software
right so let’s wait for this software to get installed and now if i click on
refresh you can see that the apache – bun – default page we are able to see so
now this is a website which has been deployed on this server and if I want I
can also change this website I can just go to the folder where all the websites
are and now I can just you know remove the page which we are seeing on the
browser and I can add a new page and I can just write a very simple HTML code
over here which will basically show me a sample text which will say welcome to
enter a pod right and then I can close body I could
lose the HTML and now I can just save this file and if I go here and refresh
you can see I can see this website which is welcome to intel upon so this is how
easy it is to host a website with nothing but with AWS platform if you
want to do it by yourself you would have to buy a computer on which you have a
dedicated internet connection you would have to buy a static IP
address this is a static IP address right which basically means till the
time I do not shut the system down the IP address will remain the same
and everybody in the world even if you guys go to this IP address right now you
would be able to see this website right but that is not the case when you try to
host it on from your personal computer because your personal computer does not
have a static IP address you have to basically buy it from your ISP right so
this is how you deploy a server on AWS right now what I’m going to show you is
let’s see if we can go ahead and deploy a server on Microsoft with zero so I
just go here and let me enter the IP is why the email address for it right and
now let me enter the password so this is a personal account so the password would
be this right oh so let me just enter the IP
address again sorry the email address again and now you know this is my 0-4 guys so
this is how my 0-4 looks like you can see I have some services running over
here now what I do is I will launch so just like a launched in AWS so I just
could worship machines and I will click on add a virtual machine right now it
will take me through the same set of stuff that we went earlier on with the
little modifications because every cloud provider is different right so over here
I can choose you know what is the virtual machine name that I want to give
let’s say we call it as your – life okay this is my server name where do I want
to launch it in if you see in a double as I was in the Mumbai region here I can
choose which region do I want to launch it in right so let’s say I want to
launch it in South India okay then availability options I don’t want to
give any redundancy what is the operating system that I want to launch
let’s launch in a bun – server again right so what is the size of the machine
that I want to give so right now the size the machine has two CPU and eight
gig memory I can change the size right so you can choose what size do you need
so let’s say let me choose this size 1 V CPU and 512mb of RAM right so let’s
select this all right now what is the authentication type do you want to log
in through password or do you want to log in through a public key as we just
saw so let’s keep it simple let’s select password let’s give the username we have
the option of selecting our username let’s keep the username as Azure and
let’s give the password that I can remember okay it says it’s a little
small so I can just I can just give a little longer password
which can be accepted by this yes so this is accepted now what are the
inbound ports that I want to allow so let’s say I want to allow HTTP and I
also want to allow SSH because that is how I’ll be logging in right so now
let’s go ahead and click on review Plus create and this is basically what we
specified in AWS as well so it says required information is missing or not
valid okay so basics we did not select the
resource group so what happens in Azure is you can group your resources that
you’re launching so let’s put in a new group which is a SS – life right or I
can just create here heed of this so I as your – life and I can click on ok
right and now I can click on review plus create and let’s see yes so now it’s a
validation pass so everything is well can you see the pricing over here guys
it’s 50 paisa but this is in INR it’s 50.50 INR per US that’s how cheap cloud
computing can be in terms of its pricing okay so now let’s finally hit create right and now it says your deployment is
underway so it will take some time but I guess in the next one one and a half
minutes you will have your server ready and I’ll show you how we can connect to
it right so as you can see the storage status is accepted because that
basically means that the as your infrastructure is now deploying the
Azure storage it will then deploy this server and
this would be ready in just a minute so network configurations are created and
if you have a light IP which is created we the compute machine is now getting
created and now a deployment is created great so now I can just go ahead and
like what I can do is I can go to resource groups and this is my resource
group as your – life and what our blue is are to go to virtual machines right
and on my virtual machines now I can basically just go ahead and select the
IP address so the IP address is this this is the IP address let’s copy this
IP address and now let’s try to connect to it so I’ll go to potty I’ll enter
this by IP address again the same tool can be used to connect to it I click on
open it says you’re connecting to a new server is it ok I’ll say yes it’s ok so
what is the login us the user name that I gave was Azure and the password is
Azure at the rate right and I hit enter and now if everything goes well I would
be connected to my machine and I am right so now I’m connected to my machine
and again I can do anything with it so I can just update this machine again
right so this operating system is now getting updated and once the operating
system is updated I can go ahead and I can install the same software that I
actually del W which was Apache 2 and see if I can see a website just like we
the way we saw on AWS ok so while this is a bleeding let’s just copy this IP
address and let me paste it over here right so as you can see right now it
will say refused to connect and once I have installed the software here you
would be able to see that the website would be visible on this particular
screen so let’s wait for this to complete it is taking some time also
guys because probably the configuration of the server was 512 MB RAM
it could be a reason why you know this particular process is taking more time
because obviously it is a little more snow than what we had in our earlier
machines so ok let me try one thing ok so this is done let me see if it’s
updated sudo able to get update and if it was updated it should finish pretty
fast it’s a little slow because you don’t
need resources unless yes so it’s updated now let’s install the
software so sudo apt-get install apache2 and now it will install the software our little slow like I said because of
the resources so let’s give it a little time it should be ready in the next
let’s say half a minute all right I think it’s almost over I think I should have chosen our highest
peck for this machine but never mind I guess it’s almost an guys let’s wait
for it to complete okay so it’s actually complete so as you
can see on this IP address I have the Apache two page number which basically
tells me that Apache two installation has been completed it’s still doing some
stuff over here probably because it’s a little slow to update me but yes the
patches software has been installed and now if I go ahead and if I change the
you know the website by going into that particular folder I would be able to you
know have that same effect as I had in AWS so if I go to this particular folder
I just have to remove this file and I have to create one file which is going
to be by the same name and again an HTML very simple HTML with an h1 which says
welcome to in telepods right and now you would be able to see the
same thing on the browser if i refresh which is welcome to in telepath great
guys so now you have an idea of how launched servers on AWS and it’s y’all
today in this session we are going to discuss the top EWS questions that can
be asked to you in your next AWS interview so we’ll start this session by
first discussing the domains from which we have collated these questions these
domains are directly mapped to the AWS exam blueprint which was recently
updated so there is a high possibility that your next AWS interview might
contain questions from these domains so I want you to pay the utmost attention
that you can so that you can gain as much knowledge as you can from this
session all right so let’s take a top-down approach let’s start from the
simplest questions that are some generally questions on AWS that can be
asked to you in an interview all right so the first question says what is the
difference between an ami and an instance so guys an ami is nothing but a
template of an operating system it’s just like a CD that you have of an
operating system which you can install on any machine on the planet right
similarly an ami is a template or is an installation of an operating system
which you can install on any servers which fall into the Amazon
infrastructure all right you have many types of a.m. eyes you have Windows Emma
you have Ubuntu VM eyes you have sent to a CMS etcetera there are a lot of a.m.
eyes that are present in AWS marketplace and you can install them on any servers
which are there in the AWS infrastructure alright coming on to
instances what are instances so instances are nothing but the huddle
machines on which you will install am i right so like I said a.m. eyes are
templates which can be installed on machine these machines are called
instances and again instances also have types based on the hardware capacity for
example of one CPU and 1gb of machine is called T 2 dot micro right similarly you
have T 2 dot large you have T 2 dot extra large then you have io intensive
machines you have storage intensive machines you have memory
machines and all of these have been classified in different classes right
depending on their hardware capability so this was the difference between an
ami and an instance our next question asks us what is the difference between
scalability and elasticity all right so guys scalability versus elasticity is a
very confusing topic and if you think about it so scalability is nothing but
increasing this the the machines resources for example if your machine
has 8 GB of RAM today you increase it through 16 GB therefore the number of
machines are not increasing you’re basically just increasing the
specification of the machine right and this is called scalability when you talk
about elasticity we are basically increasing the number of machines
present in an architecture we are not increasing the specification of any
machine for example we choose that we require a 3 GB machine with around 8 GB
or 10 GB of storage right so any replicas which will be made or any order
scaling which will happen it’ll only happen to the number of machines
it will nowhere be related to the specification of the machine the
specification of the machine will be fixed the number of machines will go up
and down and this is called elasticity on the other hand scalability is called
is basically terms as the change of the specification of the machine that is
you’re not increasing the number of machines you’re basically just
increasing the specs of the machine for example the RAM the memory or the hard
disk etc and this is the basic difference between scalability and
elasticity moving forward our next question is
which AWS offering enables customers to find buy and immediately start using
software solutions in their a SS environment now you can think of it as
say you want a deep learning MA or you want a Windows so where am i
which specific software is installed on it right so some of them are available
for free but some of them can be purchased in the AWS marketplace so the
answer for this is AWS marketplace it’s basically a place where you can buy all
the AWS systems that you are or all the AWS or non AWS softwares that you
require to run on the AWS infrastructure right so the answer is AWS marketplace
moving on our next question would fall under the domain of resilience
architecture so all the questions that we’ll be discussing henceforth in this
domain will all be dealing with the resiliency of an architecture all right
so a customer wants to capture all client connection information from his
load balancer at an interval of 5 minutes which of the following options
should be chosen for his application all right so I read out the options for you
the option a says enable AWS cloud trail for the cloud branch for the load
balancer option B says cloud trail is enabled globally option C says install
the Amazon Cloud words logs agent on the load balancer an option D says enable
cloud watch metrics on the load balancer alright now if you think about it cloud
trail and cloud watch are both monitoring tools so it’s a bit confusing
but if you have studied it deeply or if you understand how cloud trail works and
how cloud watch works it is actually not that difficult all right so the answer
for this is a that is you should enable AWS cloud trail for the load balancer
reason being option B is not correct cloud trail is not enabled by default or
is not enabled globally to all the services option C says install Amazon
Cloud watch so option C an option D you will not even consider reason being that
you are talking about the log of the client information right what all people
are connecting to the load balancer what IP addresses are connecting to the load
balance etcetera cloud watch deals with the
local resources of the instance that you are basically monitoring for example if
you are monitoring easy to instance cloud watch can monitor the CPU usage or
the memory usage of that particular instance it cannot take into account the
connections which are getting connected to your AWS infrastructure right on the
other hand plow trail deals with all these kind of things where in client
information or any kind of data which can be fetched from a particular
transaction all of that can be recorded in the logs of cloud trail and hence for
this particular question the answer is enable AWS cloud trail for the load
balancer moving on our next question is in what scenarios should we choose
classic load balancer and application load balancer all right so for this
question I think the best way to answer this question would be to understand
what exactly is classic load balancer and what exactly is applicational
balancer all right so a classic load balancer is
nothing but you know it’s an old-fashioned load balancer which does
nothing but round-robin based distribution of traffic which means it
distributes traffic equally among the machines which are under it it cannot
recognize which machine requires which kind of workload or it requires which
kind of traffic whatever data will come to a classic load balancer will be
distributed equally among the per machines which have been registered to
it on the other hand application load balancer is a new-age load balancer
which basically deals with identifying the workload which is coming to it right
it can identify the workload based on two things it can either identify it
based on the path for example you can say that you you have a website which
deals in image processing and video processing so you can see it it might go
to in telepods comm slash images or slash videos so if if the path is slash
images the application load balancer build directly route the traffic to only
the images servers right and if the path is slash videos the application load
balancer will automatically route the traffic to the video servers and this is
application load balancers whenever you are dealing with
multivariate traffic that is traffic which is meant for a specific group of
servers you would use application load balancer on the other hand if you have
servers which which do the exact same thing right you just want to distribute
the load among them equally then in that case you would use a classic load
balancer our next question says if you have a
website which performs – scoffs that is rendering images and rendering videos
both of these pages are hosted in different parts of the West right but
under the same domain name which EWS component will be apt for your use case
among the following alright so this I think is an easy question reason being
we just discussed this right so the answer for this is application load
balancer the reason being the kind of traffic which is coming is specific to
its workload and this can be differentiated easily by an application
load balancer ok so we are done with the resilient architecture questions now
let’s move on to the performance architecture domain we will be
discussing about how to about architectures which are performance
driven right so let’s take a look at the first question so the first question
says you require the ability to analyze a customer’s clickstream data on my
website so they can do behavioral analysis so your customer needs to know
what sequence of pages and adds their customers clicked on this data will be
used in real-time to modify the page layouts as customers click through the
site to increase stickiness and advertise click through which option
meets the requirement for captioning and analyzing that’s in this data alright so
the options are Amazon SNS AWS cloud trail AWS kindnesses and AWS SES so
let’s first start with the odd one out options right so we have Amazon SNS
which leaves with notifications so obviously because we want to basically
we want to track user data right so SNS would not be the app choice for it
because sending multiple notifications in a short amount of time would not be
apt similarly SES would also not be the app choice because then we will be
getting emails on basically the user behavior and this would amount to a lot
of emails so hence it’s not an appropriate solution I think then we
have AWS cloud trail and AWS kindnesses actually both these services can do this
work but the key word over here is real-time right you want the data to be
in real-time so since the data has to be in real
you will choose AWS kindnesses slough trail cannot pass on logs for real-time
analysis kindnesses is specially built for this particular purpose enhanced for
this particular question the answer will be AWS kindnesses moving on that our
next question is you have a stand by ideas instance will it be in the same
availability zone as your primary RDS instance ok so the options are it’s only
true for Amazon Aurora and oracle RDS second option is yes third option is
only if configured at launch and the fourth option is no all right so the
right answer for this I want to think about it like this that whenever you
want a standby RDS instance it will only be there when your RDS instance stops
working now what could be the reasons that your RDS instance could stop
working probably it could be a machine failure or it could be a power failure
at your at at the at the place where your server has been launched it can
also be probably a natural calamity which would have struck your datacenter
various over exists so all of these could be reasons which could lead to
disruption in an RDS service right now if your standby RDS instance is also in
the same availability zone as your primary these conditions cannot be
tackled or these situations cannot be tackled alright so it is always logical
to have your stand by machines in some other place right so that even if there
is a natural calamity or if there is a power failure you your instance is
always up and ready and because of that AWS does not give you the option of
launching your standby RDS instance in the same availability zone it always has
to be in another availability zones and that’s why the answer is no your RDS
instance will not be in the same availability zone as your primary
instance alright so our next question is you have a web application running on
six Amazon ec2 instances consuming about 45% of resources on each instance you
are using or scaling to make sure that six instances are running at all times
the number of requests this application processes is consist
and does not experience spikes alright so the application is critical to your
business and you want high availability at all times you want the load to be
distributed evenly between all instances and you also want to use the Amazon EMI
for all instances which of the following architectural choices should you make
alright so this is a very interesting question so basically you want to run
six Amazon ec2 instances a six Amazon e zero instances and they should be highly
available in nature and they would be using and AM and of course because they
are auto scaled so which among the following would you choose so you have
the options deploy 6 e zero instances in one availability zone and ELP deployed
three ec2 shows in one region and three in another region and you zlb you should
deploy three easy two on one easy that is availability zone and three in
another availability zone and should deploy to zero instances in three
regions and use an elastic load balancer all right now the correct answer for
this would be see the reason being that EMI is are not available across regions
right so if you have created an ami in one region it will not be automatically
available in another region you will have to do some changes and only then do
some operations and only then it will be available in another region so this is
reason number one so the region options mention away get casted out because of
this reason second if you look at the first option which says deploys 6e zero
instances on one availability zone that defeats the purpose of high availability
because like I said if there is any natural calamity or a power failure at a
data center then all your instances will be down so it’s always advisable to have
your servers distributed but since we have that limitation of using an EMA and
therefore and also the limitation that it is not accessible across regions we
would choose distributing our instances among availability zones and I’d say we
have just had the option of two availability zone
right it could be three availability zones and we could deploy to two servers
in each and this would also amount to high availability all right and of
course because you want to load balanced traffic if you apply an lb on top of
three availability zones it will work like a charm regions across regions it
can become a problem right and but in availability zones it definitely works
and will work perfectly all right so the answer for this question is you would be
deploying ec2 instances among multiple availability zones in the same region
across an ILP all right so a next question is why’d we use elastic caches
and in what cases all right so the answer for this is basically related to
the nature of the service of elastic caches so elastic as the name suggests
it’s basically a cached which can be accessed faster than your normal
application for example if you talk about a database instance from you which
you are gathering information right if you are always dealing with the same
kind of query for example you’re always fetching the password for particular
users right so if you’re using an elastic aja that data can be captured or
can be cached inside elastic caches and whenever a similar request comes in
which is asking for that kind of data your my sequel instance will not be
disturbed the data will directly be relayed from elastic cache and that is
the exact use of elastic cache right so you use elastic Ashi when you want to
increase the performance of your systems right whenever you have frequent reads
of the similar data so if you have frequent or ease of similar data we will
probably be querying the same kind of data every time and basically that will
increase the load on your database instance but to avoid that you can you
can basically introduce an elastic caching layer between your database and
your front-end application and that would not only increase the performance
but also decrease the load on your database instance right so this was all
about performant architectures guys are next to mean would deal with secure
application and their architecture so let’s go ahead and start with the first
question of this domain which talks about
a customer wants to track access to their Amazon simple storage surface
buckets and also use this information for their internal security and access
audits which of the following will meet the customer requirement so basically
you want to just track access to the s3 buckets now if you want track access
let’s see what are the options so you can enable cloud trail toward it all
Amazon s3 buckets you’re gonna enable server access
logging for all required Amazon s3 buckets enable the request appeal option
to track it says via a SS billing or you can enable either plus s3 event
notifications for put and post alright so I would say the answer is e and
reason being why is the answer not be because server access logging is
actually not required when you want to deal with tracking access to the objects
present in the s3 bucket a requester pays option to access why aw is billing
again it’s not required because there’s a very simple feature of cloud trail
which you which is available to all the buckets across s3 so why not use that
and using notifications for s3 will not be apt reason being there will be a lot
of operations that would be happening so rather than sending notifications over
each and every operations it is better that we log those operations so that
whatever information we want after out of the log we can take and rest we can
ignore right so the answer for this is Amazon using AWS cloud trail ok an
excavation has imagine you if you have to give access of AWS to a data
scientist in your company the data scientist basically requires access to
s3 and Amazon EMR how would you solve this problem from the given set of
options okay so you basically want to give a particular services access to an
employee and we wanna know how to do that ok so the options are we should
give him credentials for route second option being clearly user and I am with
the manage policy of EMR and s3 together create a user in I am with manage
policies of EMR and s3 separately give him credentials for admin account and
enable MFA for additional security ok so a rule of thumb guys never give root
credentials to any in your company even yourself you should
never use root credentials always create a user for yourself and excess AWS
through that user right this was point number one second
whenever you you want to give permissions to services or permissions
of services to of particular services to people you should always create or use
policies that pre-exists in AWS right so when I say that I basically mean never
much to policies okay so for example if you if you are using EMR NSA together
that basically means that you create a policy that gives you you know the
required access in one document that is in one document you mentioned the access
for EMR and the in the same document you mentioned the axis for s3 as well well
this is not suggested reason being you have policies created by AWS which is
which are basically created and tested by AWS so there is no chance of any leak
in terms of security aspect second thing is see needs change right so if tomorrow
your user says he doesn’t want access for EMR anymore he probably wants access
for easy to write so in that case what will you do if you had policy in the
same document you would have to edit that document correct but if you create
a document separately for each and every service all you have to do is remove the
document for EMR and add the document for the other service that he requires
probably easier to you just add the document for easy to and your SD
document will not be touched right so this is more easier to manage than to
you know writing everything in one document and editing the code later to
give permissions of specific services that he requires now right so that is
something that is not much manageable so the answer for this is create a user in
I am with the manage policy of EMR and s3
separately alright let’s move on to the next question so how do system
administrator add an additional layer of login security to
users AWS management console so ok so this is a simple question the answer for
this is enable multi-factor authentication so am l – multi-factor
authentication basically deals with rotating keys that the keys are always
rotating so every 30 seconds a new key is generated and this key is required
while you’re logging in so once you’ve entered your email and password it will
not shred away log you in grow again give you a confirmation page for code
that you have to enter which will be valid for those 30 seconds now this can
be done using apps so you have a app called if you have an app from Google
you have apps from other third-party vendors as well right so these apps are
basically compliant with your AWS right and you can use them to have access to
the keys which are changed at every 30 seconds all right so it is better so you
if you want to enable multi-factor authentication it is the best way of
adding a security layer over the traditional username and password
information that you enter all right so our next to mean deals with cost
optimized architectures so let’s discuss these questions as well so a first
question is why is AWS more economical then traditional data centers for
applications with varying compute workloads all right so let’s read out
the options so we have Amazon Elastic Compute costs are billed on a monthly
basis okay Amazon ec2 cause are billed on an hourly basis which is true Amazon
ec2 instances can be launched on demand when needed true customers can
permanently run enough instances to handle peak workloads all right so I’ll
say because this question is talking about the economical value of AWS option
B and option C are correct reason being you’re charged according to the R and at
the same time you can have them on demand if you don’t need them after to
us just pay for two words and then you can you don’t have to worry about where
that server went right so this is very economical as compared to the fact that
when you buy servers and their need finishes say after one or
two use when their hardware gets outdated so it becomes a bad investment
on your part right and that is the reason AWS is very much economical in
terms of reason being that you know the ilist charges you according to the are
and also gives you the opportunity of using servers on the basis of on-demand
pricing all right so this would be the answer so option be an option C would be
the right answer for this particular question moving
further our question says you’re launching an instance under the free
tier usage from EMI having a snapshot size of 50 GB how will you launch the
instance under free usage here so the answer for this question is pretty
simple it is not possible right you have a limit on how much of size SAP search
size you can use that would fall into the free tier 50 GB is not the size is
basically a size which will not fall under the Amazon free tier rules and
hence this is not possible all right an expression says your
company runs a multi tier web application the web application does
video processing there are two types of users which accesses service Premium
users and free edition users the SLA for the Premium users for the video
processing is fixed while for the free users it is indefinitely that is a
maximum time limit of whatever it is how do you propose the architecture for this
application keeping in mind cost efficiency all right so to rephrase this
question basically you have an application which has two kinds of
traffic – free traffic and one is premium traffic the premium traffic has
an SLA that the tasks say it should be completed and say what are or towards
the free traffic they do not guarantee it when it will finish and it has a
maximum SLA of 48 hours so if you were to optimize the architecture for this at
the backend how would you design the architecture that you get the maximum
cost efficiency possible using this architecture alright so the way we can
deal with it is this is the thing called spot instances in AWS which basically
deals with bidding so you bid for AWS servers in
the lowest price possible and as long as the server prices are the in the range
that you specify you have that instance for yourself
so all the free users who are coming to this Web site can be alerted to spot
instances because there is no es la so even if the prices go high and the
systems are not available it does not matter right you can wait for the
applications for processing if you are dealing with free users but for premium
users since there is an SLA you have to meet a particular deadline I would say
you use on-demand instances they are a little expensive but I think because
Premium users are paying for their membership that should cover that part
and spot instances would be the cheapest option for people who are freeloaders or
people who are coming free on your website because they do not have any
urgency of their work and hence can wait if required if the prices are too high
for you alright so our next two main we’ll talk about operationally excellent
architectures so let’s see what all questions are covered in this particular
domain all right so imagine that you have an
AWS application which is monolithic in nature so monolithic applications are
basically which do not which have the whole codebase in one single computer
right so if that is the kind of application you are dealing with it’s
called a monolithic application now this application requires 24/7 availability
and can only be down for a maximum of 15 minutes if had your application been not
monolithic I would say that there would be no downtime but since if the
monolithic application the question has mentioned there is an expected downtime
of say 15 minutes how will you ensure the database hosted on your EBS volume
is backed up now since it’s a monolithic application even the database resides on
the same server as that of the application so the question is how will
you ensure that a database is backed up in case there is an out page so for this
answer I will say the answer is pretty easy you can schedule EBS snapshots for
a zero instance at particular intervals of time
and these snapshots would basically act as a backup to your database instances
which have been deployed on ec2 so hence the answer is EBS instance box snapshots
all right and actuation has which component of AWS global infrastructure
does AWS CloudFront used to ensure low latency delivery now AWS cloud front is
basically a content delivery network which basically means if you are in the
US and the application that you’re accessing has servers in India it will
probably catch the application in a US server so that you can access that
application faster than tools and traffic packets over to India and then
receiving them back alright so this is how cloud front works basically catches
the application to your nearest server and so that you get the maximum latent
sorry the minimum latency possible and it is possible using AWS edge locations
okay so as locations are basically the servers that are located too near your
near your place or near a particular availability zone which basically catch
the applications which are available in different regions or are at fire fire
places just a quick info guys if you want to
become a certified professional in cloud computing in telepath provides the
training on the same which covers all the concepts thoroughly for further
details check the description box below I hope this video was helpful to you if
you do have any further queries please comment below and we will get back to
you immediately so guys thank you for watching the video

Comments

  1. Post
    Author
    Intellipaat

    Guys, what else do you want to learn from Intellipaat? Comment down below and let us know so we can create more such tutorials for you.

  2. Post
    Author
    Intellipaat

    👋 Guys everyday we upload in depth tutorial on your requested topic/technology so kindly SUBSCRIBE to our channel👉( http://bit.ly/Intellipaat ) & also share with your connections on social media to help them grow in their career.🙂

  3. Post
    Author
  4. Post
    Author
    Shiva S

    nice tutorial, i just need to ask you that. how do i make web data base which keeps data of various Licenses ? Example:- i am running tea shop which required FSSAI license, so i want to upload this license in my portal along with begining date and expiry date. system should show me when it will expire and other details. so, how do i create these kind of data driven web page ? please help. i am non-IT background but interested in doing or learning it

  5. Post
    Author
  6. Post
    Author

Leave a Reply

Your email address will not be published. Required fields are marked *