How to Put Your AF Server into a Container Eugene Lee Technology Enablement Engineer 1
Technology Challenges 2
Cloud Native bring different expectations 3
We are becoming more impatient Deploy Code Release Build Test Source: Developer Survey Results 2018 from Stack Overflow 4
Current architecture is too fragile PI Network Manager Monolith Microservice Client PI Message Subsystem PI Vision PI Archive Subsystem PI Web API AF Service SQL NTFS SQL 5
Containers can help to solve these challenges 6
Agenda Overview of containers Demo: Manual build Demo: Auto build Demo: AF Client build Orchestration Next steps Q&A 7
What is a container? 8
VMs carry unnecessary weight App Binaries/ Libraries Guest OS App Binaries/ Libraries Guest OS App Binaries/ Libraries Guest OS Hypervisor Host OS Server Hardware 9
Containers are more lightweight App Binaries/ Libraries App Binaries/ Libraries Host OS App Binaries/ Libraries Server Hardware 10
Benefits of containers 11
We want the service to be always up 12
We want to pay only for what we use 13
Easier to store and transfer small objects 14
Run many instances on the same box 15
Write once, run anywhere 16
Faster is always better 17
Compatibility for containers 18
Windows meet Containers Linux only previously Native support for Windows with Windows Server 2016 19
Choose the type depending on your needs Windows Server container Shared kernel Efficiency Hyper-V container Isolated kernel Security 20
Ideas for usage 21
Manual build 22
Considerations Authentication Migration No GUI Architecture Networking 23
24
Manual Curse of the golden image Easier to produce Can t upgrade base image 25
Auto Easy to reproduce Tougher to produce Continuous delivery Serve as a documentation 26
When to use commit then? Before you run something that might break the container 27
Automatic build 28
Automate as much as possible 29
Containerize AF client app 30
Exploring container orchestration The Tale of Kubernetes 31
32
33
Orchestration with Service Fabric 34
Benefits of orchestrating containers Auto provision hosts Easy scaling Self healing Instantiate services together Rolling updates 35
36
Next steps 37
PI Square blogs AF Server PI Web API PI Data Archive Standalone AF Server Standalone PI Web API 38
Contact Eugene Lee elee@osisoft.com Technology Enablement Engineer OSIsoft 39
Questions Please wait for the microphone before asking your questions Please remember to Complete the Online Survey for this session State your name & company 40
Merci Thank You Grazie 41
Credits Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY https://www.safaribooksonline.com/library/view/the-enterprisecloud/9781491907832/ch01.html Container 101 poster and cluster of containers image from Microsoft Tale of Kubernetes from https://www.bloomberg.com/features/2017-kubernetes/ 42
Host Operating System Windows Server Container Hyper-V Container Windows Server 2016 (Standard or Datacenter) Server Core / Nano Server Server Core / Nano Server Nano Server Nano Server Server Core / Nano Server Windows 10 Pro / Enterprise Not Available Server Core / Nano Server Starting in Windows Server 1709, Nano Server will be available only as a container base OS image. 43