AWS Mainframe Modernization data replication with Precisely
AWS Mainframe Modernization offers a variety of Amazon Machine Images (AMIs). These AMIs facilitate rapid provisioning of Amazon EC2 instances, creating a tailored environment for data replication from Mainframe systems to AWS using Precisely. This guide provides the steps required to access and use these AMIs.
Prerequisites
-
Ensure that you have administrator access to an AWS account where you can create Amazon EC2 instances.
-
Verify that the AWS Mainframe Modernization service is available in the Region where you plan to create the Amazon EC2 instances. See List of AWS Services Available by Region
. -
Identify the Amazon Virtual Private Cloud (Amazon VPC) where the Amazon EC2 instances will be created.
-
When creating Amazon EC2 instances in an Amazon VPC, ensure that the associated route table has an internet gateway or a NAT gateway.
Note
Successful data replication requires the AWS EC2 instance has communication access to the AWS Marketplace. If there's a connectivity issue with the AWS Marketplace, the replication process will fail.
Subscribe to the Amazon Machine Image
When you subscribe to an AWS Marketplace product, you can launch an instance from the product's AMI.
-
Sign in to the AWS Management Console and open the AWS Marketplace console at https://console.aws.amazon.com/marketplace
. -
Choose Manage subscriptions.
-
Copy and paste the following link into the browser address bar: https://aws.amazon.com/marketplace/pp/prodview-en3xrbgzbs3dk
-
Choose Continue to Subscribe.
-
If the terms and conditions are acceptable, choose Accept Terms. The subscription might take a few minutes to process.
-
Wait for the thank you message to appear, as shown below. This message confirms that you have successfully subscribed to the product.
-
In the left navigate pane, choose Manage subscriptions. This view shows you all the subscriptions that you've subscribed to.
Launch AWS Mainframe Modernization data replication with Precisely
Open the AWS Marketplace console at https://console.aws.amazon.com/marketplace
. -
In the left navigation pane, choose Manage subscriptions.
-
Find the AMI that you want to launch, and choose Launch new instance.
-
Under Region, select the allow-listed Region.
-
Choose Continue to launch through EC2. This action takes you to the Amazon EC2 console.
-
Enter a name for the server.
-
Select an instance type that matches your project performance and cost requirements. The suggested starting point for instance size is
c5.2xLarge
. -
Choose an existing key pair or create and save a new one. For information about key pairs, see Amazon EC2 key pairs and Linux instances in the Amazon EC2 User Guide.
-
Edit the network settings and choose the allow-listed VPC and appropriate subnet.
-
Choose an existing security group or create a new one. In addition to allowing SSH access (by default on port 22), for data replication with a Precisely server EC2 instance, it is typical to allow TCP traffic to its default port 2626.
-
Configure the storage for the Amazon EC2 instance.
-
Review the summary and choose Launch instance. For the launch to success, the instance type must be valid. If the launch fails, choose Edit instance configuration and choose a different instance type.
-
After you see the success message, choose Connect to instance.
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
. -
In the left navigation pane, under the Instances menu, choose Instances.
-
In the main pane, check the status of your instance.
Create an IAM policy
To successfully operate AWS Mainframe Modernization EC2 instances deployed via our AWS Marketplace listing, you must configure an IAM role and policy. This specifically-tailored IAM setup is not optional; it authorizes your Amazon EC2 instances to interact with the AWS Marketplace service. The IAM role and policy allow AWS Mainframe Modernization to accurately record usage data, which is essential for precise billing. Failing to implement this configuration may lead to unsuccessful data replication attempts and operational disruptions.
Open the IAM console at https://console.aws.amazon.com/iam/
. -
In the navigation pane on the left, choose Policies.
-
If this is your first-time choosing Policies, the Welcome to Managed Policies page appears. Choose Get Started.
-
At the top of the page, choose Create policy.
-
In the Policy editor section, choose the JSON option.
-
Enter the following JSON policy.
{ "Version": "2012-10-17", "Statement": [ { "Action": ["aws-marketplace:MeterUsage"], "Effect": "Allow", "Resource": "*" } ] }
Create an IAM role
Open the IAM console at https://console.aws.amazon.com/iam/
. -
In the navigation pane, choose Roles, and then choose Create role.
-
In the Trusted entity type section, choose AWS service.
-
In the Use case section, under Service or use case, choose Amazon EC2.
-
Choose Next.
-
In the list of policies, select Customer managed from the Filter by Type drop-down and enter the name of the policy that you created. Select the check box next to the name of the policy.
-
Choose Next.
-
Enter a name and, optionally, a description for the role.
-
Review the trust policy and permissions, and then choose Create role.
Attach the IAM role to the Amazon EC2 instance
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
. -
In the navigation pane, choose Instances.
-
Select your Amazon EC2 instance.
-
From the Actions menu, choose Security, and then choose Modify IAM role.
-
Select the role to attach to your instance, and then choose Update IAM role.