© 2014 IBM Corporation
Webcast: Automatizando a Implantação de Aplicações
Felipe [email protected]/pfelipebr
03 de Setembro de 2014
© 2014 IBM Corporation
IBM Software | Rational
Introdução à DevOps no ponto de vista da IBM
Visão geral do IBM UrbanCode Deploy
Demonstração
Objetivos
2
© 2014 IBM Corporation
IBM Software | Rational
Software delivery
MobileModern workforce expects constantly
updated software toconnect to enterprise
systems
Intelligent/Connected SystemsSoftware component in smart products driving increased value and
differentiation
Big DataInsights on new products by more efficiently interpreting massive quantities of data
CloudDemand for apps requires fast, scalable environments for dev and test, as well as production
Instrumented ProductsIndustry requirements demand faster response to regulationsand standards, with traceability
and quality
Social BusinessBroader set of stakeholders
collaborates to deliver continuous innovation
and value
O software está no centro das principais tendências tecnológicas
3
© 2014 IBM Corporation
IBM Software | Rational
Em um mundo orientado pela entrega de software
4
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
Melhores softwares para uma experiência de usuário aprimorada
© 2014 IBM Corporation
IBM Software | Rational
New economics of IT fuels investments in
innovation
Innovation drives need for continuous
IT optimization
Otimização Inovação
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
As demandas para TI tem crescido dramaticamente
5
© 2014 IBM Corporation
Accelerating Product and Service Innovation | Rational
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 before release 1.0 is in production!
A new project can take between 6 and 18 months before release 1.0 is in production!
Entrega de software tradicional (pré-DevOps)
© 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.
© 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
Pessoas
Processos
Ferramentas
8
© 2014 IBM Corporation
IBM Software | Rational
Lifecycle Integration for DevOps
ManagementAccountability
Integration
CultureCollaboration
Communication
AutomationIntegration
VisibilityOperational
Models, Assets, Data and Stores
Development Models, Assets, Data
and Stores
Development Models, Assets, Data
and Stores
Dev Tools
OpsTools
ProcessProcess
PeoplePeople
TechnologyTechnology
© 2014 IBM Corporation
IBM Software | Rational
O Impacto de DevOps
*BVT: Build Verification Test
© 2014 IBM Corporation
IBM Software | Rational
Acceleratesoftware delivery
Acceleratesoftware delivery
Balance speed, cost, quality and risk
Balance speed, cost, quality and risk
Reduce time to customer feedback
Reduce time to customer feedback
PeoplePeople ProcessProcess TechnologyTechnology
Develop/Test
Deploy
Operate
Steer
IBM DevOps point of viewEnterprise capability for continuous software delivery that enables clients to seize market opportunities and reduce time to customer feedback
11
DevOps Practices Self Assessment tool.Blog that explains the Self Assessment tool: https://ibm.biz/BdRUbhDirect link to the tool : https://ibm.biz/devops-practices-assessment
© 2014 IBM Corporation
IBM Software | Rational
© 2014 IBM Corporation
IBM Software | Rational
SmartCloud Monitoring
Continuous Delivery Pipeline
IBM UrbanCode Deploy w/ Patterns
13
Mobile Quality Assurance
© 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
Enabling clients to more rapidly deliver mobile, cloud, big data and traditional applications with high quality and low risk
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/
© 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
© 2014 IBM Corporation
IBM Software | Rational
Runtime Architecture
16
© 2014 IBM Corporation
IBM Software | Rational
OVERVIEW – IBM URBAN CODE DEPLOY
17
Whiteboard Overview
© 2014 IBM Corporation
IBM Software | Rational
IBM UrbanCode DeployApplication 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?
Enterprise quality and scaleEnterprise quality and scale
IBM UrbanCode Deploy
18
© 2014 IBM Corporation
IBM Software | Rational
19
IBM Urban Code Deploy Key Concepts
IBM UrbanCode Deploy Server
– 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
Key Features Intuitive Deployment Model
Environment Configuration Management
Rich Drag-and-Drop Workflow Designer
Distributed Deployment Automation
Deployment Inventory
© 2014 IBM Corporation
IBM Software | Rational
Platform Technology
CoreModels: Application,
Environment, Inventory
Distributed Automation Engine (with Plugins)
Configuration Management
SupportingArtifact Repository
Calendars & Scheduling
Intelligent File Transfer
Approvals & Work Lists
History & Audit Trail
© 2014 IBM Corporation
IBM Software | Rational
Integrations / Plugins
Amazon EC2AntAnthillProApache HTTP ServerIBM BuildForge ClearCaseF5 Big IPGitGroovyHP Quality CenterHP Service ManagerIBM PureApplication SystemiSOA Group DP AdminJbossJenkinsJIRAJunitLuntBuildMavenMicrosoft IISMiddleware Configuration for WASPerforcePVCSQTP
RallyIBM Rational Asset ManagerIBM Rational Quality ManagerRedHat PackagerRemedyIBM SmartCloud OrchestratorSeleniumService Control ManagerServiceNowSharepointOracle SQL *PlusSQL-JDBCStarTeamSubversionTeam Foundation ServerTeamCityIBM Test Virtualization ServerTomcatIBM uBuildIBM WebSphere Application ServerIBM WebSphere LibertyIBM WebSphere Message BrokerIBM WebSphere MQIBM Worklight
For latest and complete List of integrations visit: https://developer.ibm.com/urbancode/plugins/ibm-urbancode-deploy/
© 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
© 2014 IBM Corporation
IBM Software | Rational
IBM URBANCODE DEPLOYDEPLOY MODEL
24
© 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
© 2014 IBM Corporation
IBM Software | Rational
ApplicationsApplications handle
orchestration of deployments to target resource in the context of an environment
26
© 2014 IBM Corporation
IBM Software | Rational
Components
Consists of an artifact set (version), and automation to deploy artifacts
27
© 2014 IBM Corporation
IBM Software | Rational
Application Environments
SIT Properties:db.password = devPassword
Production Properties:db.password = prodPassword
Manual Approval Required!
- Model different topologies for the same application- Set environment-specific configuration
- Environments may require manual approvals for deployments
© 2014 IBM Corporation
IBM Software | Rational
Deployment AutomationDeploy 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
© 2014 IBM Corporation
IBM Software | Rational
Basic Usage Model
© 2014 IBM Corporation
IBM Software | Rational
Basic Usage Model with Example Tools
© 2014 IBM Corporation
IBM Software | Rational
Demonstration
Basic Functionality of IBM UrbanCode Deploy
Questions so far?
32
© 2014 IBM Corporation
IBM Software | Rational
33
© 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.
Blog Rational Brasilhttps://www.ibm.com/developerworks/community/blogs/rationalbrasil
UrbanCode Release and Deploy Learning Circlehttp://ibm.co/devops-learning-circle
Felipe [email protected]/pfelipebr