Tag Archives: ssh

Running Flask with an SSH Remote Python Interpreter

One common cause of bugs in many applications is that development and production environments differ. Although in most cases it’s not possible to provide an exact copy of the production environment for development, pursuing dev-prod parity is a worthwhile cause. … Continue reading

Posted in Tutorial | Tagged , , , , , | 7 Comments

Creating a Python Development Environment on Amazon EC2

In the last two blog posts of this series we discussed how to set up a local VM-based development environment for a cloud application, and then built a Flask-RESTful app within this environment. Today, we’ll take our app to AWS, … Continue reading

Posted in Tutorial | Tagged , , , , , , , , , | 8 Comments

Developing in a VM with Vagrant and Ansible

One of the things that could make developing cloud applications hard, would be differences between the dev environment and the production environment. This is why one of the factors of the twelve factor app is maintaining dev-prod parity. Today we’ll … Continue reading

Posted in Tutorial | Tagged , , , , , , | 8 Comments

SSH Agent: Simplify SSH keys

Security is important, and that’s why we all use key pairs when authenticating to our servers. And as is best practice, we also protect our private key with a passphrase, don’t we? Ideally the passphrase is long and complicated, and … Continue reading

Posted in Tutorial | Tagged , , , , | 2 Comments

Remote Development on Raspberry Pi: Analyzing Ping Times (Part 2)

Last week we created a script that records ping times on a regular basis. We developed the script remotely on a Raspberry Pi, and then added it to Cron to make sure that times are recorded every 5 minutes into … Continue reading

Posted in Tutorial | Tagged , , , , | 2 Comments

Remote Development on Raspberry Pi: Checking Internet Quality (Part 1)

We all know that ISPs have a habit of overselling their connections, and this sometimes leads our connections to not be as good as we’d like them to be. Also, many of us have Raspberry Pi’s laying around waiting for … Continue reading

Posted in Tutorial | Tagged , , , , | 7 Comments