We use machine learning technology to do auto-translation. Click "English" on top navigation bar to check Chinese version.
Configure Amazon RDS Custom for Oracle using Amazon Web Services CloudFormation and Amazon Web Services Systems Manager for JD Edwards One-Click
One way to configure your RDS Custom for Oracle database is to use
In this post, we show you how to use Amazon Web Services CloudFormation and Systems Manager to customize an RDS Custom for Oracle database for JD Edwards One-Click. The objective is to automate setup of the database and the One-Click tool requirements without an engineer needing to engage until the database is ready for the JD Edwards deployment.
The solution outlined in this post shows you how to create an RDS Custom for Oracle instance from a CloudFormation template that should work with JD Edwards One-Click.
Solution Overview
The solution uses the architecture shown in the following figure: a flow starting with a CloudFormation template that creates an RDS Custom instance from a custom engine version (CEV), an
The architecture uses the following services and resources:
- Amazon Web Services CloudFormation – Amazon Web Services CloudFormation helps you model and set up your Amazon Web Services resources. You create a template that describes the Amazon Web Services resources that you want, and Amazon Web Services CloudFormation takes care of provisioning and configuring those resources for you. This solution deploys resources like the RDS Custom instance, IAM roles, and SSM documents using a CloudFormation template.
- RDS Custom – RDS Custom is a managed database service that provides the flexibility to customize your database, underlying server, and operating system configurations needed to support applications that require more control than what a typical managed relational database service provides.
- Systems Manager document – An SSM document defines the actions that Systems Manager performs on your managed instances. This solution creates an SSM document to modify the operating system parameters on the RDS Custom instance and another SSM document to modify the database parameters.
CloudFormation template
In this solution, we provide a CloudFormation template that takes minimum input parameters from the user and performs the following high-level tasks:
- Read key input parameters for provisioning like database disk size, shape, the CEV to use, and more.
- Create a CEV if requested with a manifest that runs the database as user oracle and the
ORACLE_HOME
path is within/u01
, as required by JD Edwards One-Click. This step is optional and can be skipped via the input. - Create an RDS Custom instance.
- Create an IAM role for Systems Manager to use.
- Create the SSM documents.
- Associate the SSM documents with the RDS Custom instance. SSM associations manage the state of a system based on your defined schedule, but also applies as soon as you associate a document with a resource. This feature is used to have the required JD Edwards One-Click prerequisites performed on the RDS Custom instance as soon as it’s provisioned.
- For SSM association, the CloudFormation
DependsOn
parameter is used to verify that the association and run of the SSM documents is only done after the RDS Custom instance is fully provisioned. - Because there are two SSM documents, the
DependsOn
parameter in the SSM association block is used to manage the run order of these documents.
Prerequisites
This solution requires the following prerequisites before you run it:
- An
Amazon Web Services account with the IAM permissions to create and manage keys, Amazon RDS,Amazon Elastic Compute Cloud (Amazon EC2),Amazon Simple Storage Service (Amazon S3), Amazon Web Services CloudFormation, and VPC-related resources - An Oracle support contract and license to access
edelivery.oracle.com and download installers and patches - A VPC with at least two private subnets and a route table attached to them for routing
- A public subnet, route table, and routes to an internet gateway if public access is needed
- A Region where
RDS Custom is available - RDS Custom IAM roles
Deploy the solution
You can use this solution through the
To deploy this solution in your account, complete the following steps:
- Download the
CloudFormation template and use either theconsole orAmazon Web Services CLI to deploy the resources. - Verify the completion of the stack deployment.
When the deployment is complete, you should see the following resources on the Amazon Web Services CloudFormation console:
- IAM role – An IAM role called
SSM-JDEOneClick-Role-xxxx
is created to allow user interaction with Amazon Web Services APIs between the Amazon Web Services services - Custom Engine Version – A CEV is created if required
- RDS Custom for Oracle instance – An RDS Custom for Oracle instance is created for JDE application
- SSM documents – Two SSM documents are created:
JDESetup-SSM-XXXXX-<region>
andJDESetup-RDS-SSM-XXXXX-<region>
- SSM association – Two SSM associations are created to run the SSM documents after the RDS Custom for Oracle instance is created
Deployment of this CloudFormation template can take up to 3 hours if also creating a CEV, or about 50 minutes if providing a prebuilt CEV.
Clean up
To avoid ongoing costs, clean up the resources you no longer need that you created as part of this solution. You can use the
Conclusion
In this post, we showed you how to deploy and configure an RDS Custom environment via Amazon Web Services CloudFormation and Systems Manager for JD Edwards One-Click. The result is an automated deployment of the database and the One-Click tool requirements without an engineer needing to engage until the database is ready for JD Edwards deployment.
If you have any questions or comments, leave them in the comments section.
About the Authors
Sharath Chandra Kampili is a Database Specialist Solutions Architect with Amazon Web Services. He works with the Amazon RDS team, focusing on commercial database engines like Oracle. Sharath works directly with Amazon Web Services customers to provide guidance and technical assistance on the database projects, helping them improve the value of their solutions when using Amazon Web Services.
Yomesh Shah is an Oracle Specialist Solutions Architect with Amazon Web Services. He has 23 years of experience helping customers get the best value from their IT investments. At Amazon Web Services, Yomesh works with customers to help them move and modernize their Oracle ERPs like JD Edwards, PeopleSoft, and E-Business Suite on Amazon Web Services.
The mentioned AWS GenAI Services service names relating to generative AI are only available or previewed in the Global Regions. Amazon Web Services China promotes AWS GenAI Services relating to generative AI solely for China-to-global business purposes and/or advanced technology introduction.