Numerous Flux customers run Flux on AWS. A two engine Flux cluster with an Oracle RDS backend was configured and set up using Windows servers in just an hour. Total cost for this environment is about 6.00 USD per day for a basic configuration.
Here’s a quick task list to get you started running Flux on AWS:
Create the database
- Sign into Amazon Web Service and connect to the AWS Console.
- Select RDS instances.
- Choose Oracle Bring Your Own License Medium Configuration.
- Create the database.
- Edit the security policy for All TCP Outbound and 1521 Inbound for Oracle.
- Start the RDS instance.
- Using SQL Developer or some local Oracle database tool, connect to the database and build the Flux tables using the username and password from creating the database.
Create the EC2 Instances
- Sign into Amazon Web Services and connect to the AWS Console.
- Select EC2 Instances.
- Launch Instance – pick Medium Instance of Windows 2012 Server Base. Use EBS storage and basically use the defaults to create. Trying to use a free tier or micro instance will not work – not enough memory or processor to reasonably run Flux.
- Edit the security policy to allow all TCP Outbound, and Inbound ports 3389, 7156, 7520, and 9000 (for cluster networking).
- Start the instance.
- Connect to the instance and get the Windows Password. It takes 4 minutes for the machine to auto-generate the Windows password. Make sure you have access to the certificate .pem file to allow you to decrypt the password.
- Sign on to the machine using Administrator and decrypted password.
- It will take 2-3 minutes for the machine to build a profile – the Windows screen stays dark during the interval.
- Start the Server Manager – select 1. Configure this local server. In the displayed properties, turn OFF IE security.
- Start the Server Manager – select 2. Add Roles and Features. Hit ‘next’ to get to features and install the Telnet Client (which is useful for troubleshooting network connectivity to the database and to other Flux engines).
- Turn off the Windows Firewall since EC2 will control port access.
- Get to Internet Explorer and download Java 8 and install.
- Download Flux 64 bit Windows install and install.
- Download the required database driver and install.
- Stop the Flux Engine Service and configure for the database.
- Open a Command Prompt and start the engine from start-engine.bat to confirm connectivity.
- Once connectivity is assured, stop the batch job and restart the Flux service.