Helping Smart Cities become more Inclusive

According to the UN, we will see the world's urban populations grow from today's 55 percent to 68 percent by 2050. With almost a billion people on the path to be urban dwellers, most cities are still unfriendly to people with disabilities. As more people flock to cities, making our cities smarter and more inclusive will become increasingly important. The concept of smart cities is all about developing strategies that leverage data and technology to enhance urban life. The IoT plays a central role in collecting sensor data and then using the insights gained from that data to manage assets, resources, and services efficiently.

As city planners tackle the complex challenges of increasing urbanization, managing scarce resources, climate change, and creating safer more accessible cities, Azure Maps (a collection of geospatial APIs) becomes a critical tool for city planners. A key aspect of IoT & technology solutions is that they should be intuitive, easy to use, and accessible.

Azure Maps and accessibility

Azure Maps makes it easy for all users to navigate an interactive map experience. Users can interact with maps using a mouse, touch, or keyboard. Azure Maps provides screen readers with enhanced descriptions that can combine multiple updates into a single message that is easier to digest and understand. Recently Azure Maps achieved exciting new capabilities & Microsoft certification around accessibility. All apps, both Microsoft owned and third party, that use Azure Maps will benefit from the accessibility features that are provided out of the box.

Azure Maps also relies on best of breed content partnerships for everything from the maps data, traffic, real time transit, ride share, to weather data.

Moovit helps people with disabilities ride transit

One of the Azure Maps content partnerships is with Moovit. Launched in 2011 in Israel, Moovit has become the world’s most popular transit-planning and navigation app, with more than 500 million users and service in over 3,000 cities across 94 countries. The company is also a leader in inclusive technology, with innovative work that helps people across the disability spectrum use buses, trains, subways, ride-hailing services, and other modes of public transit.

In addition to offering a consumer app in 45 languages, Moovit has partnered with Microsoft to provide its multi-modal transit data to developers who use Azure Maps, and a set of mobility-as-a-service solutions to cities, governments, and organizations. The partnership will enable the creation of more inclusive smart cities and more accessible transit apps.

How Aira helps smart cities become more accessible

One of the companies that is leveraging the geospatial and mapping capabilities from Azure Maps and the transit capabilities from Moovit, is Aira. Aira is a technology company dedicated to making lives simpler and more engaging. Based in San Diego, California, they build solutions to connect people who are blind, have low vision, or are simply aging into a digital world, with highly-trained professionals who provide visual information on demand.

Public transportation is the lifeline to jobs, education, healthcare, and more, yet many blind or low vision riders still have trouble getting to their destination. They may be uncertain that they’ve caught the right bus, or unable to read the entrance sign they need to follow in order to access the subway. In addition, as populations age, the number of people experiencing age-related vision loss rises every day. Moovit, Microsoft, and Aira are joining forces in order to challenge these obstacles and make public transit more accessible and inclusive, empowering blind and low vision riders to travel with more confidence.

“In Azure Maps, we invested significant time and resources to define accessibility requirements, implementing capabilities for those with needs, and pushing ourselves to service this segment of users” says Chris Pendleton, Head of Azure Maps at Microsoft Corp. “I’m elated to see Aira, Moovit, and Azure Maps providing services together further justifying our investments in the benefit of those who need it most”

Smart City Expo World Congress

In order to connect with cities on their journeys for digital transformation, the Azure Maps team, along with Moovit and Aira, will be at Smart City Expo World Congress, the industry-leading event for urbanization, showcasing technologies and partners enabling the digital transformation of smart cities. For updates from SCEWC, follow us on twitter.    

 
Quelle: Azure

Accelerate IoMT on FHIR with new Microsoft OSS Connector

Microsoft is expanding the ecosystem of FHIR® for developers with a new tool to securely ingest, normalize, and persist Protected Health Information (PHI) from IoMT devices in the cloud.  

Continuing our commitment to remove the barriers of interoperability in healthcare, we are excited to expand our portfolio of Open Source Software (OSS) to support the HL7 FHIR Standard (Fast Healthcare Interoperability Resource). The release of the new IoMT FHIR Connector for Azure is available today in GitHub.

The Internet of Medical Things (IoMT) is the subset of IoT devices that capture and transmit patient health data. It represents one of the largest technology revolutions changing the way we deliver healthcare, but IoMT also presents a big challenge for data management.

