100% found this document useful (1 vote)
71 views

Slide 1: ZQ410 Unit 4 Transcript

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
71 views

Slide 1: ZQ410 Unit 4 Transcript

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

ZQ410 Unit 4 Transcript

Slide 1

Deploying applications to target


environments

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

You run a deployment by running an application process in a target environment. In this unit, you
learn how to deploy to an environment, create and deploy snapshots, and compare environments
to view the inventory in each one.

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 2

Objectives
• Describe what happens in a deployment
• Describe the difference between full and incremental deployments
• Describe why and how to use snapshots
• View which versions are deployed to environments
• View the file differences between the environments
• Preview deployments for impact analysis
• Migrate changes from one environment to another

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 3

Topics
• Deploying to an environment
• Examining application environment inventory
• Deploying applications with snapshots

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 4

A deployment is the promotion of an application from one environment


to the next

DEPLOYMENTS

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

As we talked about in the first unit, a deployment is the promotion of an application from one
environment to the next.

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 5

A deployment configures and installs a deployment package in a specific


environment

IBM UrbanCode Deploy


DEV

Server Agent

CodeStation
Deployment DB 1.1 WEB 1.1 APP 1.0

DB 1.1 WEB 1.1 APP 1.0

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

The IBM UrbanCode Deploy server provides a file transfer capability for deploying files to target
servers. A deployment involves selecting component versions from a repository, moving those
components to the target server, and completing the required tasks for bringing those parts of the
application online.

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 6

You run a deployment by running an application process in a target environment

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

When you start a deployment, you identify the application process and the component versions to
deploy. You can select any process that is defined for the parent application, and you can use
any components that are associated with the application.

If you want to deploy only the changed versions since the previous deployment, select the Only
Changed Versions check box. If you uncheck this check box, all of the component versions that
you select are deployed, even if they are already in the inventory.

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 7

The application process request shows each step in the process

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

When an application process starts, the Application Process Request page displays information
about the deployment status. Notice that the steps in the log are the same as the component
process.

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 8

The Execution section displays the deployment details

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

After a process finishes, the Execution section shows the status. You can click on the bars to get
more details about the processes and steps.

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 9

Topics
• Deploying to an environment
• Examining inventory and deployment information
• Deploying applications with snapshots

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 10

Inventory and history are retained for environments and resources

Compliancy shows whether


Shows which component actual component inventory
versions are deployed on matches expected inventory
the environment

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

From the Environments tab of an application, you can see that there’s an inventory system. The
inventory system tracks the desired state of each environment and what has been successfully
deployed to each target resource. Compliancy indicates whether the environment contains those
component versions.

The inventory and compliance for an environment are updated each time that you run an
application process or deploy a snapshot to the environment.

In this example, there are three deployable components that are deployed to two environments.
You can see that the SIT environment has newer versions.

10

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 11

You can compare inventories between environments

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

IBM UrbanCode Deploy maintains an inventory of every artifact that is deployed to each
environment and also tracks the differences between them. You can compare two environments
to see differences in the versions that they contain.

11

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 12

File differences are tracked between the environments

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

When there is a problem in production or during testing, traceability makes it easier to understand
what changes are going in that could have caused the problem.

12

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 13

The History tab show the process requests for a specific environment

Opens process request

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

You can view the progress of the process by going to the History tab and opening the process
request.

13

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 14

The Usage tab shows the environment inventory for each component

Shows for how long a


Environments component was deployed

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

You can track the environment inventory for each component by clicking the component and then
going to the Usage tab. IBM UrbanCode Deploy tracks both the version that is currently in an
environment and also what was in various environments over time. This is helpful comparing
flows through environments and identifying what changed.

14

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 15

Deployment reports contain historical information about deployments

Choose Select date range


report type and deployment
information

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

You can filter data, print and save reports, and save search criteria with deployment reports. You
can obtain information for specific reporting periods, such as the number of deployments,
average deployment duration, and total duration. In this example, the Deployment Detail report
shows all deployments for the specified applications, environments, and users for a given time
period.

• Deployment count: Provides information about the number of deployments that ran during
a specified reporting period.
• Deployment average duration: Provides average deployment times for applications that
ran during a specified reporting period.
• Deployment total duration: Provides total deployment times for applications that ran during
a specified reporting period.
• Deployment detail: Shows all deployments for the specified applications, environments,
and users in the specified time period.

15

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 16

Topics
• Deploying to an environment
• Examining application environment inventory
• Deploying applications with snapshots

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

16

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 17

A snapshot is collection of specific versions of components and processes

Creating a Snapshot

Component Versions Snapshot

WEB WEB

1 2 3 3

APP APP
1 2 3 1

DB DB
1 2 3 2

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

Snapshots are models that you create before you deploy the application. A snapshot specifies the
exact version for each component in the application. When a snapshot is created, information is
gathered about the application, including the component versions, for an environment.

Typically, the snapshot is generated in an environment that has no approval gates. This kind of
environment is called an uncontrolled environment.

17

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 18

Snapshots ensure consistent deployments from one environment to another

Creating a Snapshot Snapshot Deployment

SIT UAT
Component Versions Snapshot
Environment Environment
WEB WEB WEB WEB

1 2 3 3 3 3

APP APP APP APP


1 2 3 1 1 1

DB DB DB DB
1 2 3 2 2 2

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

You use snapshots to ensure the same exact deployment happens from one environment to
another. If you have several components, selecting a version for each one, each time, could
introduce errors. A snapshot is a single deployable item that you can push from environment to
environment. After all the appropriate stages and approvals for a snapshot are complete, the
snapshot is pushed to production.

18

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 19

A snapshot captures a picture of the application’s current state

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

To create a snapshot, you choose the component versions and processes to include in the
snapshot.

19

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 20

Previewing deployments for impact analysis

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

You can preview an application snapshot before you deploy it to see the upcoming changes in
resources and properties.

20

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 21

Deploying a snapshot deploys the components in the snapshot

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

When you have a snapshot, you select both the environment to deploy to and the process to use
for the deployment.

21

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 22

Application and component processes are the same

Same steps from the


application and
component processes

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

The deployment looks the same as the original deployment each time the snapshot is used.

22

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 23

The inventory is updated after running the snapshot

Snapshot created from


components and processes
in the SIT environment

Snapshot deployed to
UAT environment

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

The inventory is immediately updated and can be viewed alongside of other environments in the
application.

23

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 24

Environments can be configured to lock snapshot versions or configuration

Locks component
versions
Locks configuration

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

Environments can be configured to specifically lock either snapshot versions or the snapshot
configuration, or both, when snapshots are deployed to the environment.

24

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 25

You can lock a snapshot at environment creation

Locks all snapshots used in


a request to this deployment

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

By default, the lock setting for both component versions and snapshot configurations are
determined by the option selected in the Lock Snapshots field on the Create Environment
window. All snapshots used in a request to this deployment will be locked to prevent further
changes.

25

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 26

Unit summary
• A deployment is the promotion of an application from one environment to the next
• You run a deployment by running an application process in a target environment
• You can compare two environments to see differences in the versions that they contain
• Snapshots are models that you create before you deploy the application
• A snapshot specifies the exact version for each component in the application

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

26

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
ZQ410 Unit 4 Transcript

Slide 27

Exercises: Deploying applications to target environments


• Run an application process to deploy components
• Deploy specific component versions to update the application
• Create a snapshot and deploy it to a new environment

Unit 4: Deploying applications to target environments © Copyright IBM Corporation 2017

27

© Copyright IBM Corporation 2017


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

You might also like