SSH into your EC2 instance. Run the following:
$ sudo yum install gcc This may return an "already installed" message. That's OK.
$ wget http://download.redis.io/redis-stable.tar.gz && tar xvzf redis-stable.tar.gz && cd redis-stable && make
| /** | |
| * An AngularJS directive for Dropzone.js, http://www.dropzonejs.com/ | |
| * | |
| * Usage: | |
| * | |
| * <div ng-app="app" ng-controller="SomeCtrl"> | |
| * <button dropzone="dropzoneConfig"> | |
| * Drag and drop files here or click to upload | |
| * </button> | |
| * </div> |
| input { | |
| lumberjack { | |
| # The port to listen on | |
| port => 5043 | |
| # The paths to your ssl cert and key | |
| ssl_certificate => "/etc/pki/tls/certs/logstash-forwarder/logstash-forwarder.crt" | |
| ssl_key => "/etc/pki/tls/private/logstash-forwarder/logstash-forwarder.key" | |
| # default type, but this will already be set by logstash-forwarder anyways |
| [ | |
| "😁", | |
| "😂", | |
| "😃", | |
| "😄", | |
| "😅", | |
| "😆", | |
| "😉", | |
| "😊", | |
| "😋", |
| { | |
| "initial:before": { | |
| "loopback#context": { | |
| "params": { "enableHttpContext": true } | |
| }, | |
| "loopback#token": {}, | |
| "loopback#favicon": { | |
| "params": "$!../client/images/govright-favicon.ico" | |
| }, | |
| "./middleware/logging": {}, |
| # Procedure is for Ubuntu 14.04 LTS. | |
| # Using these guides: | |
| # http://datacenteroverlords.com/2012/03/01/creating-your-own-ssl-certificate-authority/ | |
| # https://turboflash.wordpress.com/2009/06/23/curl-adding-installing-trusting-new-self-signed-certificate/ | |
| # https://jamielinux.com/articles/2013/08/act-as-your-own-certificate-authority/ | |
| # Generate the root (GIVE IT A PASSWORD IF YOU'RE NOT AUTOMATING SIGNING!): | |
| openssl genrsa -aes256 -out ca.key 2048 | |
| openssl req -new -x509 -days 7300 -key ca.key -sha256 -extensions v3_ca -out ca.crt |
SSH into your EC2 instance. Run the following:
$ sudo yum install gcc This may return an "already installed" message. That's OK.
$ wget http://download.redis.io/redis-stable.tar.gz && tar xvzf redis-stable.tar.gz && cd redis-stable && make
Spin up three m3.medium EC2 ubuntu 14.04 instances with public DNS enabled and configure them for high network traffic by increasing these limits:
Added fs.file-max=80000 to /etc/sysctl.conf
Added the following lines to /etc/security/limits.conf