Anda di halaman 1dari 57

PREM B [1DA16IS033]

SYLLABUS
Sub Title : CLOUD COMPUTING LAB

Sub No of Credits : 0:0:1 No. of Lecture Hours/Week : 02


Code:ISL67

Exam Duration Exam Marks :CIE +SEE = 50 + 50 =100


: 3 hours

Course Objectives:

1. To understand the working and usage of different cloud service models.


2. To study the basic understanding of Installation and Configuration of Cloud
environment.
3. To understand the concept of Service Model and its usage in Cloud Computing.
4. To learn development of applications using IaaS, PaaS and SaaS.
5. Understand how Cloud environment works, for various deployment models.

I. LIST OF PROGRAMS

PART A
CLOUD COMPUTING:
1. Demonstrate the working of Google Drive to make spreadsheet and notes.
2. Installation, Configuration and working on Dropbox.
3. Demonstrate the working in Cloudanywhere Cloud9 to demonstrate different language.
4. Demonstrate the working of Google Form to develop event feedback system.
5. Creating an application in Salesforce .com using single object
6. Creating an application in Salesforce.com using multiple object
7. Demonstrate the working in Codenvy to demonstrate Provisioning and Scaling of a
Website.

II. OPEN ENDED QUESTIONS


1. Working with Mangrasoft Aneka Software.
2. Installation and Configuration of Hadoop/Eucalyptus or any equivalent
cloud software.
3. Design and implement Cloud based application(mini-project)

Dept. of ISE, Dr. AIT 2018-2019 Page 1


PREM B [1DA16IS033]

NOTE:

1. STUDENT IS PERMITED TO SUBMIT OPEN ENDED SOLUTION TO ANY


OTHER OPEN ENDED QUESTION APART FROM THE LIST ABOVE . BUT
IT HAS TO BE APPROVED BY THE STAFF IN CHARGE.

2. STUDENT IS REQUIRED TO EXECUTE ONE PROGRAM FROM THE LOT


OF 7 QUESTIONS.

Course Outcomes:

After the completion of course, the students will be able to:

CO1: Analyze the requirements to setup: Cloud Environment using IaaS, Hadoop Environment
CO2: Develop the ability to solve real-world problems through software development on Cloud
environment
CO3: Implement, compile, test and run Java programs comprising on PaaS to address a particular
software problem.
CO4: Design and develop useful Cloud applications with elegant user interfaces using SaaS.

COs Mapping with POs


CO1 PO1,PO2,PO5,PO7,PO11
CO2 PO1,PO2, PO5, PO7,PO12
CO3 PO1,PO7,PO9,PO10,PO12
CO4 PO1,PO2,PO6,PO9,PO12
CO5 PO1,PO5,PO6,PO7,PO11

Dept. of ISE, Dr. AIT 2018-2019 Page 2


PREM B [1DA16IS033]

CLOUD COMPUTING

Experiment 1

1. Demonstrate the working of Goole Drive to make spreadsheet and notes.


Objective: Working of Goggle Drive to make spreadsheet and notes.
Requirement: Google account, Internet Connection.

Theory:
Google Drive is a file storage and synchronization service developed by Google. It allows users
to store files in the cloud, synchronize files across devices, and share files. In addition to a
website, Google Drive offers apps with offline capabilities for Windows and macOS
computers, and Android and iOS smartphones and tablets. Google Drive encompasses Google
Docs, Sheets and Slides, an office suite that permits collaborative editing of documents,
spreadsheets, presentations, drawings, forms, and more.

Google Docs

Google Docs is an online word processor that lets you create and format text documents and
collaborate with other people in real time. You can do the following with Google Docs:

 Upload a Word document and convert it to a Google document


 Add flair and formatting to your documents by adjusting margins, spacing, fonts, and
colours — all that fun stuff
 Invite other people to collaborate on a document with you, giving them edit, comment
or view access
 Collaborate online in real time and chat with other collaborators — right from inside
the document
 View your document's revision history and roll back to any previous version
 Download a Google document to your desktop as a Word, OpenOffice, RTF, PDF,
HTML or zip file
 Translate a document to a different language
 Email your documents to other people as attachments

Google Sheets

Google Sheets is an online spreadsheet app that lets you create and format spreadsheets and
simultaneously work with other people. You can do the following with Google Sheets:

 Import and convert Excel, .csv, .txt and .ods formatted data to a Google spreadsheet
 Export Excel, .csv, .txt and .ods formatted data, as well as PDF and HTML files
 Use formula editing to perform calculations on your data, and use formatting make it
