Applications on vSphere, or AWS, or Anywhere Else
Zack Kielich, Product Manager TECCLD-1101 Cisco Spark
Questions? Use Cisco Spark to communicate with the speaker after the session
How 1. Find this session in the Cisco Live Mobile App 2. Click “Join the Discussion” 3. Install Spark or go directly to the space 4. Enter messages/questions in the space
Cisco Spark spaces will be cs.co/ciscolivebot#TECCLD-1101 available until July 3, 2017.
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public Agenda
• Introduction
• Options for deploying Applications
• Configuring a Cloud in CloudCenter
• Modeling a Virtual Machine
• Modeling a Service
• Modeling an Application Agenda
• Adding New Clouds
• Tag Based Governance
• Migrating Applications
• Bonus Round • Importing Brownfield VMs • Creating Custom Actions Nearly Everyone is Going Hybrid
81% 73% 60%
Have a hybrid Already have Using public cloud cloud strategy multiple clouds
Source: IDC InfoBrief, sponsored by Cisco, Cloud Going Mainstream. All Are Trying, Some Are Benefiting; Few Are Maximizing Value. September 2016
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 6 Definitions for this conversation
• Cloud and Cloud Services • Virtual Infrastructure as a Service (IaaS) and cloud services like AWS Lambda
• Software as a Service (SaaS) • SaaS software might use the cloud as a delivery mechanism. Example: You consume Netflix, Spotify, ServiceNow, Office365, Box, etc. • If you’re providing a SaaS, you may use the cloud to deliver. Example: You ARE Netflix, Spotify, ServiceNow, Office365, Box, etc.
• Platform as a Service (PaaS) • Tools that deploy runtimes of source code on pre-instantiated infrastructure
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public Business gets Choice… But At the Expense of IT Management Complexity
Data COST Center
Private Cloud
Public Cloud
Growth in Applications and Infrastructure Choices
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 8 What the Public Cloud Is and Isn’t
It IS It ISN’T • Moving money from one bucket into • Right for all applications another • Right for all technologies • Someone else’s computer • Always cheaper • Perceived infinite capacity • Always faster • Services to drive adoption • Automatically secure
It’s GREAT for • Short-lived, fully utilized workloads • New/small companies • Abstracting complexity • Increasing proximity
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 9 ATM, Analogy for the Public Cloud
Infinite Capacity
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 10 Perceived Infinite Capacity
Other examples: • Banks • Electricity • Water • Telecommunications • Internet traffic
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 11 ATM, Analogy for the Public Cloud
Services
Infinite Capacity
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 12 ATM, Analogy for the Public Cloud
UI
Services
Infinite Capacity
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 13 Value Added Partner You’re building an application supply chain
Public Cloud Physical Virtual End Infrastructure Services Apps Infra Users
Private Cloud
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 14 Options for Deploying Applications Types of Technology to Get You There
Platform Application
as a BASED
MODEL MODEL Centric
Service TECHNOLOGY Orchestration Infrastructure
Engine as a Service
WORKFLOW BASED LEVEL OF LIFECYCLE MANAGEMENT DEPLOY LIFECYCLE
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 16 Orchestration Engine
• Requires that you know exactly what should happen and when • Need to express directions in native language • Process doesn’t translate to other places • Requires lots of knowledge • If something changes, the flow breaks
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 17 IaaS
• Productized orchestration flows
• Very specific to the cloud
• Tool knows where you want to go
• Doesn’t translate well to other environments
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 18 PaaS
• Completely different decision path—like public transportation
• Someone else figured out common places to go and how to get there
• You get to take a ride to where they allow you to, but quickly.
• Little knowledge required of streets, but can’t go everywhere you may want to
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 19 Application Centric
• No language involved
• Show the image and you get taken to where you need to go
• Process works in any location
• Very little knowledge required
• Can get anywhere
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 20 Demo • Deploy an application • Apply tag based policies • Migrate application to another cloud Things Already Configured
Infrastructure Governance Cloud
• CCM installed • Plan already allocated • AWS configured • CCO installed (AWS & • Contract already • vCenter configured vCenter) allocated • Images mapped
Tenancy
Student1 Student2 Student…
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 22 CloudCenter WalkThroughs
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 23 Configuring a Cloud in CloudCenter
• Add a new account
• Create a deployment environment WalkThrough 1: Create Cloud Account
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 25 WalkThrough 1: Create Cloud Account Account information required:
• Cloud Family: Amazon Web Services
• AWS Email address: [email protected]
• AWS Account Number: 797884972685
• AWS Access Key: AKIAIOYG7J7WPQ2VE73Q
• AWS Secret Access Key: yQJEBj+6kgw+4jHb9nyPnSZ6REqo95uCq4tw6eBk
• *NOTE* keys will become inactive right after this session
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 26 WalkThrough 2: Create a Deployment Environment
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 27 Modeling a Virtual Machine
• Model CentOS 6 VM
• Creating aging policy
• Deploy the new CentOS 6 application profile to AWS WITH aging policy
• SSH to the machine
• Look at Day-2 operations WalkThrough 1: Model Application Profile CentOS 6
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 29 WalkThrough 2: Create an Aging Policy
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 30 Test Your Work
• Deploy the new CentOS 6 application profile to AWS WITH aging policy
• SSH to the machine
• Look at Day-2 operations
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 31 Modeling VMs Recap
• It’s easy to immediately enable self-service VM deployment
• Day-2 operations area available to users
• Cost information is being tracked
• VM is automatically terminated
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 32 Modeling a Service
• Create a MySQL application profile
• Deploy MySQL application profile MySQL Service
• Knowing what you learned from modeling a VM, model a MySQL service
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 34 Test Your Work
• Deploy the new MySQL application profile to AWS
• Connect to the database • Use CloudCenter SSH • Run command: mysql –u root –p • Password is: C1sco12345 • Run command: show databases;
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 35 Modeling Services Recap
• It’s easy to immediately enable self-service SERVICE deployment
• Services can be universal or cloud specific
• Lets end users mix and match services to build ad hoc applications
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 36 Modeling an Application
• Collecting information
• WordPress scripts walkthrough
• Model multi-tier application
• Deploy WalkThrough 1: Model Application Profile WordPress
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 38 Test Your Work
• Deploy WordPress to AWS
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 39 Modeling Applications Recap
• Consistently deploy complex applications
• Application profiles can simple or complex, composite or uniform
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 40 Add Another Cloud: vCenter
• Add new cloud account
• Update deployment environment
• Deploy WordPress to vCenter WalkThrough 1: Create Cloud Account Cloud information required:
• Cloud Family: vSphere
• vCenter Address: 173.36.208.236
• vCenter user name: root
• vCenter Password: vmware
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 42 Update Deployment Environment
• Include vCenter cloud into existing Deployment environment
• Set defaults
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 43 Test Your Work
• Deploy WordPress application to vCenter
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 44 Adding Additional Clouds Recap
• Adding a new cloud is simple
• Without changing the application profile, it can be deployed to a new cloud
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 45 Tag Based Governance WalkThrough 1: Enable Governance Rules
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 47 WalkThrough 2: Create System Tag Create 2 tags: Tag 1: Dev Tag 2: Prod
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 48 WalkThrough 3: Associate Tag to a Deployment Environment Associate Dev Deployment environment to Dev tag
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 49 WalkThrough 4: Associate Tags to Policies Associate Dev aging policy to Dev tag
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 50 Creating a Prod Environment
1. Create a new tag called “Prod”
2. Create a new Deployment Environment called “Prod” 1. Associate only the vSphere cloud and account
3. Associate the Prod tag to the Prod Deployment Environment
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 51 Test Your Work
• Access the WordPress application profile deploy screen and apply the “Prod” tag • What cloud targets are available? • Will an aging policy be applied?
• Deploy WordPress application and apply the “Dev” tag • What cloud targets are available? • Will an aging policy be applied? • DEPLOY TO vCENTER
• Once deployed, notify instructor who will install the blog and write a blog article
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 52 Tag Based Governance Recap
• Tag based policies help with application placement
• Policies inherited based on tags
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 53 Migrating Applications
• Migrate WordPress in vCenter to AWS How Migrating Works
vCenter AWS 4 1 2 3
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 55 Migrate From vCenter to AWS
*Note: Yes, it’s strange that we would promote a dev system in vCenter to dev system in AWS. More realistically you might have dev in AWS and migrate to production, but in these labs students can’t directly access the applications deployed in vCenter
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 56 Migrating Applications Recap
• Due to CloudCenter’s cloud agnostic application profile, it can migrate applications
• Migration method is faster, cheaper, and easier than other methods
• Works against any cloud
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 57 Bonus Round! Import Brownfield VM
• VM name: Your student name
• User: centos
• PEM file: Brownfield.pem
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 59 Create Custom Action
Create an action to output Linux environment variables
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 60 Wrap-up
• CloudCenter allows you to start simple and get more complex as needed
• New clouds can be deployed to without any rework
• Tag based governance ensures policy is followed
• Application migration to/from any cloud is fast, inexpensive, and easy
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 61 Complete Your Online Session Evaluation
• Give us your feedback to be entered into a Daily Survey Drawing. A daily winner will receive a $750 gift card. • Complete your session surveys through the Cisco Live mobile app or on www.CiscoLive.com/us.
Don’t forget: Cisco Live sessions will be available for viewing on demand after the event at www.CiscoLive.com/Online.
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public Continue Your Education
• BRKCLD-1009: Micro-Service Applications for Infrastructure People
• BRKCLD-2008: Multi-Cloud and Application Centric Modeling, Deployment and Management with Cisco CloudCenter (CliQr)
• BRKPCS-2020: Automate your Data Center with UCS Director
• BRKCLD-2215: How to be a Hybrid Cloud ready IT Department
• LTRCLD-1050: CCC/ACI/UCSD - A Multicloud Story - An Infrastructure View
TECCLD-1101 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 63 Thank you