Automate All The Things
Automating build and protection of a vSphere
environment with Rubrik, Terraform, and Ansible
@mo6020
Ed Morgan | Office of the CTO, Rubrik
Slide 2
Slide 2 text
Agenda
• Who are Rubrik?
• The value of automation
• Example application stack and how to
automate build and protection
• Live Demo
5
Back-to-Back-to-Back VMworld Best of Show
Best of Show two years in a row. VMworld US and Europe.
Gold at VMworld three years in a row for Data Protection. Gold for Security.
Slide 6
Slide 6 text
6
Data Management: 1990s to Present
Backup
Software
Backup
Servers
Backup
Proxies Replication
Catalog
Database Tape Off-site Archive
Backup Storage
a
Dedupe
Metadata
X
Automation
Cloud
Security
X
X
Slide 7
Slide 7 text
7
Meet Rubrik Cloud Data Management
Backup
Software
Backup
Servers
Backup
Proxies Replication
Catalog
Database Tape Off-site Archive
Backup Storage
a
Dedupe
Metadata
Automation
Cloud
Security
A single software fabric for complete
data management across data center
and cloud
Slide 8
Slide 8 text
How It Works
Enterprise Backup Re-Imagined
• Simple to Setup, Simple to Use
• All Enterprise Applications
• Instant Recovery
1
• Cloud Archival
• Google-like Search on Cloud
• File-level Recovery
Built for Cloud
2
SLA Policy Engine
Log Management
VM
NAS
Obj Storage NFS Tape
Private Cloud
• End-to-End Encryption
• Native Immutability Against Ransomware
• AI/ML-Driven Ransomware Recovery
Built for Security
3
8
Slide 9
Slide 9 text
9
Run Rubrik Anywhere – Data Center to Cloud
VM
NAS
S3
EC2
Storage
Virtual Machine
Slide 10
Slide 10 text
Everything Can Be Automated
10
APIs
RESTful APIs to automate IT service delivery.
Automate VM provisioning, test/dev,
self-service file recoveries, customized
reporting, and more
vRealize
Automation
…and more
Slide 11
Slide 11 text
The value of automation
Slide 12
Slide 12 text
The Business Problem
12
• IT Operations are risky
• Failure is expensive
• Shadow IT/Compliance challenges
• IT must prove value. ”Do more with less”
• Skills shortage
Slide 13
Slide 13 text
The Technical Problem
13
• Increasing number of technologies in the DC
• Drive to provide self-service
• Variety of programming/scripting languages
• Systems more complex than ever before
• Increase in technical debt
Who is driving the industry to automate?
15
• C-level execs – do things faster,
outpace the competition
• IT Directors – reduce risk,
become more agile
• Customers – expect to receive
services easily and on-demand
(thanks Apple!)
• Devs – need quick and
programmatic access to
infrastructure
Slide 16
Slide 16 text
What is DevOps?
16
Slide 17
Slide 17 text
What is DevOps
17
Collaboration is key, this is a cultural change.
The three ways:
• Systems Thinking – see the system as a whole and
identify bottlenecks
• Feedback Loops – ensure everyone knows when an
issue is identified and that it is understood
• Continuous learning - keep making iterative
improvements in the process. Strive to make the
process error free, highly efficient, and 100%
automated
Slide 18
Slide 18 text
18
Slide 19
Slide 19 text
Common Automation Tools
19
• Software Development Kits (SDKs)
• REST APIs
• PowerShell Modules
• CLI Tools (bash, etc)
Slide 20
Slide 20 text
Why REST APIs?
20
• Easy, standard, web-native way for systems to talk
• Based on HTTP standards
• Simple building block for automation
Slide 21
Slide 21 text
What does a REST call look like?
21
DISCLAIMER: This is not a sexy demo
Slide 22
Slide 22 text
What does a REST call look like?
22
Request:
curl -X GET --header 'Accept: application/json'
'https://rubrik.demo.com/api/v1/cluster/me' -k -u
'admin:MyP@ss!'
Slide 23
Slide 23 text
What does a REST call look like?
23
Request:
curl -X GET --header 'Accept: application/json'
'https://rubrik.demo.com/api/v1/cluster/me' -k -u
'admin:MyP@ss!’
Response:
{
"id":"89fc0d86-6f1c-4652-aefa-37b7ba0e6229",
"Version":"4.0.4-568",
"apiVersion":"1"
}
Slide 24
Slide 24 text
What is the big deal with REST APIs then?
24
• Most legacy DC equipment doesn’t have
them
• Even ‘new’ products from legacy vendors
often do not have REST APIs
• Where they do exist typically they are
bolted on top of existing platforms
• REST APIs mostly do not cover 100% of
application functionality
Slide 25
Slide 25 text
The Dream
25
• API First
• The UI consumes the REST API
• 100% coverage of application features
• Product “drinks it’s own champagne”
• Makes automating the product a dream
Slide 26
Slide 26 text
• Example application stack and how to
automate build and protection
Slide 27
Slide 27 text
The “app” we’re going to build
27
• Web Server – Nginx
• Database – MySQL
• Protection with Rubrik
Slide 28
Slide 28 text
Deployment Process
28
• Spin up VMs with Terraform
• Call Ansible from Terraform to install software
• Use Ansible Rubrik’s Python SDK to protect workloads with Rubrik
– Register VMs against Rubrik cluster
– Create Fileset to define what we’re backing up
– Assign Rubrik SLA to new VMs
– Trigger an On-Demand backup
Slide 29
Slide 29 text
Live Demo – present your offerings to the
demo gods now, please.