HOWTO: Create and integrate AWS Lambda function using Terraform

If you followed my 3 my previous posts – you already created your first Amazon Lambda function, made it able to write to DynamoDB and be accessible from the outside world, using API Gateway.

In this post, I will guide you how to implement the same but without touching the AWS Management Console, which is barely understandable and very volatile by the interface. Instead, we will be using Terraform, which I also covered in the past blog post.

Let’s get started:

Continue reading

Amazon DynamoDB introduction

This post is the second one in series about Amazon Web Services first steps howtos.

I believe that traditional guides like AWS Certification preparation and Linux Academy don’t give the information in proper order, so here I give it in the format and the way how I give it to my colleagues at Babbel.

This post gives you an introduction to the DynamoDB and prepares a ground for the next practical lesson.

Continue reading

Amazon Lambda + API Gateway introduction

Hi everyone,
I just started AWS Learning Sessions in the company, I’m currently working in, and want to share with you our first lesson.
We have built small Lambda function, named Greeter, and integrated it to the AWS API Gateway.
If you want to get started with this tools and get some hands-on experience – this article will help you.

Continue reading

Chop-chop, MongoDB! Leveraging indexes power. Part 2. Multikey indexes

Hello boys and girls, looking forward to know more about MongoDB indexes?

Today we’ll talk about Multikey indexes. Yeah, only about them because it’s quite a big topic. I also wanted to cover text indexes, but they are too cool to talk about them in the same post, they deserve their own %)

So let’s start!

Continue reading

Chop-chop, MongoDB! Leveraging indexes power. Part 1

As you may know, PostgreSQL provides you four index types: B-tree, Hash, GiST and GIN. They all named the way that if you don’t know ’em you’ll never get which one do you need. In MongoDB indexes are named in a more human-readable way. Here they are:
1. Single field index.
2. Compound index.
3. Multikey index.
4. Text index.
5. Hashed index.
6. 2dsphere, 2d, geoHaystack indexes.

Since I’m using Mongo for more than a year now, I worked with few of them and will elucidate you the most commonly used ones.

Continue reading

Introduction to Terraform. Terraform + Github

Not a long time ago I had no idea about what is the tool named Terraform. It was just beyond my bounds of interests and problems. But a month ago I changed a company and then had to deal with it. And guys, it’s wow. It’s so amazing thing so I even started liking DevOps job.

In few words it’s a tool to do infrastructure as a code. As they say on their website “Terraform enables you to safely and predictably create, change, and improve production infrastructure”.

In this post, I’ll cover why may you (as a developer or a DevOps) need it and how to get started. Getting started will be not just a hello world, but a real example, you can try right away.

Continue reading