Cloud Computing - CS 802 (B) Lab Manual - SS

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 41

MAHAKAL INSTITUTE OF TECHNOLOGY&MGMT, UJJAIN

Approved By: All India Council of Technical Education (New Delhi)

DEPARTMENT OF
COMPUTER SCIENCE AND ENGINEERING

LAB MANUAL

N a m e o f S tu d e n t: M AZH AR Q U RESH I
N am e of Lab : C L O U D C O M P U TIN G

S u b je c t C o d e : C S -8 0 2 (B )

B ra n c h : C o m p u te r S c ie n c e a n d E n g in e erin g

Y ea r/ S em : C S E /V III
SOFTWARE REQUIREMENT:

1 . P yth o n
2 . V M W a re
3 . J a va
4 . U b u n tu

BATCH DISTRIBUTION:

T o ta l D ed ic a ted In d ivid u a l C o m p u te r S ys tem : 3 0 S ys te m s


(P e r B a tc h o f 3 0 S tu d en ts )

REFERENCE BOOKS:

S. No. Title of the Book Authors Publication


1. M a ste rin g C lo u d C o m p u ting B u y y a , S e lv i TM H Pub
2. C lou d C o m p u ting K u m a r S a u ra bh W ile y P u b
3. C lou d C o m p u ting - A V e lte TM H Pub
P ra c t ic a l A p p ro a c h
EXPERIMENT NO. 1

U nit/To p ic : 1 /A p p lic a tio ns o f C loud

P R O B LE M D EFIN IT IO N :

W o rk in g o f G o o g le D rive to m a k e s p rea d s h e et a n d n o tes .

O B J EC TIVE :

T o u n d e rs ta n d th e W o rk in g o f G o o g le D riv e to p re p a re d o c u m en ts .

R EQ UIR EM E N T:

G o o g le a c c o u n t, In tern et C o n n e c tio n .

TH E O RY :
Th e o ry a tta c h e d he re .

IN P U T SE T:

O U TP UT S ET :

E X P E C TE D VIV A Q U E STIO N S:

Q . 1 W h a t e s s en tia l th in g s a u s e r s h o u ld k n o w b ef o re g o in g fo r c lo u d c o m p u tin g p la tfo rm ?


Q.2 H o w d o e s c lo u d c o m p u tin g p ro vid e s o n -d em a n d fu n c tio n a lity ?

Q.3 W h a t is th e d iffe re n c e b etw ee n s c a la b ility a n d ela s tic ity?

N A M E O F FA C U LT Y:SH IL P A SH A RM A

SIG N A TU R E :

D A TE :
EXPERIMENT NO. 2

U nit/To p ic : 3 /V irtua liza tio n

P R O B LE M D EFIN IT IO N :

La u n c h in g o f V M ( Virtua l M a c h in e) o n W in d o w s (H o s t O p era tin g S ys te m ) u s in g V M w a re


(h yp ervis o r).

O B J EC TIVE :

T o u n d e rs ta n d th e c o n c ep t o f V irtu a liza tio n a n d V M W a re s o ftw a re .


P R E R EQ U ISITE S/R E Q U IR E D S ETU P S:

V M w a re-p la yer-6 .0 . 0 -1 2 9 5 9 8 0 ( hy p erv is o r)


u b u n tu -1 0 .0 4 .1 -d es k to p -i3 8 6 (Im a g e o f G u es t O p era tin g S ys te m i.e. IS O file )
S tep s :
1 . In s ta ll VM w a re P la ye r
2 . O n c e y o u h a v e in s ta lle d VM w a re P la yer a n d d o w n lo a d e d U b u n tu , yo u ’ re rea d y to s e tu p
U b u n tu . O p en V M w a re P la yer, a n d c h o o s e “ C rea te a N ew V irtu a l M a c h in e. ”
3 . In s ta ll U b u n tu d irec tly fro m th e ISO file .
4 . V M w a re w ill c o n tin u e in s ta llin g U b u n tu ev en w h ile th e to o ls a re d o w n lo a d in g . O n c e th e
in s ta ll is fin is h ed , yo u w ill b e p res e nte d w ith yo u r U b u n tu lo g in s c re en .

IN P U T SE T:

O U TP UT S ET :

E X P E C TE D VIV A Q U E STIO N S:

Q . 1 W h a t is th e re q u irem en t o f v irtu a liz a tio n p la tfo rm s in im p lem en tin g c lo u d ?


Q . 2 W h a t is th e u s e o f e u c a lyp tu s in c lo u d c o m p u tin g en v iro n m e nt?

Q . 3 W h a t is H yp e rv is o r in C lo u d C o m p u tin g a n d its typ e s ?

N A M E O F FA C U LT Y: SH ILP A S H A R M A

SIG N A TU R E :

D A TE :

EXPERIMENT NO. 3

Un it/T op ic: 2/ C lo ud Serv ic e M o d els

P R O B LE M D EFIN IT IO N :
S tu d y o f C lo u d C o m p u tin g S e rv ic e M o d els .

O B J EC TIVE :

T o u n d e rs ta n d th e c o n c ep t o f D ifferen t S ervic e m o d e ls o f c lo ud .

TH E O RY :

T h eo ry attac h ed h ere.

