CKAN for energy and utility data

Energy regulators and utilities can publish network, generation and consumption data on CKAN in infrastructure they control. This page covers DataStore time series, access tiers for market participants, CIP and NIS2 boundaries, and how DeployOpen plans and delivers the build.

On this page

Why CKAN for energy and utility data fits published network and market data

A utility or regulator that must publish generation, network and consumption data to market participants needs a publishing layer that stays apart from the systems that produce the data. CKAN is a catalog and publication layer, built to serve data rather than run the process that creates it. Its DataStore holds structured resource data, such as interval readings, in a separate PostgreSQL database, and the Data API lets participants filter, search, page through and run SQL queries against those rows. Spatial assets such as substations and line routes can be catalogued next to the tables that describe them. CKAN receives extracts from historians, settlement systems and asset registers, and it does not replace them. Control systems stay where they are, and the portal sees only what operators choose to export. DataStore documentation sets out how the read-only and write database users are separated.

Once publication becomes a controlled, reviewed process, data owners change how they work. Each dataset belongs to an owning organization with named publishers, so the settlement team answers for settlement extracts and the network planning team answers for asset records. Private datasets let a team stage values and check them before release, and a review step can sit between the export and the public catalog. Before you build, decide which system is the source of record for each feed, how often it refreshes, and who approves each release. Confirm with your data team that XLoader meets the load window, since it is the officially supported loader and DataPusher is now legacy. Then agree which fields are published and which stay internal, because a dataset page becomes visible to participants the moment it is released.

Two controls deserve early attention. If a feed originates in an environment covered by the NERC CIP Reliability Standards, the export path has to be designed with your compliance team against CIP-005-7, which requires high and medium impact BES Cyber Systems to sit inside an Electronic Security Perimeter. The path from that environment to a portal outside the perimeter belongs in the scope document, with each crossing point named and owned. Second, market participants usually sign in through their own identity providers. The ckanext-saml2auth extension adds SAML2 single sign-on to CKAN 2.10 and later, so confirm your participants' identity provider and the CKAN version you plan to run before the scope is fixed. Check the ckanext-saml2auth project for the attribute mappings it supports.

Which energy requirements shape a CKAN build

This table lists the energy requirements that most often change how a CKAN portal is built, with the decision each one forces and what to confirm with compliance. Read each row as a question to settle before the architecture is fixed. The main takeaway is that the portal's network placement, the datasets it holds and its feeds decide which rows apply.

RequirementDecision the build must makeWhat to confirm with compliance
CIP-002-5.1a impact classificationMap which source systems feed the portal and whether any is a BES Cyber System. Keep CKAN outside operational networks.Impact rating of each source system, and whether any CKAN feed carries data from a rated system.
CIP-005-7 Electronic Security Perimeter and remote accessDecide whether CKAN sits inside any Electronic Security Perimeter, and route any remote admin access through an intermediate system.Whether the portal is inside or outside a perimeter, and how staff and vendors reach the admin console and DataStore.
CIP-011-3 information protectionDefine which datasets, logs and backups could hold BES Cyber System Information, and set access and storage controls for them.Which network diagrams, asset lists or configuration exports are uploaded to CKAN, and who may see private resources.
CIP-013-2 supply chainBuild vendor terms for CKAN, extensions and hosting providers covering incident notice, vulnerability disclosure and software integrity checks.Whether the supply chain plan review, at least every 15 calendar months, covers CKAN extensions and hosting vendors.
Penalty exposure (18 CFR 385.1602)Treat evidence and change control as financial exposure, since penalties apply per violation and per day.The maximum in effect, listed as $1,584,648 per violation per day in the eCFR at time of writing, and which entity is registered.
NIS2 Annex I energy (Directive (EU) 2022/2555)Decide whether any EU-facing CKAN service, such as a data exchange for electricity or gas operators, falls under the energy sector.Whether the entity is in an Annex I subsector (electricity, district heating and cooling, oil, gas or hydrogen) and national transposition.
Commission Delegated Regulation (EU) 2024/1366Decide whether cross-border electricity data flows in the portal fall under the network code's cybersecurity rules.Which market participants and transmission flows are in scope, and which national rules apply alongside the network code.

How energy data moves from control systems to market participants

