There is no a single way to migration an infrastructure on cloud but many shades. In this presentation we summarized 5 shades of migration approach, starting from simple import up to a cloud aware infrastructure.
1. Nome Speaker
@twitter
50 Sfumature di Cloud - pratiche di migrazione
Fifty Shades of Cloud
migrations practices
Daniel DepaoliGiuseppe Cossu
2. About us
Giuseppe Cossu Daniel Depaoli
● Cloud engineer
● OpenStack instructor & contributor
● Passionate about Cloud Computing,
DevOps and AWS
● Music & Art
● AWS instructor
● Cloud engineer
● Linux expert
● Automation addicted
● Runner/biker amateur
3. ● Intro
○ Fifty shades of ...
● (some) Cloud Benefits
● Cloud Adoption Levels
○ No Cloud vs Cloud Aware
● Conclusions
Outline
12. Elasticity
"The degree to which a system is able to adapt to workload
changes by provisioning and de-provisioning resources in an
autonomic manner, such that at each point in time the
available resources match the current demand as closely as
possible" (Wikipedia)
https://en.wikipedia.org/wiki/Elasticity_(cloud_computing)
13. Cloud
Managed services
Managed Services provides ongoing management of your
Cloud infrastructure, so you can focus on your applications
Platform
Access
Monitoring
Use Use
Monitoring
Access
Platform
Corporate Data Center
Time Spent
21. Import
Import Platform adoption IaC & Automation Refactor
Delivery
automation
Multiple locations Partial
Scalability Partial
Elasticity Partial
Managed services No
Reproducibility No
CI/CD No
22. Import - Concrete Benefits
● The fastest & simple method to migrate to the cloud:
re-architecting apps can be costly and time consuming
● Cost Reduction
● (Virtually) unlimited storage capacity & resources
● First step for starting to leverage Cloud Computing...
25. Self Hosting vs Managed service
Cloud provider handles:
● OS Installation
● OS patching
● Software installation
● Software (minor) updates
● …
● High availability
● Scaling
● Automatic Backups
● Multi-AZ deployments
● Licence (if any)
● Hardware Maintenance
Examples:
● Database:
○ MySQL, PostgreSQL, …
● In-Memory Caching
○ Redis, Memcached
● Load Balancer
● CDN
● Elasticsearch Service
● Queue Service
● ...
26. Platform Adoption
Import Platform adoption IaC & Automation Refactor
Delivery
automation
Multiple locations Partial Partial
Scalability Partial Partial ++
Elasticity Partial Partial
Managed services No Yes
Reproducibility No No
CI/CD No No
27. Platform adoption - Concrete Benefits
● Reduce time to configure: you can quickly deploy
● Easy to set up, operate and scale
● Avoid thinking some parts of infrastructure
● Traffic/requests peaks are not a problem
32. IaC & Automation
Generic
Database
Traditional
Server
Corporate Data Center
Configuration and Management tools Infrastructure as Code
Cloud
Availability Zone Availability Zone
Instance Instance
Relational DB
Active instance
Relational DB
Standby instance
Load Balancer
40. Refactor
Move data and log (e.g. object storage)
Decouple the components
● At application level
● At infrastructure level (e.g., Queue Service)
Sessionless
Use of cloud provider services
41. Refactor
Import Platform adoption IaC & Automation Refactor
Delivery
automation
Multiple locations Partial Partial Partial Yes
Scalability Partial Partial ++ Partial ++ Yes
Elasticity Partial Partial Partial Yes
Managed services No Yes Yes Yes
Reproducibility No No Yes Yes
CI/CD No No No No
42. Refactor - Concrete Benefits
● Cost optimization
○ Decrease infrastructure cost up to 50%
○ Payment proportional to environment load
● Availability up to 99,99% (53 minutes of down in a year)
48. Delivery automation
● Infrastructure update
● Virtual Machine security update
● New web server version
● New infrastructure element
● ….
Build with Packer
Test
54. Conclusions
Netflix wasn't built in a day…
Leverage Cloud’s potential is not so easy
“Given the obvious benefits of the cloud, why did it take us a full
seven years to complete the migration? The truth is, moving to
the cloud was a lot of hard work, and we had to make a number
of difficult choices along the way.”
Yury Izrailevsky - Vice President, Cloud and Platform Engineering @Netflix