E X P E C TE D VIV A Q U E STIO N S:

Q . 1 W h a t a re th e d iff eren t la ye rs o f c lo u d c o m p u tin g ?

Q . 2 H o w im p o rta n t is p la tfo rm a s a s erv ic e?

Q . 3 W h a t res o u rc es a re p ro vid e d b y in fra s tru c tu re a s a s ervic e?

N A M E O F FA C U LT Y: SH ILP A S H A R M A

SIG N A TU R E :

D A TE :
EXPERIMENT NO. 4

U nit/T op ic: 4/ H a d o op

P R O B LE M D EFIN IT IO N :

B rie f S tu d y o f b a s ic term ino lo g ie s o f H a d o o p .

O B J EC TIVE :

T o u n d e rs ta n d th e c o n c ep t o f H a d o o p T ec h no lo g y.

TH E O RY : Th e o ry a tta c h e d he re .

E X P E C TE D VIV A Q U E STIO N S:

Q . 1 W h a t d o yo u u n d e rs ta n d b y M a p R ed u c e ?
Q . 2 E x p la in h o w m a p red u c e w o rk s ?
Q . 3 H o w d o e s fa u lt to lera n c e w o rk in m a p re d u c e?

N A M E O F FA C U LT Y: SH ILP A S H A R M A

SIG N A TU R E :

D A TE :
EXPERIMENT NO. 5

U nit/T op ic: 4/ H a d o op

P R O B LE M D EFIN IT IO N :

In s ta lla tio n o f H a d o o p o n W in d o w s 7 o p e ra tin g s ys te m .

O B J EC TIVE :

T o L ea rn In s ta lla tio n o f H ad o o p .

P R E R EQ U ISITE S/R E Q U IR E D S ETU P S:

jd k -6 u 3 1 -w in d o w s -i5 8 6
h a d o o p -2 . 3 .0
H a d o o p -2 .3 -C o n fig -m a s ter
n p p .6 .5 .In s ta ller

STE P S:

1 . P u t a ll s etu p s in C D rive
2 . R u n th e s e tu p jd k -6 u 3 1 -w in d o w s -i5 8 6 a s b y s e ttin g p a th C :\ J a va
3 . (a ) O p en H a d o o p -2 .3 -C o n fig -m a s ter
(b ) O p en b in fo ld er
4 . (a ) O p en H a d o o p -2 .3 .0
(b ) O p en b in fo ld er

5 . R ep lac e th e file ya rn ( h ad o o p -2 .3 .0 ) w ith th e file ya rn (H a d o o p -2 .3 -C o n f ig -m a s te r)


6 . (a ) O p en H a d o o p -2 .3 -C o n fig -m a s ter
(b ) O p en e tc f o ld e r
7 . (a ) O p en H a d o o p -2 .3 .0
(b ) O p en e tc f o ld e r
8 . R ep lac e fo ld er h a d o o p ( ha d o o p -2 .3 .0 ) w ith fo ld er h a d o o p (H a d o o p -2 .3 -C o n fig -m as te r)
9 . O p e n C o n tro l p a n el  s ys te m - a d v a n c e s ys te m s etting
1 0 . T h e s ys tem Pro p e rties w in d o w w ill o p e n .
1 1 . C lic k o n a d va n c e d T a b E n viro n m en t V a ria b le s ta b

1 2 . S et th e N e w U s er V a ria b le a s s h o w n b e lo w

1 3 . S ys tem v a ria b le P a th E d it a s s h o w n b e lo w

(a ) S et fo r b in fo ld er o f h a d o o p

(a ) S et fo r b in fo ld er o f ja v a

1 4 . S et th e N e w U s er V a ria b le a s s h o w n b e lo w

1 5 . R u n th e c o m m a n d a s
1 6 . O p en the file fo r ed itin g a s s h o w n in th e s c re en s h o t b e lo w :

1 6 . E d it th is file a s s h o w n b e lo w s c re en .

1 7 . S a ve th is file .
1 8 . R u n th e c o m m a n d a s fo llo w s & ta k e th e d iffere nt s c re en s h o ts ru n n in g .
IN P U T SE T:

O U TP UT S ET :

E X P E C TE D VIV A Q U E STIO N S:

Q.1 N a m e th e p la tfo rm s w h ic h a re u s ed f o r la rg e -s c a le c lo u d c o m p u tin g .

Q.2 W h y A P I’ s a re u s e d in c lo u d s e rv ic e s ?

Q.3 N a m e s o m e o f th e c lo u d c o m p u tin g p la tfo rm d a ta b a s es ?

N A M E O F FA C U LT Y: SH ILP A S H A R M A

SIG N A TU R E :

D A TE :
EXPERIMENT NO. 6

U nit/To p ic:4 /clo ud using pytho n

P R O B LE M D EFIN IT IO N :

P yth o n 2 .7 .3 : D o w n lo a d In s ta lla tio n a n d T es tin g .

O B J EC TIVE :

T o u n d e rs ta n d th e c o n c ep t o f P yth o n la n g u a g e a n d its a p p lic a tio n s .

STE P S:

Download

D o w n lo a d th e file p yth o n -2 .7 .3 .m s i

Installation

In s ta ll file w ith in s tru c tio n s

