Stress website with a Beehive (with machineguns 🔫)

Warning I deny any responsibility for using this article to launch an assault on a website that you don’t own. TL;DR In this article, you will find a procedure to launch a distributed load test of ApacheBench (AB) on your website. I will use BeesWithMachineGuns. Requirements Boto / awscli Python 2.6 - 3.6 paramiko Installation aws configure with your credentials sudo pip install https://github.com/newsapps/beeswithmachineguns/archive/master.zip Launch ssh-agent, add your key: Copy your EC2 ssh-key pair to your instance, in /home/ec2-user/.ssh/. This key will be used to launch bees. ...

March 18, 2018 · 2 min · 411 words · zoph

Using Athena & QuickSight for ALB-ELB Access Logs Analysis

In this article, I will describe how to use Athena and QuickSight to do BI/DataViz on your current Load Balancer Access Logs on AWS: ELB and ALB. From AWS: “Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to manage, and you pay only for the queries that you run.” In a few minutes, you will be able to query your access logs, even if you have a huge amount of logs, with this serverless service. I will show you how to use the AWS DataViz product called QuickSight to get some great visuals. ...

February 18, 2018 · 4 min · 687 words · zoph

[FR] Backup Jeedom sur AWS S3

Dans cet article, nous allons voir comment sauvegarder vos backups Jeedom dans le Cloud Amazon. Ok, mais combien ça coûte Amazon Web Services (AWS) ? Je pars du principe que vous avez un backup par jour pendant 1 an à sauvegarder, chaque backup fait 100 Mo (le double de ma sauvegarde actuelle) La première année pendant le FreeTier : 0,74$/mois La deuxième année après le FreeTier : 0,86$/mois Evidemment il n’y a aucun intérêt de garder autant de versions, un mois est à mon sens largement suffisant. ...

January 12, 2018 · 2 min · 386 words · zoph

[Deprecated] Jekyll CBCD Pipeline to the Cloud

Update 29/01/2019 Since AWS Amplify is out, please find a newer version here. Update 09/02/2018 I’ve updated this article to remove the EC2 used for draft check (for cost saving). I’m now using an S3 bucket with a custom _config.yml. Requirement: Before reading this article, please find these how-tos to publish a simple static Jekyll website to S3 using ACM SSL and CloudFront CDN. here, here, or here. I know, you will tell me, why are you using such a workload to publish a simple blog? It sounds crazy! Why not use Medium instead? The answer is to get my own custom blog platform, and to play with AWS tools and services. ...

November 20, 2017 · 4 min · 652 words · zoph

Update Route53 with home public IP or from EC2 Metadata

In this post, you will find how to update AWS Route53 from your current public IP (ISP) and how to use EC2 instance metadata to change your DNS A Record. Requirements To use this script, you will need: awscli (pip install awscli) dig (apt-get install dnsutils) Update Route53 with your current home Public IP First, I was facing an issue with my current ISP with a non-static IP address, so I found a useful script to update AWS Route53 daily from my Raspberry Pi. ...

November 10, 2017 · 2 min · 401 words · zoph