Skip to main content

· 4 min read
Luis Silva

A useful tool for offline tinkering when away from your devices

At Remote Flags we were recently tasked to build an IoT platform to manage and interact with IOT devices. These IOT devices would run with Revolution Pi, which is based on Raspberry Pi.

We didn't have access to their hardware, neither physically nor logically through a network communication protocol.

To facilitate new feature development as well as doing end-to-end testing, we decided to build a simulator, to mirror the hardware behavior when receiving and sending messages.

This solution described in this post uses the Revolution Pi software, revpimodio2, written in Python.

· 6 min read
Luis Silva

Create a simple approach using ECS improving on our previous solution using AWS Elastic Beanstalk

If you're following our blog posts chronologically, you'll see I've made a blunder in the past of trying to use AWS Elastic Beanstalk to support 2 Nodejs web apps in the same instance. (see here). This blog post aims at providing a simple alternative using another AWS compute service, Elastic Container Service (ECS).

Let's get into it!

· 6 min read
Luis Silva

And how we figured out it was not the right choice for us

TLDR: If you want multiple apps running separately in an EC2 instance, with some managed properties (Load balancer, health monitoring, etc). Elastic Beanstalk is NOT the way to go.

At Remote Flags, I was in charge of setting up the infrastructure for a small service to facilitate demoing the main application to interested people.

As we're a small team, and budget is tight, I figured I would use a single "non-critical infrastructure" server; this would contain small tools that, if they went down, wouldn't impact the overall availability of our service.

· 4 min read
Miguel Sousa

A step-by-step configuration for a cognito user pool using CDK.

  • CDK is an open-source framework that allows you to express cloud infra-structure using code. More on CDK
  • Cognito is an AWS service that allows you to create user pools to manage user accounts and login flows. More on Cognito
  • As of February 2022 versions used in this guide are
{
"typescript": "~3.9.7",
"aws-cdk-lib": "2.10.0"
}