Category: how-to

AWS EC2 Backup Files to Amazon S3 - Automated with a bash script

You have a software running on an EC2 instance and simply you want to create a scheduled backup of a file (or files) to S3. Even if it’s not a good backup strategy to use it on the production, it still saves time for POC’s. I need this while I was testing a Django web app with sqlite database. Notice that sqlite is not a database service or a server, it’s just a binary file as a database.

How to deal with AWS IoT Root Certificate Authority problems

How to deal with AWS IoT Root Certificate Authority problems

Nowadays, I’m focused on using AWS IoT MQTT over websockets to interact with IoT devices real-time on the browser. When use MQTT on a browser, the browser is actually being an MQTT client to subscribe messages from the broker. But when the broker is AWS IoT, it’s not easy like connecting to a “plain” broker (like iot.eclipse.org)

Redirect non-www to www and HTTP to HTTPS on AWS Elastic Load Balancing (ELB) and Elastic Beanstalk (EB)

Redirect non-www to www and HTTP to HTTPS on AWS Elastic Load Balancing (ELB) and Elastic Beanstalk (EB)

Are you using AWS Elastic Load Balancers (ELB) or Elastic Beanstalk (EB) and want to decide just one root url with domain and redirect other URL’s to that? We’ll have a look at that to do on AWS. It’s a vital thing to avoid confusion about accessing your web app.

How to secure IoT devices as a user? Part #1: Passwords

How to secure IoT devices as a user? Part #1: Passwords

You’ve several IoT devices in your home and now you want to know how to secure your IoT devices? Here is some security best practices for IoT devices. Obviously, IoT security is not a thing that can be covered in only a blog post. So, we start a series of articles. I’ll try to mention about my experiences, as an IoT solutions architect.

How to develop backend services for an IoT application?

How to develop backend services for an IoT application?

IoT application development doesn’t dissociate from a typical backend development process. But the approach is. Be careful about we’re talking for physical “things” and this makes a lot of sense. Here are my notes and best practices about developing an IoT Architecture as an IoT Solutions Architect. I’ll give examples for each layer for on-premise, for AWS or other public clouds.