[Deprecated] Jekyll CBCD Pipeline to the Cloud

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

November 20, 2017 · 4 min · 647 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 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

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

Direnv with multiple AWS Accounts

If you are working closely with AWS, with multiple customers, 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 using multi-customers AWS CLI ACCESS_KEY variables. 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 · zoph