Case Study

How LayerX Achieves “Painless” Governance and Security in the Cloud

Tianzhou
Tianzhou8 min read
How LayerX Achieves “Painless” Governance and Security in the Cloud

presentation

At CloudNative Days Summer 2025, Hokuto Hoshi—CISO and Head of SRE/Corporate Engineering at LayerX—shared how the company has built a cloud-native governance framework that balances compliance, security, and developer agility. The presentation, titled Realizing "Painless" Governance and Security in the Cloud, resonated with platform teams facing growing audit requirements without wanting to slow down development.

About LayerX

about-layerx

LayerX is a Tokyo-based technology company with a mission to enable digitalization across all economic activities. The company operates across several domains, including:

  • Bakuraku: A suite of AI-powered SaaS tools streamlining core enterprise workflows such as expense management, invoice processing, and approval flows.

  • Fintech: Asset management and securities solutions delivered through a joint venture model.

  • AI/LLM: An internal platform that transforms organizational knowledge into structured, retrievable data using large language models.

LayerX builds its products with a strong emphasis on automation, auditability, and developer experience—making it a prime example of a cloud-native enterprise balancing innovation with compliance.

Governance Without the Pain

For many organizations, audit readiness still means manually collecting logs, managing permissions through spreadsheets, and retrofitting access controls into existing workflows. LayerX takes a different approach:

  • Automate controls using infrastructure-as-code and cloud-native platforms

  • Integrate security practices directly into development workflows

  • Maintain transparency and explainability for auditors and engineers alike

  • Treat compliance not as a checkbox but as part of system reliability

Their implementation spans the entire stack—from user account management to infrastructure provisioning, from application deployment to database change management.

From Identity to Infrastructure: A Systems Approach

SSO as a Security Backbone

LayerX uses Microsoft Entra ID to unify identity across systems. Employee onboarding and offboarding are fully automated via HR data and Notion, with Slack-integrated workflows for approvals. Access is consistently enforced through SSO across all internal tools.

Group-Based Permissioning

User groups are defined via SmartHR and translated to Terraform HCL, then synced to Entra ID. This bridges HR systems with access control, enabling scalable role-based access patterns.

Time-Bound Privilege Escalation

To handle temporary elevated permissions, LayerX leverages Entra PIM, allowing just-in-time access with automatic expiration—a modern answer to long-standing privilege management issues.

Change Management in GitHub

Application and infrastructure changes are governed by pull request approvals using GitHub's CODEOWNERS. Even emergency changes are logged and traceable, and deployments are automated via tools like ecspresso and Terraform within a monorepo setup.

Unified Logging and Simplified Audits

Logs from AWS CloudTrail, Entra ID, Datadog, and Amazon Athena are aggregated and searchable via APIs and CLI commands. LayerX stores logs in Snowflake, making it easy to visualize and retrieve audit evidence. Log extraction is automated—no more ad hoc queries or manual exports.

Database Governance with Bytebase

Traditionally, database operations are disconnected from CI/CD and governance workflows. LayerX addressed this gap by adopting Bytebase to introduce structured, auditable change management for their databases.

With Bytebase, LayerX can:

  • Review and approve schema changes through a web interface or API

  • Maintain audit trails for all SQL operations

  • Eliminate the need for bastion hosts by shifting to a secure, review-based model

This brings the same rigor to database operations that exist for code and infrastructure—an essential step for aligning security, reliability, and developer velocity.

A Model for Modern Platform Teams

LayerX shows that auditability and agility are not mutually exclusive. By embedding governance into the developer workflow and codifying it through infrastructure and policy engines, they’ve created a foundation that’s secure, scalable, and operationally efficient.

For teams managing database changes, LayerX’s use of Bytebase highlights a growing trend: bringing CI/CD, approval workflows, and visibility to one of the last remaining blind spots in DevSecOps.

Summary of Tools and Vendors Used

What LayerX has accomplished is a pragmatic example of how modern engineering practices, when paired with the right tools, can turn governance from a bottleneck into a built-in strength.

Tool / PlatformVendorPurpose
Microsoft Entra IDMicrosoftSSO, identity provider, group and access control
SmartHRSmartHRHR system for managing employee roles and attributes
TerraformHashiCorpInfrastructure-as-code, role syncing with IdP
Entra PIM (Privileged Identity Mgmt)MicrosoftTime-limited elevated access with approvals
GitHub + CODEOWNERSMicrosoft (GitHub)Pull request approval workflow for app and infra changes
ecspressoKAYACECS deployment tool integrated with GitHub and Terraform
BytebaseBytebaseCI/CD for database schema and data changes
AWS CloudTrailAmazon Web ServicesLogging of AWS resource activities
Amazon AthenaAmazon Web ServicesServerless log querying and analysis
SnowflakeSnowflakeData warehouse for storing and visualizing audit logs
DatadogDatadogSystem monitoring and additional log aggregation
SlackSalesforceNotification and approval workflows
NotionNotionInternal metadata and account provisioning source
CLI / APIs / ScriptsCustomAutomating log extraction and compliance tasks