LiquidFiles Documentation
LiquidFiles Documentation

Amazon EC2 Installation

In the Amazon Elastic Cloud, it's possible to launch a pre-configured LiquidFiles Virtual Appliance. Amazon has several data centres across the globe. LiquidFiles has pre-configured virtual appliances in all of Amazon's EC2 data centres.

Amazon Virtual Private Cloud (VPC) Configuration

For any Amazon EC2 instance to operate, you will need to configure Amazon Virtual Private Cloud (VPC) in the Amazon AWS space. If you're starting a complete fresh Amazon environment and LiquidFiles is your first instance, please follow these instructions to Configuration Amazon Virtual Private Cloud (VPC).

Installation

This is a step by step instruction for setting up LiquidFiles in the Amazon EC2 cloud.

First, login or create an account at the Amazon EC2 console.

First, select the region where you want to Launch the LiquidFiles instance. Select Instances in the left hand menu and click "Launch Instance."

EC2 console launch instance

In the Community AMI area, please search for "liquidfiles" and the LiquidFiles Virtual Appliance instance will be ready to be selected.

EC2 search for LiquidFiles AMI EC2 select LiquidFiles AMI EC2 instance type selection EC2 launch instance confirmation

Regions

Here is the complete list of different EC2 regions and respective AMI's. Latest AMI Version: v4.3.6. The system is set to automatically update to the latest version as part of the nightly maintenance.

Region Location AMI
USA
us-east-1 N. Virginia ami-06ce15cb004d3a126
us-east-2 Ohio ami-0d74cca6477544295
us-west-1 N. California ami-0cd2692309511303a
us-west-2 Oregon ami-0eafd70d865efd3f3
Africa
af-south-1 Cape Town ami-099993550f3886489
Asia Pacific
ap-east-1 Hong Kong ami-05cfa17183adec8c0
ap-south-1 Mumbai ami-081c6d7ec817796d4
ap-south-2 Hyderabad ami-0c68cd5cd5403716d
ap-southeast-1 Singapore ami-0efe7d8721df52979
ap-southeast-2 Sydney ami-0fa4a3d7c43e3992d
ap-southeast-3 Jakarta ami-0eb1bf4cb12de6add
ap-southeast-4 Melbourne ami-092cb9e6c3fbee1f7
ap-northeast-1 Tokyo ami-0f39ba8f406538cb4
ap-northeast-2 Seoul ami-069a4f7334951bb9d
ap-northeast-3 Osaka ami-0868a0908acbfb0cd
Canada
ca-central-1 Canada ami-062fc04eaac5254f2
ca-central-1 Calgary ami-0da37faa966a75f0d
Europe
eu-central-1 Frankfurt ami-014a5a162fddcc905
eu-central-2 Zurich ami-08dcfb4d21f63fb30
eu-west-1 Ireland ami-050480412fe64ef37
eu-west-2 London ami-02482627bec18c21c
eu-west-3 Paris ami-0a3f570d97d26e9fc
eu-north-1 Stockholm ami-0ad912a099372c209
eu-south-1 Milan ami-0c216d95be950dca0
eu-south-2 Spain ami-0e0974972fedb3dc3
Middle East
me-south-1 Bahrain
me-central-1 UAE ami-0a6a6bbcd5b119742
Israel
sa-east-1 Tel Aviv ami-0cc6a467146260d19
South America
sa-east-1 Sao Paulo ami-095dafe5ce5f668af

With the Instance Type, a t3.micro (or t3a.micro) instance is fine for testing. With a t3.micro you won't have access to AV scanning. For production a t3.small is fine to start with and you may want to move to a t3.medium if you have more than about 20 users (depending on usage).

The default disk size is 20GB. You can increase this as much as you need for your requirements.

If you later want to increase the disk space, you can shut down the instance, go to the Volumes and select to modify your Volume. When you reboot the LiquidFile system it will automatically resize the filesystem to use all available disk space. EC2 volumes modify option EC2 volume size modification

The following Security Group is a complete list of ports if you enable all features in LiquidFiles. A couple of notes:

  • The four ICMP rules at the top of the list are strictly not needed for operation but are generally considered safe and will improve stability, operation and troubleshooting.
  • 192.1.2.0/26 in the TCP/222 port section should be replaced with your own external admin network.
  • Please see the: System & Firewall configuration for more details on the required ports.
EC2 security group port configuration

This is the old style AWS config, but it shows the information you need better.

At this point the LiquidFiles system is booting (after you've hit Launch Instance) and you can continue that part in the Getting Started section.

Next Steps — Static IP, DNS & Reverse DNS

For production systems, it's a good idea if we can to configure Static IP addresses as that make DNS configuration easier and more reliable.

Configure Fixed IP / Elastic IP

Please login to the AWS management console and go to EC2 → Elastic IP

EC2 Elastic IP menu EC2 allocate Elastic IP address

After we've allocated our Elastic IP, we need to associate it with our LiquidFiles instance.

EC2 associate Elastic IP to instance

When the Elastic IP has been successfully associated with our LiquidFiles instance, we can copy the address and use that for our DNS server configuration.

EC2 Elastic IP association successful

Depending on your DNS Server/Service, the configuration is going to be a little bit different, and somewhere you will have the ability to add a name with an A record that has the value from the Amazon Elastic IP address we just allocated ourselves.

In our example, we use the name: liquidfiles.liquidftest.com that is mapped to 13.56.7.180.

DNS A record configuration example

Configure Reverse DNS

Once the DNS is configured, you can configure the Reverse DNS in the AWS console. There is a validation that the DNS configured matches the Reverse DNS you want to configure so you'll need to make sure your DNS is configured properly first.

EC2 configure reverse DNS

Above we configured files.liquidftest.com mapped to 13.56.7.180, here we're configuring 13.56.7.180 mapping to files.liquidftest.com.

EC2 reverse DNS confirmation

Please continue on the Getting Started page.