Está en la página 1de 30

P21 WWUG Connect 2020 8/25/2020

CLOUD! NO WAY,
ALL IN, OR KIND OF?
(Part 1 & 2)
Presented by: David Klee

Prophet 21 World Wide User


Group Officers
President
Sam Snow Vice President of Operations
T. J. Snow Company, Inc. Ted Hoffman
Utility Supply and Construction
Vice President of Finance
Tim Edmunds
TSI Solutions Vice President of Member Relations
Eric Lunsford
Vice President of Marketing and Education Pye-Barker Engineered Solutions
Mike Chadwick
T. J. Snow Company, Inc.

CONNECT 2020 2

Please do not redistribute outside of your


organization as your own 1
P21 WWUG Connect 2020 8/25/2020

DISCLAIMER
• This conference is an attempt by P21WWUG members to assist each other
by demonstrating ways that we utilize the Prophet21 system and other related
products.
• The P21WWUG and the individuals conducting the classes and round tables
take no responsibility for potential issues that arise as a result of taking the
advice given during the conference.
• The P21WWUG does not recommend using any SQL statements to update
your database without having those statements first reviewed by Epicor or
other experienced SQL professionals. Test any code in your Play Database!
• Using SQL statements to update your database may result in corrupting your
database. Test any code in your Play Database!

CONNECT 2020 3

David Klee
Founder, Heraflux Technologies
dklee@heraflux.com
kleegeek
davidaklee
hfxte.ch/youtube

CONNECT 2020 4

Please do not redistribute outside of your


organization as your own 2
P21 WWUG Connect 2020 8/25/2020

1. Introduction/Bio
2. Questions You Should Ask
Agenda 3. Cloud Demo
4. Q&A

CONNECT 2020 5

 David Klee
 Founder & Chief Architect
Heraflux Technologies
 SQL Server & Infrastructure Consultant
 Performance
 High Availability / Disaster Recovery
 Cloud / Virtualization / Enterprise Architecture

CONNECT 2020 6

Please do not redistribute outside of your


organization as your own 3
P21 WWUG Connect 2020 8/25/2020

what is the

Cloud

 Someone else’s datacenter


 Virtualization
 … and REALLY good automation
 Self-service model
 Provision what you need
 Financial model changes
 CAPEX (up-front purchases)
 OPEX (monthly pay-for-what-you-use)

Please do not redistribute outside of your


organization as your own 4
P21 WWUG Connect 2020 8/25/2020

Cloud Datacenters

CONNECT 2020 (Microsoft Azure datacenter map) 9

Questions to Ask

 10 important questions
 Will define your cloud experience
 Will also define IF you go to the cloud
 And if so, how far will you go?
 Answer before you start on your cloud journey

CONNECT 2020 10

10

Please do not redistribute outside of your


organization as your own 5
P21 WWUG Connect 2020 8/25/2020

why are you


CONSIDERING
moving to the
cloud

11

11

Why move to the cloud?

 Did the CEO read about it in a trade mag (SkyMall)?


 What is the cloud?
 Public cloud vs. cloud services vs. good automation
 What competitive advantage?

12

12

Please do not redistribute outside of your


organization as your own 6
P21 WWUG Connect 2020 8/25/2020

Major Cloud Players

13

13

Cloud Migration Myths

 It’s all or nothing


 It’s cheaper
 It’s “better”
 No maintenance required
 It’s easy
 Makes things faster
 Guaranteed available
 Everyone’s doing it

14

14

Please do not redistribute outside of your


organization as your own 7
P21 WWUG Connect 2020 8/25/2020

Solid reasons to move to the cloud

 Flexibility
 Security / data protection / compliance
 Application and data modernization
 Speed of performing IT operations
 More scalable
 Automation
 Efficiency in staff time to manage key systems
 You’re not in the datacenter business
 Financial model shift – CAPEX to OPEX

15

15

how do you
WANT
to use the
cloud
16

16

Please do not redistribute outside of your


organization as your own 8
P21 WWUG Connect 2020 8/25/2020

Use Cases

 Not always “all-in”


 Archival storage for backups
 Disaster recovery
 Second datacenter for burst scalability
 Specific services
 Data lakes
 Scalable reporting / analytics
 DevOps
 All in!
 Hybrid automation

17

17

Speed TO Cloud

 Network throughput TO/FROM cloud entry point


 If your demand exceeds available bandwidth…
 Factor network latency
 Time to get to cloud & back
 Remote Desktop
 P21 / other web apps
 Database connections
 Can limit what you can do with the cloud

CONNECT 2020 18

18

Please do not redistribute outside of your


organization as your own 9
P21 WWUG Connect 2020 8/25/2020

what cloud
SERVICES
do you need

19

19

