AWS EC2 Installation¶
This section covers the virtual machine requirements for installation of a dedicated Delphix Masking Engine on Amazon's Elastic Cloud Compute (EC2) platform.
For best performance, the Delphix Masking Engine and all database/file servers should be in the same AWS region.
The following topics are covered:
- Instance Types
- Network Configuration
- EBS Configuration
- General Storage Configuration
- Additional AWS Configuration Notes
Instance Types¶
The Delphix Masking Engine can run on a variety of different instances, including large memory instances (preferred) and high I/O instances. We recommend the following large memory and high I/O instances:
Requirements | Notes |
---|---|
Large Memory Instances (preferred) r5n.2xlarge r5n.4xlarge r5n.8xlarge r5n.16xlarge r5n.24xlarge r4.2xlarge r4.4xlarge r4.8xlarge r4.16xlarge |
- Larger instance types provide more CPU, which can prevent resource shortfalls under high I/O throughput conditions. - Larger instances also provide more memory, which the Delphix Engine uses to cache database blocks. More memory will provide better read performance. |
High I/O Instances (supported) i3.2xlarge i3.4xlarge i3.8xlarge |
TIP - Estimating Delphix VM Memory Requirements
On the AWS EC2 platform, the Delphix Masking Engine must have sufficient memory to operate when multiple masking jobs are running. Our recommendation is to provide 8 GB of memory for the Delphix Masking Engine in addition to any memory that will be used by running jobs.
Network Configuration¶
Requirements | Notes |
---|---|
Virtual Private Cloud | - You must deploy the Delphix Engine and all of the source and target environments in a VPC network to ensure that private IP addresses are static and do not change when you restart instances. - When adding environments to the Delphix Engine, you must use the host's VPC (static private) IP addresses. |
Static Public IP | The EC2 Delphix instance must be launched with a static IP address; however, the default behavior for VPC instances is to launch with a dynamic public IP address – which can change whenever you restart the instance. If you're using a public IP address for your Delphix Engine, static IP addresses can only be achieved by using assigned AWS Elastic IP Addresses. |
Security Group Configuration | The default security group will only open port 22 for SSH access. You must modify the security group to allow access to all of the networking ports used by the Delphix Engine and the various source and target engines. |
Storage Configurations¶
Note
You must always attach a minimum of 2 storage pools to the Delphix Engine; one for rpool and other for domain0 pool.
EBS Configuration¶
Deploying Delphix on AWS EC2 requires EBS provisioned IOPS volumes. Since EBS volumes are connected to EC2 instances via the network, other network activity on the instance can affect throughput to EBS volumes. EBS optimized instances provide guaranteed throughput to EBS volumes and are required to provide consistent and predictable storage performance.
Requirements | Notes |
---|---|
<<<<<<< HEAD | |
EBS Provisioned IOPS Volumes Note: All attached storage devices must be EBS volumes. |
- Delphix does not support the use of instance store volumes. - Use EBS volumes with provisioned IOPs in order to provide consistent and predictable performance. The number of provisioned IOPs depends on the estimated IO workload on the Delphix Engine. - Provisioned IOPs volumes must be configured with a volume size to provisioned IOPs per the EBS Volume Types guidelines. - I/O requests of up to 256 kilobytes (KB) are counted as a single I/O operation (IOP) for provisioned IOPs volumes. Each volume can be configured for up to 4,000 IOPs. |
======= | |
EBS Provisioned IOPS Volumes Note: All attached storage devices must be EBS volumes. |
- Delphix does not support the use of instance store volumes. - Use EBS volumes with provisioned IOPs in order to provide consistent and predictable performance. The number of provisioned IOPs depends on the estimated IO workload on the Delphix Engine. - Provisioned IOPs volumes must be configured with a volume size of at least 30 GiB times the number of provisioned IOPs. For example, for a provisioned volume of 3000 IOPs, you would need at least 100 GiB since the volume required is at least thirty times the provisioned IOP. - I/O requests of up to 256 kilobytes (KB) are counted as a single I/O operation (IOP) for provisioned IOPs volumes. Each volume can be configured for up to 4,000 IOPs. |
>>>>>>> 8e62f181148fb175232aa86e4436cdb993c0f569 |
System Disk¶
The minimum recommended storage size for the System Disk is 300 GB.
Metadata Disk(s)¶
The minimum recommended storage size of the Metadata Volume is 50 GB.
General Storage Configuration¶
Requirements | Notes |
---|---|
- Allocate initial storage equal to the size of the physical source database storage. - Add storage when storage capacity approaches 30% free. |
- For high redo rates and/or high DB change rates, allocate an additional 10-20 %. - Add new storage by provisioning new volumes of the same size. - This enables the Delphix File System (DxFS) to make sure that its file systems are always consistent on disk without additional serialization. This also enables the Delphix Engine to achieve higher I/O rates by queueing more I/O operations to its storage. |
EBS Volume Size and Count - Keep all EBS volumes the same size. Maximize Delphix Engine RAM for a larger system cache to service reads - Use at least 4 EBS volumes to maximize performance. |
This enables the Delphix File System (DxFS) to make sure that its file systems are always consistent on disk without additional serialization. This also enables the Delphix Engine to achieve higher I/O rates by queueing more I/O operations to its storage. |
Additional AWS Configuration Notes¶
- Using storage other than EBS is not supported.
- Limits on the number of volumes are dictated by the EBS instance type, and is generally advised that over 40 can be expected to cause issue on Linux VMs. More information can be found in the AWS Volume Limits and AWS Volume Constraints articles. The maximum device limit imposed by AWS can be handled by the Delphix Engine.
- The use of the local SSDs attached to i2 instance types is not supported.
- Using fast storage for EBS volumes is supported and recommended, including (in order of decreasing speed):
- Provisioned IOPS (io1) volumes (recommended).Virtual Machine Requirements for AWS EC2 Platform vLumen
- General Purpose SSD (gp2) volumes (supported)
- Throughput Optimized HDD (st1) volumes (supported)
- Cold HDD (sc1) volumes (not supported due to poor performance)
- Magnetic (standard) volumes (supported, but use st1 instead where possible)
Installing AMI on AWS EC2¶
The following two methods can be used to install/deploy Delphix Masking in AWS:
-
Access Delphix provided AMI through the Delphix download site
-
Subscribe to Delphix Masking through the Amazon Marketplace
Using the Delphix Download site to Deploy Masking¶
-
On the Delphix download site, click the AMI you would like to share and accept the Delphix License agreement. Alternatively, follow a link given by your Delphix solutions architect.
-
On the Amazon Web Services Account Details form presented:
-
Enter your AWS Account Identifier, which can be found here: https://console.aws.amazon.com/billing/home?#/account. If you want to use the GovCloud AWS Region, be sure to enter the ID for the AWS Account which has GovCloud enabled.
-
Select which AWS Region you would like the AMI to be shared in. If you would like the AMI shared in a different region, contact your Delphix account representative to make the proper arrangements.
-
-
Click Share. The Delphix Engine will appear in your list of AMIs in AWS momentarily.
-
Reference the Installation and Configuration Requirements for AWS/EC2 when deploying the AMI.
-
Once you have launched your Delphix Masking EC2 instance and it is accessible via a web browser (port 80), proceed to Setting up the Delphix Engine to configure the system.
Subscribing to Delphix Masking through Amazon Marketplace¶
-
Sign into the AWS Console.
-
Navigate to AWS Marketplace.
-
Typing Delphix in the search bar will find several Delphix Product offerings. Select Delphix Masking for AWS (3TB).
-
Click Continue to Subscribe.
-
Click Accept Terms.
-
Wait for the subscription to be confirmed, then click Continue to Configuration.
-
Select or verify the correct Region for launch/deployment.
-
Then click Continue to Launch.
-
Select either to Launch from Website or Launch through EC2.
-
For either option you will need to enter the following:
a. VPC in which to launch the instance.
b. Subnet on which the instance will reside.
c. Instance Type (Recommended: r4.2xlarge).
d. Security Group (Minimal access required: 22, 80 or 443).
-
Once the Delphix EC2 instance is launched proceed to Setting up the Delphix Engine to configure the system.