More Related Content Similar to Automating Infrastructure as a Service Deployments and monitoring – TEC213 (20) More from Chris Kernaghan (13) Automating Infrastructure as a Service Deployments and monitoring – TEC2132. IaaS
• IaaS is a Public or Private environment which is billed on a utility
“what you use” model
• Defining characteristic of Cloud is self-service
• Lots of competing technologies eg.
KVM, LPARs, VMWare, Solaris Containers, EC2, Eucalyptus
• IaaS environments are essentially, for individual customers,
infinitely scalable
SAP/AWS
• SAP have been working in AWS since 2008
• Working on Project Titanium for 3 years
• Large supporter of Virtualisation technologies
• Use in Training, Project and Development systems
• Helping partners to build and develop services supporting Cloud
| Sector, Alliance, Offering
SAP and IaaS
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 2
3. Total of 63
partners who are
certified to support
SAP’s supported
cloud services.
15 of these
partners are
Globally certified
Many run their
own hosting/Cloud
services in
addition
| Sector, Alliance, Offering
Supported SAP Cloud Partners
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 3
4. SAP usage across
53 user groups
groups
Use of Project
Titanium to control
instances
| Sector, Alliance, Offering
SAP AWS Deployments
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 4
5. | Sector, Alliance, Offering
Capgemini UK SAP AWS Deployments
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 5
0
10
20
30
40
50
60
Dec-09
Jan-10
Feb-10
Mar-10
Apr-10
May-10
Jun-10
Jul-10
Aug-10
Sep-10
Oct-10
Nov-10
Dec-10
Jan-11
Feb-11
Mar-11
Apr-11
May-11
Jun-11
Jul-11
Aug-11
Sep-11
Oct-11
Nov-11
Dec-11
Jan-12
Feb-12
Mar-12
Apr-12
May-12
Jun-12
Jul-12
Aug-12
Template landscape
Customer Project 3
Customer Project 2
Customer Project 1
Demo landscape
Internal Pilot
AWS SAP deployments
used by Capgemini UK
for Internal and Project
use.
Managed by project
technical teams or
practice members.
6. | Sector, Alliance, Offering
Cloud and Shadow IT
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 6
Facilitator
Consultant Cloud Admin
• Help IT administrate Infrastructure
and applications
• Design processes which meet
business compliance standards
• Build/Design flexible infrastructures
which are adaptable but controlled
• Migrate customers from outdated
platforms to next generation
platforms
• Help business develop and deploy
leading edge applications
• Curate and administrate flexible
landscape
• Additional to project/chargable
work, so primarily done outside
hours
• Team members need to be highly
adaptable, flexible, autonomous,
bought into the SoPs
7. S – Scheduled
C – Consistent
A – Auditable
R – Repeatable
S – Sharable
| Sector, Alliance, Offering
Automation – Why do it
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 7
• Systems administration is full of boring, repetitive tasks
• Evolve from thick manual run guides to smaller guides on
automated processes
•Create better results driven compliance processes and
records
• Quicker serial/parallel executions
• The execution of the tasks is more controlled
• There are lots of methods of automation, depending on the
layer you are working within
• OS – System schedulers
• Database – triggers or stored procedures
• Application level – scheduled batch or background jobs
• Captured input session tools
Ability to execute
consistent process
to serve multiple
compliance
frameworks with
different
documentation
requirements – eg,
ITIL, SOX, FDA,
etc..
8. | Sector, Alliance, Offering
DevOps
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 8
•DevOps is a methodology and philosophy which is used to
create and maintain flexible infrastructure and teams
• When used properly it can provide
• Consistent information,
• Auditable Processes,
•Automatic Measurement
C – Collaboration
A – Automation
M – Measurement
S – Sharing
We are uncovering better ways of
running systems by doing it and
helping others do it.
Through this work we have come to
value:
• Individuals and interactions over
processes over tools
• Working systems over
comprehensive documentation
• Customer and developer
collaboration over contract
negotiation
• Responding to change over
following a plan
That is, while there is value in the
items on the right, we value the items
on the left more.
Cloud depends upon close collaboration due to
rapid and shortened development cycles
• Flexibility and durations are important as the costs
are directly charged and very visible
• Projects tend use smaller teams
• Administrators often still have a day job managing
the Production infrastructure
9. | Sector, Alliance, Offering
Types of Automation
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 9
• Build automation
• Configuration management automation
• Change management automation
• Scheduled tasks
• Exception management automation
• Instance management
• Security Management
• Cost management and reporting
10. Activity Manual duration Automation technology
Software Download Hours/days (dependant
| Sector, Alliance, Offering
Build Automation
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 10
upon connection)
RSS Feeds and automated
download manager
Hardware configuration
(Disks, NICs)
Mins/Hours Scripted tasks, Puppet/Chef
O/S configuration (DNS,
Users, patches)
Hours Scripted tasks, Puppet/Chef
3rd party software install Hours Scripted tasks, Puppet/Chef
SAPInst (Initial answers) Mins/Hours Answer Files, prebuilt XML
files
Build Hours Exception based alerting
scripts
Post build steps Hours Scripted tasks executed
over RFC
11. | Sector, Alliance, Offering
Demo
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 11
12. • Configuration implementation automation can be achieved in a number of ways
| Sector, Alliance, Offering
Configuration Management
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 12
• Copy from other systems
• System copy
• Client copy
• Scripting using SDKs and RFCs
• Java
• Ruby (Show User creation code)
Runmyjob.com
CPS/LVM/UC4
Configuration item Automation technology
O/S and DB configuration Scripts, Puppet/Chef
SAP & Window Users Scripts, LDAP, CUA
SAP RFCs Scripts, Direct SQL Scripts
SAP Number Ranges Scripts, Transports
SAP Transport Landscape Manual
SAP Logical system name Script, manual
SAP Background job scheduling Scripts, 3rd party applications
13. | Sector, Alliance, Offering
Change management automation
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 13
Change management applies inside and outside of SAP
Purpose is to accurately record changes for a number of reasons
Infrastructure change management
• Information discovery tools
• Belarc
• SolarWinds
• Squirrel
• Configuration Management Databases
•Chef/Puppet
SAP change management
• Configuration discovery tools
• LiveCompare
• Solution Manager
• ABAP tools
• Transport management
•CTS+, Transport Express, RevTrac
Each automated system for applying change management usually also has a work flow
based approval system.
14. | Sector, Alliance, Offering
Demo
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 14
15. Exception monitoring is valuable because
• It identifies and alerts against things which are issues
• Can be narrow focus, for example only looking for critical issues
• Compliance is often based on exceptions/deviations, therefore exception
based reporting works well with compliance
| Sector, Alliance, Offering
Exception Monitoring
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 15
Using scheduled checks on specific
components and an alerting framework
• Solution Manager
• SAP Diagnostic agents
• O/S scripting
• O/S, DB, SAP checks
• CMDB checks
•Configuration management
checks
Cloud systems are usually systems
created in addition to normal BAU
systems
16. | Sector, Alliance, Offering
Demo
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 16
17. | Sector, Alliance, Offering
Cloud Instance Management
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 17
• Instances are the number 1 cost contributor to the normal AWS EC2 bill
• AMI’s are the biggest work load contributor to the EC 2 workload
• AMI ageing and patching
• Working with Dynamic resources
• Few AWS resources are static – this leads to interesting design/architectural choices
• Use of Elastic IP addresses vs DHCP&DynDNS
•Disk subsystem structuring – SAP vs World
18. | Sector, Alliance, Offering
Cloud Instance Management
Chris Kernaghan
© 2012 Capgemini. All rights reserved. 18
• Instance control evolution has 3 main stages
• Always up
• Primarily each instance is up 24*7
• Start up and shutdown is manual
• Dumb Schedule
• Instances are brought up and down using EC2 API
• 3rd Party services
• Default down
• Chris Paine’s work with Google Apps provides a website with ability to start
instances
Instance type Typical Runtime Cost
Always up 720 hours/month (24hrs*30) $662/month
Dumb Schedule 450 hours/month (15hrs*30) $414/month
Default Down 120 hours/month (4hrs * 30) $110/month
19. | Sector, Alliance, Offering
Demo
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 19
20. | Sector, Alliance, Offering
Cloud Security Management
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 20
Security Management is very important for 3 reasons
Flexibility is the mortal
enemy of security
Cheaper = Less security
because good security
costs money
Faster = leaves no time
to do security analysis
and implementation
Data Protection is
paramount, internally and
externally
Putting Production quality
data in the Cloud is
inherently risky
Cloud resources and
projects have high
degree of flux of Human
resources and reuse of
technical resources
Cost, utility billing means
a direct cost can be
placed on each instance
Security can provide
details of who is spending
what money
21. | Sector, Alliance, Offering
Cloud Management
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 21
Cost Management and reporting
• Cost management is vitally important due to perception
• Move the perception to Value and ROI
• Define the KPIs early
• Use Cost calculators to show how much each instance costs
• Use automated reporting
22. | Sector, Alliance, Offering
Evaluation
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 22
Feedback
Please complete a session
evaluation for this session!
23. | Sector, Alliance, Offering
More information
Insert "Title, Author, Date"
© 2012 Capgemini. All rights reserved. 23
Please contact:
• Chris Kernaghan
Chris.Kernaghan@capgemini.com
Editor's Notes
DevOps has successfully used to deliver highly flexible scalable infrastructure and motivated staff
When used properly it can provide
Consistent information,
Documentation is from online sources not stale documents
Consistent Processes,
Automation takes the human element out of tasks
Consistent Measurement
Information capture, storage and display is automatic
Cloud depends upon close collaboration due to rapid and shortened development cycles
Flexibility and durations are important as the costs are directly charged and very visible
Projects tend to be Agile projects using smaller teams
Administrators often still have a day job managing the Production infrastructure