The AWS backend uses EBS volumes as the storage for datasets.
This backend can be used when Flocker dataset agents are run on EC2 instances.
agent.yml configuration file for the AWS backend should contain the following:
dataset: backend: "aws" region: "<region slug; for example, us-west-1>" zone: "<availability zone slug; for example, us-west-1a>" access_key_id: "<AWS API key identifier>" secret_access_key: "<Matching AWS API key>"
Make sure that the
zone match each other and that both match the region and zone where the Flocker agent nodes run.
AWS must be able to attach volumes created in that availability zone to your Flocker nodes.
In addition to the mandatory properties shown, there are some optional properties:
An AWS session token. This allows cross-account access. It is mainly useful for testing since session tokens only last for a short time. For more information on when session tokens are required, see the AWS instructions for Temporary Security Credentials.
Boolean indicating whether to validate the supplied region. This defaults to True. It is set to False for internal testing.
The Amazon AWS / EBS driver maintained by ClusterHQ provides Flocker Storage Profiles. The three available profiles are:
io1. Configured for maximum IOPS for its size - 30 IOPS/GB, with a maximum of 20,000 IOPS.
If no profile is specified, then a bronze volume is created, which is consistent with previous behavior.
After configuration you are subject to the normal performance guarantees that EBS provides. For further information, see the Amazon EBS Product Details.