Data from IoMT devices is often high frequency, high volume, and requires sub-second measurements. Developers have to deal with a range of devices and schemas, from sensors worn on the body, ambient data capture devices, applications that document patient reported outcomes, and even devices that only require the patient to be within a few meters of a sensor.

Traditional healthcare providers, innovators, and even pharma and life sciences researchers are ushering in a new era of healthcare that leverages machine learning and analytics from IoMT devices. Most see a future where devices monitoring patients in their daily lives will be used as a standard approach to deliver cost savings, improve patient visibility outside of the physician’s office, and to create new insights for patient care. Yet as new IoMT apps and solutions are developed, two consistent barriers are preventing broad scalability of these solutions: interoperability of IoMT device data with the rest of the healthcare data, such as clinical or pharmaceutical records, and the security and private exchange of protected health information (PHI) from these devices in the cloud.

In the last several years, the provider ecosystem began to embrace the open source standard of FHIR as a solution for interoperability. FHIR is rapidly becoming the preferred standard for exchanging and managing healthcare information in electronic format and has been most successful in the exchange of clinical health records. We wanted to expand the ecosystem and help developers working with IoMT devices to normalize their data output in FHIR. The robust, extensible data model of FHIR standardizes the semantics of healthcare data and defines standards for exchange, so it fuels interoperability across data systems. We imagined a world where data from multiple device inputs and clinical health data sets could be quickly normalized around FHIR and work together in just minutes, without the added cost and engineering work to manage custom configurations and integration with each and every device and app interface. We wanted to deliver foundational technology that developers could trust so they could focus on innovation. And today, we’re releasing the IoMT FHIR Connector for Azure.

This OSS release opens an exciting new horizon for healthcare data management. It provides a simple tool that can empower application developers and technical professionals working with data from devices to quickly ingest and transform that data into FHIR. By connecting to the Azure API for FHIR, developers can set up a robust and secure pipeline to manage data from IoMT devices in the cloud.

The IoMT FHIR Connector for Azure enables easy deployment in minutes, so developers can begin managing IoMT data in a FHIR Server that supports the latest R4 version of FHIR:

Rapid provisioning for ingestion of IoMT data and connectivity to a designated FHIR Server for secure, private, and compliant persistence of PHI data in the cloud
Normalization and integrated mapping to transform data to the HL7 FHIR R4 Standard
Seamless connectivity with Azure Stream Analytics to query and refine IoMT data in real-time
Simplified IoMT device management and the ability to scale through Azure IoT services (including Azure IoT Hub or Azure IoT Central)
Secure management for PHI data in the cloud, the IoMT FHIR Connector for Azure has been developed for HIPAA, HITRUST, and GDPR compliance and in full support of requirements for protected health information (PHI)

To enhance scale and connectivity with common patient-facing platforms that collect device data, we’ve also created a FHIR HealthKit framework that works with the IoMT FHIR Connector. If patients are managing data from multiple devices through the Apple Health application, a developer can use the IoMT FHIR Connector to quickly ingest data from all of the devices through the HealthKit API and export it to their FHIR server.

Playing with FHIR
The Microsoft Health engineering team is fully backing this open source project, but like all open source, we are excited to see it grow and improve based on the community's feedback and contributions. Next week we’ll be joining developers around the world for FHIR Dev Days in Amsterdam to play with the new IoMT FHIR Connector for Azure. Learn more about the architecture of the IoMT FHIR Connector and how to contribute to the project on our GitHub page.

FHIR® is the registered trademark of HL7 and is used with the permission of HL7
Quelle: Azure

Introduction to GitOps with OpenShift

In this blog post we are going to introduce the principles and patterns of GitOps and how you can implement these patterns
on OpenShift.
What is GitOps?
GitOps in short is a set of practices to use Git pull requests to manage infrastructure and application configurations.
Git repository in GitOps is considered the only source of truth and contains the entire state of the system so that the trail of
changes to the system state are visible and auditable.
Traceability of changes in GitOps is no novelty in itself as this approach is almost universally employed for the application source
code. However GitOps advocates applying the same principles (reviews, pull requests, tagging, etc) to infrastructure and application
configuration so that teams can benefit from the same assurance as they do for the application source code.
Although there is no precise definition or agreed upon set of rules, the following principles are an approximation of what constitutes a GitOps practice:

Declarative description of the system is stored in Git (configs, monitoring, etc)
Changes to the state are made via pull requests
Git push reconciled with the state of the running system with the state in the Git repository

GitOps Principles

