cloudstack day 14 - automation: the key to hybrid cloud
DESCRIPTION
Often Hybrid Cloud is talked about in terms of migrating entire VMs. This is fraught with problems, and can be better acheived by using automation to move a VMs configuration instead of the entire VM.TRANSCRIPT
![Page 1: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/1.jpg)
Automation: The Key To Hybrid CloudMichael Ducy — Enterprise Architect — Chef @mfdii
![Page 2: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/2.jpg)
• Linux Engineer
• Operations
• Performance Engineer
• Capacity Planning
• Cloud Architect
• Automation
• Chef
• MBA, MS
![Page 3: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/3.jpg)
![Page 4: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/4.jpg)
P2V Your Technical Debt
VM Converter
![Page 5: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/5.jpg)
Why the technical debt?
![Page 6: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/6.jpg)
Failure to capture configurations
• Manual Changes
• Not Captured in a repeatable format
• Changes poorly documented
![Page 7: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/7.jpg)
Large cumbersome automation
• Hard to use
• Not Repeatable
• Not Idemoptent
• Not Convergent
![Page 8: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/8.jpg)
Low perceived value of automation
• Quicker to do it manually
• Focuses on longer term results
• Payback period for automation
![Page 9: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/9.jpg)
Images are all I need
• Golden Images
• Build images to repeat configurations
![Page 10: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/10.jpg)
Enter Hybrid Cloud
![Page 11: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/11.jpg)
![Page 12: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/12.jpg)
Magic Bits
![Page 13: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/13.jpg)
Magic Bits
![Page 14: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/14.jpg)
Problems
• VMs are heavy
• C2Cing your technical debt
• Large management overhead
• Doesn’t really realize the benefits of Cloud
![Page 15: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/15.jpg)
CFG
CFG
CFG
CFG
CFG
CFGCFG Automation
![Page 16: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/16.jpg)
Solutions
• Configs lighter than VMs
• Reduces moving data already in your Clouds
• Can leverage things like SCM
• Define once, run anywhere
![Page 17: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/17.jpg)
Problems
• Requires discipline
• Doesn’t solve data issues
• Requires upfront investment of time
![Page 18: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/18.jpg)
The question isn’t: how do I get a server, defined by VM (or instance) into another
Cloud to serve my application
![Page 19: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/19.jpg)
The question is: how do I get a server, defined by a set of finite configurations,
into another Cloud to serve my application
![Page 20: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/20.jpg)
Some things I’ve seen work
• Ignore legacy
• Focus on Cloud first
• Get development buy-in to change app stack
• Build Composable, Data Driven Automation
![Page 21: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/21.jpg)
Infrastructure as Code
![Page 22: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/22.jpg)
TDD of Infrastructure Code
• Test Driven Development
• Verify before deployment
• Reduce development time
![Page 23: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/23.jpg)
Leverages Software Development Lifecycle
• Infrastructure Code stored in Source Control
• Who, What, When, Why, How
![Page 24: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/24.jpg)
Repeatable and Reusable
• Write once, Run anywhere
• Cross Cloud, Cross Platform
![Page 25: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/25.jpg)
Additional Requirements
• API Based automation
• Node based evaluation and execution
• Declaritive DSL
• Flexibility of real language
![Page 26: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/26.jpg)
Questions?
![Page 27: CloudStack Day 14 - Automation: The Key to Hybrid Cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5561787cd8b42a171a8b4e4a/html5/thumbnails/27.jpg)
Automation: The Key To Hybrid CloudMichael Ducy