look the way you'd like
 Chat in real time with others who are editing your spreadsheet

Dept. of ISE, Dr. AIT 2018-2019 Page 3


PREM B [1DA16IS033]

 Create charts with your data


 Embed a spreadsheet — or individual sheets of your spreadsheet — on your blog or
website

Google Slides

Google Slides is an online presentations app that allows you to show off your work in a visual
way. You can do the following with Google Slides:

 Create and edit presentations


 Edit a presentation with friends or co-workers, and share it with others effortlessly
 Import .pptx and .pps files and convert them to Google presentations
 Download your presentations as a PDF, a PPT, or a .txt file
 Insert images and videos into your presentation

Steps to create a Google document

1. Login to your Google account and go to your drive.

Dept. of ISE, Dr. AIT 2018-2019 Page 4


PREM B [1DA16IS033]

2. Click on the New button and select any of the following i.e. Google Docs, Slides or
Sheets. You can either choose a blank document or an existing template

Document created using Google Docs

Dept. of ISE, Dr. AIT 2018-2019 Page 5


PREM B [1DA16IS033]

Spreadsheet created using Google Docs.

Dept. of ISE, Dr. AIT 2018-2019 Page 6


PREM B [1DA16IS033]

Presentation created using Google Slides

Dept. of ISE, Dr. AIT 2018-2019 Page 7


PREM B [1DA16IS033]

Steps to upload a document to Google Drive

1. Click on the New button and select the File upload option from the drop-down menu.

2. A dialog box appears and select the documents you would like to upload and click
Open.

Dept. of ISE, Dr. AIT 2018-2019 Page 8


PREM B [1DA16IS033]

3. The document starts uploading and the uploaded file appears in the Drive

Steps to delete an item from Google Drive

1. From your Drive, select the item(s) you want to delete, right click on the item and select
remove option or from the More menu, choose Move to trash.

Dept. of ISE, Dr. AIT 2018-2019 Page 9


PREM B [1DA16IS033]

2. The item will be moved to the Trash and to permanently delete the item, go to Trash
select them and choose Delete forever.

Dept. of ISE, Dr. AIT 2018-2019 Page 10


PREM B [1DA16IS033]

Experiment 2

2. Working with Dropbox


Objective: Working with Dropbox.
Requirements: Google account and Internet Connection.

Theory:
Dropbox is a personal cloud storage service that is frequently used for file sharing and
collaboration. The Dropbox application is available for Windows, Linux desktop operation
systems.
1. Login into your Dropbox account

Dept. of ISE, Dr. AIT 2018-2019 Page 11


PREM B [1DA16IS033]

2. Click on create new file and select the Microsoft word

3. Spreadsheet created with Microsoft Excel

Dept. of ISE, Dr. AIT 2018-2019 Page 12


PREM B [1DA16IS033]

4. Slides(PowerPoint) using Microsoft Presentation

5. Document using Microsoft Word.

Dept. of ISE, Dr. AIT 2018-2019 Page 13


PREM B [1DA16IS033]

6. For uploading a file or folder click on home and click on upload

7. Select which are the files to be uploaded

Dept. of ISE, Dr. AIT 2018-2019 Page 14


PREM B [1DA16IS033]

8. To delete the file, right click on folder and select the delete option

Dept. of ISE, Dr. AIT 2018-2019 Page 15


PREM B [1DA16IS033]

Experiment 3

3. Demonstrate the working of Codeanywhere


Objective: Working of Codeanywhere

Requirement: Google account, Internet connection

Theory: What is Codeanywhere?


Codeanywhere is a cross platform cloud IDE and it has all the features of Desktop IDE but
with additional features only a cloud application can give you!
Codeanywhere is very flexible and you can set up your workflow anyway you want it.
All the features you will need any coding task are built into codeanywhere, making
development more roductive and fun.

 More than 120 programming languages syntax


 Code completion(js, php, html, css)
 Lining(js, css)
 Code beautify
 Open and save files with more than 200.000 lines

1. Login to get started with codeanywhere, just login if you are already registred.

Dept. of ISE, Dr. AIT 2018-2019 Page 16


PREM B [1DA16IS033]

2. Build a container go to Default and select New connection and then the container

3. Choose which predefined stack you will use and wait until the container is deployed

Dept. of ISE, Dr. AIT 2018-2019 Page 17


PREM B [1DA16IS033]

4. Right click on the created container and fill in the program name along with the
extension

5. The code can be executed in the terminal that can be obtained by right clicking the
terminal and click SSH terminal and direct run by clicking the run button

