AWS OpsWorks

Intro

AWS OpsWorks is “a DevOps solution for managing applications of any scale or complexity on the AWS cloud.”

OpsWorks uses chef recipes for most customer-controlled configuration. System and app logs can easily be aggregated and managed by Papertrail with a minimal chef recipe.

Setup

Aggregating logs using system-level tools

Since chef cookbooks are the core method for configuring your app on OpsWorks, Papertrail recommends configuring log management with chef recipes.

A few customers have open-sourced their standalone chef recipes for Papertrail or for related tools like rsyslog or syslog-ng. To see them, visit Add Systems, click the Text files, Apache, MySQL & more tab, and scroll to Deployment Automation.

For an introduction to OpsWorks’ configuration stages and how OpsWorks uses chef-solo, see the User Guide and Deploying Boundary within AWS OpsWorks Stacks.

Aggregating logs directly from app/framework

App logs from OpsWorks apps can often be aggregated with the same in-app logging libraries you would use in without OpsWorks. This is also true for another AWS service, Elastic Beanstalk, and covered in its Aggregating logs directly from app/framework.

Questions

We’re happy to help. Ask a question or join support chat here.