In a scaled-out scenario for Content Delivery Deployers, it is possible to setup an AWS ElastiCache Redis DB as the Binary Storage medium for incoming transport packages.
The Deployer Receiver writes these transport package zip files into the Binary Storage Redis instance. Then it is up to the Deployer Workers to read these zip files as they deployer/underploy the content.
Below, we present the configurations for an AWS ElastiCache Redis acting as storage medium for transport packages.
Start by simply creating an ElastiCache Redis instance in AWS console. This whole step might take you 5 minutes :)
AWS will give you the hostname where the Redis DB is available and the port, usually 6379.
In your deployer-conf.xml, setup this Redis instance using the BinaryStorage node format as below:
<BinaryStorage Id="RedisStorage" Adapter="RedisBlobStorage">
<Property Name="Host" Value="10.10.2.232"/>
<Property Name="Port" Value="6379"/>
<Property Name="Timeout" Value="20000"/>
</BinaryStorage>
The Deployer Receiver writes these transport package zip files into the Binary Storage Redis instance. Then it is up to the Deployer Workers to read these zip files as they deployer/underploy the content.
Below, we present the configurations for an AWS ElastiCache Redis acting as storage medium for transport packages.
Start by simply creating an ElastiCache Redis instance in AWS console. This whole step might take you 5 minutes :)
AWS will give you the hostname where the Redis DB is available and the port, usually 6379.
In your deployer-conf.xml, setup this Redis instance using the BinaryStorage node format as below:
<BinaryStorage Id="RedisStorage" Adapter="RedisBlobStorage">
<Property Name="Host" Value="10.10.2.232"/>
<Property Name="Port" Value="6379"/>
<Property Name="Timeout" Value="20000"/>
</BinaryStorage>
Perform the setup both on the Deployer Receiver as well as on all Deployer Workers.
Note that the size of the transport package is limited to 512MB when using a Redis Binary Storage medium. This limitation is apparently given by Redis, which can't store more than 512MB in an entry.
Comments