It starts in the OT zone, where control systems and historians hold measurements. Data should leave only through the controlled export path the CIP team approves, then lands in a staging step before CKAN receives it. CKAN web hands uploads to XLoader workers through a Redis queue, and the workers load tables into the DataStore with the write user. Catalog and DataStore sit in separate PostgreSQL databases, and Solr 9 handles search. Readers and registered market participants query the Data API through the read-only user, and registered participants sign in through the SAML2 identity provider. Confirm every boundary against your entity's CIP scope.

Planning model of trust boundaries and data hand-offs, to confirm against CIP scope.

Which CKAN modules and settings matter for utility data

Six decisions shape a utility or regulator portal: how time series load and query, who sees which datasets, how sign-in and sysadmin rights are assigned, how metadata is exposed, how spatial assets are described, and what the runtime needs. Settle each one with the people who will publish and consume the data before you build.

DataStore for time series

Meter readings, generation output and interval consumption load into the DataStore, which keeps each resource in a separate PostgreSQL database. Give the loading process a write user and give publishing users a read-only user, so readers cannot change loaded rows. Use XLoader for uploads and linked files, since DataPusher is now legacy. Keep one timestamp column in an agreed time zone and a stable identifier per meter or asset. Then test the Data API filters and SQL queries that market participants will actually run.

DataStore docs

Participant tiers with organizations

Map each participant tier to its own organization, since organization roles decide who can publish, edit and administer datasets for that group. Mark datasets that are not yet public as private, and add outside analysts as collaborators on those datasets only. Issue API tokens per user, so you can revoke one integration without disrupting the others. Confirm with your regulator which filings and operational data must stay unpublished before you define the tiers.

SAML2 roles and sysadmin lists

ckanext-saml2auth adds SAML2 single sign-on to CKAN 2.10 and later. It can assign users to organizations and roles from SAML2 attributes, so your identity provider stays the source of truth for who belongs to which participant. Sysadmin rights come from an email list that should stay short, named and reviewed on a fixed schedule. Test attribute mapping with accounts from each participant before go-live, and confirm which attributes your identity provider can send.

ckanext-saml2auth repository

DCAT-AP metadata and RDF endpoints

ckanext-dcat provides DCAT-AP v1, v2 and v3 schemas, DCAT RDF endpoints and an RDF harvester. Choose the profile your regulator or national catalog expects before publishing, because each version maps fields differently. The extension is listed as supported on CKAN 2.10 and 2.11, so confirm support on CKAN 2.12 with the maintainers before you plan that upgrade. Check the RDF output against the catalog that will harvest it.

ckanext-dcat repository

Spatial assets as geospatial data

Generation sites, substations and transmission routes need spatial metadata that search and map previews can use. Model each asset with a clear geographic extent, and agree with your security team how precise published coordinates should be for critical infrastructure. Design the spatial fields around the CKAN geospatial approach, and check coordinate reference systems on every upload. Test spatial search and map previews on a small set of test assets before you publish the full inventory.

Stack for production

Source installs need Python 3.10 or newer and PostgreSQL 12 or newer, with Solr 9 recommended (Solr 8 is also supported) and Redis alongside it. Run the web application under uWSGI behind Nginx, which the install guide recommends for production. The package guide covers Ubuntu 20.04 and 22.04, while source installs work on other distributions. Confirm that your operating system, Solr and Redis versions match the CKAN release you choose.

Install from source guide

Keeping BES Cyber System Information out of the catalog

Publishing from a CKAN portal is a CIP-011-3 control question before it is a metadata question. The CIP-011-3 standard, Cyber Security: Information Protection concerns how BES Cyber System Information (BCSI) is identified, protected and handled, and a public catalog is one of the broadest disclosure channels an energy organization operates. Protected information can leave through many surfaces at once: the dataset title and description, tags, resource file names, the files themselves, column names in the DataStore, sample rows returned by the Data API, and fields returned by the package and resource endpoints. A dataset can look harmless on its landing page while its CSV headers name a control system component or its sample rows expose set points. Treat every surface as in scope, and confirm with your compliance team which of your assets and data types count as BCSI under your program.

Make the review a written step in the publishing workflow, with a named approver who is not the person who uploaded the data. The approver should come from OT security or compliance and know which systems are in scope. The checklist should cover each surface listed above, including titles, descriptions, tags, file names, file contents, DataStore column headers, a sample of loaded rows, and the fields returned by package_show and datastore_search on the public API. Review each resource version separately, because replacing a file changes what is exposed even when the dataset page stays the same. Keep datasets private by default and require approval before a dataset is made public or a resource is replaced on a public dataset. Also check spatial fields and asset coordinates, since they can reveal facility locations even when the names are generic.