Testing

W e c a n tes t w h eth er P yth o n is in s ta lle d o n s ys tem an d c h ec k w h ic h v ers io n is in s ta lled b y

ru n n in g th e f o llo w in g c o m m a n d a t a c o m m a n d p ro m p t.

p yth o n -V

(T h a t’ s a c a p ita l “ V .” ) If P yth o n is in s ta lle d , it p rin ts its ve rs io n n um b er, lik e s o :

P yth o n 2 .7 .3

IN P U T SE T:
O U TP UT S ET :

E X P E C TE D VIV A Q U E STIO N S:

Q . 1 N a m e s o m e o f th e fe a tu res o f P yth o n .

Q . 2 W h a t a re th e s u p p o rted d a ta typ e s in P yth o n ?

Q . 3 W h a t is th e d iffe re n c e b etw ee n tu p le s a n d lis ts in P yth o n ?

N A M E O F FA C U LT Y:

SIG N A TU R E :

D A TE :

EXPERIMENT NO. 7

U nit/To pic : 5 /G o og le A p p E ng ine

P R O B LE M D EFIN IT IO N :

A B rie f S tu d y o f G o o g le A p p E n g in e S D K f o r P yth o n a n d G o o g le A p p E n g in e La u n c he r.

O B J EC TIVE :

T o u n d e rs ta n d D iffere nt A p p s u s in g P yth o n .

TH E O RY : Th e o ry a tta c h e d he re .

E X P E C TE D VIV A Q U E STIO N S:

Q . 1 W h a t is th e d iffe re n c e b etw ee n d ee p a n d s h a llo w c o p y?

Q . 2 D is c u s s th e D ja n g o a rc h itec tu re.

Q . 3 W h a t is th e d iffe re n c e b etw ee n N u m P y a n d S c iP y?

N A M E O F FA C U LT Y: SH ILP A S H A R M A

SIG N A TU R E :

D A TE :
EXPERIMENT NO. 8

U nit/T op ic: 5/ Use s O f G o og le A p p E ng ine

P R O B LE M D EFIN IT IO N :

T h e G o o g le A p p E n g in e SD K f o r Pyth o n: In s ta lla tio n a n d T es tin g .

O B J EC TIVE :

T o u n d e rs ta n d In s ta lla tio n a n d te s tin g o f A p p u s in g P yth o n .

STE P S:

In s ta lla tio n : th e G o o g le A p p E n g in e S D K fo r P yth o n

F o r W in d o w s , th e P yth o n S D K is a n .m s i (M ic ro s o ft In s ta lle r) file.


W e h a v e d o w n lo a d ed th e A p p E n g in e P yth o n S D K b u n d le o u r o p era tin g s ys tem fro m th e

G o o g le A p p E n g in e w e b s ite lin k .

h ttp :// g o o g lea p p en g in e .g o o g lec o d e.c o m /f ile s /G o o g leA p p E n g in e-1 .7 .2 . m s i

T h is in s ta lls th e G o o g le A p p E n g in e L a u n c h er a p p lic a tio n, ad d s a n ic o n to S tart m e n u , a n d

a d d s th e c o m m a n d -lin e to o ls to th e c o m m a n d p a th .

T es tin g : G o o g le A p p E n g in e S D K fo r P yth o n

O u r c o m m a n d p ro m p t lo o k s lik e :

T o tes t th a t the A p p E n g in e Py th o n S D K is in s ta lled , ru n th e fo llo w in g c o m m a n d a t a

c o m m a n d p ro m p t:

T h e c o m m a n d p rin ts a h e lp fu l m e s s a g e a n d ex its .

Google App Engine applications

G o o g le A p p E n g in e a p p lic a tio n s c a n b e w ritte n in th e P yth o n 2 .7 , J a va , G o o r P H P

p ro g ra m m in g la n g u a g e s , w e u s e P yth o n 2 .7 .

A p p lic a tio n c o d e w ritten fo r th e P yth o n en v iro n m e n t m u s t b e w ritte n ex c lu s ive ly in Py th o n .

W e b u ild w eb a p p lic a tio n s u s in g the P yth o n p ro g ra m m in g la n g u a g e , a n d ta k e a d va n ta g e o f

th e m a n y lib ra ries , to o ls a n d fram e w o rk s fo r P yth o n th a t p ro fe s s io n a l d ev elo p e rs u s e to

b u ild w o rld -c la s s w e b a p p lic a tio ns .

A p p E n g in e e xe c u tes P yth o n a p p lic a tio n c o d e u s in g a p re -lo a d e d P yth o n in terp rete r in a

s a fe "s a n d b o x ed " en v iro n m e n t. O u r a p p rec eive s w e b re q u e s ts , p erfo rm s w o rk , a n d s e n d s

res p o n s es b y in tera c tin g w ith th is e n viro n m en t.

The Python Development Server


T h e A p p E n g in e P ytho n S D K in c lud es a w eb s e rv er a p p lic a tio n yo u c a n ru n o n yo u r c o m p u ter

th a t s im u la tes yo ur a p p lic a tio n ru n n in g in th e A p p E n g in e P yth o n ru n tim e en v iro n m e nt.

