Mainframe Integration (メインフレーム連携)
Workload Overview
This asset is the "Mainframe Integration (メインフレーム連携)" reference architecture from
BLEA for FSI (金融リファレンスアーキテクチャ日本版) v1.6. In this reference architecture, a
"mainframe" means a large computer that carries a processor with a proprietary instruction
set and runs core (基幹系) business systems processing large volumes of business data on a
proprietary OS. Example mainframe OSes include IBM z/OS, Fujitsu OS IV/MSP, Hitachi VOS3,
and NEC ACOS-4.
The scope of this asset is data integration between a mainframe and AWS — it does not
cover the mainframe's internal application logic. It presents three integration patterns:
- Data Replication — replicate mainframe data to AWS to promote data utilization and
development of new services (analytics/AI/ML, near-real-time business innovation, and
seamless application migration with near-zero downtime).
- Asynchronous Messaging — exchange data between mainframe systems and AWS-hosted
systems through a simple API without direct synchronous coupling, using IBM MQ.
- File Transfer — transfer files between the mainframe and AWS for external-system
linkage, analytics/AI/ML, backup/archive, and data migration during cloud
modernization.
AWS does not support or guarantee the operation of the third-party software products
referenced here. Confirm prerequisites and details with each product's vendor. In
particular, AWS Mainframe Modernization Data Replication with Precisely only supports
IBM z/OS and IBM i (AS/400) as replication source environments.
Detailed technical descriptions of all three patterns (basic operation, failover behavior,
monitoring, characteristics, and variations) are in
references/architecture.md.
Best Practices and Key Components
Best Practices
- MUST NOT: Rely solely on a mainframe-side queue manager accessed by many AWS-side MQ
clients; concentrated client access can overload the mainframe, and if the mainframe
queue manager goes down, MQ clients fail and applications error out.
- SHOULD: Stand up a queue manager on both the mainframe side and the AWS side and
establish channel connections between them, so a local queue manager keeps accepting
messages even when the destination queue manager is down.
- MUST NOT: Use the MQ cluster (active/active) pattern when message ordering must be
preserved (e.g., financial transactions), because ordering is not maintained across the
cluster.
- SHOULD: Combine the MQ cluster pattern with the HA configuration when persistent
messages held by a downed queue manager must be recovered quickly, since those messages
are unavailable until that queue manager restarts.
- MAY: Consider running IBM MQ in containers for the MQ cluster pattern, since it does not
assume clustering-software-based inter-instance synchronization.
- SHOULD: Avoid modifying mainframe applications or data; implement analytics and new
services on the AWS side so the added development does not increase mainframe load.
- MAY: Use a COBOL copybook that defines the VSAM file layout as schema information and map
the input data format to the target table with a Lambda function (Precisely pattern).
- SHOULD: For high availability of the Precisely components, run the z/OS-side Publisher
agent in an active/standby configuration and run multiple EC2 instances in a Multi-AZ
configuration on the AWS side feeding the Amazon MSK cluster.
- MAY: Add multiple workers (JVM processes running connector logic) to the Apply agent to
increase throughput toward Amazon MSK as needed.
- SHOULD: Monitor the CloudWatch Logs and metrics of the Apply agent, MSK, and the
database, and cross-reference them to identify where a problem occurs.
- SHOULD: For HULFT on AWS in an active/standby configuration, use HULFT-supported
clustering software to synchronize data between the two instances.
- MAY: Use the HULFT Cloud Storage Option to directly read from and write to Amazon S3
bucket objects.
- SHOULD: Store backup files in an Amazon S3 bucket to reduce cost versus keeping them on
the mainframe; set cross-region replication for DR and choose an S3 storage class for
long-term archival.
- MAY: When retry-on-error and per-item data/character-code conversion are not required,
use ftp or sftp for file transfer (z/OS Communication Server FTP server with AWS
Transfer Family, or z/OS OpenSSH for sftp).
- SHOULD: Provide, for the DR-side environment, the same integration architecture that was
adopted for the primary, matching the DR-side mainframe (FISC 実 71 / 実 74 / 実 106).
- SHOULD: Provide a backup connection via AWS Direct Connect or AWS Site-to-Site VPN as a
standby for the primary AWS Direct Connect link between the mainframe and AWS (FISC 実 87).
- WILL: The HA configuration preserves message ordering across failover and has an RTO of
a few minutes; the multi-instance queue manager configuration also preserves ordering
with an RTO of 30 seconds to a few minutes and requires shared file storage.
- WILL: z/OS does not support the multi-instance queue manager configuration; it is only
achievable on the AWS side.
Key Components
Data Replication (Precisely)
- Component Overview: Replicates mainframe data (Db2 for z/OS, IMS/DB, VSAM on z/OS;
Db2 for IBM i on IBM i) to AWS data stores. A Log Reader captures the Db2 log to a
Coupling Facility (CF)-based Log Stream; a primary Publisher agent on an LPAR reads the
log and publishes it to Apply agents on AWS; the active Apply agent writes to Amazon MSK,
which updates the AWS data store. Publisher agents run active/standby on z/OS; Apply
agents run active/active on AWS with a controller daemon handling failover.
- Assumed AWS Services: AWS Mainframe Modernization Data Replication with Precisely,
Amazon Managed Streaming for Apache Kafka (MSK), Amazon RDS (Oracle / Microsoft SQL
Server / PostgreSQL / Amazon Aurora PostgreSQL) or DB on EC2, Amazon S3, AWS Lambda,
Amazon EC2, Amazon CloudWatch (Logs and metrics).
Asynchronous Messaging (IBM MQ)
- Component Overview: Point-to-Point and publish/subscribe messaging with ACID
transaction guarantees using IBM MQ. Queue managers on the mainframe and AWS sides are
connected by channels; either side can originate messages, and a correlation ID enables
request/response correlation. Three high-availability queue-manager patterns are
provided: (2.1) HA configuration (active/standby), (2.2) MQ cluster (active/active), and
(2.3) multi-instance queue managers (active/warm-standby).
- Assumed AWS Services: IBM MQ on Amazon EC2 (or containers on Amazon ECS / Amazon
EKS), Amazon Elastic File System (EFS) or Amazon FSx for Windows File Server (shared
storage for the multi-instance pattern), Amazon CloudWatch.
File Transfer (HULFT / AWS Transfer Family)
- Component Overview: Transfers files between the mainframe and AWS. HULFT between
HULFT for z/OS and HULFT on AWS supports binary (no-conversion) transfer, text transfer
with character-code conversion between platforms, and per-item data-type conversion for
fixed-length layouts; pre-send, post-send, and post-receive jobs can be registered. The
HULFT Cloud Storage Option enables direct I/O to Amazon S3 objects. As a variation, ftp
(via AWS Transfer Family) or sftp can be used when retry/conversion features are not
needed.
- Assumed AWS Services: HULFT on Amazon EC2 (with HULFT-supported clustering software
for HA), Amazon S3 (including cross-region replication and archival storage classes),
AWS Transfer Family, Amazon CloudWatch, Amazon ECS / Amazon EKS / Amazon EC2.
FISC Compliance Summary
This asset is mapped against the FISC Security Guidelines (FISC 安全対策基準) 実務基準
(Practical Standards, 9th edition context in the source table titled 第 12 版) items 実 1
through 実 149. The mapping table records, per item, both the shared control environment
(governance-base template) countermeasure and the additional countermeasures/considerations
for each of the three patterns (Data Replication / Asynchronous Messaging / File Transfer).
Only 実務基準 items are covered; overall system safety must additionally be considered on the
user-application side and in operational/development processes. Many items are marked
対象外 (out of scope) because they belong to the business application, management/operation
process, development process, or are already handled on the AWS cloud side. Representative
in-scope countermeasures include TLS encryption of communications (実 4/実 7/実 69), IAM
Access Analyzer for unused permissions (実 5), least-privilege IAM (実 25), KMS key
rotation/separation of duties (実 13/実 30), Amazon Inspector and security groups (実 20),
CloudWatch monitoring (実 46/実 47/実 101–実 103), Multi-AZ active/standby availability
(実 71/実 84/実 104), and DR via Osaka region and Direct Connect/VPN backup (実 74/実 87/実 106).
The full, per-item table (preserving every entry) is in
references/fisc-mapping.md.
Reference Architecture
The full reference architecture — including the three patterns' architecture diagrams,
step-by-step basic operation, failover behavior, monitoring, characteristics, variations,
and source reference links — is in references/architecture.md.
Architecture diagram images are in assets/images/.
CDK Sample Overview
No CDK sample is provided for this asset in BLEA for FSI v1.6; this asset is documentation
only.
1---2name: fsi-foundation-mainframe-integration3description: Reference architecture guidance for integrating on-premises mainframes with AWS in Japanese financial institutions (BLEA for FSI / 金融リファレンスアーキテクチャ日本版). Covers three data-integration patterns between a mainframe and AWS: data replication (AWS Mainframe Modernization Data Replication with Precisely), asynchronous messaging (IBM MQ HA / MQ cluster / multi-instance queue managers), and file transfer (HULFT, AWS Transfer Family). Use this skill when designing or reviewing mainframe-to-AWS data integration, discussing メインフレーム連携 / メインフレーム / データレプリケーション / 非同期メッセージング / ファイル転送 / IBM MQ / HULFT / Precisely, or mapping such workloads to the FISC Security Guidelines.4license: MIT No Attribution5---67# Mainframe Integration (メインフレーム連携)89## Workload Overview1011This asset is the "Mainframe Integration (メインフレーム連携)" reference architecture from12BLEA for FSI (金融リファレンスアーキテクチャ日本版) v1.6. In this reference architecture, a13"mainframe" means a large computer that carries a processor with a proprietary instruction14set and runs core (基幹系) business systems processing large volumes of business data on a15proprietary OS. Example mainframe OSes include IBM z/OS, Fujitsu OS IV/MSP, Hitachi VOS3,16and NEC ACOS-4.1718The scope of this asset is **data integration between a mainframe and AWS** — it does not19cover the mainframe's internal application logic. It presents three integration patterns:20211. **Data Replication** — replicate mainframe data to AWS to promote data utilization and22 development of new services (analytics/AI/ML, near-real-time business innovation, and23 seamless application migration with near-zero downtime).242. **Asynchronous Messaging** — exchange data between mainframe systems and AWS-hosted25 systems through a simple API without direct synchronous coupling, using IBM MQ.263. **File Transfer** — transfer files between the mainframe and AWS for external-system27 linkage, analytics/AI/ML, backup/archive, and data migration during cloud28 modernization.2930> AWS does not support or guarantee the operation of the third-party software products31> referenced here. Confirm prerequisites and details with each product's vendor. In32> particular, AWS Mainframe Modernization Data Replication with Precisely only supports33> IBM z/OS and IBM i (AS/400) as replication source environments.3435Detailed technical descriptions of all three patterns (basic operation, failover behavior,36monitoring, characteristics, and variations) are in37[references/architecture.md](references/architecture.md).3839## Best Practices and Key Components4041### Best Practices4243- MUST NOT: Rely solely on a mainframe-side queue manager accessed by many AWS-side MQ44 clients; concentrated client access can overload the mainframe, and if the mainframe45 queue manager goes down, MQ clients fail and applications error out.46- SHOULD: Stand up a queue manager on both the mainframe side and the AWS side and47 establish channel connections between them, so a local queue manager keeps accepting48 messages even when the destination queue manager is down.49- MUST NOT: Use the MQ cluster (active/active) pattern when message ordering must be50 preserved (e.g., financial transactions), because ordering is not maintained across the51 cluster.52- SHOULD: Combine the MQ cluster pattern with the HA configuration when persistent53 messages held by a downed queue manager must be recovered quickly, since those messages54 are unavailable until that queue manager restarts.55- MAY: Consider running IBM MQ in containers for the MQ cluster pattern, since it does not56 assume clustering-software-based inter-instance synchronization.57- SHOULD: Avoid modifying mainframe applications or data; implement analytics and new58 services on the AWS side so the added development does not increase mainframe load.59- MAY: Use a COBOL copybook that defines the VSAM file layout as schema information and map60 the input data format to the target table with a Lambda function (Precisely pattern).61- SHOULD: For high availability of the Precisely components, run the z/OS-side Publisher62 agent in an active/standby configuration and run multiple EC2 instances in a Multi-AZ63 configuration on the AWS side feeding the Amazon MSK cluster.64- MAY: Add multiple workers (JVM processes running connector logic) to the Apply agent to65 increase throughput toward Amazon MSK as needed.66- SHOULD: Monitor the CloudWatch Logs and metrics of the Apply agent, MSK, and the67 database, and cross-reference them to identify where a problem occurs.68- SHOULD: For HULFT on AWS in an active/standby configuration, use HULFT-supported69 clustering software to synchronize data between the two instances.70- MAY: Use the HULFT Cloud Storage Option to directly read from and write to Amazon S371 bucket objects.72- SHOULD: Store backup files in an Amazon S3 bucket to reduce cost versus keeping them on73 the mainframe; set cross-region replication for DR and choose an S3 storage class for74 long-term archival.75- MAY: When retry-on-error and per-item data/character-code conversion are not required,76 use ftp or sftp for file transfer (z/OS Communication Server FTP server with AWS77 Transfer Family, or z/OS OpenSSH for sftp).78- SHOULD: Provide, for the DR-side environment, the same integration architecture that was79 adopted for the primary, matching the DR-side mainframe (FISC 実 71 / 実 74 / 実 106).80- SHOULD: Provide a backup connection via AWS Direct Connect or AWS Site-to-Site VPN as a81 standby for the primary AWS Direct Connect link between the mainframe and AWS (FISC 実 87).82- WILL: The HA configuration preserves message ordering across failover and has an RTO of83 a few minutes; the multi-instance queue manager configuration also preserves ordering84 with an RTO of 30 seconds to a few minutes and requires shared file storage.85- WILL: z/OS does not support the multi-instance queue manager configuration; it is only86 achievable on the AWS side.8788### Key Components8990#### Data Replication (Precisely)9192- **Component Overview**: Replicates mainframe data (Db2 for z/OS, IMS/DB, VSAM on z/OS;93 Db2 for IBM i on IBM i) to AWS data stores. A Log Reader captures the Db2 log to a94 Coupling Facility (CF)-based Log Stream; a primary Publisher agent on an LPAR reads the95 log and publishes it to Apply agents on AWS; the active Apply agent writes to Amazon MSK,96 which updates the AWS data store. Publisher agents run active/standby on z/OS; Apply97 agents run active/active on AWS with a controller daemon handling failover.98- **Assumed AWS Services**: AWS Mainframe Modernization Data Replication with Precisely,99 Amazon Managed Streaming for Apache Kafka (MSK), Amazon RDS (Oracle / Microsoft SQL100 Server / PostgreSQL / Amazon Aurora PostgreSQL) or DB on EC2, Amazon S3, AWS Lambda,101 Amazon EC2, Amazon CloudWatch (Logs and metrics).102103#### Asynchronous Messaging (IBM MQ)104105- **Component Overview**: Point-to-Point and publish/subscribe messaging with ACID106 transaction guarantees using IBM MQ. Queue managers on the mainframe and AWS sides are107 connected by channels; either side can originate messages, and a correlation ID enables108 request/response correlation. Three high-availability queue-manager patterns are109 provided: (2.1) HA configuration (active/standby), (2.2) MQ cluster (active/active), and110 (2.3) multi-instance queue managers (active/warm-standby).111- **Assumed AWS Services**: IBM MQ on Amazon EC2 (or containers on Amazon ECS / Amazon112 EKS), Amazon Elastic File System (EFS) or Amazon FSx for Windows File Server (shared113 storage for the multi-instance pattern), Amazon CloudWatch.114115#### File Transfer (HULFT / AWS Transfer Family)116117- **Component Overview**: Transfers files between the mainframe and AWS. HULFT between118 HULFT for z/OS and HULFT on AWS supports binary (no-conversion) transfer, text transfer119 with character-code conversion between platforms, and per-item data-type conversion for120 fixed-length layouts; pre-send, post-send, and post-receive jobs can be registered. The121 HULFT Cloud Storage Option enables direct I/O to Amazon S3 objects. As a variation, ftp122 (via AWS Transfer Family) or sftp can be used when retry/conversion features are not123 needed.124- **Assumed AWS Services**: HULFT on Amazon EC2 (with HULFT-supported clustering software125 for HA), Amazon S3 (including cross-region replication and archival storage classes),126 AWS Transfer Family, Amazon CloudWatch, Amazon ECS / Amazon EKS / Amazon EC2.127128## FISC Compliance Summary129130This asset is mapped against the FISC Security Guidelines (FISC 安全対策基準) 実務基準131(Practical Standards, 9th edition context in the source table titled 第 12 版) items 実 1132through 実 149. The mapping table records, per item, both the shared control environment133(governance-base template) countermeasure and the additional countermeasures/considerations134for each of the three patterns (Data Replication / Asynchronous Messaging / File Transfer).135Only 実務基準 items are covered; overall system safety must additionally be considered on the136user-application side and in operational/development processes. Many items are marked137対象外 (out of scope) because they belong to the business application, management/operation138process, development process, or are already handled on the AWS cloud side. Representative139in-scope countermeasures include TLS encryption of communications (実 4/実 7/実 69), IAM140Access Analyzer for unused permissions (実 5), least-privilege IAM (実 25), KMS key141rotation/separation of duties (実 13/実 30), Amazon Inspector and security groups (実 20),142CloudWatch monitoring (実 46/実 47/実 101–実 103), Multi-AZ active/standby availability143(実 71/実 84/実 104), and DR via Osaka region and Direct Connect/VPN backup (実 74/実 87/実 106).144145The full, per-item table (preserving every entry) is in146[references/fisc-mapping.md](references/fisc-mapping.md).147148## Reference Architecture149150The full reference architecture — including the three patterns' architecture diagrams,151step-by-step basic operation, failover behavior, monitoring, characteristics, variations,152and source reference links — is in [references/architecture.md](references/architecture.md).153Architecture diagram images are in `assets/images/`.154155## CDK Sample Overview156157No CDK sample is provided for this asset in BLEA for FSI v1.6; this asset is documentation158only.