Cloud Computing
Cloud Computing
Cloud Computing
CHENNAI - 600123
REGISTER NO.
Date:
1
Procedure to configure the Eucalyptus
Cloud computing is a technology that uses the internet and central remote servers to
maintain data and applications. It is a model for enabling ubiquitous, on-demand access to a
shared pool of configurable computing resources (e.g., computer networks, servers, storage,
applications and services) that can be rapidly provisioned and released with minimal
management effort. This cloud model promotes availability and is composed of five essential
characteristics, three service model and four deployment models.
DEPLOYMENT MODELS
Private cloud
Private cloud is cloud infrastructure operated solely for a single organization. It may be
managed by the organization or by a third-party and may exist on premise or off premise.
4
Public cloud
The cloud infrastructure is made available to the general public or a large industry group and
is owned by an organization selling cloud services.
Hybrid cloud
The cloud infrastructure is a composition of two or more clouds (private, community, public)
that remain unique entities but are bound together by standardized or proprietary technology
that enables data and application portability (e.g. Cloud bursting for load-balancing between
clouds ).
Community cloud
The cloud infrastructure is shared by several organizations and supports a specific community
that has shared concerns (security, compliance, jurisdiction, etc.). It may be managed by the
organization or by a third-party and may exist on premise or off premise.
SERVICE MODELS
The capability provided to the consumer is to use the provider‟s applications running
on a cloud infrastructure. The applications are accessible from various client devices through
either a thin client interface, such as a web browser (e.g., web-based email), or a program
interface. The consumer does not manage or control the underlying cloud infrastructure
including network, servers, operating systems, storage, or even individual application
capabilities, with the possible exception of limited user-specific application configuration
settings.
The capability provided to the consumer is to deploy onto the cloud infrastructure
consumer-created or acquired applications created using programming languages, libraries,
services, and tools supported by the provider. The consumer does not manage or control the
underlying cloud infrastructure including network, servers, operating systems, or storage, but
has control over the deployed applications and possibly configuration settings for the
application-hosting environment.
5
Figure: 2 Cloud Service Models
Capabilities are available over the network and accessed through standard
mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile
phones, tablets, laptops and workstations).
Resource pooling
The provider's computing resources are pooled to serve multiple consumers using a
multi-tenant model, with different physical and virtual resources dynamically assigned and
6
reassigned according to consumer demand. There is a sense of location independence in that
the customer generally has no control or knowledge over the exact location of the provided
resources but may be able to specify location at a higher level of abstraction (e.g., country,
state or datacenter). Examples of resources include storage, processing, memory and network
bandwidth.
Rapid elasticity
Measured service
Partitioning
Isolation
Each virtual machine is isolated from its host physical system and other virtualized
machines. Because of this isolation, if one virtual-instance crashes, it doesn‟t affect the other
virtual machines. In addition, data isn‟t shared between one virtual container and another.
Encapsulation
A virtual machine can be represented (and even stored) as a single file, so you can
identify it easily based on the service it provides. In essence, the encapsulated process could
7
be a business service. This encapsulated virtual machine can be presented to an application as
a complete entity. Therefore, encapsulation can protect each application so that it doesn‟t
interfere with another application.
Applications of virtualization
Virtualization can be applied broadly to just about everything that you could imagine:
Memory
Networks
Storage
Hardware
Operating systems
Applications
Forms of virtualization
INTRODUCTION TO OPENSTACK
OpenStack is a software package that provides a cloud platform for Public and Private cloud
covering various use cases including Enterprise and Telecom. The main focus is on
Infrastructure as a Service (IaaS) cloud and additional services built upon IaaS. The services
developed by the community are available as tarballs to install them from source and are also
picked up and packaged to make it available for different Linux distributions or as part of
OpenStack distributions.
8
Map of OpenStack projects
Community
To produce a ubiquitous Open Source Cloud Computing platform that is easy to use, simple
to implement, interoperable between deployments, works well at all scales, and meets the
needs of users and operators of both public and private clouds.
Code review
Testing
CI
Version control
Documentation
a set of collaboration tools, like a wiki, IRC chanels, Etherpad and Ethercalc.
The basic princinples of the OpenStack community are the four opens.
Open source
Open design
Open development
Open Community
9
EX NO: 1 Install Virtualbox/VMware/ Equivalent open source cloud
Workstation with different flavours of Linux or Windows OS on top
DATE: of windows 8 and above
AIM:
PROCEDURE:
Step 1: Run the Virtualbox steup and click the “Next” option.
Step 2: Repeat Click on “Next” option and Finally Click the option“Install”
10
Step 4: Create new virtual machine
11
Step 7: Select the type of hardware file
12
Step 10: Select the new virtual OS created and click on “Settings”
Step 11: Select “Storage” from the left panel of the window
Step 12: Click on the first icon “Add CD/DVD device” in Controller:IDE
13
Step 13: Select “Choose Disk” and Choose the virtual machine to be used and click “Open”
Step 14: Click “OK” and select “Start” to run the virtual machine
14
Step 16: Select 'Erase disk and install Ubuntu' option is selected and click 'Install
Now' button
Step 18: Enter the name, username and password. Click 'Continue' button
15
Step 19: After completion of installation process, click on 'Restart Now' button.
OUTPUT:
RESULT:
Thus the virtualbox with different flavours of Linux/Windows has been Installed
Sucessfully.
16
EX NO: 2
INSTALLATION OF A C COMPILER IN THE VIRTUAL
DATE: MACHINE AND EXECUTING A SIMPLE PROGRAM
AIM:
PROCEDURE:
STEP:1 Before install a C compiler in a virtual machine, we have Create a virtual machine
by opening the Kernal Virtual Machine (KVM). Open the installed virtual manager. As well
as install different Ubuntu and Windows OS in that virtual machine with different names.
STEP:3 Open TextEditor in Ubuntu OS and type a C program and save it in desktop to
execute.
17
STEP:4 To install the C compiler in Ubuntu OS, open the terminal and type the command.
OUTPUT:
RESULT:
Thus the C compiler is installed in the virtual machine and executed the program
Successfully.
18
EX NO: 3 INSTALLATION OF GOOGLE APP ENGINE AND
CREATE HELLO WORLD APP AND OTHER
DATE:
SIMPLE WEB SIMPLE WEB APPLICATION
AIM:
To install google app engine and create hello world app using java.
PROCEDURE:
Create a project
Projects bundle code, VMs, and other resources together for easier development and
monitoring.
You will learn how to run your app using Cloud Shell, right in your browser. At the
end, you'll deploy your app to the web using the App Engine Maven plugin.
GCP (Google Cloud Platform) organizes resources into projects, which collect all of the
related resources for a single application in one place.
Begin by creating a new project or selecting an existing project for this tutorial.
Step1:
Step2:
Cloud Shell is a built-in command-line tool for the console. You're going to use Cloud Shell
to deploy your app.
Activate Cloud Shell button in the navigation bar in the upper-right corner of the console
Use Cloud Shell to clone and navigate to the "Hello World" code. The sample code is
cloned from your project repository to the Cloud Shell.
Note: If the directory already exists, remove the previous files before cloning:
rm -rf appengine-try-java
19
git clone \
https://github.com/GoogleCloudPlatform/appengine-try-java
cd appengine-try-java
Step3:
You are now in the main directory for the sample code. You'll look at the files that
configure your application.
cat \
src/main/java/myapp/DemoServlet.java
This servlet responds to any request by sending a response containing the message Hello,
world!.
For Java, App Engine uses XML files to specify a deployment's configuration.
cat pom.xml
The helloworld app uses Maven, which means you must specify a Project Object Model, or
POM, which contains information about the project and configuration details used by Maven
to build the project.
Step4:
Cloud Shell lets you test your app before deploying to make sure it's running as intended, just
like debugging on your local machine.
mvn appengine:run
20
Preview your app with "Web preview"
Your app is now running on Cloud Shell. You can access the app by clicking the
Web preview
button at the top of the Cloud Shell pane and choosing Preview on port 8080.
Terminate the instance of the application by pressing Ctrl+C in the Cloud Shell
Step5:
Create an application
Note: If you already created an app, you can skip this step.
The default URL of your app is a subdomain on appspot.com that starts with your
project's ID: <your-project>.appspot.com.
You can check in on your app by monitoring its status on the App Engine dashboard.
21
RESULT:
Thus google app engine is installed and hello world app using java created
successfully.
22
EX NO: 4 LAUNCH THE WEB APPLICATIONS USING GAE
LAUNCHER
DATE:
AIM:
To launch the web applications using gae launcher.
PROCEDURE:
Before you can host your website on Google App Engine:
1. Create a new Cloud Console project or retrieve the project ID of an existing project
to use:
Go to the Projects page (https://console.cloud.google.com/project)
Tip: You can retrieve a list of your existing project IDs with the gcloud command line
tool (#before_you_begin).
2. Install and then initialize the Google Cloud SDK:
Download the SDK (/sdk/docs)
Creating a website to host on Google App Engine
Basic structure for the project
This guide uses the following structure for the project:
app.yaml: Configure the settings of your App Engine application.
www/: Directory to store all of your static files, such as HTML, CSS, images, and
JavaScript.
css/: Directory to store stylesheets.
style.css: Basic stylesheet that formats the look and feel of your site.
images/: Optional directory to store images.
index.html: An HTML file that displays content for your website.
js/: Optional directory to store JavaScript files.
Other asset directories.
23
www directory.
Create the app.yaml file in your application's root directory:
1. Create a directory that has the same name as your project ID. You can find
your project ID in the Console (https://console.cloud.google.com/).
2. In directory that you just created, create a file named app.yaml.
3. Edit the app.yaml file and add the following code to the file:
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /
static_files: www/index.html
upload: www/index.html
- url: /(.*)
static_files: www/\1
upload: www/(.*)
More reference information about the app.yaml file can be found in the app.yaml reference
documentation (/appengine/docs/standard/python/config/appref). Creating the index.html
_le
Create an HTML file that will be served when someone navigates to the root page of
your website. Store this file in your www directory. Deploying your application to App
Engine
When you deploy your application files, your website will be uploaded to App Engine.
To deploy your app, run the following command from within the root directory of your
application where the app.yaml file is located: Optional flags:
24
head>
ody>
<h1>Hello, world!</h1>
<p>
This is a simple static HTML file that will be served from Google App
Engine.
</p>
body>
ml>
id app deploy
Optional flags:
Include the --project flag to specify an alternate Cloud Console project ID to
what you initialized as the default in the gcloud tool. Example: --project
[YOUR_PROJECT_ID]
Include the -v flag to specify a version ID, otherwise one is generated for
you. Example: -v [YOUR_VERSION_ID
To learn more about deploying your app from the command line, see Deploying a Python
2 App (/appengine/docs/python/tools/uploadinganapp). Viewing your application
ud app browse
RESULT:
Thus the web applications using gae launcher launched.
25
EX NO: 5 SIMULATE A CLOUD SCENARIO USING CLOUDSIM AND
RUN A SCHEDULING ALGORITHM THAT IS NOT PRESENT
DATE: IN CLOUDSIM
What is Cloudsim?
CloudSim is a simulation toolkit that supports the modelling and simulation of the core
functionality of cloud, like job/task queue, processing of events, creation of cloud entities
(datacentre, datacentre brokers, etc), communication between different entities,
implementation of broker policies, etc. This toolkit allows to:
import java.text.DecimalFormat;
import java.util.Calendar;
import java.util.List;
import org.cloudbus.cloudsim.Cloudlet;
import org.cloudbus.cloudsim.Datacenter;
import org.cloudbus.cloudsim.Log;
26
import org.cloudbus.cloudsim.Vm;
import org.cloudbus.cloudsim.core.CloudSim;
/**
* FCFS Task scheduling
* @author Linda J
*/
public class FCFS {
/**
* Creates main() to run this
example */
public static void main(String[] args) {
Log.printLine("Starting FCFS...");
try {
// First step: Initialize the CloudSim package. It should be
called // before creating any entities.
int num_user = 1; // number of cloud users
Calendar calendar = Calendar.getInstance();
boolean trace_flag = false; // mean trace events
27
// Second step: Create Datacenters
//Datacenters are the resource providers in CloudSim. We need at list one
of them to run a CloudSim simulation
@SuppressWarnings("unused")
Datacenter datacenter0 = createDatacenter("Datacenter_0");
CloudSim.startSimulation();
CloudSim.stopSimulation();
// Sixth step: Starts the simulation
printCloudletList(newList);
28
Log.printLine("FCFS finished!");
}
catch (Exception e) {
e.printStackTrace();
Log.printLine("The simulation has been terminated due to an unexpected error");
}
}
return datacenter;
//We strongly encourage users to develop their own broker policies, to submit vms and
cloudlets according
//to the specific rules of the simulated scenario
private static FcfsBroker createBroker(){
/**
* Prints the Cloudlet objects
* @param list list of Cloudlets
*/
29
private static void printCloudletList(List<Cloudlet> list)
{ int size = list.size();
Cloudlet cloudlet;
if (cloudlet.getCloudletStatus() == Cloudlet.SUCCESS){
Log.print("SUCCESS");
}
}
CONCLUSION:
Thus simulating a cloud scenario using cloudsim is simulated successfully.
30
EX NO: 6 PROCEDURE TO TRANSFER THE FILES FROM ONE
VIRTUAL MACHINE TO ANOTHER VIRTUAL MACHINE
DATE:
Aim:
To write a procedure to transfer the files from one Virtual Machine to another
Virtual Machine.
PROCEDURE:
31
STEP:6 Go to File->Computer:/home/sam/Documents/
32
STEP:11 Select the VM to be imported and click “Open”.
33
STEP:15 VM is imported.
RESULT:
Thus the files from one Virtual Machine to another Virtual Machine is
transferred Successfully..
34
EX NO: 7 PROCEDURE TO INSTALL HADOOP SINGLE NODE CLUSTER
AND RUN SIMPLE APPLICATION LIKE WORD COUNT
DATE:
AIM:
PROCEDURE:
Done.
Enter new UNIX password: \\Note: Enter any password and remember that, this is only
for unix(applicable for hduser)
Enter the new value, or press ENTER for the default \\Note: Just enter your name and then
35
click enter button for remaining
Other []:
hduser : hadoop
36
sam@sysc40:~$ which ssh
/usr/bin/ssh
/usr/sbin/sshd
sam@sysc40:~$ su hduser
Password: \\Note: Enter the password that we have given above for hduser
hduser@sysc40:/home/sam$
hduser@sysc40:/home/sam$ cd
Enter file in which to save the key (/home/hduser/.ssh/id_rsa): \\Note: Just click Enter button
SHA256:QWYjqMI0g/ElhpXhVvgVITSn4O4HWS98MDqCX7Gsf/g hduser@sysc40
|o+*=*.=o= |
|oOo=.=.= . |
|o Bo*. . |
|o+.*.* . |
|o.* * o S |
|+=o |
| + .. |
| o. . |
| .oE |
37
+---- [SHA256] ------ +
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support:https://ubuntu.com/advantage
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
applicable law.
(190M) [application/x-gzip]
38
Saving to: „hadoop-2.6.5.tar.gz.2‟
hadoop-2.6.5/include/
hadoop-2.6.5/include/hdfs.h
hadoop-2.6.5/include/Pipes.hh
hduser@sysc40:~/hadoop-2.6.5$ su sam
Password: sam123
Done.
sam@sysc40:/home/hduser/hadoop-2.6.5$ su hduser
Password: \\Note: Enter the password that we have given above for hduser
/usr/local/hadoop hduser@sysc40:~/hadoop-2.6.5$ cd
There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-8-
openjdk-amd64/jre/bin/java
39
Nothing to configure.
Add the below content at the end of the file and save it
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-
export PATH=$PATH:$HADOOP_INSTALL/bin
export PATH=$PATH:$HADOOP_INSTALL/sbin
export HADOOP_MAPRED_HOME=$HADOOP_INSTALL
export HADOOP_COMMON_HOME=$HADOOP_INSTALL
export HADOOP_HDFS_HOME=$HADOOP_INSTALL
export YARN_HOME=$HADOOP_INSTALL
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_INSTALL/lib/native
VARIABLES END
javac 1.8.0_131
/usr/bin/javac
/usr/lib/jvm/java-8-openjdk-amd64/bin/javac
40
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
<configuration>
<property>
<name>hadoop.tmp.dir</name>
<value>/app/hadoop/tmp</value>
</property>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:54310</value>
</property>
</configuration>
hduser@sysc40:~$ cp /usr/local/hadoop/etc/hadoop/mapred-
site.xml.template /usr/local/hadoop/etc/hadoop/mapred-site.xml
41
Add the below line inside the <configuration></configuration> tag.
<configuration> <property>
<name>mapred.job.tracker</name>
<value>localhost:54311</value>
runs at. If "local", then jobs are run in-process as a single map and
reduce task.
</description>
</property>
</configuration>
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
The actual number of replications can be specified when the file is created.
</description>
</property>
<property>
<name>dfs.namenode.name.dir</name>
<value>file:/usr/local/hadoop_store/hdfs/namenode</value>
</property>
42
<property>
<name>dfs.datanode.data.dir</name>
<value>file:/usr/local/hadoop_store/hdfs/datanode</value>
</property>
</configuration>
/************************************************************
laptop/127.0.1.1
...
...
...
/************************************************************
************************************************************/
Starting Hadoop
Now it's time to start the newly installed single node cluster.
43
We can use start-all.sh or (start-dfs.sh and start-yarn.sh)
hduser@sysc40:~$ su sam
Password: sam123
sam@sysc40:/home/hduser$ cd
sam@sysc40:~$ cd /usr/local/hadoop/sbin
sam@sysc40:/usr/local/hadoop/sbin$ ls
refresh-namenodes.sh stop-all.cmd
slaves.sh stop-all.sh
hduser@sysc40:/usr/local/hadoop/sbin$ start-dfs.sh
0.0.0.0: Warning: Permanently added '0.0.0.0' (ECDSA) to the list of known hosts.
hduser@sysc40:/usr/local/hadoop/sbin$ start-yarn.sh
hduser@sysc70:/usr/local/hadoop/sbin$ jps
14505 SecondaryNameNode
14205 NameNode
14765 NodeManager
15166 Jps
hduser@laptop:/usr/local/hadoop/sbin$ stop-dfs.sh
hduser@laptop:/usr/local/hadoop/sbin$ stop-yarn.sh
stopping resourcemanager
no proxyserver to stop
hduser@laptop:/usr/local/hadoop/sbin$ start-dfs.sh
hduser@laptop:/usr/local/hadoop/sbin$ start-yarn.sh
Type http://localhost:50070/ into our browser, then we'll see the web UI of the
NameNode daemon: In the Overview tab, you can see the Overview, Summary,
NameNode Journal Status and the NameNode Storage informations.
46
Type in http://localhost:50090/status.jsp as url, we get
SecondaryNameNode:
The default port number to access all the applications of cluster is 8088. Use the following url
to visit Resource Manager: http://localhost:8088/
We need to click the Nodes option in the left Cluster panel, then it will sho the node that
we have created.
47
RESULT:
48
EX NO: 8. CREATING AND EXECUTING YOUR FIRST CONTAINER
USING DOCKER.
DATE:
AIM:
To create and execute your first container using Docker.
PROCEDURE
To follow the instructions specific to your operating system. Here are the general steps for the most
popular operating systems:
Windows:
a. Visit the Docker website (https://www.docker.com/) and navigate to the "Get Docker" section.
b. Click on the "Download for Windows" button to download the Docker Desktop installer.
c. Run the installer and follow the prompts. During the installation, Docker may require you to enable
Hyper-V and Containers features, so make sure to enable them if prompted.
d. Once the installation is complete, Docker Desktop will be installed on your Windows machine. You
can access it from the Start menu or the system tray.
Mac:
a. Visit the Docker website (https://www.docker.com/) and navigate to the "Get Docker" section.
b. Click on the "Download for Mac" button to download the Docker Desktop installer.
c. Run the installer and drag the Docker icon to the Applications folder to install Docker Desktop.
d. Launch Docker Desktop from the Applications folder or the Launchpad. It will appear in the status
bar at the top of your screen.
Linux:
Docker supports various Linux distributions. The exact installation steps may vary based on your
distribution. Here's a general outline:
a. Visit the Docker website (https://www.docker.com/) and navigate to the "Get Docker" section.
c. Docker provides installation instructions for various Linux distributions such as Ubuntu, CentOS,
Debian, Fedora, and more. Follow the instructions specific to your distribution.
d. Once Docker is installed, start the Docker service using the appropriate command for your Linux
distribution.
After completing the installation, you can open a terminal or command prompt and run the docker --
version command to verify that Docker is installed correctly. It should display the version of Docker
installed on your system.
49
That's it! You now have Docker installed on your machine and can start using it to manage containers.
Install Docker: First, you need to install Docker on your machine. Docker provides platform-specific
installation instructions on their website for different operating systems. Follow the instructions to install
Docker for your particular OS.
Docker Image: Docker containers are created based on Docker images. An image is a lightweight,
standalone, and executable package that includes everything needed to run a piece of software, including
the code, runtime, libraries, and system tools. Docker Hub (hub.docker.com) is a popular online
repository of Docker images. You can search for existing images on Docker Hub or create your own. For
this example, we'll use an existing image.
Pull an Image: Open your terminal or command prompt and execute the following command to pull an
existing Docker image from Docker Hub. We'll use the official hello-world image as an example:
Copy code
docker pull hello-world
Docker will download the image from the Docker Hub repository.
Run a Container: Once you have the Docker image, you can create and run a container based on that
image. Execute the following command to run the hello-world container:
Note: If you haven't pulled the hello-world image in the previous step, Docker will automatically
download it before running the container.
Congratulations! You've created and executed your first Docker container. Docker will handle the
container lifecycle, including starting, stopping, and managing resources for you. This simple example
demonstrates the basic concept of running a container using Docker.
You can explore further by trying out different Docker images and running more complex applications
within containers.
Before you begin, make sure Docker is installed and running correctly. Open a terminal (or PowerShell
on Windows) and run the following command:
You should see the Docker version information if it's installed correctly.
50
Step 2: Pull a Docker Image
Docker containers are created from Docker images. You can think of an image as a blueprint for a
container. To get started, let's pull a simple image. Open your terminal and run the following command:
The output should contain a message that indicates the container is running, and it will explain how
Docker works.
To check which containers are currently running, you can use the following command:
RESULT:
Thus the first container using docker is created and executed successfully.
51
EX NO: 9 RUN A CONTAINER FROM DOCKER HUB
DATE:
AIM:
To run a container from docker hub
PROCEDURE:
Search for an Image: Visit the Docker Hub website (https://hub.docker.com/) and use the search bar to
find the image you want to run. You can search for popular images like nginx, mysql, redis, etc., or
specific images based on your requirements.
Pull the Image: Once you've found the desired image, open a terminal or command prompt and execute
the following command to pull the image from Docker Hub:
php
Copy code
docker pull <image_name>
Replace <image_name> with the name of the image you want to pull. For example, if you want to pull
the nginx image, you would use:
Run the Container: After pulling the image, you can create and run a container based on that image. Use
the following command:
Note: By default, Docker will allocate a random port on your host machine and map it to the container's
exposed ports. If you want to specify a specific port mapping, you can use the -p option. For example:
Interact with the Container: Once the container is running, you can interact with it as needed. For
example, if you ran an nginx container, you can access it in your web browser by visiting http://localhost
or http://<your_host_ip> (if you specified a port mapping).
52
To stop the container, you can use the docker stop command followed by the container ID or name:
(or)
Flow-1: Pull Docker Image from Docker Hub and Run it Step-1: Verify Docker version and also login
to Docker Hub
OUTPUT:
53
54
RESULT:
Thus the program ran a container from docker hub
55
ADDITIONAL EXERCISES
AIM:
To Create communication between two virtual machines in an virtual environment.
PROCEDURE:
Step 1: Implement two host operating systems onto a single virtual box
Step 2: Then implement a internal networking inbetween them by the following steps
ping 10.0.2.10
RESULT:
Thus the communication between two virtual machines in an virtual environment
was created Successfully.
56
EX NO: 2 STUDY AND IMPLEMENTATION OF STORAGE AS A
DATE: SERVICE
AIM:
To study and implementation of Storage as a Service.
PROCEDURE:
Step 1: Sign into the Google Drive website with your Google account.
If you don‟t have a Google account, you can create one for free. Google Drive will allow you
to store your files in the cloud, as well as create documents and forms through the Google
57
Step 3: Change the way your files are displayed.
You can choose to display files by large icons (Grid) or as a list (List). The List mode will
show you at a glance the owner of the document and when it was last modified. The Grid
mode will show each file as a preview of its first page. You can change the mode by clicking
the buttons next to the gear icon in the upper right corner of the page. // List Mode
Step 4: Use the navigation bar on the left side to browse your files.
“My Drive” is where all of your uploaded files and folders are stored. “Shared with Me” are
documents and files that have been shared with you by other Drive users. “Starred” files are
58
files that you have marked as important, and “Recent” files are the ones you have most
recently edited.
•You can drag and drop files and folders around your Drive to organize them as you see fit.
•Click the Folder icon with a “+” sign to create a new folder in your Drive. You can create
folders inside of other folders to organize your files.
59
Step 1: Click the NEW button.
A menu will appear that allows you to choose what type of document you want to create.
You have several options by default, and more can be added by clicking the “More “ link at
the bottom of the menu:
60
Step 4: Edit your document.
Begin writing your document as you would in its commercially-equivalent. You will most
likely find that Google Drive has most of the basic features, but advanced features you may
be used to are not available.
1. Your document saves automatically as you work on it.
61
Step 6: Share your document.
Click File and select Share, or click the blue Share button in the upper right corner to open
the Sharing settings. You can specify who can see the file as well as who can edit it.
62
Other Capabilities:
1. Edit photos
2. Listen Music
3. Do drawings
4. Merge PDFs
CONCLUSION:
Google Docs provide an efficient way for storage of data. It fits well in Storage as a
service (SaaS). It has varied options to create documents, presentations and also spreadsheets.
It saves documents automatically after a few seconds and can be shared anywhere on the
Internet at the click of a button.
63
EX NO: 3 STUDY OF AMAZON WEB SERVICES
DATE:
AIM:
PROCEDURE:
Step 3: Give an Email id in the required field,if you are registering first time then select "I
am a new user" radio button and click on "sign in using our secure server" button. Step 4:
Again go to "My Account",select "AWS management console" and click on it.
Sign in again by entering the user name and valid password ( check "I am returning user and
my password is" radio button)
Step 5: All AWS project can be viewed by you, but you cant make any changes in it or you
cant create new thing as you are not paying any charges to amazon .
Step 6: To create the user in a root user follow the steps mentioned below:
1) Click on "Identity and Access Management" in security and identity project
2) Click in "Users" from dashboard,It will take you to "Create New Users" and
clickoncreate new user button .Enter the "User Name" and click on "Create" button
atright bottom
3) Once the user is created click on it
4) Goto security credentials tab
5) Click on "Create Access Key", it will create an access key for user.
6) Click on "Manage MFA device" it will give you one QR code displayed on the screen.
you need to scan that QR code on your mobile phone using barcode scanner (install it
in mobile phone) you also need to install "Google Authenticator" in your mobile
phone to generate the MFA code
7) Google authenticator will keep on generating a new MFA code after every 60 seconds
that code you will have to enter while logging as a user.Hence, the security
ismaintained by MFA device code...
one cannot use your AWS account even if it may have your user name and
password, because MFA code is on your MFA device (mobiel phone in this case)
and it is getting changed after every 60 seconds.
64
Step 7: Permissions in user account:
After creating the user by following above mentioned steps; you can give certain
permissions to specific user
1) Click on created user
2) Goto "Permissions" tab
3) Click on "Attach Policy"
button
4) Click on apply.
SAMPLE OUTPUT:
Click on "My Account". Select "AWS management console" and click on it. Give Email id inthe
required field
65
Addition of security features
66
Sign in to an AWS account
67
Creation of users
68
Creating Access key
69
Setting permissions to users
70
CONCLUSION:
We have studied how to secure the cloud and its data. Amazon EWS provides the
best security with its extended facilities and services like MFA device. It also gives you the
ability to add your own permissions and policies for securing data more encrypted.
71