O n c e yo u h a ve a d ire c to ry fo r yo u r a p p lic a tio n a n d a n a p p . ya m l c o n fig u ra tio n file , yo u c a n

s ta rt th e d e ve lo p m en t w e b s e rv er w ith th e d ev _ a p p s e rve r.p y c o m m a n d :

T h e w eb s e rv er lis ten s o n p o rt 8 0 8 0 b y d ef a u lt. W e vis it th e a p p lic a tio n a t th is U R L:

h ttp :// lo c a lh o s t:8 0 8 0 /.

The Python runtime environment

W ith A p p E n g in e's P yth o n ru n tim e en v iro n m e n t, w e c a n im p lem en t o u r a p p u s in g th e P yth o n

p ro g ra m m in g la n g u a g e , a n d ru n it o n a n o p tim iz ed P yth o n in te rp reter.

A p p E n g in e in c lu d es ric h A P Is an d to o ls fo r Pyth o n w e b a p p lic a tio n d e ve lo p m e nt, in c lu d in g

a fe a tu re ric h d a ta m o d elin g A P I, a n ea s y-to -u s e w e b a p p lic a tio n fra m ew o rk , a nd to o ls fo r

m a n a g in g a n d a c c es s in g yo u r a p p 's d a ta .

IN P U T SE T:

O U TP UT S ET :

E X P E C TE D VIV A Q U E STIO N S:

Q . 1 W h a t is G o o g le C lo u d P la tf o rm ?

Q . 2 W h a t a re th e v ario u s c o m p o ne n ts o f th e G o o g le C lo u d P la tfo rm ?

Q . 3 W h a t d o yo u k n o w a b o u t G o o g le C o m p u te E n g in e ?

N A M E O F FA C U LT Y: SH ILP A S H A R M A

SIG N A TU R E :

D A TE :

EXPERIMENT NO. 9

U nit/To p ic : 5 /M icro so ft A zure


P R O B LE M D EFIN IT IO N :

W o rk in g a n d in s ta lla tio n o f M ic ro s o ft A z u re.

O B J EC TIVE :

T o lea rn H o w to in s ta ll M ic ro s o f t A z u re a n d its w o rk in g .

R EQ UIR EM E N T:

A cc o unt on M ic ro so ft A zu re

TH EO R Y:
T h eo ry attac h ed h ere.

Le t u s s e e h o w to c rea te th e s to red p ro c ed u re in A z u re p o rta l s tep b y s tep .

Steps:

Lo g in to th e A zu re p o rta l u s in g th e b e lo w lin k . Y o u c a n s e e th e s c re en lo o k s im ila r to b elo w

h ttp :// w w w .m ic ro s o ft.c o m / w in d o w s a z ure /

Lo g in to th e p o rta l u s in g yo u r M ic ro s o ft W in d o w s L ive c red e n tia ls w ith A z u re c red en tia ls to


th e m an a g em en t p o rta l a nd yo u w ill s ee th e s c re en a s s h o w n in th e s c re en b e lo w
N o w w e c a n s ee th e D a tab a s e M en u a t th e b o tto m le ft, C lic k o n th a t w ill g o to th e D a ta b a s e
S u b s c rip tio n w in d o w a s s h o w n in th e s c re en b e lo w

C lic k in g o n th e s u b s c rip tio n n a m e w ill p ro vid e th e c o m p le te d e ta ils o f th e s erv er c rea ted


a n d th e n ew d a ta b a s e c rea ted a s s h o w n in th e s c ree n b elo w
N o w w e h a ve a d a ta b a s e c rea te d (Le a rn A zu re ) w ith a M a x s ize o f 1 G B a n d re ad y to u s e it
fo r th e a p p lic a tio n b a s ed o n th e re q u ire m en t. T o c rea te a n ew S to red P ro c ed u re c lic k o n
M a n a g e a t th e to p m e n u to o l b a r as s h o w n in th e s c ree n b elo w

C h e c k m y p rev io u s artic le o n h o w to c o n n ec t to th e m a n a g e p o rta l u s in g the c red en tia ls a n d


th e fire w a ll u s in g the lin k . O nc e lo g g e d in yo u s c ree n w ill lo o k lik e b elo w
T o c re a te a n e w s to re d p ro c ed u re c lic k o n N ew S to red p ro c e d u re m en u a t th e to p a n d w e
w ill s ee a s c rip t w in d o w a s s h o w n in th e s c re en b e lo w

N o w w e w ill w rite o u r c u s to m iz ed s to re d p ro c e d u re fo r th e E m p D eta ils ta b le w h ic h w e


c re a te d in o u r e a rlier tuto ria l(C h e c k m y p rev io u s a rtic le fo r ta b le c re a tio n ) a s s h o w n in th e
s c re en b e lo w
O nc e w e c re a te th e s tru c tu re fo r th e s to red p ro c e d u re a s s h o w n in th e a b o v e s c ree n w e
n e ed to s a v e it. O n c e s a v e w e c an u s e th e s to re d p ro c ed u re to e xe c u te th e s a m e a s s h o w n
in th e s c re en b e lo w . W e n e ed to n a v ig a te to th e n e w q u ery w in d o w in th e D a ta b a s e s ec tio n
a n d w rite a ex ec ute c o m m a n d a s s h o w n b elo w .

