Image for post
Image for post

What are Time Series Databases?

Time Series Databases (TSDB) is designed to store and analyze event data, time series, or time-stamped data, often streamed from IoT devices, and enables graphing, monitoring, and analyzing changes over time.

How to choose a time-series database

There are several factors to consider when evaluating a time-series database for your workloads:

  1. Data model
  2. Query language
  3. Reliability
  4. Performance
  5. Ecosystem
  6. Operational management
  7. Company and community support

InfluxDB

Image for post
Image for post


Image for post
Image for post

This is an extension of using the Jupyter notebook on AWS.

So after you are done with that, we can now move on to mount S3 as the file system for the EC2 instance.

An S3 bucket can be mounted in an AWS instance as a file system known as S3fs. S3fs is a FUSE file-system that allows you to mount an Amazon S3 bucket as a local file-system. It behaves like a network-attached drive, as it does not store anything on the Amazon EC2, but the user can access the data on S3 from the EC2 instance.

Filesystem in Userspace (FUSE) is a simple interface for userspace programs to export a virtual file-system to the Linux kernel. It also aims to provide a secure method for non-privileged users to create and mount their own file-system implementations. …


Image for post
Image for post

Please follow the below sequence of actions, Since we are using “--force” you need to have admin rights over the git repo to do this.

Step 1: Find the commit before the commit you want to remove git log

Image for post
Image for post
git log

Step 2: Checkout that commit git checkout <commit hash>

Image for post
Image for post

Step 3: Make a new branch using your current checkout commit git checkout -b <new branch>

Image for post
Image for post

Step 4: Now you need to add the commit after the removed commit git cherry-pick <commit hash>

Image for post
Image for post

Step 5: Now repeat Step 4 for all other commits you want to keep.

Image for post
Image for post

Step 6: Once all commits have been added to your new branch and have been committed. Check that everything is in the correct state and working as intended. Double-check everything has been committed: git…


Image for post
Image for post

Please follow the below sequence of actions, Since we are using --force you need to have admin rights over the git repo to do this.

Step 1: Find the commit before the commit you want to remove git log

Image for post
Image for post
git log

Step 2: Checkout that commit git checkout <commit hash>

Image for post
Image for post

Step 3: Make a new branch using your current checkout commit git checkout -b <new branch>

Image for post
Image for post

Step 4: Now you need to add the commit after the removed commit git cherry-pick <commit hash>

Image for post
Image for post

Step 5: Now repeat Step 4 for all other commits you want to keep.

Image for post
Image for post

Step 6: Once all commits have been added to your new branch and have been committed. Check that everything is in the correct state and working as intended. Double-check everything has been committed: git…


Image for post
Image for post

This is an extension of using Jupyter notebook on AWS.

So after you are done with that, we can now move on to mount S3 as the file system for the EC2 instance.

An S3 bucket can be mounted in an AWS instance as a file system known as S3fs. S3fs is a FUSE file-system that allows you to mount an Amazon S3 bucket as a local file-system. It behaves like a network-attached drive, as it does not store anything on the Amazon EC2, but the user can access the data on S3 from EC2 instance.

Filesystem in Userspace (FUSE) is a simple interface for userspace programs to export a virtual file-system to the Linux kernel. It also aims to provide a secure method for non-privileged users to create and mount their own file-system implementations. …


Image for post
Image for post

This explains how to configure Flask, Celery, RabbitMQ and Redis, together with Docker to build a web service that dynamically uploads the content and loads this content when it is ready to be displayed. We’ll focus mainly on Celery and the services that surround it. Docker is a bit more straightforward.

A Video Explanation

Project Structure

The finished project structure will be as follows:

├── Dockerfile
├── docker-compose.yml
├── README.md
├── app
│ ├── app.py
│ ├── tasks.py
│ └── templates
│ ├── download.html
│ └── index.html
├── scripts
│ ├── run_celery.sh
│ └── run_web.sh
└── requirements.txt

Creating the Flask application 🌶

First, we create a folder for our app. For this example, our folder is called `app`. Within this folder, create an `app.py` file and an empty folder named `templates` where our HTML templates will be stored. …


Image for post
Image for post

I recently passed my AWS Certified Cloud Practitioner (CLF-C01) test with success 🥳. I want to share my learning and experiences with you in this story, so you can get a better understanding of why you should go for the certification, how to prepare for the exam, and how I was on the whole day of taking the test.

Why even bother 🤷‍♂️ getting certified ⁉️

Ok, you can only answer the question. There are quite a few debates in IT & software development around the subject of certifications. In Martin Fowler’s article on CertificationCompetenceCorrelation, you will find insightful material on whether or not they are benefits of getting certified. …


Image for post
Image for post

What this Terraform Code Does:

This Terraform will do the following automatically:

  1. Creates a key-pair and puts it in your working directory.
  2. Creates a AWS Security Group that is pre-configured for Jupyter Notebooks.
  3. Creates a AWS Instance using the latest Amazon Linux 2 AMI.
  4. Creates a EBS volume for Anaconda Python distribution.
  5. Attaches the EBS volume to the instance.
  6. Mounts the EBS instance as /anaconda3
  7. Downloads Anaconda
  8. Installs Anaconda
  9. Sets the environment variable for Anaconda, python, jupyter, etc
  10. Configures the Jupyter Notebook config file for use with AWS.

File Structure

.
├── main.tf
├── output.tf
├── script.sh
└── var.tf

Running the Terraform Script

  1. Navigate to this repo in your Terminal app.
  2. First you will have to initialize Terraform by running the command terraform init. …


Image for post
Image for post

What is EKS❓

AWS EKS is a Managed Kubernetes Service from Amazon, which means AWS manages the Master Nodes for you. All the necessary applications/services are already pre-installed like the container runtime or master processes, and besides, it also takes care of scaling and backups. 👍 You only create the Worker Nodes.

How to use EKS ❓

To create a K8s cluster in EKS, you need to do the following steps:

  1. Setup or preparation steps
  • create AWS account
  • create a VPC
  • virtual private space
  • create an IAM role with Security Group (or in other words: create AWS user with a list of…

Image for post
Image for post

Today I am going to talk about how to we can create a scalable web application with microservice. 🐳

I wanted to deploy a full-stack application on a Kubernetes cluster but never found a good video that does it, so that’s what I will be doing today.

What our stack consists. It’s just a POC, so I’m not going to use anything fancy.
This application has a front end which has been created with HTML/CSS and will be hosted with nginx and a backend with Node.js express and connected to Mongo DB. …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store