Cross compiling and emulating for Raspberry Pi with Debian Cross-Toolchains and QEMU

Installing the toolchain Add a .list file in /etc/apt/sources.list.d/ containing : “deb http://emdebian.org/tools/debian jessie main” Update the public key for this repo with ‘curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo apt-key add –‘ Add armhf as foreign architecture by running ‘sudo dpkg –add-architecture armhf‘. Check correct install with ‘dpkg –print-foreign-architectures‘ ¬† ¬†which should show ‘armhf‘ Run ‘sudo apt-get Read More …

How AWS VPC peering can help in blue/green deployment

You have resources you can throw away (stateless) and resources you can’t throw away (state-full). Donald Knuth said it beautifully: there is nothing you can’t solve without an extra indirection. To achieve blue/green deployment on AWS, you put all your resources that can die and revive (think auto scaling groups, malicious terminations, but also whole Read More …