The definition of our systems is described as code
The configuration for our systems can be treated as code, so we can store it and have it automatically versioned in Git, our single source of truth.
That way we can rollout and rollback changes in our systems in an easy way.

The desired system state and configuration is defined and versioned in Git
Having the desired configuration of our systems stored and versioned in Git give us the ability to rollout / rollback changes easily to our systems and applications.
On top of that we can leverage Git’s security mechanisms in order to ensure the ownership and provence of the code.

Changes to the configuration can be automatically applied using PR mechanisms
Using Git Pull Requests we can manage in an easy way how changes are applied to the stored configuration, you can request reviews from different team members, run CI tests, etc.
On top of that you don’t need to share your cluster credentials with anyone, the person committing the change only needs access to the Git repository where the configuration is stored.

There is a controller that ensures no configuration drifts are present
As the desired system state is present in Git, we only need a software that makes sure the current system state matches the desired system state. In case the states differ this software
should be able to self-heal or notify the drift based on its configuration.

GitOps Patterns on OpenShift
On-Cluster Resource Reconciller
In this pattern, a controller on the cluster is responsible for comparing the Kubernetes resources (YAML files) in the Git repository that acts as the single source of truth, with the resources on the cluster. When a discrepancy is detected, the controller would send out notifications and possibly take action to reconcile the resources on Kubernetes with the ones in the Git repository. Anthos Config Management and Weaveworks Flux use this pattern in their GitOps implementation.

External Resource Reconciler (Push)
A variation of the previous pattern is that one or a number of controllers are responsible for keeping resources in sync between pairs of Git repositories and Kubernetes clusters. The difference with the previous pattern is that the controllers are not necessarily running any of the managed clusters. The Git-k8s cluster pairs are often defined as a CRD which configures the controllers on how the sync should take place. The controllers in this pattern would compare the Git repository defined in the CRD with the resources on the Kubernetes cluster that is also defined in the CRD and takes action based on the result of the comparison. ArgoCD is one of the solutions that uses this pattern for GitOps implementation.

GitOps on OpenShift
Multi-cluster Kubernetes Infrastructure Administration
The increased adoption of Kubernetes withing the organizations, in addition to adopting a multi-cloud strategy and edge computing is
increasing the number of OpenShift clusters per customer.
Edge computing use cases may reach a massive scale of 100s to 1000s of deployments per customer. The result is that customers have to manage
multiple independent or cooperative OpenShift clusters running on-prem and on public clouds.
Some of the use cases around this problem space are:

Ensure clusters have similar state (configs, monitoring, storage, etc)
Recreate (or recover) clusters from a known state
Create new clusters with a known state
Rollout a change to multiple OpenShift clusters
Rollback a change to multiple OpenShift clusters
Associate templated configuration with different environments

Application Configuration
Applications often get deployed to multiple clusters (dev, stage, etc) throughout their life cycles before they reach production. Furthermore, the availability and
scalability requirements for applications frequently drive customers to deploy applications across multiple clusters on-premise and on public cloud across regions
or simply for burst-out capabilities.
Some of the customer needs are:

Promote applications (binary, config, etc) across clusters (e.g. dev, stage, etc)
Rollout application changes (binary, config, etc) to multiple OpenShift clusters
Rollback application changes to previous known stages

OpenShift GitOps Use-cases

Apply configs from Git
As a cluster admin, I want to store OpenShift cluster configs in a Git repository and have the cluster to apply them automatically, so that I can install a new cluster and bring it to an identical known state from the Git repository.

Sync with Secret Manager
As a cluster admin, I want to keep OpenShift secrets in sync with a secret manager like Vault, so that I can manage secrets in a secret management platform.

Detect config drift
As a cluster admin, I want OpenShift GitOps to detect and display a warning when cluster configs are not in sync with the designated Git repo, so that I can take action when there is a config drift.

Notify config drift
As a cluster admin, I want to be notified when OpenShift GitOps detects a config drift, so that I can take action when there is a configuration drift.

Sync on config drift
As a cluster admin, I want to perform a sync on an OpenShift cluster to sync with the configs stored in a Git repository when a config drift is detected, so that the OpenShift cluster would come back to a known state.

Auto-sync on config drift
As a cluster admin, I want to configure an OpenShift cluster to automatically sync with the configs stored in a Git repository when a config drift is detected, so that the OpenShift cluster would always be in sync with the config in the designated Git repository.

Multiple clusters in one registry
As a cluster admin, I want to define multiple OpenShift cluster config in a single Git repository and apply to clusters selectively, so that I can manage all cluster configs form a single source of truth.

