Download Prometheus Prometheus should start up and it should show a status page about itself at http://localhost:9090 Raw Metrics: http://localhost:9090/metrics Graphing Tool: http://localhost:9090/graphs Few quick steps to get ready: Attach a disk for EC2 Mount the Disk /data Copy the downloaded zip file to /data Unzip Prometheus Start Prometheus Install Nginx as reverse proxy to Prometheus […]
Allow only AWS CLI commands for the login user: $visudo ubuntu ALL=(ALL:ALL) /usr/local/bin/aws Write the lambda function Prepare the deployment package $mkdir /python-packages $virtualenv -p /usr/bin/python /python-packages $source /python-packages/bin/activate $pip install pycrypto $pip install paramiko Deactivate Virtualenv $mkdir /deployment-package $copy the GITHUB URL file here $cp -r /python-packages/lib/python2.7/site-packages/* deployment-package/ $cp -rf /python-packages/lib/python2.7/site-packages/.libs_cffi_backend deployment-package/ $chmod […]
To Understand IF http://aws.typepad.com/aws/2011/08/aws-identity-and-access-management-now-with-identity-federation.html AWS Security Token Service API Actions AssumeRole (temp creds for upto 1hr) Returns a set of temporary security credentials. You call this API using the credentials of an existing IAM user. This API is useful to grant AWS access to users who do not have an IAM identity (that is, to […]
To use this plugin, you must have: a Java Runtime Environment (JRE) of 1.6 or higher at least one database to monitor (MySQL 5.0 or higher) a New Relic account New Relic Platform Installer (NPI) is a simple, lightweight command line tool that helps you easily download, configure and manage New Relic Platform Plugins Plugin […]
Guide – to run linux command using recipes in Opsworks
Issues faced working with AWS Opsworks.