Posts

Image/Environment build tools

Vagrant - creates VM dev/ops environments, i.e., VBox, VMware Packer - creates cloud instance images using other tools like chef, puppet, ansible, etc. Ansible - executes playbooks to install dependencies and configure OSs for specific purposes Terraform - creates and manages environments across disparate IaaS providers, resolves dependencies and order creation and changes

Load Generators

Cloud Locust Storm Forger App Apache JMeter HP LoadRunner ApacheBench Grinder Gatling

Inexpensive Hosting Options

Digital Ocean Atlantic.net

Low Latency Web

Low Latency Web The following kernel parameters were changed to increase the number of ephemeral ports, reduce TIME_WAIT, increase the allowed listen backlog: echo "2048 64512" > /proc/sys/net/ipv4/ip_local_port_range echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse echo "10" > /proc/sys/net/ipv4/tcp_fin_timeout echo "65536" > /proc/sys/net/core/somaxconn echo "65536" > /proc/sys/net/ipv4/tcp_max_syn_backlog The load generator is  wrk , a scalable HTTP benchmarking tool. wrk -t 10 -c N -r 10m  http://localhost:8080/index.html  where N = number of connections.  Apache Benchmarking tool

Service Discover and Configuration

Consul Start consul on localhost with UI consul agent -server -ui-dir /opt/consul/consul-ui -bootstrap-expect 1 -data-dir /tmp/consul http://localhost:8500/ui/dist/#/dc1/services

SSH login notification

Use SNORT Use /etc/profile Use pam_notify module Use auditd auditctl -A exit,always -S connect auditctl -A exit,always -S accept Monitor the /var/log/auth.log

Linux monitoring

htop - interactive process viewer atop - interactive load monitor top - interactive task monitor ss -s - connection counts and states