Cluster config hierarchy (Inheritance)
As a cluster admin, I want to define a hierarchy of cluster configs (stage, prod, app portfolio, etc with inheritance) in a Git repository, so that I can define configs that apply to a single or multiple clusters.
As an example if an admin defines a hierarchy of prod clusters → foo clusters → foo prod clusters in the Git repository, it is applied a union of the following configs to the “foo” production cluster:

all production clusters configs
“foo” cluster configs
“foo” production cluster configs

Templating and Overriding configs
As a cluster admin, I want to override a subset of inherited configs and their values, so that I can adjust the config for the specific clusters they are being applied to.

Granularity include and exclude configs
As a cluster admin, I want to define when a certain config should apply or not apply to clusters with certain characteristics, so that I can have granular control over including or excluding cluster configs.

Application configs
As a cluster admin, I want to define when a certain config should apply or not apply to clusters with certain characteristics, so that I can have granular control over including or excluding cluster configs.

Templating support
As a developer, I want to have a choice on how to define my application resources (Helm Chart, pure k8s yaml etc), so that I can pick the right format based on my application needs.

GitOps Tools on OpenShift
ArgoCD
ArgoCD follows the External Resource Reconcile pattern, it has a central UI that can orchestrate one to many clusters and multiple Git repositories. One weakness is that if ArgoCD goes down, application management cannot be done.
Official Website
Flux
Flux follows the On-Cluster Resource Reconcile pattern, as there is not a central management of repository definitions, if one cluster goes down. the ability exists still to manage applications. One weakness is that no central UI is provided by the tool.
Official Website
Installing ArgoCD on OpenShift
In this blog series we are using ArgoCD as it provides a great CLI and WebUI, future blogs will potentially explore different alternatives like Flux.
In order to deploy ArgoCD on OpenShift 4 you can go ahead and follow the following steps as a cluster admin:

Deploy ArgoCD components on OpenShift
# Create a new namespace for ArgoCD components
oc create namespace argocd
# Apply the ArgoCD Install Manifest
oc -n argocd apply -f https://raw.githubusercontent.com/argoproj/argo-cd/v1.2.2/manifests/install.yaml
# Get the ArgoCD Server password
ARGOCD_SERVER_PASSWORD=$(oc -n argocd get pod -l “app.kubernetes.io/name=argocd-server” -o jsonpath='{.items[*].metadata.name}’)

Patch ArgoCD Server Deployment so we can expose it using an OpenShift Route
# Patch ArgoCD Server so no TLS is configured on the server (–insecure)
PATCH='{“spec”:{“template”:{“spec”:{“$setElementOrder/containers”:[{“name”:”argocd-server”}],”containers”:[{“command”:[“argocd-server”,”–insecure”,”–staticassets”,”/shared/app”],”name”:”argocd-server”}]}}}}’
oc -n argocd patch deployment argocd-server -p $PATCH
# Expose the ArgoCD Server using an Edge OpenShift Route so TLS is used for incoming connections
oc -n argocd create route edge argocd-server –service=argocd-server –port=http –insecure-policy=Redirect

Deploy ArgoCD Cli Tool
# Download the argocd binary, place it under /usr/local/bin and give it execution permissions
curl -L https://github.com/argoproj/argo-cd/releases/download/v1.2.2/argocd-linux-amd64 -o /usr/local/bin/argocd
chmod +x /usr/local/bin/argocd

Update ArgoCD Server Admin Password
# Get ArgoCD Server Route Hostname
ARGOCD_ROUTE=$(oc -n argocd get route argocd-server -o jsonpath='{.spec.host}’)
# Login with the current admin password
argocd –insecure –grpc-web login ${ARGOCD_ROUTE}:443 –username admin –password ${ARGOCD_SERVER_PASSWORD}
# Update admin’s password
argocd –insecure –grpc-web –server ${ARGOCD_ROUTE}:443 account update-password –current-password ${ARGOCD_SERVER_PASSWORD} –new-password <your_new_password>

Now you should be able to use the ArgoCD WebUI and the ArgoCD Cli tool to interact with the ArgoCD Server

Next Steps
In future blog posts we will talk about multiple topics related to GitOps such as:

Multi-cluster management with GitOps
Disaster Recovery with GitOps
Moving to GitOps

The post Introduction to GitOps with OpenShift appeared first on Red Hat OpenShift Blog.
Quelle: OpenShift