W e c a n c rea te n N u m b er o f s to red p ro c e d u re a s p e r th e req u ire m e n t a n d u s e it a c ro s s th e


p ro c e s s w h ic h w e n o rm a lly d o w ith th e tra d itio n a l S Q L S erve r lo c a lly.

IN P U T SE T:

O U TP UT S ET :
E X P E C TE D VIV A Q U E STIO N S:

Q . 1 W h a t is M ic ro s o ft A z u re ?

Q . 2 W h a t is th e d iffe re n c e b etw ee n tra d itio n a l d a ta c en ters a n d c lo u d ?

Q . 3 W h a t is th e re la tio n s h ip b etw ee n S O A a n d c lo u d a rc h ite c tu re ?

N A M E O F FA C U LT Y: SH ILP A S H A R M A

SIG N A TU R E :

D A TE :
EXPERIMENT NO. 10

U nit/To p ic : 5 /A ne ka

P R O B LE M D EFIN IT IO N :

W o rk in g w ith M a n g ra s o ft A n e k a S o ftw a re.

O B J EC TIVE :

S tu d y o f M a n g ra s o ft A n e k a S o ftw a re a n d its b eh a v io u r.

R EQ UIR EM E N T:

E C M A R u n tim e E n viro n m en t, D a ta b a s e

TH E O RY :

T h eo ry attac h ed h ere.

Installation
T h is s e c tio n a s s u m es th a t yo u h a ve a c o p y o f th e A n e k a d is trib u tio n w ith yo u . If yo u d o n o t
h a ve a c o p y a lrea d y, yo u c a n d o w n lo a d th e la tes t v ers io n fro m M a n jra s o ft’ s W e b s ite.

Installing Aneka Cloud Management Studio


A n e k a in s ta lla tio n b eg in s w ith in s ta llin g A n e k a C lo u d M a n a g e m e n t S tu d io . T h e C lo u d
M a n a g em e n t S tu d io is yo u r p o rta l fo r c re a tin g , c o n fig u rin g and m a n a g in g A n ek a
C lo u d s . In s tallin g A n e k a u s in g th e d is trib u te d M ic ro s o ft In s ta lle r P a c k a g e ( M S I) is a
q u ic k p ro c e s s in v o lvin g th ree s te p s a s d es c rib ed b elo w .

Step 1 – Run the installer package to start the Setup Wizard


F ig u re - W e lc o m e P a g e
T h e W e lc o m e P a g e is s e lf-ex p la n a to ry a n d yo u c a n p ro c e ed b y c lic k in g n ex t.
Step 2 – Specifying the installation folder
In S tep 2 yo u s p ec ify th e in s ta lla tio n fo ld er. B y d efa u lt A n ek a is in s ta lled in
C :\ P ro g ra m
F ile s \ M a n jra s o f t\ A n e k a .3 . 0 .

F ig u re - S p e c ifyin g th e in s ta lla tio n fo ld e r


Step 3 – Confirm and start the installation
A t th is p o in t yo u a re rea d y to b eg in th e in s ta lla tio n . C lic k “ N ex t” to s ta rt th e in s ta lla tio n o r
“ B a ck” to c h a n g e yo u r in s ta lla tio n fo ld e r.

F ig u re - C o n firm In s ta lla tio n


O n c e th e in s ta lla tio n is c o m p lete, c lo s e th e w iz a rd a n d la u n c h A n ek a M a n a g e m e n t S tu d io
fro m th e s ta rt m en u .

F ig ure - In s ta llatio n P ro g re s s
F ig u re - In s ta lla tio n C o m p lete

F ig u re - S ta rt M en u

Aneka Cloud Management Studio


T h e A n e k a C lo u d M a n a g e m e n t S tu d io is yo u r p o rta l fo r m a n ag in g yo u r in f ra s tru c tu re a n d
c lo u d s . It p ro v id e s fa c ilities fo r d e fin in g yo u r u n d erlyin g c lo u d in fra s tru c tu re a n d c rea tin g
o n e o r m o re A n e k a C lo u d s o n to p . It le ts yo u c re a te a n d m a n a g e A n ek a u s er a c c o u n ts ,
m o n ito r th e o v era ll p erfo rm a n c e o f yo u r C lo u d , o b ta in d eta iled rep o rtin g in f o rm a tio n o n
res o u rc e u s a g e , d a ta tra ns f ers , b illin g a n d a p p lic a tio n (jo b ) ex ec u tio n . It a ls o p ro v id es
fa c ilitie s fo r tro u b le s h o o tin g yo u r d e p lo ym en ts b y a llo w in g yo u to a c c es s a n d ex a m in e
rem o te lo g s .

Starting up Management Studio

F ig u re - S ta rtin g A n e k a C lo u d M a n a g e m e n t S tu d io fo r th e firs t tim e .

W h e n A n ek a C lo u d M a n a g e m e n t S tu d io is s ta rte d u p fo r th e firs t tim e yo u ’ ll b e a s k e d to


