Cloud Management


Published on

Slides on Cloud management solutions (e.g. Scalr, RightScale, enStratus, ylastic, scalarium etc). Presentet at AWS Usegroup Greece meetup 4.

Published in: Technology, Business
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Cloud Management

  1. 1. Cloud Management 24 May 2012 Andreas Chatzakis Follow me on twitter: @achatzakis AWS Usergroup Greece
  2. 2. Why Cloud ManagementUnlocking the promises of Cloud Computing requiresthe right key... Cloud Computing brings Elastic Scalability, Agility & Reliability. Providers gave us APIs and endless possibilities. Yes! Cloud removes complexity. But gives us the power of choice! Taming this dynamic environment requires tooling, organization & operational procedures. Enter Cloud Management.... 2
  3. 3. I thought cloud was easy?True - The cloud removes several headaches... Manage hardware (we outsourced that years ago anyway) Procure servers (cloud = on-demand) Patch multiple servers (thanks to virtualization) Capacity planning (actually thats sort of a lie) And of course there are also various zero-management solutions like Storage & DB as a Service (S3, RDS) 3
  4. 4. Well it is...But we still own several ITOPS responsibilities  Architect & Implement  Manage Configuration  Monitor & Failover  Backup and Restore  Scale (automatically please) & Decommision  Manage logs  Deploy code  Manage dev/test/prod environments  Secure & Manage access Remember: IaaS != PaaS / SaaS 4
  5. 5. How about an example?In order to scale my DB I need to: Monitor usage & decide I need one more MySQL slave Launch new node Configure & run init scripts Attach storage and restore a recent DB snapshot Discover Master and start Replication Start logging and monitoring Manage access via SSH keys Secure & give access to currently running app servers Let application know I am here 5
  6. 6. Enter Cloud Management Cloud Management promises to reduce(admin effort) / (# of servers) ratio:  An extra layer between you and your infrastructure (hide complexity)  Convention over configuration (Decrease the number of decisions I need to make)  Tools & Automation (Reduce operational costs & risks)  Dashboards, monitors, logs (Visibility) Not just a better GUI! 6
  7. 7. An analogyRemember what an application framework is? Aim: Do more with less, dont reinvent the wheel and enforce good practices (e.g. MVC pattern) Reduced degrees of freedom (better than it sounds...) Convention over configuration Set of reusable libraries for common functionality. Cloud management = IaaS framework + tooling 7
  8. 8. So what does it do? Cloud management solutions typically break down toseveral capabilities:  Server Templates (version control for servers!)  A scripting engine (run script X on all my app servers)  Deployment Tools (get latest & push to app servers )  Automation & Monitoring (Autoscaling, Failover, Alerts)  Backup and Restore (auto snapshot, DB dumps to S3)  Visibility (Logs, Utilization, Costs)  Security management (firewall rules, admin access) Cloud Management != PaaS / SaaS Why? You still maintain control & customizability 8
  9. 9. Server TemplatesConfiguration management for dynamic infrastructure Ready-to-use templates – embedded best practices Import your own or customize “Version control” for your server images Easy roll out of updates Attach Scripts, Chef recipes Standardized Behaviors – consistent & reproducible Auto-provision – in context Auto-configure – variable inputs Auto-discovery – Who am I? - Who else is here? 9
  10. 10. Scripting Engine Easing the tedious task of running scripts on multipleephemeral servers  Version control your infrastructure scripts  Allow for dynamic parameters  Run on demand on one, selected or all servers  Run on server init or on server termination  Run on this server or on other servers  Schedule to run on specific time or intervals  All through an admin friendly UI 10
  11. 11. Deployment toolsAgility is... automated code promotion to Production Push code from Source control system to your servers Pre/Post deployment scripts (Unit Tests, DB migration) Multiple sources, multiple destinations 11
  12. 12. Security ManagementBeing tidy matters in maintaining security control Organize security groups per role, farm etc Multiple admin users Seggregate access to different environments Scripts for security patches SSH key management Access terminal via the web 12
  13. 13. Automation & MonitoringMonitor and automatically react to change at 3:00 AM Monitor system usage metrics Autoscale up or down Keep your setup tidy – (e.g. no orphan EBS volumes) Replace failed nodes DB failover Alert APIs for deep integrations & automations 13
  14. 14. Backup & Disaster RecoveryReuse robust, tried and tested DR procedures Disk Snapshots DB backups Alerts when backups fail Retention and cleanup Failover when Availability Zone fails Failover when whole Region goes down (costly) Multi cloud setups (Cold DR, Warm DR, Hot DR, HA) 14
  15. 15. VisibilityFrom top to bottom, track and report on what matters Cloud objects usage Metrics on load per server, role or farm Audit log Script execution log Analyze failures 15
  16. 16. Meet the vendors 16
  17. 17. Who uses cloud management?Large & small setups rely on Cloud Management: (RightScale) (RightScale) (Scalr) (Scalr) (Scalarium) (inhouse solution) (inhouse solution) 17
  18. 18. Do I need it? You need to manage your cloud infra. Which tool youuse is a business decision:  Handcrafted scripts vs robust solution that scales  Time it would take you to DIY & reinventing the wheel  How complex and dynamic is your setup?  Value of agility for your company  Sysops capacity in your team  Can you quantify ITOPS efficiencies?  Risk of not getting it right vs imposed good practices Personal experience: Digested cloud concepts top-bottom thanks to cloud management. 18
  19. 19. Questions? 19