Anda di halaman 1dari 30

InstallingAgile

Delphix
on AWS
Delphix
Data
Platform
I have looked at clouds from both sides
now,
From up and down, and still somehow,
Its clouds illusions I recall,
I really dont know clouds at all

2014 DELPHIX. ALL RIGHTS RESERVED. PRIVATE & CONFIDENTIAL.


Use, reproduction, or disclosure is subject to restrictions set forth in Contract Number 2009*0674524*000 and Sub Contract No. Delphix 01.

Agenda

1.AWS Overview
2.Prerequisites
3.Installation
4.Demo

rce: Business Insider (http://www.businessinsider.com/amazon-web-services-market-share-2014-6)

Why Delphix on AWS?


Customers want to run Delphix on AWS
AWS is currently winning public cloud battle over
Azure, Google, and Rackspace
Delphix can help customers migrate data to
public cloud while production data can remain on
premise hybrid model

AWS Terminology for Delphix


Elastic Compute Cloud (EC2)
Virtual Machine Server Infrastructure
Amazon Machine Image (AMI)

Elastic Block Storage (EBS)


Simple Storage Service (S3)
Buckets that store data required for Delphix storage

Virtual Private Cloud (VPC)


Required for Delphix Engine to have a static IP address
Source and target hosts also require static IP addresses

Regions & Availability Zones:


Example Region: ap-northeast-1
Example Availability Zone: ap-northeast-1a

AWS Management Console:

Agenda

1.AWS Overview
2.Prerequisites
3.Installation
4.Demo

Prerequisites before AWS install


1. Install EC2 API CLI tools
2. http://docs.aws.amazon.com/AWSEC2/latest/Comm
andLineReference/set-up-ec2-clilinux.html
3. Following instructions are for Mac OS X only:
4. Download the EC2 API CLI tools from:
http://aws.amazon.com/developertools/351
5. [user]#wget
http://s3.amazonaws.com/ec2downloads/ec2
apitools.zip
6. Unzip tools into /usr/local/ec2directory for
example

Install or Verify Java 1.7 is installed


7. [user]#whichjava

Should return /usr/bin/java

8. [user]#/usr/libexec/java_home

Should return:
/Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/H
ome
If not then download & install a Java 1.7 development kit from:
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downl
oads-1880260.
html

Set All Environment Variables:


9. Edit your ~/.bash_profilefile with the following:

10. The AWS Access Key and AWS Secret Key are
given to you when you sign up for an AWS account
11. Verify AWS EC2 CLI Tools are installed by running
12.[user]#ec2describeregions
13. You should see a list of AWS regions

README.AMI file contents


1. Ensure that you have the EC2 API CLI tools installed.
2. Set AWS_ACCESS_KEY and AWS_SECRET_KEY as detailed on
http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReferenc
e/set-up-ec2-clilinux.html
3. Run the shell script currently only tested on Linux not
Mac OS X
4. When the script prompts you, enter the following information:
4a. The installation location of the EC2 API CLI tools.
4b. The availability zone the temporary image will be uploaded
to. This availability zone should ideally be the one that instances
will be created in when using this AMI.
4c. The S3 bucket that the manifest should be stored in. This
bucket must be in the same region as the previously specified
availability zone.

Agenda

1.AWS Overview
2.Prerequisites
3.Installation
4.Demo

Run the Shell Script & Give Inputs

Enter the AWS region: us-east-1


Enter the AWS availability zone: us-east-1a
Enter the S3 bucket: dlpx41-test

Shell Script Output 20-30 minutes

Shell Script Output 20-30 minutes

Shell script only work on Linux on Mac OS X!


Set up a Linux VM on AWS or on your laptop with
VMWare Fusion
EC2 API Tools install and configuration are very
similar to the Mac OS X

Deploying AMI Click Launch

Choose Instance Type Click Next

Recommended Instance Types:

Configure Instance

VPC Networking
Only do not
support EC2
Classic
networking
Public IP
Checked
EBS-optimized
instance
checked

Storage Recommendations:

Must be EBS volumes & Provisioned IOPS


Three EBS volumes for ZFS striping
Added in equal increments

Add Storage

Tag Instance Not Required

Not necessary to Tag the Instance

Security: Only Port 22 Open by Default

Security: Network & Firewall

Security: Configure Firewall

Review and Launch Instance:

Proceed without key pair:

Lift off!
All systems go!

Hit Public IP & Configure Engine

Agenda

1.AWS Overview
2.Prerequisites
3.Installation
4.Demo

Anda mungkin juga menyukai