This slide covers all the basics of cloud computing with AWS -popular IAAS provider.Each AWS components are explained with a real time example like how NETFLIX using AWS components.
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
ย
AWS INTRODUCTION
1. AMAZON WEB SERVICES
N.Jagadish Kumar
Assistant Professor
Velammal Institute of technology
Chennai, India
Referred from Udemy AWS introduction course
2.
3.
4. When you think about cloud
โข Think in this way
โข It is just a computer somewhere else and
someway your utilizing its storage or
processing power. Obviously using internet
connection.
5. Now in Reality
โข It is not Just a Single Computer.
โข It is a Datacenter. Where you are utilizing
Rows and Rows of Server computers.
6. So companies like
โข iCloud ,Drop Box, Microsoft Azure Amazon Web
Services
โข Stores your files, your pictures & your documents
on a Server computer which is in one of these
racks which is in one of these datacenters which
are now all over the world.
17. Now here your on a Home computer
โข Now you may use iCloud or Dropbox to store
videos, pictures or some personal files that
you may have.
18. For an individual cloud allows to do
Backup and sharing
โข Backup: So you use iCloud or Drop box as an additional
backup for the pictures that you have from vacations or
some documents that you have or music or videos that
you want to save and on your home computer on your
home hard drive there's always the riffs that your hard
drive will fail so you use the cloud for backups
so there's always another copy.
19. โฆ.
โข Sharing: The cloud is also great for sharing
that I don't necessarily mean that in terms of
sharing your files or your pictures with other
people ,but sharing it across devices so you
can access the same files on your mobile
device or if you're at work from your work
computer and it just means that your files will
be available anywhere that you go.
20.
21. Two pieces of Cloud terminology
โข High Availability
โข Fault Tolerant
22. High Availability
โข If you put a file up into the cloud you can
access it from any type of device or any type
of computer as long as it has an internet
connection.
โข So that makes that file highly available.
โข You can access it from anywhere.
23. Fault Tolerant
โข There are several different ways that you can use the term fault
tolerant here.
โข If you have a file only on your home computer and your home hard
drive fails then it's gone.
โข So the system that was in place did not account for that fault being
the fault of your hard drive.
โข But if the file is up in the cloud and it's backed up on multiple
servers then that file can become corrupt or the cloud server that it
is currently stored on can fail and there will always be another copy
for you to access.
โข So if there is a fault in the system you will still always have the
ability to retrieve that file.
โข So the terms high availability and fault tolerant really go hand-in-
hand meeting that your files are always available across multiple
devices.
24. Common enterprise uses of cloud Services
โข What will happen if a Company not using
Cloud services?
โข Let us discuss a Scenario.
25. โฆ..
โข A software Company in
โข 2016 has 1000 users which need 3 servers to power
the software those users.
โข 2017 the company estimating 5000 users because of
their growth ,so they are going to have additional 3
servers to their on premise data center.
โข Now the problem is Space to put these servers in on
premise data centre, Investment of Money to buy
these servers and time taken to install operating
systems ,configuring them and test them up all take lot
of time.
โข Let us assume their estimates were right.In 2017 their
user base is about 5000 users. All the 6 servers running
in their on premise data centre.
26. Now in 2018 they estimating 20000
users.
โข Now again they want 12 More servers .They have to
consider Space, Money ,Time and all other factors to
setup on premise datacentre like before.
โข But this time their estimation fails, only 7000 users .
27. โฆ..
โข So now a whole segment of the servers that
they just purchased for 2018 aren't being
used.
โข So it was a tremendous waste of resources a
tremendous waste of money for something
that is not being used and now they would
have to sell the servers or just let them sit
there until the user base were to increase.
โข This is a problem with on-premise data
centers so cloud services needed to solve this
issues.
29. โฆ.
โข When a company uses cloud service
providers like AWSโฆ
โข In 2016 the company have 1000 users with 2
servers .
โข As the user base increases to 4000 users ,the
company no need to worry about Additional
server implementation.
โข AWS will automatically and Instantly allocate
additional servers as the user base increases.
30. โฆ
โข Another advantage of cloud service providers
is.
โข If the user base is dropped from 4000 users to
3000 users as in the example scenario. The
cloud service providers will simply de-connect
the servers and wonโt charge amount for it
from the company .
โข Using Cloud service providers we are leasing
hardwres only on-demand basis.
31. Two more Cloud Terminology
โข Scalability: As user base grows we have the
ability to quickly and easily add more servers.
you can scale โ up on demand.
โข Elasticity: You can also shrink if you can Grow.
As needed you can also shrink the usage
.Suppose user base reduced from 4000 to
3000 you can reduce the server usage.
32. Flow of AWS Architecture
Popularly used by Face book & Netflix
33. VPC
โข Inside AWS you have Services,Networking
architecture โฆetc.Now let us discuss about
VPC(Virtual Private Cloud).
34. What Is VPC?
โข To understand VPC let us discuss with a
Analogy.
โข We will take FACEBOOK for our conceptual
understanding.
35. Face book
โข In face book you will have your Homepage, Your
friends homepage ,Your Family homepage
โข So your Home page is Your own Private section of
Face book in which you can put things like
photos, videos etc that you want to share with
other people.
โข You can also have a level of security like giving
access only to certain friends, which friend list
can see certain post, photos, videos that you
share.etc..
37. Now Swap Face book with AWS
โข In AWS you will have MY VPC, Your VPC, Friendโs
VPC etc
โข Like your home page in face book . In your VPC
you can put your own things like
AmazonEC2,Amazon RDS resources, your files
etc.
โข Just like a face book ,you can put a level of
security on your VPC.
โข You can restrict access and either allow people to
use your Database, Your EC2 servers or you can
keep them out.
38. VPC
โข Your VPC is your private section of AWS,where
you can place your AWS resources and allow
or restrict access to them.
40. How companies like NETFLIX utilize
this AWS resources.
โข Netflix: Is worldโs no 1 provider of streaming
video contents.
โข Netflix uses more services of AWS,But we will
discuss about 3 services like EC2,RDS and S3
41. Amazon EC2
โข Amazon EC2 it is virtually equivalent to the computer.
โข But the computers is not Basic computer it is a server or
Instance
43. www.netflix.com ๏ Amazon EC2 instance is currently serving as a web hosting server.
EC2 instance consist of all the files and codes required to execute the web
page(NETFLIX)
44. EC2
โข Think of EC2 is a Virtual computer(Is a like of
computer with its own RAM, HDD, OS, LAN
and everything else your computer have) that
you can use it for what ever you like.
โข Most commonly used s web hosting server.
โข EC2 (Elastic cloud computer)Instance
45. How many Instance you need to run?
โข Is totally up to you. For simple website you
fine with one instance for hundreds or even
thousands of simultaneous requests.
โข But if you need something computationally
extensive you can add more instances (more
EC2s) automatically or on demand and scale
your site dramatically.
46. NETFLIX -best example
โข No matter how many visitors hit their site 100
or million simultaneously its still fast because
its load balanced on Amazon-EC2.
โข If you running your own in-house server and
your site goes viral you will be totally down
under heavy traffic in a few minutes...
48. When your putting your login credentials (or) creating your own
account in NETFLIX-Amazon RDS will comes into picture
49. Amazon RDS
โข Is a database provided by Amazon web
services. It holds all the customer Account
information and Inventory catalog that holds
the list of programs and shows.
50. When too many users access NETFLIX web hosting
server, due to heavy traffic the server will crash and no
one can access NETFLIX. So there is no elasticity and
scalability if the server is on โpremise server
51. โข If the NETFLIX users are increased double
,triple as times go .AWS constantly keep up by
adding new EC2 instances inside the VPC, so
that all can talk to the database.
โข So everybody can login ,access their account
and served up the Inventory catalog.
โข So this is the example for scalability
52. โฆ.
โข So if the instances is no longer in use you can
remove the instances ,and your not going to pay
for them. This is called Elasticity.
โข As new users keep coming new instances are
available to offer service to them this is called
Highly available.
โข If an instance failed due to some technical
reasons, Users of that instance is redirected to
another instance to continue servicing him.This is
called Fault tolerance
55. โฆ..
โข Amazon S3 is the large unlimited storage bucket.
โข Limit is unbelievably high ,no individual company
can offer this storage capacity .
โข S3 is the perfect place for
Documents,Movies,Music,Applications and
anything you like you can store it in S3 as long as
you like.
โข Again you have high availability for anything you
stored in S3 for Backup.
56. โฆโฆ
โข Services like Dropbox is actually using S3 at
the backend for storage.
โข So if you use Dropbox for storing your files, it
actually uses Amazon S3.
57. What will happen when you actually
click play on NETFLIX to start
streaming
58. Again Amazon EC2 comes in picture
โข So when somebody hits play on NETFLIX
videos. Netflix application has to go to S3 to
find that particular television show or ,movies.
โข And then Amazon EC2 either Encode or
Transcode that particular video or movie so
that it is ready to send across the internet
down to the users.
โข So that it can be viewed on their device
59. โฆ.
โข Encoding and transcoding is very processor
intensive .So it requires something like Amzon
Ec2 to accomplish this task.
60. โฆ
โข So Amazon EC2 is good for any type of
โprocessingโ activity.
โข Whether it is Web hosting, Whether it is an
Encoding or transcoding, Whether it is
graphically intensive, whether it is a
mathematical equations .so anything that
needs general processing then it is Ec2 your
looking forโฆ..