Use Cases & Considerations

 On-Premises P21 Standards  Differences


 Virtual machines  Storage account vs. SAN/NAS
 Dependent Services  Bandwidth consumption
 Active Directory  New Services
 Virtual network  Power BI
 Public IP / vNET / WAN  Data Lakes
 Application Gateways (load balancing)  Integration
 Firewalls
 Logging
 Monitoring

20

20

Please do not redistribute outside of your


organization as your own 10
P21 WWUG Connect 2020 8/25/2020

what are your


AVAILABILITY
requirements

21

21

skip the tech

Recovery Point Objective


How much data can we lose?
RPO
Recovery Time Objective
How long can this be down?
RTO
22

22

Please do not redistribute outside of your


organization as your own 11
P21 WWUG Connect 2020 8/25/2020

Service Level Agreements

12:45 PM 1:12 PM 3:55 PM

RPO = 15 min Recovery Goals


RTO = 1 hour

Tranlog backups
every 30 mins RPO
RTO (1h)
on the :15/45 (15m)
of hour SLA SLA
Breach
Breach

Time

Observed Data Loss Recovery Window

23

23

SLAs Vary By Service

(Source: https://azure.microsoft.com/en-us/support/legal/sla/virtual-machines/v1_9/)

CONNECT 2020 24

24

Please do not redistribute outside of your


organization as your own 12
P21 WWUG Connect 2020 8/25/2020

SLAs – Be Careful

Nines Downtime Per Year


95% 18.26 days
99% 3.65 days
99.5% 1.82 days
99.9% 8.77 hours
99.99% 52.56 minutes
99.999% 5.28 minutes
99.9999% 36.53 seconds

25

25

SLAs & Potential Outages

Nines Downtime Per Year


(Up To within SLA)
95% 18.26 days
99% 3.65 days
99.5% 1.82 days

99.9% 8.77 hours

99.99% 52.56 minutes

99.999% 5.28 minutes

99.9999% 36.53 seconds

(Source: https://azure.microsoft.com/en-us/support/legal/sla/virtual-machines/v1_9/)

CONNECT 2020 26

26

Please do not redistribute outside of your


organization as your own 13
P21 WWUG Connect 2020 8/25/2020

Pick HA / Tier of Service

 SLAs listed at cloud service provider


 “Business critical” have improved SLAs

27

27

Availability

 If availability requirements > platform options


 Re-review platform selection choice
 Complement platform HA with your own
 Ex: SQL Server Availability Group inside Cloud IaaS
 Otherwise… reduce your expectations?

28

28

Please do not redistribute outside of your


organization as your own 14
P21 WWUG Connect 2020 8/25/2020

what are your


SECURITY
requirements

29

29

Cloud Data Security

 What sort of data do you have?


 Any compliance required?
 PCI / HIPAA / SOX / etc.
 Who needs access to it?
 Your practices on-premises…
 Can you RTFM?
 Read the FUNNY Manual

(Source: https://www.theregister.com/2020/08/03/leaky_s3_buckets/)

30

30

Please do not redistribute outside of your


organization as your own 15
P21 WWUG Connect 2020 8/25/2020

Perspectives and Steps

 On-premises
 Most things exposed to all other
 Cloud
 Locked down by default
 Have to open holes in firewalls
 Should have documented
 Specific server access requirements
 Ports too
 What talks to what?

31

31

how much
PERFORMANCE
do you
NEED
32

32

Please do not redistribute outside of your


organization as your own 16
P21 WWUG Connect 2020 8/25/2020

What Are Your Servers Consuming?

 Do you have a good baseline?


 Third-Party Utilities
 Perfmon Setup Guide
 hfxte.ch/perfmon
 Perfmon BLG to SQL Importer
 github.com/heraflux/BLGtoSQL
 Server / Service / VM “Right-Sizing”

33

33

34

34

Please do not redistribute outside of your


organization as your own 17
P21 WWUG Connect 2020 8/25/2020

Resource Allocations

Virtual Machines (IaaS) DBaaS / PaaS


 You select series (CPU /  vCore model

RAM)  RAM is
automatic
 Attach managed disks  Configure
storage
space needed

35

35

Hyperthreading

 NOT real CPUs


 Factor 20%-30% core efficiency, not 100% as if it were real core

CONNECT 2020 36

36

Please do not redistribute outside of your


organization as your own 18
P21 WWUG Connect 2020 8/25/2020

Virtual Disk IOPs Cap

 Virtual disks have demand caps


 Based on IO/s per second (IOPs)
 Performance is throttled
 Storage latency spikes
if caps reached

CONNECT 2020 37
(Source: https://docs.microsoft.com/en-us/azure/virtual-machines/disks-types)

37

VM IOPs Cap

 Total IOPs capped at VM


by VM scale
 Storage latency spikes
if caps reached

CONNECT 2020 38

38

Please do not redistribute outside of your


organization as your own 19
P21 WWUG Connect 2020 8/25/2020

Temporary Storage

 Transient storage
 Is locally attached for speed
 Contents can disappear
 Useful for:
 Staging location for imports
 Windows Page File (P21 RDS/Web)
 SQL Server TempDB

CONNECT 2020 39

39

how are you


MIGRATING
your data

40

40

Please do not redistribute outside of your


organization as your own 20
P21 WWUG Connect 2020 8/25/2020

Migration Phases

 Discover and catalog workloads


 Assess the groups of dependent systems
 Identify the destination service / platform
 Migration

CONNECT 2020 41

41

Migration: Discover

 Identify everything in your environment


 Virtual network
 Subnets, routing, firewalls, DNS, AD
 Storage (standard vs. premium)
 Compute
 Security & permissions

CONNECT 2020 42

42

Please do not redistribute outside of your


organization as your own 21
P21 WWUG Connect 2020 8/25/2020

Migration: Assess

 Review to make sure workloads are suitable for migration


 Microsoft VM Readiness Assessment tool
 Microsoft Assessment & Planning (MAP) toolkit
 VM resource consumption “right-sized” allocations
 High availability / resilience requirements
 Maintenance
 Skill level / readiness to manage this environment

CONNECT 2020 43

43

Migration: Target

 Determine target for each system/service


 Determine cloud provider
 Determine target
 Virtual machine (IaaS)
 Service like O365 for email
 Review dependencies
 Review prerequisites
 Do any physical servers need to be virtualized ahead of migration?
 Should you “modernize” a system at this time?
 Evaluate costs

CONNECT 2020 44

44

Please do not redistribute outside of your


organization as your own 22
P21 WWUG Connect 2020 8/25/2020

Migration: Concerns

 Understand order of operations


 Test and retest for operational timings
 System integration always a challenge
 Who has access into the systems?
 Proof-of-concept prior to migration
 Operational training for staff
 Migration downtime

CONNECT 2020 45

45

have you validated


your
LICENSING
needs

46

46

Please do not redistribute outside of your


organization as your own 23
P21 WWUG Connect 2020 8/25/2020

Existing Licensing

 How are you currently licensed?


 Does your existing licensing transfer?
 Azure Hybrid benefit
 Migration of servers licensed
on-prem to Azure
 Requires Software Assurance
 Can also transfer between on-prem VM licensing & DBaaS
 DR-specific licensing clauses
 Run the numbers ahead of your migration
 Make sure to “right-size” your destination!

47

47

have you
calculated the
MONTHLY
COST
of your
cloud services 48

48

Please do not redistribute outside of your


organization as your own 24
P21 WWUG Connect 2020 8/25/2020

Cost Estimation (& Savings)

 Factors for sizing


 Estimated CPU consumption (peak & biz hours)
 Memory need
 Storage speed
 Storage space
 Bandwidth
 DR needs
 Azure Calculator
 azure.microsoft.com/en-us/pricing/calculator/

49

49

50

50

Please do not redistribute outside of your


organization as your own 25
P21 WWUG Connect 2020 8/25/2020

what are your


FUTURE
needs
51

51

Think About Tomorrow

 Space consumption
 Business changes
 Upcoming projects / initiatives
 Scalability limits in your design
 Known system limitations / flaws
 Vendor / platform lock-in

52

52

Please do not redistribute outside of your


organization as your own 26
P21 WWUG Connect 2020 8/25/2020

Is Cloud Right For You?

CONNECT 2020 53

53

Deployment Topics

 Pick your cloud provider


 Understand “right-sized” needs
 Weigh cost estimates for on-prem refresh vs. cloud services
 Make a comparison grid
 DEMO XLSX

CONNECT 2020 54

54

Please do not redistribute outside of your


organization as your own 27
P21 WWUG Connect 2020 8/25/2020

Azure Demo

CONNECT 2020 55

55

Put It All Together

 Cloud is a great tool in your toolbox


 It is not the ONLY tool
 Migrate services for real reasons
 Chose your path wisely
 Understand your cost model
 Plan for the future

56

56

Please do not redistribute outside of your


organization as your own 28
P21 WWUG Connect 2020 8/25/2020

Q&A

57

Next Step!
Free SQL Server on VMware or Hyper-V
for Epicor P21 Build Reference Guide
Setup, performance, maintenance, and efficiency tips and tricks

Available from Heraflux at


https://www.heraflux.com/sqlvmguide/

CONNECT 2020 58

58

Please do not redistribute outside of your


organization as your own 29
P21 WWUG Connect 2020 8/25/2020

David Klee
Founder, Heraflux Technologies
dklee@heraflux.com
kleegeek
davidaklee
hfxte.ch/youtube

CONNECT 2020 59

59

Please do not redistribute outside of your


organization as your own 30

También podría gustarte