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 non-static IP address, so I found a useful script to update AWS Route53 daily from my RaspberryPi. ...

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

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 Node.js dead simple Twitter bot will retweet statuses based on your current search criteria, follow users based on same items, and favorite tweets too. I’m using this to learn Node.js language and Git. Actual Features: Retweet Favorite Follow Node.js Installation Follow this great guide (Applicable to AWS Amazon Linux (EC2)) ...

June 12, 2017 · 2 min · 253 words · zoph

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 is using a hole in 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 AES-128-CBC cipher, and then a popup asks you for a ransom to get it back. It spread through the network using port TCP/445 (SMB v1) ...

May 29, 2017 · 5 min · 927 words · zoph

awless a powerfull alternative to AWS CLI

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

May 17, 2017 · 3 min · 562 words · zoph

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 Office Deployment Tool (ODT) using the relative path for our Office 2016 ProPlus deployment (On USB Key & Hard Drive). As USB Keys are mounted each time with different letters depending on how many devices already mounted. I was stuck cause ODT XML Configuration file does not support the relative path. ...

March 9, 2017 · 2 min · 218 words · zoph