Dept. of ISE, Dr. AIT 2018-2019 Page 18


PREM B [1DA16IS033]

Experiment 4

3. Demonstrate the working of Google Form to develop event feedback system.


Objective: Working of Google Form to develop event feedback system.

Requirements: Google Account, Internet Connection.

Theory: Google form is a survey administration app that is included in the Google Drive
office suite along with Google Docs, Google Sheets, and Google slides. Forms features
all of the collaboration and sharing features found in Docs, Sheets and slides.

Google form is a tool that allows collecting information form users via a personalised
survey or quiz. The information is then collected and automatically connected to a
spreadsheet. The spreadsheet is populated with the survey and quiz response. New
features include, but are not limited to, menu search, shuffle of questions for randomized
order, limiting responses to once per person.

When you need to gather data for your spreadsheet, a form is your best friend.

1. Login to Gmail account.

Dept. of ISE, Dr. AIT 2018-2019 Page 19


PREM B [1DA16IS033]

There’s also a link to Google Forms in Docs, Sheets and Slides: Click fileNewForm to
start a new blank form.

The form editor is straight forward. Your form fills the centre of the screen, with space for a
title and description followed by form fields. Click a form field to edit it and add questions.
Use the dropdown box next to the field to choose the field type such as multiple choice,
checkboxes, short answer and so on.

Google Forms includes 12 field types: 9 question types, along with text, photo, and video fields.
Just click the + icon in the right sidebar to add a new question, or click the text, photo, or
video icons to add media to your form.

Dept. of ISE, Dr. AIT 2018-2019 Page 20


PREM B [1DA16IS033]

Each field includes a copy button to duplicate the field, for a simple way to add similar
questions to your form. There's also a delete button, options to make the field required, and a
menu with extra options on the right side. You can switch question types at any time, though
do note that your field settings and questions will reset if you switch from multiple choice,
checkbox, or menu to any of the other question types. And, to quickly fill in questions in fields,
just press enter to start adding another one.

Title and Description: The title and description fields are added automatically to every form
and field—though the description is hidden by default on most fields—and you can add an
extra title block anywhere with the Tt button. You can leave the title and description blank on
questions, but the main form title must be filled in.

Short Answer: This field is perfect for asking for small bits of text: names, email addresses,
values, and more. You get one line of text to answer the question—though your users could
actually enter as much text as they want.
To make sure you get the answers you need, this field includes number, text, length, and regular
expression data validations. Number validations help you watch for ranges of values, while
text validations are perfect to watch for email addresses or links.
Paragraph: Much the same as the short answer field, this is a field for text—long-form text.
Length and regular expression are the only data validations available here, so only use it when
you want detailed feedback or longer notes in the answer.

Dept. of ISE, Dr. AIT 2018-2019 Page 21


PREM B [1DA16IS033]

Multiple Choices: The default field for new questions in a Google Form, multiple choice lets
you list options and have users select one. You can then have the form jump to another section
based on the answer or have the answer options shuffled to prevent bias.
Checkboxes: Similar to multiple choices, this field lets you list answers and have users select
as many as they want. It also includes data validation to require users to select a specific number
of options. It doesn't include section jumps, however.
Dropdown: Want all of the answer options in a menu? This field's for you. It's the exact same
as the multiple choices field—with the same section jump and shuffle options—only this time
the answers are in a menu. This is useful for keeping your form compact when there are many
answer options.
Date: Want to ask for a specific date or time, perhaps to schedule an event or log an activity?
The date field is the one you want to select. It can ask for a date and month and, optionally, the
year and time as well.
Do note that the date format will be shown in the default format for your location. If your
Google Account is set to US English locale, dates will be formatted as MM/DD/YYYY; UK
English accounts, on the other hand, will show dates as DD/MM/YYYY. Your users will see
the date options in your locale's date format, unless they're logged into their Google Account,
so be sure to keep that in mind when creating forms.
Time: Time lets you request a length of time in hours, minutes, and (optionally) seconds, for a
way to log how long an activity took.

Share Your Form


You've made a form, and now it's time to share it with the world and get responses to your
questions. Or perhaps you want to get feedback from your team on your form. Either way,
here's what you need to do in Google Forms.

Dept. of ISE, Dr. AIT 2018-2019 Page 22


PREM B [1DA16IS033]

