Data Expedition, Inc.

Move Data Faster


Tech Notes
Configuring Firewalls
Vista Firewall
License Binding
Anon. Win32 servedat
Windows 7 Firewall
Amazon Web Services
NAS Authentication
Diagnostic Logging
Load Balancing

Amazon Web Services

Page Index:
Instance Types
UDP Buffers
Network Speed
License Binding
Tech Note History
Oct072014Updated Everything
Jul232014Updated UDP
Elastic IP
May042011Updated Firewall
Apr222011Changing Type
Mar232011Instance ID
Nov172010First Post

Amazon Web Services

ExpeDat and SyncDat software can be installed on AWS EC2 instances just like any other Linux or Windows system.

This article is about installing stand-alone DEI software on EC2 instances.  For information about our AMI backed AWS Marketplace offerings, see our AWS Marketplace page.

Choosing an Instance Type

For the best performance (up to 1 gigabit per second, with encryption), use an m3.xlarge instance or better.  Smaller instance types, even a micro instance, can still achieve good performance depending on the factors below.

The "Network Performance" rating of an instance determines the consistency of network throughput.  A "High" rating is needed for steady 1 gigabit per second throughput.

CPU utilization can become a factor when speeds exceed a few hundred megabits per second or encryption is enabled.  Four ECUs is enough to provide up to 1 gigabit per second of throughput with encryption enabled.

Filesystem performance will be highest for local instance (ephemeral) storage.  EBS (Elastic Block Storage) filesystems are normally limited to a few hundred megabits per second, but you can achieve high speeds by provisioning your storage as an EBS-Optimized volume.

An EC2 instance may experience severe performance limitations for several hours after changing an instance type, or mounting a new EBS volume.

For accelerated access to S3, you may subscribe to or purchase the ExpeDat Gateway for Amazon S3.  It can push data into S3 objects at up to 700 megabits per second.

Performance will also be influenced by all of the factors which normally affect a computer system.  See the ExpeDat performance documentation for details.


When installing servedat on EC2, you will need to open UDP port 8080 in the firewall.  This can be done by modifying the "Security Group" after the initial setup.

Security Group
  1. In the EC2 management console, click "Security Groups".
  2. Select the group assigned to your EC2 instance.
  3. In the frame below, select the "Inbound" tab.
  4. Click Edit.
  5. In the "Edit inbound rules" dialog, click "Add Rule".
  6. In the "Type" pop-up menu, select "Custom UDP rule".
  7. Enter a port range of "8080" (assuming you are using the default ExpeDat or SyncDat server port).
  8. For general client use, set Source to "Anywhere".
  9. Click "Save".

For general information about firewalls, see Tech Note 0002.

Linux System Authentication

The default Linux AMI does not assign a password to user accounts.  If you wish system users to authenticate to servedat, you must create a password for each.

While logged on as an administrative user, use the command "sudo passwd username".  For example, to create a password for the default user account:

sudo passwd ec2-user

For general information about system user authentication, see the servedat "System Authentication" manual page.

Linux UDP Buffers

The linux kernel limits UDP buffers to sizes which are not appropriate for modern high-speed networks.

If you install the servedat server, it will automatically correct the buffer sizes each time the service starts.

To permanently correct the UDP buffer limit for both clients and servers, add the following lines to /etc/sysctl.conf:

net.core.wmem_max=1048576 net.core.rmem_max=1048576

For those changes to take effect, you must either reboot or type the following commands:

sudo /sbin/sysctl -w net.core.wmem_max=1048576 sudo /sbin/sysctl -w net.core.rmem_max=1048576

See Tech Note 0024 for more about operating system UDP limitations.

Network Speeds

Amazon does not guarantee any particular level of network speed, but the following guidelines generally apply:

  • EC2 instances rated for "High" Network Performance will provide more consistent performance.
  • EBS volumes which are configured as "EBS-Optimized" will provide higher performance.
  • The fastest speeds are between instances within the same AWS region.
  • Second fastest speeds are between instances in different AWS regions.
  • Speeds to the Internet are the slowest and most variable.

Performance will also be influenced by all of the factors which normally affect a computer system.  See the ExpeDat performance documentation for details.

License Binding

Traditional host identifiers and IP addresses are not persistent in EC2 and cannot be used for MTP license binding.  Instead, the following options are available for EC2 hosted software:

  • Elastic IP  Each AWS account may hold one or more static, public IP addresses which may be assigned to individual instances.  Binding to an Elastic IP address will allow the software to run on the EC2 instance which has been assigned that address.
  • Instance ID  Each instance has an identifier in the form i-xxxxxxxx which is persistent across reboots, stop/start cycles, and type changes.  An instance ID remains constant so long as you do not terminate it.

See Tech Note 0007 for more details about host binding options.


AWS may change EC2 specifications at any time, and additional setup steps may be required when installing host-bound software on an EC2 instance.  Make sure to discuss EC2 details with your DEI representative prior to deployment.