Unit 1
Unit 1
Unit 1
UNIT – 1
By Tulasi Vemu.
INTRODUCTION TO CLOUD
COMPUTING
⦿ What Is Cloud
Date :17-08-2020
COURSE OBJECTIVES
1. Importance of the Cloud computing in real
world.
⦿ Resource Pooling
⦿ Rapid Elasticity
⦿ Measured services
CLOUD DEPLOYMENT MODELS
⦿ Private Cloud
⦿ Public Cloud
⦿ Hybrid Cloud
⦿ Community Cloud
19-08-2020
PUBLIC CLOUD
⦿ Public cloud is an IT model where on-demand
computing services and infrastructure are
managed by a third-party provider and
shared with multiple organizations using the
public Internet.
⦿ Disadvantages
◼ Cost required for hardware and infrastructure
◼ Cost required for software and staff training
COMMUNITY CLOUD
⦿ Disadvantages
◼ High cost if compared to a public deployment
model
◼ Sharing of fixed storage and bandwidth capacity
◼ It is not widespread so far
HYBRID CLOUD
Date: 20-08-2020
INFRASTRUCTURE AS SERVICE
⦿ Scalability
⦿ Cost
⦿ Agility
⦿ Innovation
STORAGE AS A SERVICE
(AMAZON STORAGE SERVICES)
Date: 21-08-2020
AMAZON SIMPLE STORAGE SERVICE
(S3) – AN OBJECT STORE
⦿ Accessing S3
⦿ S3 Administration
ACCESSING S3
S3 objects can be up to 5 Terabytes in size and there are no limits on the number of
objects that can be stored.
Buckets provide a way to keep related objects in one place and separate them from
others.
There can be up to 100 buckets per account and an unlimited number of objects in a
bucket.
Date: 24-08-2020
S3 ADMINISTRATION
⦿ SECURITY
◼ Access Control
◼ Turn on Loggings for bucket
⦿ Data Protection
◼ Reduced redundancy Storage (RRS)
◼ Versioning
◼ Regions
⦿ Set region
ACCESSING EC2 USING
COMMAND LINE TOOLS…
1. Download Tools:
The EC2 command line utilities can be
downloaded from Amazon EC2 API Tools as a Zip
file.
They are written in Java, and hence will run
on Linux, Unix, and Windows if the appropriate
JRE is available.
In order to use them simply unpack the file,
and then set appropriate environment variables,
depending upon the operating system being
used.
These environment variables can also be set
as parameters to the command.
ACCESSING EC2 USING
COMMAND LINE TOOLS…
2. Set environment variables (e.g., location of JRE):
For Linux:
⦿ $export JAVA_HOME=PATHNAME
⦿ $export EC2_TOOLS=TOOLS_PATHNAME
⦿ $export PATH=$PATH:$EC2_HOME/bin
For Windows:
⦿ C:\>SET JAVA_HOME=PATHNAME
⦿ C:\>SET EC2_TOOLS=TOOLS_PATHNAME
⦿ C:\>SET PATH=%PATH%,%EC2_HOME%\bin
1. The first command sets the environment variable that specifies the
directory in which the Java runtime resides.
2. The second command specifies the directory where the EC2 tools
reside;
3. The third command sets the executable path to include the directory
where the EC2 command utilities are present.
ACCESSING EC2 USING
COMMAND LINE TOOLS…
3. Set security environment (e.g., get certificate):
⦿ Computing resources:
Date: 02-09-2020
EC2 STORAGE RESOURCES
EC2 NETWORKING RESOURCES
(ii) create a security group that will be associated with the instance and
specify the networking access rules.
For Linux:
⦿ $ export EC2-PRIVATE-KEY=~/.ec2/f2.pem
⦿ $ ec2addgrp "Web Server" –d "Security Group for Web Servers"
⦿ $ ec2run ami-74f0061d –b dev/sda1=::false –k f2.pem –g “Web Server”
For Windows:
⦿ C:\> set EC2-PRIVATE-KEY =C:\.ec2\f2.pem
⦿ C:\> ec2addgrp "Web Server" –d "Security Group for Web Servers"
⦿ C:\> ec2run ami-74f0061d –b "xvda=::false" –k f2.pem –g "Web Server"
ATTACHING AN EBS VOLUME
⦿ Since the HTML pages to be served from the web
portal need to be persistent, it is required to create
an EBS volume for holding the HTML pages that are to
be served by the web server. EBS volumes can be
created from the EC2 console by clicking on the
“Volumes” link.
Date: 09-09-2020
CELL – AS – A - SERVICE
SP (MOUNIKA)(Internal CLOUD) +
CELL STEMPLate
SU (TULASI) (CELL)