Keep each review as evidence an auditor can follow. A record should hold the dataset identifier, the resource identifiers and versions reviewed, the checklist version, the reviewer and approver names, the date, the decision, and any changes made before approval. Store the record in the evidence system your compliance team already uses for CIP audits, and confirm with that team how long it must be retained. Tie each record to the revision that went public so the evidence can be matched to what was actually published. Repeat the review after an upgrade, a loader change or a schema change, and treat any public resource found to contain protected information as an incident with its own approval trail. Ask your auditors early whether this evidence meets their expectations for your entity.

Who sees what: public readers, market participants and internal staff

Anyone with a browser or an HTTP client can see datasets the owning organization has published as public. No account is needed to search the catalog, open a resource, download a file or send a query to the Data API for a DataStore table. This audience typically uses aggregate generation mix series, published consumption statistics and public asset registers.

  • Visible: Public datasets, their metadata, resource files and the rows of their DataStore tables.
  • Sign-in: None. Anonymous read access is the default for public datasets, but confirm the site-wide settings on your instance.
  • DataStore role: The read-only database user serves these queries, so public API calls cannot write to tables. See the CKAN DataStore documentation for how the two database users are set up.
  • Owner confirms: Each public table holds only aggregates or assets approved for release, with no customer-level meter data, and each dataset states its license.

Check that no field in a public table can identify a customer premises or a single unit that has not already been disclosed.

Which CIP and NIS2 obligations reach the portal

These six obligations decide what the portal may hold, who may reach it and what evidence the operator keeps. Each card covers one part of the picture, from the impact rating to the software supply chain and the timelines. DeployOpen prepares the evidence for these controls, but independent auditors and certification bodies issue any audit report or attestation.

Scope under CIP-002-5.1a

CIP-002-5.1a sorts BES Cyber Systems into high, medium and low impact using bright-line criteria, and that rating decides which CIP requirements reach the systems around the portal. Confirm your impact rating before the design starts. There is no CIP certificate. Entities registered as a Balancing Authority, Reliability Coordinator or Transmission Operator receive a compliance audit at least once every three years, so ask which registration applies to you and keep evidence ready for that cycle.

NERC CIP standards

Remote access and the ESP under CIP-005-7

CIP-005-7 requires routable-connected high and medium impact BES Cyber Systems to sit inside an Electronic Security Perimeter, and it requires all Interactive Remote Access to pass through an Intermediate System with encryption and multi-factor authentication. For CKAN, confirm which components, such as the DataStore, Solr and the admin interface, fall inside that perimeter. Staff and vendor logins must go through the Intermediate System. Also check whether market participants reach the Data API from outside the perimeter and how that traffic is controlled.

CIP-005-7 text

Supply chain plan under CIP-013-2

CIP-013-2 requires a supply chain risk management plan covering vendor incident notification, vulnerability disclosure, software integrity and authenticity verification, and coordination of vendor remote access. For CKAN, the plan has to name CKAN core and every extension you install, such as ckanext-dcat or ckanext-saml2auth, and record how you verify each one before deployment. The plan must be reviewed at least every 15 calendar months, so tie that review to each CKAN release and extension update.

CIP-013-2 text

Information protection under CIP-011-3

CIP-011-3 governs how BES Cyber System Information is identified, stored, shared and disposed of. On a CKAN portal, network diagrams, asset locations, configuration details and vulnerability notes must stay out of public datasets, so keep operational detail in private datasets restricted to named organization roles. Check that API tokens, exports, harvest sources and backups follow the same handling rules as the portal itself.

CIP-011-3 text

Monitoring and virtualization timelines

CIP-015-1 covers internal network security monitoring. FERC approved it on 26 June 2025, and it is enforceable from 1 October 2028. FERC Order No. 919 approved 11 revised CIP standards that accommodate virtualization, effective 1 July 2028. If your CKAN portal runs on virtual machines, containers or shared hypervisors, record that platform in your asset inventory now, and confirm which monitoring feeds the portal will need before those dates.

Order No. 919

NIS2 Annex I and cross-border electricity flows

NIS2 Annex I lists energy as a sector of high criticality, including electricity, district heating and cooling, oil, gas and hydrogen, so a European utility portal may fall under the Directive. Commission Delegated Regulation (EU) 2024/1366 sets a network code on sector-specific cybersecurity rules for cross-border electricity flows, supplementing Regulation (EU) 2019/943. Confirm with counsel whether your entity is in scope and which rules apply to your data flows, because national implementation and entity classification shape the details.