c re a te a R e m o te R e p o s ito ry fo r p erfo rm in g rem o te in s ta llatio n s . S ettin g up a R e m o te
R e p o s ito ry re q u ires s e le c tin g a s u ita b le re p o s ito ry typ e a n d s u p p lyin g va lid c re d e n tia ls
w h ic h rem o te m a c h in es c a n u s e to c o n n e c t a n d d o w n lo a d req u ire d files . Y o u m a y h o w ev er
c h o o s e to c re a te th is re p o s ito ry a t a la te tim e b ef o re m a k in g rem o te in s ta lla tio n s . If
n o rep o s ito ry is d efin ed , yo u w ill b e re s tric ted to m a k in g lo c a l in s ta lla tio n s o n ly.
F ig u re - C re atin g a re p o s ito ry fo r rem o te in s ta lla tio n s

Shutting down Aneka Management Studio


W h e n a ttem p tin g to s h u t d o w n A n ek a M a n a g e m e n t S tu d io , yo u w ill b e g iv en th e c ho ic e o f
s a vin g a ll c o n fig u ra tio n d a ta fro m th e c u rren t s es s io n . It is h ig h ly re c o m m en d ed th a t yo u
s a ve th is in fo rm atio n a n d res to re it th e n e xt tim e yo u s ta rt u s in g th e M a na g em en t S tu d io .
The Configuration File
T h e c o n f ig u ra tio n f ile , M a n ag em e ntS tu d io . c o n fig , c o n ta in s a ll in fo rm a tio n th a t d es c rib es
yo u r in fra s tru c tu re , yo u r C lo u d s , th e m a c h in e c re d e n tia ls , re p o s ito ries a n d a u th en tic a tio n
k ey s ( s ee s e c tio n o n in s ta llin g th e M a s ter C o n ta in er) th at yo u d efin e d w h en u s in g
A n e k a M a n a g em e n t S tu d io . It is rec o m m en d e d th a t y o u s a v e th is in fo rm atio n w h en
yo u e xit M a n a g em e n t S tu d io s o th a t yo u c a n res to re it a t a la ter s e s s io n , a n d g et
u p -to -s p e ed w ith yo u r C lo u d m a n a g em en t w ith o u t h a v in g to re d ef in e a ll s ettin g s a g a in .
S o m e c o n fig u ra tio n in fo rm a tio n , s u c h a s a u th en tic a tio n k eys , m u s t b e m a in ta in e d s a fely if
yo u a re to a d d n ew C o n ta in ers to yo u r e xis ting C lo u d . L o s in g a n a u the n tic a tio n k e y h o w ev er,
is n o t d etrim en ta l a s yo u w ill b e a b le to rec o n fig u re yo u r c lo u d s w ith a n ew k ey.

F ig u re - R e q u es t to s a ve c o n f ig u ra tio n d a ta w h e n c lo s in g M a n a g e m e n t S tu d io
T h e c o n fig u ra tio n file is a lw ay s e nc ryp ted b efo re b ein g w ritten to d is k fo r s ec u rity
rea s o n s . W h en s a vin g c o n fig u ra tio n d a ta y o u w ill b e re q u ire d to s p ec ify a p a s s w o rd
a s s h o w in F ig u re.

F ig u re - Pa s s w o rd to e n c ryp t c o n fig u ra tio n d a ta

W h e n s ta rtin g u p A n ek a M an a g em en t S tu d io a t a la te r s e s s io n , yo u w ill b e g ive n th e c h o ic e


o f re s to rin g yo u r c o n fig u ra tio n d a ta . If yo u c h o o s e to d o s o , yo u m u s t re -e n te r th e s a m e
p a s s w o rd y o u u s ed w h e n s a v in g .

F ig u re - R e q u e s t to res to re c o n fig u ra tio n d a ta

IN P U T SE T:

O U TP UT S ET :

E X P E C TE D VIV A Q U E STIO N S:

Q . 1 U s e s o f A n e k a S o ftw a re?

Q . 2 w ha t is M a n a g e m e n t s tu d io ?

N A M E O F FA C U LT Y:SH IlP A SH R M A
SIG N A TU R E :

D A TE :

EXPERIMENT NO. 11

U nit/To p ic: 5/C lo ud Se c urity Se rvice s

P R O B LE M D EFIN IT IO N :

S tu d y o f C lo u d S ec u rity M a n a g em en t.

O B J EC TIVE :

T o u n d e rs ta n d D iffere nt c lo u d s ec u rity m a n a g em en t is s u e s an d s o ftw a re .

TH E O RY :

T h eo ry attac h ed h ere.
S ev en p rin c ip le s th a t s u p p o rt in fo rm a tio n a s s u ra n c e

OR

F a c to rs th a t d irec tly a ffe c t c lo u d s o ftw a re as s u ra n c e


C o n fid e n tia lity C o nf id en tia lity re fers to th e p rev en tio n o f in ten tio n a l o r u n in ten tio n a l

u n a u th o riz ed d is c lo s u re o f in fo rm a tio n . C o n fid en tia lity in c lo u d s ys tem s is

re la te d to the a re a s o f in te lle c tu a l p ro p e rty rig h ts , c o ve rt c h a n n els , tra ffic

a n a lys is , e n c ryp tio n , a n d in fe re n c e .

In teg rity T h e c o n c e p t o f c lo u d inf o rm a tio n in te g rity req u ire s th a t th e f o llo w in g th ree

