DynamoDB Step by Step Guide using the DynamoDB Client interface using Boto3 and Python In this demonstration I will be using the client interface on Boto3 with Python to work with DynamoDB. The main idea is to have a step by step guide to show you how
AWS How to Setup a Serverless URL Shortener with API Gateway Lambda and DynamoDB on AWS Today we will set a Serverless URL Shortener using API Gateway, Lambda with Python and DynamoDB. Overview The service that we will be creating, will shorten URLs via our API which will create
Golang Setup a Golang Environment on Ubuntu In this post I will demonstrate how to setup a golang environment on Ubuntu. Get the sources: Get the latest stable release golang tarball from https://golang.org/dl/ and download to the
Golang Golang: Building a Basic Web Server in Go Continuing with our #golang-tutorial blog series, in this post we will setup a Basic HTTP Server in Go. Our Web Server: Our Web Server will respond on 2 Request Paths: - / ->
AWS IAM Policy to Allow Team Wide and User Level Permissions on AWS Secrets Manager In this post we will simulate a scenario where a team would like to have access to create secrets under a team path name like /security-team/prod/* and /security-team/dev/* and allow all
MongoDB Create Read Only Users in MongoDB In this post I will demonstrate how to setup 2 read only users in MongoDB, one user that will have access to one MongoDB Database and all the Collections, and one user with
Linux Capturing 54 Million Passwords with a Docker SSH Honeypot The last couple of days I picked up on my ELK Stack a couple thousands of SSH Brute Force Attacks, so I decided I will just revisit my SSH Server configuration, and change
AWS Investigating High Request Latencies on Amazon DynamoDB While testing DynamoDB for a specific use case I picked up at times where a GetItem will incur about 150ms in RequestLatency on the Max Statistic. This made me want to understand the
Memcached Give your Database a break and use Memcached to return frequently accessed data So let's take this scenario: Your database is getting hammered with requests and building up some load over time and we would like to place a caching layer in front of our database
Docker Dockerizing a Memcached Server for Docker on Alpine This post I will demostrate how to dockerize a memcached server on Alpine and how to create a boot script that allows you to pass environment variables through to the application. What is
AWS Improving Performance from your Lambda Function from the use of Global Variables When using Lambda and DynamoDB, you can use global variables to gain performance when your data from DynamoDB does not get updated that often, and you would like to use caching to prevent
Security Distributing a Shared Secret amongst a Group of Participants using Shamirs Secret Sharing Scheme aka ssss In situations where a group of participants join together to split up a secret in a form of secret sharing, where the secret is devided into parts, giving each participant their own unique
Python Send Emails using Python and Sendgrid using SMTPlib Quick tutorial on how to send emails using Python and smtplib. Sendgrid Sendgrid offers 100 free outbound emails per day, sign up with them via sendgrid.com/free, create a API Key and
Python Get Blogpost Titles Links and Tags from a RSS Link using Python Feedparser I wanted to get metadata from my other blog sysadmins.co.za, such as each post's title, link and tags using the RSS link. I stumbled upon feedparser, where I will use it
AWS Using IAM Authentication with Amazon Elasticsearch Service Today I will demonstrate how to allow access to Amazons Elasticsearch Service using IAM Authenticationi using AWS Signature Version4. Elasticsearch Service Authentication Support: When it comes to security, Amazons Elasticsearch Service supports three
Ruby Ruby Tutorial Series Setup and Variables This is the second post from our Ruby Tutorial Series In this post we will setup our Ruby environment, then start printing out values to the console and will also be touching on
Ruby Ruby Programming Tutorial Series Welcome! This will be a multi post ruby tutorial programming series, as I am on a mission learning ruby. Outline of the Series: This may change, but the path will look like this:
Java Hello World Web App with Java Springboot and Maven In this post we will setup a Java Hello World Web App, using Maven and SpringBoot on Ubuntu 16. I will create all the needed files in this tutorial, but you can head
Ruby Hello World Ruby on Rails App Tutorial using Mac In this tutorial, we will setup a basic ruby on rails web app, that consists of a /hello_world and a /status controller. The hello_world controller will return Hello, World and our
Python Capture Geo Location Data with Python Flask and PyGeoIP With the PyGeoIP package you can capture geo location data, which is pretty cool, for example, when you have IOT devices pushing location data to elasticsearch and visualizing the data with Kibana. That
Linux Install Java Development Kit 10 on Ubuntu With the announcement of improved docker container integration with Java 10, the JVM is now aware of resource constraints, as not from prior versions. More information on this post Differences in Java 8
Ansible Setup a LAMP Stack with Ansible using Ubuntu This is Part-2 of our Ansible-Tutorial and in this post we will cover how to setup a LAMP Stack on Ubuntu using Ansible. We will only have one host in our inventory, but
Ansible Getting Started with Ansible on Ubuntu Part 1 - This is a getting started series on Ansible. The first post will be on how to setup ansible and how to reach your nodes in order to deploy software to
Encryption Salt and Hash Example Using Python With Bcrypt on Alpine This is a post on a example of how to hash a password with a salt. A salt in cryptography is a method that applies a one way function to hash data like
DynamoDB Tutorial on DynamoDB using Bash and the AWS CLI Tools to Interact with a Music Dataset In this tutorial we will be using Amazons DynamoDB (DynamoDB Local) to host a sample dataset consisting of music data that I retrieved from the iTunes API, which we will be using the