Regulation 2024/1366 text

How a CKAN energy rollout moves from scope to operations

This sequence takes an energy or utility CKAN portal from a scoped set of datasets to a supervised production service. Each step produces evidence that compliance, data owners and operators can review before data is published. The order matters because scope decisions set what can be published, and publication rules set what the DataStore and access model must protect.

  1. Run the scope and CIP impact workshop

    Compliance leads, data owners and the portal team meet to list the datasets, the systems that produce them and the feeds that reach the portal. For each system, the group records whether it is a BES Cyber System and what impact rating CIP-002-5.1a would assign, since high, medium and low impact categories drive later controls. That call stays with your compliance team. Done when the signed scope document lists every dataset, its source system and its owner.

  2. Set publication rules and run pre-publication review

    Write rules that sort each dataset as public, private to named organizations or withheld, using CKAN's private dataset setting and organization boundaries. The rules cover which fields may be published, how asset locations are generalized and how BES Cyber System Information stays out of the catalog, as CIP-011-3 requires that information to be protected. A reviewer checks each dataset against the rules before first publication and records the decision. Done when every dataset has a recorded classification and the reviewer has signed off the first batch.

  3. Build the staging instance from source

    The platform team installs CKAN from source on infrastructure you control, using Python 3.10 or newer, PostgreSQL 12 or newer, Solr 9 (recommended) or Solr 8, and Redis, with uWSGI and Nginx recommended for production. The package guide covers Ubuntu 20.04 and 22.04, and source installs work on other operating systems, so confirm the host standard with your operations team before the build starts. Staging should match the versions and configuration planned for production. Done when the site loads, search returns test datasets and a background job completes on the staging host.

  4. Load DataStore tables and test the Data API

    Load a sample of tabular resources with XLoader, the officially supported loader, since DataPusher is legacy. Confirm that the DataStore's read-only user can run filters, full-text search, pagination and SQL queries, and that the write user is never exposed to Data API consumers. Test the time-series files at the volumes you expect in production, and check that malformed uploads fail visibly. Done when test queries return the expected rows for each sample and a permission test shows that write statements fail through the read-only role.

  5. Configure SAML2 sign-in and access roles

    Install ckanext-saml2auth on CKAN 2.10 or later to provide SAML2 single sign-on, then map SAML2 attributes to organizations and roles and set the sysadmin list by email. Define organization roles for publishers, editors and readers, and write an API token policy covering who may hold tokens, how long they remain valid and how they are revoked. Confirm with your identity team whether the portal sits inside any Electronic Security Perimeter, because CIP-005-7 rules apply to that boundary. Done when test accounts for each role reach only their permitted datasets and revoked tokens fail.

  6. Go live with a runbook and backups

    Write a runbook covering search index maintenance, background workers, backup and restore, and on-call escalation, then restore a backup to a separate host to prove the procedure works. Set a patch policy that follows the CKAN release policy: the latest patch of the current minor version and the previous minor version receive security and bug fixes, outdated patch releases lose support once a newer patch is out, and patch releases avoid breaking changes while minor releases may include them. Schedule minor version upgrades as separate projects from patching. Done when the runbook is approved, the restore test has passed and the patch calendar is agreed with the service owners.

What drives the cost of CKAN for energy and utility data work?

How much does a CKAN energy data project cost and what sets the quote?

Cost follows from the written scope, and a few factors drive that scope. The main drivers are the number of datasets and resources to load and validate in the DataStore, the number of spatial layers and map previews, whether single sign-on with the utility's identity provider is included, and how much metadata schema design the publishers need. Hosting in the utility's own cloud or data center is a separate cost that recurs, as do upgrades and support if you buy a retainer. Work that touches CIP-scoped systems adds review, documentation and change control. DeployOpen does not publish a price list, and a quote follows from the written scope. Ask each bidder to split one-time build, testing and handover costs from recurring support, and to state the assumptions about data volume, feed frequency and environments behind the number.

How long does a CKAN build for a utility take?