Sharing the form via email includes an extra option: including the form in the email. This copies
your actual form options into the email, and if your recipient uses Gmail, they can fill out the
form inside their Gmail inbox, click Submit, and send in their answer without ever seeing your
real form. That only works in Gmail, though—Apple Mail shows the form fields but doesn't
send the answers to Google Forms, while Outlook.com can't even open the form—so you might
want to include a note with your form for non-Gmail users.

Dept. of ISE, Dr. AIT 2018-2019 Page 23


PREM B [1DA16IS033]

Once you've created the form, you don't need to do anything extra to store respondents' answers
in Google Forms. By default, it'll save each answer in the Responses tab, showing summary
graphs and lists of answers. An individual response view shows the live form along with the
results from each respondent.
That's great for quick form results, but for more tools to analyse answers, you can link your
form to a Google Sheets spreadsheet. Just click the green Sheets icon in the Responses tab or
click Select Response Destination in the menu, then create a new spreadsheet or select an
existing one to store the answers.

Dept. of ISE, Dr. AIT 2018-2019 Page 24


PREM B [1DA16IS033]

Experiment 5

5. Creating an application in Salesforce .com using single object

Objective: Creating a Application in SalesForce.com using single object


Requirements: Gmail account, Internet connection.
Theory:
Salesforce is an American cloud-based software company. It also sells a
complementary suite of enterprise applications focused on customer service, marketing
automation analytics and application development

1. Click on setupcreateobjectsnew custom object

Dept. of ISE, Dr. AIT 2018-2019 Page 25


PREM B [1DA16IS033]

2. AppApp managernew lightning app

3. Enter app Details and Brandingnext

Dept. of ISE, Dr. AIT 2018-2019 Page 26


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 27


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 28


PREM B [1DA16IS033]

4. Object managercustom object

Dept. of ISE, Dr. AIT 2018-2019 Page 29


PREM B [1DA16IS033]

Enter details:

label: libdbplural labels: libdbsnext

Dept. of ISE, Dr. AIT 2018-2019 Page 30


PREM B [1DA16IS033]

Field and relationshipcreate new custom field

Select data type

Dept. of ISE, Dr. AIT 2018-2019 Page 31


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 32


PREM B [1DA16IS033]

homeuser interfacetabsnew custom object tabs

Dept. of ISE, Dr. AIT 2018-2019 Page 33


PREM B [1DA16IS033]

App launcherlibdb

Fill in the details and other fields.

Dept. of ISE, Dr. AIT 2018-2019 Page 34


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 35


PREM B [1DA16IS033]

Experiment 6

6. Creating an application in Salesforce.com using multiple object

Dept. of ISE, Dr. AIT 2018-2019 Page 36


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 37


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 38


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 39


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 40


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 41


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 42


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 43


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 44


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 45


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 46


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 47


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 48


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 49


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 50


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 51


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 52


PREM B [1DA16IS033]

Dept. of ISE, Dr. AIT 2018-2019 Page 53


PREM B [1DA16IS033]

Experiment 7

7. Demonstrate the working of codenvy to demonstrate provisioning and scaling of a


website

Objective: to Demonstrate the working of codenvy to demonstrate provisioning and scaling


of a website

Requirement: Internet connection and codenvy account

Theory: Codenvy is a cloud IDe and developer workspace server that allows anyone to
contribute to a project without installing software. It is based on open source Eclipse

 One-click project onboarding makes getting started easy.


 Containerized workspaces let you use any stack.
 Use any programming language or IDE.
 Integrate version control and issue management seamlessly.
 Full root access and SSH
 Work online, offline with CLI sync, or behind the firewall with Codenvy on-
premises.

Codenvy is offered as SaaS, on premises and white label or badge your public git repository
to give anyone instant access to review or contribute to your project.

Steps:

1. Go to www.codenvy.com, register and login.

Dept. of ISE, Dr. AIT 2018-2019 Page 54


PREM B [1DA16IS033]

2. Create a workspace by clicking Dashboard Create Workspace, select a stack in which


you want to work in and select the Create button.Once the workspace is created, the
IDE is loaded.

3. Select the Create Project to start a new project or select Import Project to load an
existing project. Select the environment in which you want to work in and enter the
name of your project and click Create.

Dept. of ISE, Dr. AIT 2018-2019 Page 55


PREM B [1DA16IS033]

4. Right click on your project and select new file option and enter the name of the new
file

5. Code in newly created file

Dept. of ISE, Dr. AIT 2018-2019 Page 56


PREM B [1DA16IS033]

6. To run your file give the appropriate code in the terminal and the output can viewed in
the same terminal

Dept. of ISE, Dr. AIT 2018-2019 Page 57

Anda mungkin juga menyukai