PHPackages                             apancutt/aws-eb-newrelic-deploynotify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. apancutt/aws-eb-newrelic-deploynotify

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

apancutt/aws-eb-newrelic-deploynotify
=====================================

Send AWS Elastic Beanstalk deployment notifications to New Relic.

v1.0(12y ago)819.9k2MITShell

Since Jan 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/apancutt/aws-eb-newrelic-deploynotify)[ Packagist](https://packagist.org/packages/apancutt/aws-eb-newrelic-deploynotify)[ RSS](/packages/apancutt-aws-eb-newrelic-deploynotify/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

AWS Elastic Beanstalk Deployment Notifications for New Relic
============================================================

[](#aws-elastic-beanstalk-deployment-notifications-for-new-relic)

This script can be executed as part of the [container commands directive](http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html#customize-containers-format-files) supported by [Elastic Beanstalk extensions](http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html) to send a deployment notification to [New Relic](http://www.newrelic.com/) via the HTTP API service.

Installation
------------

[](#installation)

1. [Download](https://raw.github.com/apancutt/aws-eb-newrelic-deploynotify/master/aws-eb-newrelic-deploynotify.sh) the bash script from this project into your application.

    ```
     cd /path/to/your/app
     mkdir bin
     wget -P bin "https://raw.github.com/apancutt/aws-eb-newrelic-deploynotify/master/aws-eb-newrelic-deploynotify.sh"
     chmod +x bin/aws-eb-newrelic-deploynotify.sh

    ```
2. Create an `.ebextensions` directory in your application root:

    ```
     mkdir .ebextensions

    ```
3. Create a new file (or append to an existing one) for the `container_commands` configuration:

    ```
     echo "00_aws-eb-newrelic-deploynotify:" >> .ebextensions/03_container_commands.config
     echo "  command: \"bin/aws-eb-newrelic-deploynotify.sh -a  -k \"" >> .ebextensions/03_container_commands.config
     echo "  leader_only: true" >> .ebextensions/03_container_commands.config

    ```

    Note: If you already have a file for container commands, simply append the following lines:

    ```
     00_aws-eb-newrelic-deploynotify:
       command: "bin/aws-eb-newrelic-deploynotify.sh -a  -k "
       leader_only: true

    ```

    Don't forget to replace the arguments with the correct values.
4. Deploy to Elastic Beanstalk and check New Relic for a deployment notification (Applications &gt; Your App &gt; Events &gt; Deployments). If a notification doesn't appear, check your environment logs in Elastic Beanstalk for any errors.

Usage
-----

[](#usage)

The installation steps above describe the minimal effort required to get this script working, but you may wish to make use of these extra options.

- `-a` The name your the application in Elastic Beanstalk.
- `-d` The name of the deployer (default: `AWS Elastic Beanstalk`).
- `-e` Error if the HTTP request fails. Note that this will abort the deployment.
- `-h` Displays this help message.
- `-k` Your New Relic API key.
- `-q` Quiet mode.
- `-v` Display version information.

Caveats
-------

[](#caveats)

- This script has only been tested with PHP applications. Please help improve this script by submitting pull requests for compatibility with alternative environments.
- The detection of the current application version is based on an undocumented feature of Elastic Beanstalk's deployment process which is subject to change without notice. The accuracy of the current version is not guaranteed.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4499d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4f0dde89f4a80fb5b2eada56c62198b1d32dcc03deca08502556e02ce2396bb?d=identicon)[apancutt](/maintainers/apancutt)

---

Top Contributors

[![apancutt](https://avatars.githubusercontent.com/u/1040525?v=4)](https://github.com/apancutt "apancutt (1 commits)")

### Embed Badge

![Health badge](/badges/apancutt-aws-eb-newrelic-deploynotify/health.svg)

```
[![Health](https://phpackages.com/badges/apancutt-aws-eb-newrelic-deploynotify/health.svg)](https://phpackages.com/packages/apancutt-aws-eb-newrelic-deploynotify)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
