Webcast Automação Implantação de Aplicações (DevOps)
- 1. Webcast: Automatizando a Implantação
de Aplicações
Felipe Freire
pfreire@br.ibm.com
twitter.com/pfelipebr
© 2014 IBM Corporation
03 de Setembro de 2014
- 2. © 2014 IBM Corporation
IBM Software | Rational
Objetivos
Introdução à DevOps no ponto de vista da IBM
Visão geral do IBM UrbanCode Deploy
Demonstração
2
- 3. O software está no centro das principais tendências tecnológicas
© 2014 IBM Corporation
IBM Software | Rational
Software
delivery Mobile
Modern workforce
expects constantly
updated software to
connect to enterprise
systems
Intelligent/
Connected Systems
Software component in
smart products driving
increased value and
differentiation
Big Data
Insights on new products by
more efficiently interpreting
massive quantities of data
Cloud
Demand for apps requires fast,
scalable environments for dev
and test, as well as production
Instrumented Products
Industry requirements demand
faster response to regulations
and standards, with traceability
and quality
Social Business
Broader set of stakeholders
collaborates to deliver
continuous innovation
and value
3
- 4. © 2014 IBM Corporation
IBM Software | Rational
Em um mundo orientado pela entrega de software
As expectativas do mercado e dos
clientes estão aumentando
O ritmo da inovação está mudando
Mais espertos, rápidos e com mais
qualidade
Desenvolvedores estão no foco
4
Melhores softwares para uma experiência de usuário aprimorada
- 5. As demandas para TI tem crescido dramaticamente
Otimização Inovação
© 2014 IBM Corporation
IBM Software | Rational
New economics of IT
fuels investments in
innovation
Innovation drives
need for continuous
IT optimization
Próxima geração
de arquiteturas híbridas
“Don’t be afraid to make mistakes, just be afraid of
not learning from them.” – Thomas Edison
5
- 6. © 2014 IBM Corporation
Accelerating Product and Service Innovation | Rational
Entrega de software tradicional (pré-DevOps)
Operations First:
– Charter / Fund: 2 weeks to 3 months
– Acquire Infrastructure (CAPEX): 6 weeks to 6 months
– Integrate Infrastructure (OPEX): 4 weeks to 8 weeks
– Dry runs, validation, acceptance testing (OPEX): 2 weeks to 4 weeks
Development Second:
– Workstation SCM
– SCM Dev
– Dev Test
– Test Stage, Prod
Issues:
– Patch Level / Security
– Demand, Scale to Max Peak
– Release schedules per Quarter / Year
– Governance Process alignment
– Consistency, Speed, Reliability
A new project can take between 6 and 18 months
A new project can take between 6 and 18 months
before release 1.0 is in production!
before release 1.0 is in production!
- 7. © 2014 IBM Corporation
Accelerating Product and Service Innovation | Rational
Alguns problemas crônicos na abordagem tradicional
Your customers find major defects.
–Major defects take a long time to fix.
You cannot do anything until you have everything.
–Legacy model leads to unique infrastructure dependencies.
People do not talk to each other.
–This leads to broken processes and overbearing governance.
Even if you are “agile,” the delivery process is still broken.
–Going live still takes as long as ever.
Any problems lead to finger pointing.
–Development and Operations are not able to operate as one team.
- 8. Pessoas
Processos
Ferramentas
© 2014 IBM Corporation
IBM Software | Rational
DevOps Princípios e Valores
Develop and test against a production-like
system
Iterative and frequent deployments using
repeatable and reliable processes
Continuously monitor and validate operational
quality characteristics
Amplify feedback loops
Pessoas
Processos
Ferramentas
8
- 9. © 2014 IBM Corporation
IBM Software | Rational
Lifecycle Integration for DevOps
PPeeooppllee
Culture
Collaboration
Communication
Management
Accountability
Integration
Automation
Integration
Visibility
Operational
Models, Assets,
Data and Stores
Dev
Tools
Development
Models, Assets, Data
Development
Models, Assets, Data
and Stores
and Stores
Ops
Tools
PPrroocceessss
TTeecchhnnoollooggyy
- 10. © 2014 IBM Corporation
IBM Software | Rational
O Impacto de DevOps
*BVT: Build Verification Test
- 11. IBM DevOps point of view
Enterprise capability for continuous software delivery that enables clients to seize
market opportunities and reduce time to customer feedback
© 2014 IBM Corporation
IBM Software | Rational
PPeeoopplele PProrocceessss TTeecchhnnoolologgyy
Accelerate
Accelerate
software delivery
software delivery
Balance speed, cost,
quality and risk
Balance speed, cost,
quality and risk
Reduce time to
customer feedback
Reduce time to
customer feedback
Develop/Test
Deploy
Operate
Steer
11
DevOps Practices Self Assessment tool.
Blog that explains the Self Assessment tool: https://ibm.biz/BdRUbh
Direct link to the tool : https://ibm.biz/devops-practices-assessment
- 12. © 2014 IBM Corporation
IBM Software | Rational
- 13. Mobile Quality Assurance
© 2014 IBM Corporation
IBM Software | Rational
SmartCloud Monitoring
Continuous Delivery Pipeline
IBM UrbanCode Deploy w/ Patterns
13
- 14. Enabling clients to more rapidly deliver mobile, cloud, big data and traditional applications with high quality
and low risk
© 2014 IBM Corporation
IBM Software | Rational
UrbanCode for Release and Deployment automation
Drive down cost
Remove manual effort and wasted resource time with
push button deployment processes
Speed time to market
Simple, graphical process designer, with built-in actions
to quickly create deployment automation
Reduce risk
Robust configuration management, coordinated release
processes, audits, and traceability
IBM UrbanCode Deploy automates the deployment of applications,
databases and configurations into development, test and production
environments, helping to drive down cost, speed time to market with
reduced risk.
IBM UrbanCode Release is an intelligent collaboration release
management solution that replaces error-prone manual spreadsheets
and streamlines release activities for application and infrastructure
changes.
https://www.ibmdw.net/urbancode/
- 15. © 2014 IBM Corporation
IBM Software | Rational
Intuitive and Scalable Model Driven Deployment
Composite Applications
Components
Re-usable Workflows
Environment Management
SIT
PROD
The “What”
The “How”
The “Where”
Deployment
Automation
- 16. © 2014 IBM Corporation
IBM Software | Rational
Runtime Architecture
16
- 17. © 2014 IBM Corporation
IBM Software | Rational
OVERVIEW –
IBM URBAN CODE DEPLOY
17
Whiteboard Overview
- 18. IBM UrbanCode Deploy
© 2014 IBM Corporation
IBM Software | Rational
IBM UrbanCode Deploy
Application deployment automation
Manage application
components and versions
Manage environment
configuration from dev/test
through production
Ensure compliance
– Audit history
– Quality gates
Easy to use process designer
– Automate and reuse deployment processes
Automates deployment to
existing and new resources
Environment Inventory
– What is deployed where?
EEnntteerrpprriissee qquuaalliittyy aanndd ssccaallee
18
- 19. – Rest-based services for Web UI and CLI client
– Manage Application, Component, Process, Resource, Security, Environment etc.
– Workflow engine for Application and Component process
Component: deployable artifacts with versions
Application
– Components need to be deployed together (Snapshot)
– Environments which components will be deployed on
Process: series of steps operate on artifacts
Agent/Resource: Lightweigh process runs on target host
© 2014 IBM Corporation
IBM Software | Rational
IBM Urban Code Deploy Key Concepts
IBM UrbanCode Deploy Server
19
- 20. © 2014 IBM Corporation
IBM Software | Rational
Key Features
Intuitive Deployment Model
Environment Configuration Management
Rich Drag-and-Drop Workflow Designer
Distributed Deployment Automation
Deployment Inventory
- 21. © 2014 IBM Corporation
IBM Software | Rational
Platform Technology
Core
Models: Application,
Environment, Inventory
Distributed Automation Engine
(with Plugins)
Configuration Management
Supporting
Artifact Repository
Calendars & Scheduling
Intelligent File Transfer
Approvals & Work Lists
History & Audit Trail
- 22. © 2014 IBM Corporation
IBM Software | Rational
Integrations / Plugins
Amazon EC2
Ant
AnthillPro
Apache HTTP Server
IBM BuildForge
ClearCase
F5 Big IP
Git
Groovy
HP Quality Center
HP Service Manager
IBM PureApplication System
iSOA Group DP Admin
Jboss
Jenkins
JIRA
Junit
LuntBuild
Maven
Microsoft IIS
Middleware Configuration for WAS
Perforce
PVCS
QTP
Rally
IBM Rational Asset Manager
IBM Rational Quality Manager
RedHat Packager
Remedy
IBM SmartCloud Orchestrator
Selenium
Service Control Manager
ServiceNow
Sharepoint
Oracle SQL *Plus
SQL-JDBC
StarTeam
Subversion
Team Foundation Server
TeamCity
IBM Test Virtualization Server
Tomcat
IBM uBuild
IBM WebSphere Application Server
IBM WebSphere Liberty
IBM WebSphere Message Broker
IBM WebSphere MQ
IBM Worklight
For latest and complete List of integrations visit:
https://developer.ibm.com/urbancode/plugins/ibm-urbancode-deploy/
- 23. © 2014 IBM Corporation
IBM Software | Rational
Typical Deployment Types
Content Deployments
– Incremental content updates
–Rollbacks
Middleware Code Deployments
– Install and rollback of code
–Run-book automation (restart, etc.)
Middleware Configuration Deployments
–Declarative description of configuration change
– Install and rollback of config change
DB Deployments
– Execution of DB change scripts in order
–Rollback
23
- 24. © 2014 IBM Corporation
IBM Software | Rational
IBM URBANCODE DEPLOY
DEPLOY MODEL
24
- 25. © 2014 IBM Corporation
IBM Software | Rational
Applications and Components
Components:
- Individual deployable projects
Application:
- A complete collection of components
-Describes inter-component dependencies
-Application Process Orchestrates the deployment
- 26. © 2014 IBM Corporation
IBM Software | Rational
Applications
Applications handle
orchestration of deployments to
target resource in the context of an environment
26
- 27. © 2014 IBM Corporation
IBM Software | Rational
Components
Consists of an artifact set (version),
and automation to deploy artifacts
27
- 28. Manual Approval
Required!
© 2014 IBM Corporation
IBM Software | Rational
Application Environments
- Environments may require manual approvals for deployments
SIT Properties:
db.password = devPassword
- Model different topologies for the same application
- Set environment-specific configuration
Production Properties:
db.password = prodPassword
- 29. © 2014 IBM Corporation
IBM Software | Rational
Deployment Automation
Deploy Application
- Orchestrate deployment of many components
- Represents deploy-time dependencies
Deploy Component
- Create a fully automated workflow to be executed
on target servers
Drag-and-Drop Workflow Designer
Precise Control of Execution Flow
Hundreds of Integration Steps Provided
Create Custom Steps
- 30. © 2014 IBM Corporation
IBM Software | Rational
Basic Usage Model
- 31. © 2014 IBM Corporation
IBM Software | Rational
Basic Usage Model with Example Tools
- 32. © 2014 IBM Corporation
IBM Software | Rational
Demonstration
Basic Functionality of IBM UrbanCode Deploy
Questions so far?
32
- 33. Felipe Freire
pfreire@br.ibm.com
twitter.com/pfelipebr
© Copyright IBM Corporation 2014. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any
kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor
shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the
use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates
and/or capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to
future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM products and services are trademarks of the
International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.
© 2014 IBM Corporation
IBM Software | Rational
33
Blog Rational Brasil
https://www.ibm.com/developerworks/community/blogs/rationalbrasil
UrbanCode Release and Deploy Learning Circle
http://ibm.co/devops-learning-circle