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 · Victor Grenu

Create your own Twitter bot in 10 minutes

Update November 2017: Since November 2017, I’ve updated my GitHub repository with a manual to use this bot with a Lambda function (Serverless). It’s more efficient and cost-effective than running a full-time EC2 instance. This dead simple Node.js Twitter bot will retweet statuses based on your current search criteria, follow users based on the same criteria, and favorite tweets too. I’m using this to learn the Node.js language and Git. Actual Features: ...

June 12, 2017 · 2 min · 258 words · Victor Grenu

Wanacry or Wanasmile?

In this article, you will find best practices regarding security and the high availability of your data to prevent the spread of Wanacry and other ransomware. What is wanacry? Wanacry is a ransomware that uses a hole in the SMB protocol called EternalBlue, then DoublePulsar is installed as a backdoor to run Wanacry. After you get infected, your files begin to be encrypted with the AES-128-CBC cipher, and then a popup asks you for a ransom to get them back. It spreads through the network using port TCP/445 (SMB v1). ...

May 29, 2017 · 5 min · 917 words · Victor Grenu

awless a powerful alternative to AWS CLI

Yesterday, I was attending a meetup from the great French AWS Users Group, and Henri showed us a great new project he is working on, called: awless. awless is a great alternative to the official AWS CLI. It’s written in Go, and available under the Apache license on GitHub. awless will enhance your experience with the CLI with key features like: autocompletion, offline mode (--local), template support, revert capabilities, etc. Using a well-known syntax: subject, verb, complement, it drastically simplifies daily operations with the CLI, for example: ...

May 17, 2017 · 3 min · 564 words · Victor Grenu

Office 365: Office 2016 Installation from USBKey using relative path

[30/04/17] Update: Following this post, I’ve pushed this script to GitHub if you want to contribute. I was trying to use the Office Deployment Tool (ODT) with a relative path for our Office 2016 ProPlus deployment (on USB Key & Hard Drive). USB Keys are mounted each time with different letters depending on how many devices are already mounted. I was stuck because the ODT XML Configuration file does not support relative paths. ...

March 9, 2017 · 2 min · 219 words · Victor Grenu