17
Committer and PMC member of Apache Stratos Senior Software Engineer, WSO2 Lahiru Sandaruwan Developing and deploying SaaS app using VMware vCloud Suite with Apache Stratos Committer and PMC member of Apache Stratos Software Engineer, WSO2 Melan Jayasingha

Developing and Deploying SaaS App Using VMware vCloud Suite

  • Upload
    wso2

  • View
    394

  • Download
    4

Embed Size (px)

Citation preview

Page 1: Developing and Deploying SaaS App Using VMware vCloud Suite

Committer and PMC member of Apache StratosSenior Software Engineer, WSO2

Lahiru Sandaruwan

Developing and deploying SaaS app using VMware vCloud Suite with Apache Stratos

Committer and PMC member of Apache StratosSoftware Engineer, WSO2

Melan Jayasingha

Page 2: Developing and Deploying SaaS App Using VMware vCloud Suite

*

Agenda

• Developing and Development of SaaS application

• Values added from cloud• How to use vCloud as Stratos IaaS for

building a SaaS platform• Demonstration with Joomla cartridge • Scalability demo• High Availability demo• Q&A, Discussion

Page 3: Developing and Deploying SaaS App Using VMware vCloud Suite

*

Development and Deployment of SaaS application

Page 4: Developing and Deploying SaaS App Using VMware vCloud Suite

*

Values added from cloud

๏ Scalability๏ High Availability๏ Load Balancing๏ SLA Awareness

Page 5: Developing and Deploying SaaS App Using VMware vCloud Suite

*

Scalability

"The ability of the of a system to continue to operate correctly even when it is scaled to a larger size”

Page 6: Developing and Deploying SaaS App Using VMware vCloud Suite

*

Vertical Scaling

• Get the maximum out of each allocated JVM or resource

• Increase CPU size• Increase memory

Page 7: Developing and Deploying SaaS App Using VMware vCloud Suite

*

Horizontal Scaling

Page 8: Developing and Deploying SaaS App Using VMware vCloud Suite

*

Availability

Page 9: Developing and Deploying SaaS App Using VMware vCloud Suite

*

Availability

Page 10: Developing and Deploying SaaS App Using VMware vCloud Suite

*

High Availability

A system that is designed for continuous operation in the event of a failure of one or more components. However, the system may display some degradation of service, but will continue to perform correctly.

High Availability: The proportion of time during which the service is accessible with reasonable response times should be close to 100%.

Page 11: Developing and Deploying SaaS App Using VMware vCloud Suite

*

How to decide required scale (capacity) & availability?

• Average throughput (TPS)• Max throughput (TPS)• Monetary value of a transaction• Average loss & max loss per second of

downtime• Decide on how much to invest based on cost vs.

benefit tradeoff

Page 12: Developing and Deploying SaaS App Using VMware vCloud Suite

*

Load Balancing

• Load balancing algorithms• Round robin• Weighted• Response based• Health check• Failover-only

Page 13: Developing and Deploying SaaS App Using VMware vCloud Suite

*

Configuring Stratos to use vCloud

<iaasProvider type="vcloud" name="VMware vCloud specific details"><className>org.apache.stratos.cloud.controller.iaases.VCloudIaas</className><provider>vcloud</provider><identity svns:secretAlias="cloud.controller.vcloud.identity">sampleusername</identity><credential svns:secretAlias="cloud.controller.vcloud.credential">*****</credential><property name="jclouds.endpoint" value="https://mycloud.stratogen.sg/api" /><property name="jclouds.vcloud.version.schema" value="1.5" /><property name="jclouds.api-version" value="1.5" /><property name="autoAssignIp" value="true" />

iaasProvider>

Page 14: Developing and Deploying SaaS App Using VMware vCloud Suite

*

Demo

Page 16: Developing and Deploying SaaS App Using VMware vCloud Suite

*

DISCUSSION

Page 17: Developing and Deploying SaaS App Using VMware vCloud Suite

*

Thanks!