Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s...
Transcript of Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s...
![Page 1: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/1.jpg)
s Technology for a better society
Cloud Modelling Language (CloudML)
Alessandro Rossini
INF5120
6 May 2013
![Page 2: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/2.jpg)
s Technology for a better society
Alessandro Rossini
![Page 3: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/3.jpg)
s Technology for a better society
Alessandro Rossini
Education
![Page 4: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/4.jpg)
s Technology for a better society
Alessandro Rossini
Education • 2004-2006 M.Sc., Università dell'Aquila (Italia) Universitetet i Bergen
![Page 5: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/5.jpg)
s Technology for a better society
Alessandro Rossini
Education • 2004-2006 M.Sc., Università dell'Aquila (Italia) Universitetet i Bergen • 2008-2011 Ph.D., Universitetet i Bergen
![Page 6: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/6.jpg)
s Technology for a better society
Alessandro Rossini
Education • 2004-2006 M.Sc., Università dell'Aquila (Italia) Universitetet i Bergen • 2008-2011 Ph.D., Universitetet i Bergen Employment
![Page 7: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/7.jpg)
s Technology for a better society
Alessandro Rossini
Education • 2004-2006 M.Sc., Università dell'Aquila (Italia) Universitetet i Bergen • 2008-2011 Ph.D., Universitetet i Bergen Employment • 2007 Software engineer, Integrator, Bergen
![Page 8: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/8.jpg)
s Technology for a better society
Alessandro Rossini
Education • 2004-2006 M.Sc., Università dell'Aquila (Italia) Universitetet i Bergen • 2008-2011 Ph.D., Universitetet i Bergen Employment • 2007 Software engineer, Integrator, Bergen • 2008-2012 Research fellow, Universitetet i Bergen
![Page 9: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/9.jpg)
s Technology for a better society
Alessandro Rossini
Education • 2004-2006 M.Sc., Università dell'Aquila (Italia) Universitetet i Bergen • 2008-2011 Ph.D., Universitetet i Bergen Employment • 2007 Software engineer, Integrator, Bergen • 2008-2012 Research fellow, Universitetet i Bergen • 2012 Lecturer, Høgskolen i Bergen
![Page 10: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/10.jpg)
s Technology for a better society
Alessandro Rossini
Education • 2004-2006 M.Sc., Università dell'Aquila (Italia) Universitetet i Bergen • 2008-2011 Ph.D., Universitetet i Bergen Employment • 2007 Software engineer, Integrator, Bergen • 2008-2012 Research fellow, Universitetet i Bergen • 2012 Lecturer, Høgskolen i Bergen • 2012- Research scientist, SINTEF, Oslo
![Page 11: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/11.jpg)
s Technology for a better society
Cloud computing
![Page 12: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/12.jpg)
s Technology for a better society
Cloud computing
A computing model enabling ubiquitous network access to a shared and virtualised pool of
computing capabilities (e.g., network, storage, processing, and memory) that can be rapidly provisioned with minimal management effort
source: NIST
![Page 13: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/13.jpg)
s Technology for a better society
source: Graviant
![Page 14: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/14.jpg)
s Technology for a better society
IaaS PaaS SaaS
![Page 15: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/15.jpg)
s Technology for a better society
Applications
Data
Run-time
OS
Virtualisation
Servers
Storage
Network
IaaS PaaS SaaS
![Page 16: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/16.jpg)
s Technology for a better society
Applications
Data
Run-time
OS
Virtualisation
Servers
Storage
Network
Cons
umer
Pr
ovid
er
IaaS PaaS SaaS
![Page 17: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/17.jpg)
s Technology for a better society
Applications
Data
Run-time
OS
Virtualisation
Servers
Storage
Network
Applications
Data
Run-time
OS
Virtualisation
Servers
Storage
Network
Cons
umer
Pr
ovid
er
Cons
umer
Pr
ovid
er
IaaS PaaS SaaS
![Page 18: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/18.jpg)
s Technology for a better society
Applications
Data
Run-time
OS
Virtualisation
Servers
Storage
Network
Applications
Data
Run-time
OS
Virtualisation
Servers
Storage
Network
Applications
Data
Run-time
OS
Virtualisation
Servers
Storage
Network
Cons
umer
Pr
ovid
er
Cons
umer
Pr
ovid
er
Prov
ider
IaaS PaaS SaaS
![Page 19: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/19.jpg)
s Technology for a better society
Benefits
• Scalability
• Performance
• Availability
• Cost
![Page 20: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/20.jpg)
s Technology for a better society
Challenges
• Heterogeneity
• Incompatibility
• Lack of standards
• Lack of methodologies
![Page 21: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/21.jpg)
s Technology for a better society
CloudML
![Page 22: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/22.jpg)
s Technology for a better society
Amazon AWS Rackspace
IBM SmartCloud Terramark
…
![Page 23: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/23.jpg)
s Technology for a better society
Amazon AWS OpenStack vCloud
Amazon AWS Rackspace
IBM SmartCloud Terramark
…
…
Stacks
![Page 24: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/24.jpg)
s Technology for a better society
jclouds Simple Cloud Deltacloud
Amazon AWS OpenStack vCloud
Amazon AWS Rackspace
IBM SmartCloud Terramark
…
…
…
Libraries
Stacks
![Page 25: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/25.jpg)
s Technology for a better society
Cloudify Cloud Foundry Scalr
jclouds Simple Cloud Deltacloud
Amazon AWS OpenStack vCloud
Amazon AWS Rackspace
IBM SmartCloud Terramark
…
…
…
…
Frameworks
Libraries
Stacks
![Page 26: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/26.jpg)
s Technology for a better society
Cloudify Cloud Foundry Scalr
jclouds Simple Cloud Deltacloud
Amazon AWS OpenStack vCloud
Amazon AWS Rackspace
IBM SmartCloud Terramark
…
…
…
…
Frameworks
Libraries
Stacks
PaaS
IaaS
![Page 27: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/27.jpg)
s Technology for a better society
CloudML
• Domain-specific language (DSL) for modelling the provisioning and deployment of multi-cloud systems at design-time
• Models@run-time environment for enacting the provisioning and deployment of these systems at run-time
![Page 28: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/28.jpg)
s Technology for a better society
EU Projects
• MODAClouds
• PaaSage
• REMICS
![Page 29: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/29.jpg)
s Technology for a better society
Resources
• http://cloudml.org (overhaul coming soon)
• https://github.com/SINTEF-9012/cloudml/
![Page 30: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/30.jpg)
s Technology for a better society
Design-time
![Page 31: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/31.jpg)
s Technology for a better society
Cloud Provider-Independent Model (CPIM)
![Page 32: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/32.jpg)
s Technology for a better society
CPIM
• Generic provisioning and deployment model that is independent of the cloud provider
![Page 33: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/33.jpg)
s Technology for a better society
CPIM
• Generic provisioning and deployment model that is independent of the cloud provider
• Consists of node types and artefacts types
![Page 34: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/34.jpg)
s Technology for a better society
Node type
• Generic virtual machine – a virtual machine running GNU/Linux
![Page 35: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/35.jpg)
s Technology for a better society
Node type
• Provisioning requirements – 2 cores ≤ compute ≤ 4 cores
– 2 GiB ≤ memory ≤ 4 GiB
– storage ≥ 10 GiB
– location = Europe
![Page 36: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/36.jpg)
s Technology for a better society
Node type example (JSON) "nodeTypes": [
{
"id": "SmallGNULinux",
"os": "GNULinux",
"compute": [ 2, 4 ],
"memory": [ 2048, 4096 ],
"storage": [ 10240 ],
"location": "eu",
"provides": [
{ "id": "SSHCapability" }
]
}
]
![Page 37: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/37.jpg)
s Technology for a better society
Artefact types
• Generic component of the application – a Java servlet of an application for document
collaboration
– a Jetty container
– a MongoDB database
![Page 38: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/38.jpg)
s Technology for a better society
Artefact types
• Deployment commands – retrieve the Java servlet from cloudml.org
– configure it
– run it
![Page 39: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/39.jpg)
s Technology for a better society
Artefact types
• Deployment dependencies – the Jetty container and the MongoDB database have
to be deployed before the Java servlet
![Page 40: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/40.jpg)
s Technology for a better society
Artefact types
• Communication channels – a Java servlet communicates with another Java
servlet through Hypertext Transfer Protocol Secure (HTTPS) on port 443
![Page 41: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/41.jpg)
s Technology for a better society
Artefact A Artefact B
Artefact C
Provided applicative capability
Communication channel
Required applicative capability
Provided deployment capability
Required deployment capability
Dependency
Resources (binaries, scripts, etc.)
![Page 42: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/42.jpg)
s Technology for a better society
Artefact type example (JSON) "artefactTypes": [
{
"id": "MongoDB",
"retrieval": "wget http://cloudml.org/services/mongodb.sh",
"deployment": "sudo mongodb.sh",
"provides": [
{ "id": "MongoDBCapability" }
]
},
…
![Page 43: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/43.jpg)
s Technology for a better society
Artefact type example (JSON) …
{
"id": "Jetty",
"retrieval": "wget http://cloudml.org/services/jetty.sh",
"deployment": "sudo jetty.sh",
"provides": [
{ "id": "JettyCapability" }
]
},
…
![Page 44: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/44.jpg)
s Technology for a better society
Artefact type example (JSON) …
{
"id": "Docs",
"retrieval": "wget http://cloudml.org/apps/docs.war; wget http://cloudml.org/apps/docs_configure.sh; wget http://cloudml.org/apps/docs_deploy.sh",
"configuration": "sudo docs_configure.sh",
"deployment": "sudo docs_deploy.sh",
"requires": [
{ "id": "JettyCapability" },
{ "id": "MongoDBCapability" }
]
}
]
![Page 45: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/45.jpg)
s Technology for a better society
Cloud Provider-Specific Model (CPSM)
![Page 46: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/46.jpg)
s Technology for a better society
CPSM
• Specific provisioning and deployment model that is dependent on the cloud provider
![Page 47: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/47.jpg)
s Technology for a better society
CPSM
• Specific provisioning and deployment model that is dependent on the cloud provider
• Consists of node instances and artefact instances
![Page 48: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/48.jpg)
s Technology for a better society
Node instance
• Instance of a virtual machine on a specific cloud provider – a virtual machine running GNU/Linux on Amazon EC2
![Page 49: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/49.jpg)
s Technology for a better society
Node instance example (JSON) "nodeInstances": [
{
"id": "aws1",
"type": "SmallGNULinux",
"provider": "aws-ec2",
"provides": [
{
"id": "ssh1",
"type": "SSHCapability"
}
]
}
]
![Page 50: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/50.jpg)
s Technology for a better society
Artefact instance
• Instance of a component of the application on a specific virtual machine – an instance of the Java servlet on the virtual
machine above
– an instance of the Jetty container on …
– an instance of the MongoDB database on …
![Page 51: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/51.jpg)
s Technology for a better society
Artefact instance example (JSON) "artefactInstances": [
{
"id": "mongodb1",
"type": "MongoDB",
"provides": [
{
"id": "mongodb1",
"type": "MongoDBCapability"
}
]
},
…
![Page 52: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/52.jpg)
s Technology for a better society
Artefact instance example (JSON) …
{
"id": "jetty1",
"type": "Jetty",
"provides": [
{
"id": "jetty1",
"type": "JettyCapability"
}
]
},
…
![Page 53: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/53.jpg)
s Technology for a better society
Artefact instance example (JSON) …
{
"id": "docs1",
"type": "Docs",
"destination": "aws1",
"requires": [
{ "id": "jetty1" },
{ "id": "mongodb1" }
]
}
]
![Page 54: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/54.jpg)
s Technology for a better society
Cloud Provider-Independent Model
JSON XMI …
![Page 55: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/55.jpg)
s Technology for a better society
Cloud Provider-Independent Model
Cloud Provider-Specific Model
Models@run-time
JSON XMI …
![Page 56: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/56.jpg)
s Technology for a better society
Cloud Provider-Independent Model
Cloud Provider-Specific Model
Models@run-time
Provisioning and Deployment
JSON XMI
jclouds
…
Cloudify …
![Page 57: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/57.jpg)
s Technology for a better society
Cloud Provider-Independent Model
Cloud Provider-Specific Model
Models@run-time
Provisioning and Deployment
JSON XMI
jclouds
…
Cloudify
Amazon AWS
…
Rackspace …
![Page 58: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/58.jpg)
s Technology for a better society
Run-time
![Page 59: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/59.jpg)
s Technology for a better society
Models@run-time
• CPSM causally connected to the running system
• A change in the CPSM is reflected on-demand in the running system
• A change in the running system is automatically reflected in the CPSM
![Page 60: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/60.jpg)
s Technology for a better society
Models@run-time
Current CPSM
![Page 61: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/61.jpg)
s Technology for a better society
Models@run-time
Current CPSM
Reasoning
![Page 62: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/62.jpg)
s Technology for a better society
Models@run-time
Current CPSM
Reasoning Target CPSM
![Page 63: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/63.jpg)
s Technology for a better society
Models@run-time
Current CPSM
Reasoning Model Checking
Target CPSM
![Page 64: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/64.jpg)
s Technology for a better society
Models@run-time
Current CPSM
Target CPSM
Reasoning Model Checking
Target CPSM
![Page 65: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/65.jpg)
s Technology for a better society
Models@run-time
Current CPSM
Target CPSM
Reasoning Model Checking
Target CPSM
Diff
![Page 66: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/66.jpg)
s Technology for a better society
Models@run-time
Current CPSM Adaptation
Target CPSM
Reasoning Model Checking
Target CPSM
Diff
![Page 67: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/67.jpg)
s Technology for a better society
Models@run-time
Provisioning and Deployment
Current CPSM Adaptation
Target CPSM
Reasoning Model Checking
Target CPSM
Diff
![Page 68: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/68.jpg)
s Technology for a better society
Models@run-time
Provisioning and Deployment
Current CPSM Adaptation
Target CPSM
Reasoning Model Checking
Target CPSM
Diff
![Page 69: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/69.jpg)
s Technology for a better society
Provisioning and deployment
• Provisioning requirements
• Deployment commands
• Deployment dependencies
• Communication channels
![Page 70: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/70.jpg)
s Technology for a better society
Provisioning and deployment
• Provisioning requirements
• Deployment commands
• Deployment dependencies
• Communication channels
• Expressed with CloudML
![Page 71: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/71.jpg)
s Technology for a better society
Service-Level Agreement (SLA)
• Internal QoS requirements – compute load ≤ 90%
– memory load ≤ 90%
• External QoS requirements – response time ≤ 1s
![Page 72: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/72.jpg)
s Technology for a better society
Service-Level Agreement (SLA)
• Internal QoS requirements – compute load ≤ 90%
– memory load ≤ 90%
• External QoS requirements – response time ≤ 1s
• Not expressed with CloudML
![Page 73: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/73.jpg)
s Technology for a better society
Service-Level Agreement (SLA)
• Adaptation rules – if response time > 1s then scale out by provisioning a
new virtual machine
– if compute load ≤ 10% then scale down by deprovisioning an existing virtual machine
![Page 74: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/74.jpg)
s Technology for a better society
Service-Level Agreement (SLA)
• Adaptation rules – if response time > 1s then scale out by provisioning a
new virtual machine
– if compute load ≤ 10% then scale down by deprovisioning an existing virtual machine
• Not expressed with CloudML, but enacted through CloudML
![Page 75: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/75.jpg)
s Technology for a better society
Reference
Nicolas Ferry, Alessandro Rossini, Franck Chauvel, Brice Morin, Arnor Solberg
Towards model-driven provisioning, deployment, monitoring, and adaptation of multi-cloud systems
In IEEE CLOUD 2013
To appear
![Page 76: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/76.jpg)
s Technology for a better society
Demo
![Page 77: Cloud Modelling Language (CloudML) · •Scalability •Performance •Availability •Cost . s Technology for a better society Challenges ... Cloudify Cloud Foundry Scalr . jclouds](https://reader036.fdocuments.net/reader036/viewer/2022081407/6055c9aa89da2b11ec0bd81c/html5/thumbnails/77.jpg)
s Technology for a better society
Thank you!
? Follow me:
twitter.com/alerossini
alessandrorossini.org