14
OPC UA on Azure Erich Barnstedt Principal Software Engineering Lead Azure IoT, Cloud & Enterprise Group, Microsoft Corporation [email protected]

OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

Embed Size (px)

Citation preview

Page 1: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

OPC UA on AzureErich Barnstedt

Principal Software Engineering Lead

Azure IoT, Cloud & Enterprise Group, Microsoft [email protected]

Page 2: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

Platform independentProtocol independentInformation modelEncryption & AuthenticationOpen Source

Page 3: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

Field Gateway

OPC UA on Azure

Device Connectivity & Management

Analytics & Operationalized Insights

Presentation & Business Connectivity

Ind

ust

rial

Dev

ices

(OP

C a

nd

OP

C-U

A S

erve

rs)

Hot Path Analytics

Azure Stream Analytics, Azure Storm

Presentation & Business Connections

Websites, Mobile Services

Dynamics, BizTalk Services, Notification HubsIoT Hub

OPC Clients, Servers & Visualizations

OPC Graph Database and API

JSON/AMQPUA Binary

Other devices

OPC Publisher

IoT Proxy

UA Binary/AMQPUA Binary

JSON/AMQP

Any

Page 4: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

+ +

= .Net Standard LibraryFor everything else: ANSI-C stack!

.NET Standard Library for OPC UA

Page 5: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

Roadmap

Available now:

• .NET Standard OPC UA reference stack on OPC Foundation GitHub

• OPC Publishers for all OPC UA reference stacks (.NET/.NET Standard/Java/ANSI-C)

• Sample OPC UA telemetry web application on OPC Foundation GitHub

• OPC UA applications on HoloLens

• OPC UA applications running on Azure (ASP/Service Fabric/etc.)

• IoT Hub available in German (sovereign) cloud

Coming soon (fall 2016):

• OPC UA module for Azure IoT Gateway SDK

• OPC UA certification for .NET Standard OPC UA reference stack

Further out (CY2017):

• OPC UA SaaS offerings hosted on Azure

Page 6: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

OPC UA-.Net Standard Library Stack and Samples:

https://github.com/OPCFoundation/UA-.NETStandardLibrary

OPC UA-ANSI-C Stack and Samples:

https://github.com/OPCFoundation/UA-AnsiC

Microsoft Azure IoT SDKs:

https://github.com/Azure/azure-iot-sdks

Microsoft Azure IoT Gateway SDK:

https://github.com/Azure/azure-iot-gateway-sdk

Resources

Page 7: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

Security Considerations

OPC UA is secure, but you gotta use it!Here are some rules to follow…

Page 8: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

Rule #1 – “Don’t talk to strangers”!

Enabling <SecurityMode>None_1</SecurityMode> is the same thing!

Page 9: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

Rule #2 – “Don’t accept gifts from strangers!”

Accepting self-signed certificates is the same thing!

Page 10: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

Rule #3 – “Don’t leave your secrets lying around!”

Storing your private keys on the (unencrypted) file system (in .pfx files) is the same thing!

Page 11: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

Thank you!

Page 12: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

One more thing…

Page 13: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

TPM Certificate Store for OPC UA

https://github.com/barnstee/UA-.NETStandardLibrary/blob/master/Stack/Opc.Ua.Core/Security/Certificates/TPMCertificateStore.cs

OPC UAstack

Provision

Public/Private key pair

Cert Thumbprints

Found/Not found

Page 14: OPC UA on Azure - Automaatioseura · PDF fileField Gateway OPC UA on Azure Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity

Thank you!