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

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

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

Direnv with multiple AWS Accounts

If you are working closely with AWS, with multiple customers and multiple accounts, you will love this app: Direnv. Direnv will let you switch environment variables depending on the current folder you are browsing. It will be especially useful when you are juggling multiple AWS CLI ACCESS_KEY variables across customers. Then you don’t need to run aws configure each time you need to switch credentials. When you leave the path, direnv will unload variables, then you avoid any mistakes. ...

January 10, 2017 · 1 min · 205 words · Victor Grenu