p rin c ip les a re m et:

M o d ific a tio n s a re n o t m a d e to d a ta b y u n a uth o riz ed p ers o n n e l o r

p ro c es s e s .

U n a u th o riz ed m o d ific a tio n s a re n o t m a d e to d a ta b y a u th o riz ed

p e rs o n n el o r p ro c es s e s .

T h e d a ta is in te rn a lly a n d ex tern a lly c o n s is te n t — in o th e r w o rd s , th e

in te rn a l in f o rm a tio n is c o n s is ten t b o th a m o n g a ll s u b -en titie s a nd w ith th e

re a l-w o rld , ex tern a l s itu a tio n.

A v a ila b ility A v a ila b ility e n s u re s th e re lia b le an d tim ely a c c es s to c lo u d d a ta o r c lo u d

c o m p u tin g res o u rc es b y th e a p p ro p ria te p ers o n n e l. A va ila b ility g u a ra n te es

th a t th e s ys te m s a re fu n c tio n in g p ro p e rly w h en n e ed e d . In a d d itio n , this

c o n c e p t g u a ra n te es th a t the s ec u rity s ervic e s o f th e c lo u d s ys tem a re in

w o rk in g o rd e r.

A d e n ia l-o f-s e rv ic e a tta c k is a n e xa m p le o f a th rea t a g a in s t a va ila b ility.

C o n fid e n tia lity, in teg rity, a n d a va ila b ility a re s o m e tim es k n o w n a s th e C IA tria d o f

in fo rm a tio n s ys tem s ec u rity, a n d a re im p o rta n t p illa rs o f c lo u d s o ftw a re a s s u ra n c e . T h e

rev ers e o f c o n fid en tia lity, in te g rity, a n d av a ila b ility is d is c lo s u re, a ltera tio n , a n d d e s tru c tio n

(D A D ).

C lo u d S ec u rity S e rvic e s

A u th en tic a tio n A u th en tic a tio n is th e tes tin g o r re c o n c ilia tio n o f e vid en c e o f a u s er’ s

id en tity . It e s ta b lis h e s th e u s e r’ s id e n tity a n d en s u res th a t u s e rs a re w h o

th e y c la im to b e .

F o r ex a m p le , a u s er p res e n ts a n id en tity (u s e r ID ) to a c o m p u te r lo g in

s c ree n a nd th e n ha s to p ro vid e a p a s s w o rd .
A u th o riza tio n A u th o riza tio n re fers to rig h ts a n d p riv ile g es g ra n ted to an in d iv id u a l o r

p ro c es s th a t e na b le a c c es s to c o m p u ter re s o u rc e s a n d in fo rm a tio n a s s ets .

A u d itin g T o m a in ta in o p e ra tio n a l a s s u ra n c e, o rg a n iz a tio n s u s e tw o b a s ic m e tho d s :

S ys te m a u d its a nd m o n ito rin g . T h e s e m eth o d s c a n b e e m p lo ye d b y th e

c lo u d c u s to m er, th e c lo u d p ro v id er, o r b o th , d e p e n d in g o n a s s et

a rc h ite c tu re a n d d e p lo ym e n t.

A s ys te m a u d it is a o n e -tim e o r p erio d ic ev en t to e va lu a te s ec u rity.

M o n ito rin g refe rs to a n o n g o in g a c tivity th a t ex a m in es e ith e r th e s ys tem

o r th e u s e rs , s u c h a s in tru s io n d ete c tio n .

A c c o u n ta b ility A c c o u n ta b ility is th e a b ility to d e te rm in e th e a c tio n s a n d b eh a vio rs o f a

s in g le in d ivid ua l w ith in a c lo u d s ys tem a n d to id en tify th a t p a rtic u la r

in d ivid u a l.

M a n y o f S ec u rity c h a lle n g e s c a n a n d s h o u ld b e a d d re s s ed th ro u g h m a n a g e m e n t in itia tive s


a n d m a n a g e m e n t p ro c e s s es . T h es e in c lu d e th e fo llo w in g :
L is t o f M a n a g e m e n t In itia tiv es

R eq uire c le a rly d eline a tin g th e o w n ers h ip a n d re s p o n s ib ility ro les o f b o th th e C S P


(w h ic h m a y o r m a y n o t b e th e o rg a n iz a tio n its elf) a n d th e o rg a n iz a tio n fu n c tio n in g in
th e ro le a s c u s to m e r.
P ro p er s ec urity c o n tro ls m u s t b e im p lem e nte d b a s e d o n a s s e t, th rea t, a n d
v u ln e ra b ility ris k a s s es s m en t m atric e s .
S e c u rity p o lic y im p le m e n ta tio n .
C o m p u ter in tru s io n d e te c tio n a n d res p o n s e.
V irtu a liza tio n s ec u rity m a n a g em en t.

V irtu a liz a tio n Se c u rity M a n a g e m e n t

T h rea ts a n d vu ln era b ilitie s in h ere n t in v irtu a lize d s ys te m s .

