what is cloudslang… · what is cloudslang eliya sadan, cloudslang developer & dev audience...
TRANSCRIPT
What is CloudSlangEliya Sadan, CloudSlang developer
&Dev Audience and HP OO
Tomer Shadi, OO Functional Architect
Agenda
• What is CloudSlang?• Use-case & Demo• Using Docker for CloudSlang content CI • StackStorm Integration• OO vs. CloudSlang• OO integration vision• Q&A
Eliya Sadan –CloudSlang developer
Tomer Shadi –OO Functional Architect
CloudSlang Serious SlidesEliya Sadan
What is CloudSlang?
CloudSlang Moto
is an open source project to:“Automate your DevOps use cases using ready-made workflows”
Where can you find us?
• Github: https://github.com/CloudSlang/cloud-slang
• Website: http://www.cloudslang.io
• Docs: http://www.cloudslang.io/#/docs
• Twitter: @CloudSlang
• Blog: http://blog.cloudslang.io
• Mail: [email protected]
• YouTube: http://www.youtube.com/channel/UCunFZ98J-2slsd3NuP2WeBw
…
Who pays us to do open source all day?
In the new world of DevOps, there is no shortage of solutions that help you deploy your app quickly and efficiently
What about the day after?
How do you make sure that your app will keep running smoothly after deployment?
Why workflow?
In the new world of DevOps, there is no shortage of solutions that help you deploy your app quickly and efficiently
What about the day after?
How do you make sure that your app will keep running smoothly after deployment?
Why workflow?
Day 1 Ops
Day 2 Ops
Yet Another Workflow Engine?!
Workflow engines go way back: • Mistral • Pinball • Rundeck• Luigi • HP Operations Orchestration
When workflow?
• CloudSlang:• Health checks • Remediation • Maintenance • Complex deployment
• Other use-cases:• Business process (BPMN)• Complex pipelines of batch jobs
CloudSlang focus• CloudSlang is a generic workflow engine• In order to provide meaningful content, we decided to focus on:
Any-purpose workflows
Day-2 use-cases
DevOps use-cases
Docker use-cases
What is Docker?
Docker is an open-source project that automates the deployment of applications inside software containers, by providing an additional layer of abstraction and automation of operating-system-level virtualization on Linux.
Docker process
When you use Docker, you usually need to use some of the ecosystem tools:
So you write some scripts…
Workflow DSL
• YAML based• Python capabilities• Structured • Reusable• Complex navigation
Workflow DSL
• YAML based• Python capabilities• Structured • Reusable• Complex navigation
Workflow DSL
• YAML based• Python capabilities• Structured • Reusable• Complex navigation
Workflow DSL
• YAML based• Python capabilities• Structured • Reusable• Complex navigation
Workflow DSL
• YAML based• Python capabilities• Structured • Reusable• Complex navigation
Sum it up - Why CloudSlang?
• OOTB content (mainly Docker and DevOps related): https://github.com/CloudSlang/cloud-slang-content
• Reusable content• Agentless• Open source• YAML based DSL• CLI• CloudSlang is embedded in HP Operations Orchestration
Use-case & Demo
What can you watch on Youtube?
Cleaning a CoreOs docker cluster un-used images• https://www.youtube.com/watch?v=ER_wxmkt4ns
What are we going to see?
• Complex deployment (Selenium hub & nodes)• Two different networks• Using docker containers• Defining the ‘How’ – order of things• Working with YAML
Using Docker for CloudSlang content CI
Content system tests CI - Requirements
• Run content integration tests continuously.• Minimize as possible machines maintenance.• Keep tests time reasonable.• Make build accessible to outside users.
Content system tests CI - Solution
Wait For It…
Content system tests CI - Solution
More specifically:
We start a docker container for each of our integrations,
and run the tests against it.
Content system tests CI - Solution
More specifically:
We even start a docker container containing docker itself,
and run our docker tests against it!
Content system tests CI - Solution
Docker inside docker!
StackStorm Integration
StackStorm Integration
• CloudSlang is now part of
• From StackStorm docs
OO vs. CloudSlang
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
CloudSlang and HP Operations OrchestrationCloudSlang HP Operations Orchestration
Use Cases DevOps - day2 Application, Hardware, and Service Deployment,DevOps,Disaster Recovery,Incident and Event Remediation, Change Fulfillment,Task Automation
Audience Developers in LOB and SMB Operators in Central IT
Flows Textual (Yaml) Graphical
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
CloudSlang and HP Operations OrchestrationCloudSlang HP Operations Orchestration
Authoring Sublime Plugin, CloudSlang CLI for debugging Studio, Wizards (REST, SOAP, SSH, PowerShell)
Content Open Source content Community content (for everyone)Standard content (for customers)Premium content (for purchasing)
Operations Python, Java Java, .NET, Javascript
Language constructs
Loop, Async loop, Pyhton expression Multi instance, Parallel, Non blocking
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
CloudSlang and HP Operations OrchestrationCloudSlang HP Operations Orchestration
Runtime Env.
CloudSlang CLI OO Central
Mgmt. Capabilities
None(Since the code base is Open Source, users can add features and capabilities by themselves)
• Scheduler• REST, SOAP, UI embedding• LDAP+SAML+LWSSO integrations• Operational reports for runs and ROI• Remote execution through RAS• Content management• Worker groups• User management and Role base access control• Security Audit• Security: CAC, FIPS 140-2, Common Criteria
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
CloudSlang and HP Operations OrchestrationCloudSlang HP Operations Orchestration
Community • GitHub: https://github.com/CloudSlang• Google group:
https://groups.google.com/forum/#!forum/cloudslang
• Twitter: @cloudslang• Youtube channel:
https://www.youtube.com/channel/UCunFZ98J-2slsd3NuP2WeBw
• Blog: http://blog.cloudslang.io/
• HPLN – Technical Community: https://hpln.hp.com/group/operations-orchestration
• CAM Insiders – Social Community:https://acmcommunity.influitive.com/join/welcome
• LinkedIn: https://www.linkedin.com/grp/home?gid=1851766
• Blog: http://h30499.www3.hp.com/t5/Grounded-in-the-Cloud/bg-p/sws-661
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
CloudSlang and HP Operations OrchestrationCloudSlang HP Operations Orchestration
Content 100+ Flows and Operations 5000+ Flows and Operations
Dev Audience in OOTomer Shadi, OO Functional Architect
This is a rolling (up to three year) roadmap and is subject to change without notice.
Forward-looking statements
• This document contains forward looking statements regarding future operations, product development, product capabilities and availability dates. This information is subject to substantial uncertainties and is subject to change at any time without prior notification. Statements contained in this document concerning these matters only reflect Hewlett Packard's predictions and / or expectations as of the date of this document and actual results and future plans of Hewlett-Packard may differ significantly as a result of, among other things, changes in product strategy resulting from technological, internal corporate, market and other changes. This is not a commitment to deliver any material, code or functionality and should not be relied upon in making purchasing decisions.
Introducing New Persona – The Developer
• Writes code, scripts and designs • Makes recommendations for future developments• Adopts new technologies and assimilate them in the organization
• He is technical, technologist and familiar with the industry standards and tools
We want OO to support Developers
Where are the Developers?
SMB
DD
D
Large Business
LOBD
D
LOBD
D
Central ITD
SMB
DD
D
SMB and LOB Developers
Central IT Developers
The Dev World
Efficiency
Technology
Standard tools –SCM, IDE
Visibility
Textual langEasy testing
Open Source
Knowledge Share
Community
Standard language
InnovationLeverage their knowledge
Quick ramp up
Easy usage
Agility
Passion
The Ops World
StabilityRecovery
DB considerations
ROI
Uniformity
EnterpriseReadiness
Troubleshooting
Testing
PerformanceConfigurability
SecurityMonitor
Promote Content
MaintainabilityAutomation
Quality
Alignment
Simplicity
OO should integrate with the Dev day to day environment
What are the Dev Requirements for OO?De
vPr
eferO
O Provides
• Their own IDE
• Textual language
• Proprietary Studio
• Graphical language
So What is the Vision?
CloudSlang is OpenSource• DevOps content• Textual authoring• IDE integration• Community
OO supports CloudSlang content• Enterprise env.• Ops capabilities
…Hybrid Experience• Mixed Textual and
Graphical authoring• CloudSlang supports OO
content• OO Central provides
hybrid experienceAlready Available
OO Future
The Vision
Dev use the OO engine
Dev use the OO Central
Ops run the Devcontent
Dev and Ops share the same content
Dev and Ops choose preferred tools and experience
Dev and Ops Together in OOThis is a rolling (up to three year) Roadmap and is subject to change without notice.
CloudSlangOpen sourceTextual languageIDE pluginsCloudSlang ContentTechnology
OO-CEFreemiumContent ManagementREST APIReportingClusterSchedulerWeb UISecurity
OO-EESupportNo run limit
Same Content for Dev and Ops
Open-Source side-by-side with Enterprise-EditionDev Ops
This is a rolling (up to three year) Roadmap and is subject to change without notice.
How You Can Help:
1. Give us feedback2. Partner with us
Questions
Come and Contribute
• Github: https://github.com/CloudSlang/cloud-slang
• Website: http://www.cloudslang.io
• Docs: http://www.cloudslang.io/#/docs
• Twitter: @CloudSlang
• Blog: http://blog.cloudslang.io
• Mail: [email protected]
• YouTube: http://www.youtube.com/channel/UCunFZ98J-2slsd3NuP2WeBw