CLOUD CONFERENCE ITALIA
2016Windows Server 2016:
Nano Server & Container
Giampiero Cosainz
e
#cloudconferenceitalia
SPONSOR
e
• L’impatto dei Riavvii…
• Perchè devo riavviare per patchare un componente che non ho mai usato?
• Quanto ci metto per riavviare? Dopo quanto il mio Servizio ridiventa operativo?
• L’imagine del Server è troppo grande…
• Immagini grandi richiedono tempo per Essere installate e configurate!
• Spostare immagini grandi impegna in maniera esagerata il network!
• Immagazzinare immagini grandi richiede troppo spazio!
• L’infrastruttura richiede molte risorse…
• Se il SO consuma meno risorse posso avere una maggior densità di VM!
• Un più alto numero di VM significa costi più bassi, maggior efficenza e margini più alti!
• L’impatto della sicurezza…
• Troppi Servizi significa Troppi Punti di Attacco!
Problematiche comuni…
#cloudconferenceitalia
eI componenti di cui abbiamo bisogno!
Vogliamo unicamente
#cloudconferenceitalia
Abbiamo bisogno di un Server ottimizzato per il cloud!
e
Una “lunga storia”…
#cloudconferenceitalia
e
• Una nuova opzione di deploy di Windows Server “headless” e “64-bit only”
• Una profonda revisione pensando al cloud• Cloud fabric & infrastructure (clustering, storage, networking)
• Born-in-the-cloud applications (PaaS v2, ASP.NET v5)
• VMs & Containers (Hyper-V & Docker)
• L’estrema estensione del Server Core• Roles & features live outside of Nano Server
• No Binaries or metadata in OS image
• Standalone packages install like apps
• Full driver support
• Antimalware
Server 2016: Nano Server
#cloudconferenceitalia
2
8
23
0
5
10
15
20
25
Nano Server Server Core
Full Server
9
23
26
0
5
10
15
20
25
30
Nano Server Server Core
Full Server
3
6
11
0
2
4
6
8
10
12
Nano Server Server Core
Full Server
* Analysis based on all patches released in 2014
#cloudconferenceitalia
Server 2016: Nano ServerServicing improvements*
12
31
0
5
10
15
20
25
30
35
Nano Server Server Core
22
46
0
5
10
15
20
25
30
35
40
45
50
Nano Server Server Core
73
98
0
20
40
60
80
100
120
Nano Server Server Core
#cloudconferenceitalia
Server 2016: Nano ServerSecurity improvements
150
255
0
50
100
150
200
250
300
Nano Server Server Core
21
26
0
5
10
15
20
25
30
Nano Server Server Core
61
139
0
20
40
60
80
100
120
140
160
Nano Server Server Core
#cloudconferenceitalia
Server 2016: Nano ServerResource utilization improvements
40
300
0
50
100
150
200
250
300
350
Nano Server Server Core
0.4
4,84
0
1
2
3
4
5
6
Nano Server Server Core
0.41
6,3
0
1
2
3
4
5
6
7
Nano Server Server Core
#cloudconferenceitalia
Server 2016: Nano ServerDeployment Improvements
e
Nano Server Server CoreServer with
Desktop Exp.
Kernel Kernel KernelWin32
Win32
Win32
CoreCLR
.NET
.NET
UWP
#cloudconferenceitalia
Server 2016: Nano ServerArchitecture
e
netevent.dllNetTCPIP.dllkdnet.dllntlanman.dllcredssp.dll
User32.dllGdi32.dllSetupapi.dllShell32.dllShlwapi.dllOle32.dllPsapi.dllWinmm.dllKernel32.dllAdvapi32.dll
GUI stackCortana. . .
Nano Server Server Core Server with Desktop Exp.
#cloudconferenceitalia
Server 2016: Nano ServerWin32
e
Server 2016: Nano ServerSetup
Nano Server è un «Installation Option» di Windows Server 2016, così come il Server core, però a differenza di quest’ultimo non è possibile selezionarlo durante il «Setup Wizard»
#cloudconferenceitalia
L’installazione dev’essere preparata e customizzata (Drivers e Ruoli…)
La cartella di installazione è collocata nel disco di installazione di Server 2016
e
Server 2016: Nano ServerSetup
Deployare un Nano Server su una macchina virtuale o fisica significa creare un’immagine di un Nano Server.
E’ possibile creare l’immagine di un Nano Server in due modi:
#cloudconferenceitalia
Utilizzando il Modulo Powershell “Nano Server Image Generator”
New-NanoServerImage.ps1
Convert-WindowsImage.ps1
Utilizzando il “Nano Server Image Builder UI wizard”
e
Server 2016: Nano ServerRoles and Features
#cloudconferenceitalia
e
Server 2016: Nano ServerCompletamento
#cloudconferenceitalia
e
Server 2016: Nano ServerIl Risultato….
#cloudconferenceitalia
e
Server 2016: Nano ServerRemote Management
#cloudconferenceitalia
Remote Graphical & Web Tools
• Server Manager
• Azure Portal tools
• Task manager
• Registry editor
• File explorer
• Server configuration
• Event viewer
• Disk manager
• Device & driver management
• Performance
• Users & groups
PowerShell Remoting
• Core PowerShell engine, language, and cmdlets
• Windows Server cmdlets (network, storage, etc.)
• PowerShell DSC
• Remote file transfer
• Remote script authoring & debugging
• PowerShell Web Access
VM and Container Management
• Hyper-V Manager
• Hyper-V cmdlets
• PowerShell Direct over PSRP
• CimSession support
• Docker
• SCVMM agent & console
• 3rd party agents & consoles
Deployment & Monitoring
• DISM online & VHD support
• Unattended setup
• Visual Studio integration
• DSC Local Config Manager
• Setup & boot eventing
• SCOM agent
• VSO App Insights
• Azure Op Insights
Partners & Frameworks
• Chef integration
• .NET Core and CoreCLR
• ASP.NET 5
• Python, PHP, Ruby, Node.js
• PowerShell Classes
• PS Script Analyzer
• PowerShell Gallery
• PowerShellGet
e
Server 2016: Nano ServerRemote Management
#cloudconferenceitalia
Remote Server Management Tools
Core PowerShell & WMI
PowerShell DSC
Hyper-V Manager
Failover Cluster Manager
Server Manager
Perfmon, Event Viewer, Disk Manager, Device Manager etc.…
e
Server 2016: Nano Server
#cloudconferenceitalia
Nano Server is "headless;" there is no local logon capability or graphical user interface.
Only 64-bit applications, tools, and agents are supported.
Nano Server cannot serve as an Active Directory Domain Controller.
Group Policy is not supported. However, you can use Desired State Configuration to apply settings at scale.
Nano Server cannot be configured to use a proxy server to access the internet.
NIC Teaming (specifically, load balancing and failover, or LBFO) is not supported.
System Center Configuration Manager and System Center Data Protection Manager are not supported.
The version of Windows PowerShell provided with Nano Server has important differences. (Core Powershell)
e
#cloudconferenceitalia
Software Assurance is requiredto deploy and operateNano Server in production!
Customers who choose the Nano Server installation option will opt into a
more active servicing model similar to the experience with Windows 10.
Specifically, these periodic releases are known as Current Branch for
Business (CBB) releases.
This approach supports customers who are moving at a “cloud cadence”
of rapid development lifecycles and wish to innovate more quickly. Since this type of servicing continues to provide new features and functionality.
Server 2016: Nano ServerLicensing
e
Windows Server 2016:
“Nano Server”
DEMO
#cloudconferenceitalia
e
• L’impatto dei Riavvii…
• Perchè devo riavviare per patchare un componente che non ho mai usato?
• Quanto ci metto per riavviare? Dopo quanto il mio Servizio ridiventa operativo?
• L’imagine del Server è troppo grande…
• Immagini grandi richiedono tempo per Essere installate e configurate!
• Spostare immagini grandi impegna in maniera esagerata il network!
• Immagazzinare immagini grandi richiede troppo spazio!
• L’infrastruttura richiede molte risorse…
• Se il SO consuma meno risorse posso avere una maggior densità di VM!
• Un più alto numero di VM significa costi più bassi, maggior efficenza e margini più alti!
• L’impatto della sicurezza…
• Troppi Servizi significa Troppi Punti di Attacco!
Problematiche comuni…
#cloudconferenceitalia
e
Server 2016: ContainersA new approach to build, ship, deploy, and instantiate applications
#cloudconferenceitalia
e
Server 2016: Containers
#cloudconferenceitalia
e
Server 2016: Containers
#cloudconferenceitalia
e
Scale out
Distributed
State separated
Rapid (re)start
Server 2016: Containers
#cloudconferenceitalia
e
Server 2016: Containers
Container ImagesContainer Run-Time
Linux
Image Repository
Applications
Application
Frameworks
#cloudconferenceitalia
e
Server 2016: Containers
#cloudconferenceitalia
e
Server 2016: Containers
#cloudconferenceitalia
e
Server 2016: Containers
#cloudconferenceitalia
e
#cloudconferenceitalia
Server 2016: ContainersDevOps process
e
Server 2016: Containers
#cloudconferenceitalia
e
Server 2016: Containers
#cloudconferenceitalia
e
Server 2016: Containers
#cloudconferenceitalia
e
Server 2016: Containers
#cloudconferenceitalia
e
Server 2016: Containers
#cloudconferenceitalia
e
GRAZIE!
#cloudconferenceitalia