GreenSQL AWS Deployment
Table of Contents 2 Table of Contents... 3 from Amazon's Marketplace... 3 from Amazon's EC2 Console... 3 Amazon Launch Wizard walkthrough... 4 Post-installation procedures... 7 Recommended Specifications... 8
3 The following document describes how to launch a new GreenSQL server from Amazon. from Amazon's Marketplace 1. Open the AWS MarketPlace site: https://aws.amazon.com/marketplace. 2. Search for GreenSQL. 3. Select a region. 4. Click on the Continue button. 5. Fill in the information for the server (see the section that follows for more details). 6. Click on the Accept Terms & Launch with 1-Click button. from Amazon's EC2 Console 1. Open the EC2 main page. 2. Make sure that you have selected the region from which you want to launch the new GreenSQL instance. 3. Click on the blue Launch Instance button. 4. In the left navigation panel, click on AWS Marketplace. 5. Search for GreenSQL, and select the AMI that you want to configure. 6. In the pop-out window, review the details and click Continue.
4 Amazon Launch Wizard walkthrough 1. In the Choose an Instance Type window, choose a server type for the GreenSQL instance and click Next: Configure Instance Details. 2. In the Configure Instance Details window, configure the GreenSQL instance details and click Next: Add Storage. Recommended specs are shown in the example below.
5 3. In the Add Storage window, add storage (disks) to the GreenSQL instance and click Next: Tag Instance. 4. In the Tag Instance window, create a tag for the GreenSQL instance the name of the GreenSQL instance in the Amazon EC2 console, and click Next: Configure Security Group.
6 5. In the Configure Security Groups window, configure security groups (firewall rules for the GreenSQL instance) and click Review and Launch. Please note, GreenSQL proxies can be configured to listen on different port numbers (e.g 1433, 3306). Please make sure that the proxies ports are accessible. 6. In the Review Instance Launch window, review the settings and click Launch.
7 Post-installation procedures The following section describes how to obtain a trial key for your GreenSQL for AWS. In the Product Activation window click the link to get the GreenSQL AWS license key. 1. In the GreenSQL for Amazon Web Services window, in the Request Trial Key form, enter your name, email address, company name, database type, phone number and operating system type, and click Download Free Trial. After receiving the license key go back and to put the license in the edit box.
8 Recommended Specifications Note: Tested on RDS instances MySQL (m3.large), MSSQL (m3.xlarge). Parameter Recommended Setting Comments Instance Type c3.large Compute (c3.xxx) is preferred over memory (m3.xxx); can be extended to c3.xlarge on strong DBs Security Group Rules Allow TCP ports 5000 (web management - https), Proxies listening ports (e.g. 1433, 3306), 22 (ssh) - from 0.0.0.0/0; tighten security rules after the deployment succeeds. Make sure that your RDS/EC2-DB allows communication to the new GreenSQL instance IP address or network (for example, 172.31.1.123/32 172.31.1.0/24): MySQL open TCP port 1433(default) for the GreenSQL instance. MSSQL open TCP port 3306(default) for the GreenSQL instance. Availability Zone Placement Group (applicable only for EC2-DB) Same as your RDS/EC2-DB Instance Create Chosen when launching the server subnet selection. Create a placement group and place both GreenSQL and the DB inside (when launching the new server).