V irtu a l T h rea ts
S o m e th rea ts to v irtu a liz ed s ys te m s a re g en era l in n a tu re , a s th e y are in h e re n t th re a ts to a ll
c o m p u terize d s ys te m s ( s uc h a s d en ia l-o f -s erv ic e, o r D o S , a tta c k s ).
S o m e th rea ts a n d vu ln era b ilitie s , h o w ev er, a re u n iq u e to v irtu a l m a c h in es .
V a rio u s o rg a n iza tio n s a re c u rre n tly c o n d u c tin g s e c u rity a n a lys is an d p ro o f o f- c o n c ep t (P o C )
a tta c k s ag a in s t v irtu a liz ed s ys te m s
V u ln era b ilities

S o m e o f th e v u ln era b ilities e xp o s e d to a n y m a lic io u s -m in d e d in d ivid u a ls :

M a n y V M vu ln era b ilitie s

s tem fro m th e fa c t th a t

v uln e ra b ility in o n e V M

s ys tem c a n b e

ex p lo ite d to a tta c k

o th e r V M s ys tem s o r

th e h o s t s ys te m s , a s

m u ltip le v irtu a l

m a c h in es s h a re the

s a m e p h ys ic al

h a rd w a re , a s s h o w n in

F ig u re.

S h a red c lip b o ard — K eys tro k e lo g g in g — S o m e V M te c h n o lo g ies e n a b le th e lo g g in g o f

S h a red c lip b o ard k eys tro k e s a n d s c ree n u p d a tes to b e p a s s ed a c ro s s v irtu a l term in a ls

tec h n o lo g y a llo w s d a ta in th e v irtu a l m a c h in e, w ritin g to h o s t fi les a n d p e rm ittin g th e

to b e tra n s ferred m o n ito rin g o f en c ryp te d term in a l c o n n ec tio n s in s id e th e V M .

b e tw e en V M s a n d th e

h o s t, p ro vid in g a m ea n s

o f m o v in g d a ta

b e tw e en m a lic io u s

p ro g ra m s in VM s o f

d iff eren t s ec urity

rea lm s .

V irtu a l m a c hin e V M m o n ito rin g fro m th e h o s t — B ec a u s e a ll n etw o rk p a c k ets c o m in g

b a c k d o o rs — A fro m o r g o in g to a V M p a s s th ro u g h th e h o s t, th e h o s t m a y b e a b le to
b a c k d o o r, c o ve rt a ffe c t th e V M b y th e fo llo w in g :

c o m m u n ic a tio n s Sta rtin g , s to p p in g , p a u s in g , a nd re s tart VM s

c h a n n e l b etw ee n th e M o n ito rin g a n d c o n fig u rin g res o u rc es a va ila b le to th e V M s ,

g u e s t a n d h o s t c o u ld in c lu d in g

a llo w in trud ers to C P U , m e m o ry, d is k , a n d n etw o rk u s a g e o f VM s

p e rfo rm p o ten tia lly M o n ito rin g th e a p p lic a tio n s ru n n in g in s id e th e V M

d a n g ero u s o p era tio n s . Vie w in g , c o p yin g , a n d m o d ifyin g d a ta s to re d o n th e V M ’ s v irtu a l

d is k s

E S X S erv er A p p lic a tio n V u ln era b ility S e ve rity C o d e D e fin itio n s

T a b le s h o w s

how

V M w a re’ s

E S X s erv er

v uln e ra b ilitie s

ca n b e

c a te g o rize d ,

a s in te rp re ted

b y th e D o D .

W a ys to p ro tec t th e v irtu a l m a c h in e O R B es t p ra c tic e s f o r v irtu a liz ed s ys te m s .

H a rd en in g th e H o s t O p era tin g S ys tem

Lim itin g P h ys ic a l A c c e s s to th e H o s t

U s in g E n c ryp ted C o m m u n ic a tio n s

D is a b lin g B a c k g ro u n d T a s k s
U p d a tin g a n d P a tc h in g : M o s t s ta n d a rd s o rg an iz a tio n s e n fo rc e th e c o nc ep t o f tim ely
p a tc h in g a n d u p d a tin g o f s ys te m s . M ea n s th a t n o t o n ly m u s t yo u p a tc h a n d u p d a te th e h o s t
O S p ro m p tly, b u t e ac h o f th e virtu al m a c h in es req u ires th e s a m e p a tc hin g s c h ed u le .

Im p le m e n tin g F ile In teg rity C h ec k s

M a in ta in in g B a c k u p s

V irtu a liz ed s ys te m s In f ra s tru c tu re u s ers m a y h a ve d iffe re n t ro les a n d re s p o n s ib ilitie s .

T h e ro les a s s u m ed b y a d m inis tra to rs a re:

V irtu a liz a tio n Se rve r A d m in is tra to r

V irtu a l M a c hin e A d m in is tra to r

G u e s t A d m in is tra to r

E X P E C TE D VIV A Q U E STIO N S:

Q . 1 w ha t a re th e s ec u rity la w s w h ic h ta k e c a re o f th e d a ta in th e c lo u d ?
Q . 2 H o w to s e c u re yo u r d a ta fo r tra n s p o rt in c lo u d ?

Q . 3 w ha t d o yo u u n d e rs ta n d fro m V PN ?

N A M E O F FA C U LT Y: SH ILP A S H A R M A

D A TE :2 1 /0 3/ 20 2 4

SIG N A TU R E :

You might also like