Conpaas Elastic Cloud, OW2con 2011, Nov 24-25, Paris
1. ConPaaS: an integrated runtime
environment for elastic Cloud
applications
Guillaume Pierre
Vrije Universiteit Amsterdam
contrail is co-funded by the EC
7th Framework Programme
under Grant Agreement nr.
257438
1
2. Write a Cloud application on Amazon Web Services
EC2: virtual machines on demand (fairly standard API)
S3: data storage (fairly standard API)
1
3. Write a Cloud application on Amazon Web Services
EC2: virtual machines on demand (fairly standard API)
S3: data storage (fairly standard API)
But there is more:
RDS: relational database
SimpleDB: non-relational database
CloudWatch: performance monitoring
AutoScale: automatic application scaling
CloudFront: content delivery service
etc.
These services are specic to Amazon Web services
1
4. Customer lock-in
If you use any of the fancy services from your Cloud provider
you lock yourself in
The pricing scheme may change
The Cloud may decide to stop business with you
The Cloud may go out of business
The Cloud may have outages
How do we move to a dierent hosting environment?
Find an alternative for all services you were using
Re-implement large parts of the application
This costs time and money
2
5. Customer lock-in
If you use any of the fancy services from your Cloud provider
you lock yourself in
The pricing scheme may change
The Cloud may decide to stop business with you
The Cloud may go out of business
The Cloud may have outages
How do we move to a dierent hosting environment?
Find an alternative for all services you were using
Re-implement large parts of the application
This costs time and money
This is where open-source software can help
2
6. Contrail
A research project funded by the European Commission (FP7 IP)
11 partners in 6 countries
Goal: build an advanced open-source Cloud platform
Open-source
Built upon OpenNebula
Maybe also OpenStack in the future
Support for Cloud federations
Aggregate multiple Clouds in a single federation
Public and private clouds
Access the federation rather than any individual cloud
Support for Service Level Agreements
Quality of service
Quality of protection
ConPaaS: a fully-featured Platform-as-a-Service environment
www.contrail-project.eu
3
7. ConPaaS objectives
Goal: provide a fully-featured
PaaS environment for Contrail
Broad range of functionalities
Web application hosting (static les, PHP, Java, . . . )
Databases (SQL and NoSQL)
High-performance execution frameworks (MapReduce, BagsOfTasks)
Fully integrated
Applications can compose any set of services together
Easy to use but also very powerful
Simple Web GUI + powerful command-line tool
Services are highly customizable
Cutting-edge SLA enforcement technologies
Elasticity and resource provisioning techniques to guarantee
performance at the lowest possible cost
Platform-independent
Runs on Contrail but also other Clouds
4
8. ConPaaS Applications
A ConPaaS application is dened as a composition of multiple service
instances
For example: web hosting service + MySQL database + logging
service (to store access logs)
End user
PHP service
(using 1 or more
machine instances)
Logging service SQL data service
(using 1 or more (using 1 or more
machine instances) machine instances)
5
9. Organization of one ConPaaS Service
Cloud users
Web Standard
interface VM images
6
10. Organization of one ConPaaS Service
Cloud users
Web Standard
interface VM images
Service
controller
VM instance
ConPaaS service
6
11. Organization of one ConPaaS Service
Cloud users
Web Standard
interface VM images
Service
controller
VM instance
Worker
VM
instances
ConPaaS service
6
12. Organization of one ConPaaS Service
Cloud users
Web Standard
interface VM images
Service
controller
VM instance
End users
Worker
VM
instances
ConPaaS service
6
13. Organization of one ConPaaS Service
Cloud users
Web Standard
interface VM images
Service
controller
VM instance
End users
Worker
VM
instances
ConPaaS service
6
15. Current status
Initial alpha release available at www.conpaas.eu
Front-end + Web hosting service
Public testbed available
Sign up for free, try our technology!
First full software release planned in March 2012
8
16. Future plans
Allow users to deploy a multi-service application in one operation
Developers write high-level manifest le which is translated into OVF
by ConPaaS
Performance monitoring and automatic resource provisioning
Specify a performance SLA, let the system create/destroy VMs to
achieve your goals at the lowest possible cost
Fault-tolerance
What happens if a ConPaaS VM crashes?
Development tools
Eclipse plugin. . .
9
17. contrail
is co-funded by the
EC 7th Framework Programme
Funded under: FP7 (Seventh Framework Programme)
Area: Internet of Services, Software Virtualization
(ICT-2009.1.2)
Project reference: FP7-IST-257438
Total cost: 11.29 million euro
EU contribution: 8.3 million euro
Execution: From 2010-10-01 till 2013-09-30
Duration: 36 months
Contract type: Collaborative project (generic)
10