The timeline depends on the agreed scope and on the utility's own inputs, so no fixed duration applies to every project. The biggest drivers are how quickly the utility supplies data dictionaries, sample files and named data owners, how many feeds need DataStore loading and validation, whether spatial assets and map previews are in scope, and how long internal approvals take for access, identity and change windows. Ask any partner to show the phases, the dependencies on the utility's side, and the acceptance tests that close each phase. Most engagements are fixed-scope, so the agreed timeline is written into the scope before work begins. Confirm the approval path and change windows early, because they often sit outside the build team's control.

What must a utility provide before a CKAN build starts?

The utility must supply the inputs that the build cannot infer. Prepare these before kickoff:

  • Data dictionaries for each dataset, with field definitions, units and allowed values.
  • Sample files that show the real structure, including gaps, missing intervals and known quality issues.
  • Identity provider metadata for SAML2 single sign-on, if sign-in is in scope.
  • Network diagrams showing where the CKAN application, Solr, PostgreSQL and Redis sit relative to any operational zones.
  • A CIP impact list from the utility's own categorization, since only the utility can set its impact ratings and those ratings decide which access rules apply.
  • Named data owners who can approve publication, classification and access decisions.

Ask for each item as a named deliverable with an owner and a date, so gaps appear early rather than during testing.

Can an internal team build CKAN for utility data alone?

An internal team can build it if it already runs Python web applications, PostgreSQL, Solr and identity integration, and it can own the result after go-live. The build is one cost. The operating burden is the other, and it recurs. The parts that are hardest to keep in-house are the regular ones: moving between CKAN minor releases with compatible extensions, keeping Solr and the DataStore loader healthy, maintaining the mapping of SAML2 attributes to organizations and roles, and producing security and CIP evidence on a schedule. Before deciding, ask who will hold the upgrade calendar, who reviews extension changes, and who restores from backup when a load fails. DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted platforms inside the client's infrastructure, and ongoing support is available as a retainer.

Which CKAN version should a utility portal run now?

Choose the version after checking your extensions, not from the release date alone. CKAN 2.12.0 was released on August 26, 2026, together with maintenance releases 2.11.6 and 2.10.11 on the same day. The CKAN team supports the latest patch of the current minor version and the previous minor version for security and bug fixes, and an older patch loses support once a newer patch is out. Patch releases avoid breaking compatibility and schema changes, but minor releases may include backwards-incompatible changes, so plan each minor move as a project. The ckanext-dcat extension is supported on CKAN 2.10 and 2.11 according to its repository, so confirm each extension's support for 2.12 before you commit. Check the CKAN release policy for the current support window.

Does CKAN come with a NERC CIP certificate?

No. There is no CIP certificate, and CKAN does not carry one. CIP compliance is assessed against the registered entity's own program and systems, not issued for a software package. In the United States, NERC and the Regional Entities monitor and enforce the CIP Reliability Standards once FERC approves them. Entities registered as a Balancing Authority, Reliability Coordinator or Transmission Operator receive a compliance audit at least once every three years. The maximum civil penalty is $1,584,648 per violation per day, as adjusted under 18 CFR 385.1602. DeployOpen prepares systems, controls and evidence for compliance assessments, but does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those roles.

How DeployOpen delivers CKAN for energy and utility data

DeployOpen plans and builds CKAN portals for energy and utility data inside the client's own infrastructure. The work starts with a written scope for the time series, spatial assets and API access each audience needs. Each stage produces documented, testable deliverables that your team can review. Ongoing support is available as a retainer once the portal is live.

How we scope

  • The written scope lists which generation and consumption feeds load into the DataStore and how often each one updates.
  • Spatial asset layers, their source formats and whether map previews are needed are named before the build starts.
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before any work begins.

How we build

  • CKAN is installed from source with PostgreSQL, Solr 9, Redis, uWSGI and Nginx in infrastructure you control.
  • XLoader, the officially supported loader, moves uploaded or linked energy files into the DataStore; DataPusher is legacy.
  • Data API access for market participants is configured and tested with read-only DataStore users and the filters they need.

How we hand over

  • Dataset documentation covers units, time zones, reporting intervals and update cadence, so API users can interpret each series correctly.
  • Access tests for private datasets and read-only roles are documented, with results and fixes, before go-live.
  • Runbooks cover DataStore loads, search index rebuilds, backups and patch upgrades, written for your operations team.

How we support

  • A retainer can cover ongoing support, upgrades and continuous testing after handover, agreed in writing.
  • Patch work follows CKAN's policy: latest patch of the current minor and the previous minor version.
  • Minor-release upgrades are planned separately, because minor releases may include backwards-incompatible changes.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.