<- Back to Index

Example AWS Implementation

This repo includes a sample AWS CloudFormation Template available at dev-resources/templates/lrspipe_ec2.yml. This template creates an EC2 Instance and launches an LRSPipe job on the server in Amazon Web Services. The template does not create the source or target LRS implementations and requires you to ensure that the Instance has proper access to both. In this section we will discuss how to deploy the LRSPipe template.

NOTE: This configuration is not one-size-fits-all and you may require a different configuration for your particular needs. It is provided for demonstration purposes only and can be used as a reference to adapt to your particular enterprise's needs. If you apply these templates in your own AWS account, it can and will incur charges from Amazon Web Services. Yet Analytics is in no way responsible for any charges due to applying and implementing these templates, and is in no way responsible for any outcomes of applying these templates or implementing LRSPipe. If your team is interested in consulting or support in setting up or maintaining LRS Forwarding through LRSPipe or LRS infrastructure in general please contact Yet here.

Deployment

(Optional) Redis Persistence

By default the LRSPipe CloudFormation template stores job state on the local disk of the EC2 instance running the LRSPipe process. If the instance is terminated all job state is lost. If you would like to persist job state outside of the instance an optional template is provided to do this with AWS ElastiCache Redis.

To deploy the Redis template:

Configuration

Configure the Redis template parameters. Leave settings at the default where provided and set the following:

Now click 'Next' and proceed to deploy the template. When the template deployment is complete, proceed with the next section.

LRSPipe Process

Deploy the CloudFormation Template for the LRSPipe process:

Configuration

LRSPipe Template Deployment Options

On the next page you will be presented with a number of deployment options. We will detail each one below:

Now click 'Next' and proceed to deploy the template.

Monitoring

LRSPipe Template Deployment Options

This template comes with a CloudWatch configuration that allows you to view the logs directly in AWS. Once the template is deployed, in order to find the logs, go to the resources tab as pictured below and click the LogGroup link. This will take you to the index of logs available for viewing. Note: Keep in mind that CloudWatch has a slight publishing delay from the time that an event occurs in the system. These logs can be used to ensure that the LRSPipe configuration was deployed successfully, or to debug issues that may arise.

<- Back to Index