ElasticBeanstalk logs to Elasticsearch

Install filebeat on RPM Based: sudo rpm –import https://packages.elastic.co/GPG-KEY-elasticsearch create /etc/yum.repos.d/elastic.repo [elastic-6.x] name=Elastic repository for 6.x packages baseurl=https://artifacts.elastic.co/packages/6.x/yum gpgcheck=1 gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch enabled=1 autorefresh=1 type=rpm-md sudo yum install filebeat on deb based: wget -qO – https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add – sudo apt-get install apt-transport-https echo “deb https://artifacts.elastic.co/packages/6.x/apt stable main” | sudo tee Read more…

HTTPS on the cheap

HTTPS using Let’s Encrypt and NGINX on Ubuntu 16.04 LTS. In this instructions we will assume your web site is going to be hosted at www.site.com.  Install certbot Add certbot repo/key: sudo apt-get install software-properties-common sudo add-apt-repository ppa:certbot/certbot Install certbot: sudo apt-get update sudo apt-get install python-certbot-nginx Install nginx: sudo Read more…

RabbitMq Management

UPDATE: run rabbitmq in a docker container Follow these instructions to configure RabbitMq management and expose it on the web. Check this post for instructions on how to setup RabbitMq on Ubuntu 16.04. Enable Plugin In order to list all the plugins and whether they are enabled or not, run: sudo rabbitmq-plugins Read more…