Release Dangling Elastic IPs using Lambda and Go SDK
· β˜• 12 min read
There is 1 good thing about EIP and 1 bad thing. The good thing is EIP is free to use. You don't need to pay anything for the static IP you are using. How cool! The bad thing is, when EIP is not attached to an instance, it cost you money. In today's post we are going to do a hands-on on how to kill a dangling EIP or in other words, deallocate an unassigned Elastic IP.

Create Thumbnail Worker With S3 and Lambda: Make the Thumbnail
· β˜• 9 min read
In the last post in this series, we saw how we can execute a piece of a code when something is uploaded to the S3 bucket. We saw all the configuration we might have to go through. We also saw how we can test our trigger manually and automatically when object is uploaded. At last, we also came accross a trouble and shooted it. In this section, we will continue our venture.

Create Thumbnail Worker With S3 and Lambda: Test the Trigger
· β˜• 7 min read
In this post, we are going to see how we can use existing AWS infrastructure to create thumbnail for uploaded images. In this venture, we are going to use S3 trigger to execure Lambda function to do whatever we want. But in this case, we'll create thumbnail so that we can save on some bandwidth when only a smaller version of image is required on the frontend. So let's get started.

Port Forwarding and How to Do It With SSH
· β˜• 2 min read
In this short post, I will show how we can forward port from a remote host to a local computer. We will forward a port from AWS EC2 to local computer with openssl.

When User Data Scripts Are Not Enough, Create a New Image
· β˜• 7 min read
I have been using AWS with Terraform to provision my development instance on AWS cloud. When I wanted to configure dotfiles, change SSH port and configure some cron jobs, I hit a bottleneck. I literally was not able to do those tasks with user scripts because they had no effect. That was the time when creating custom image of the distro came into my mind.

Microservices and AWS
· β˜• 6 min read
This is my rundown of AWS's whitepaper about Implementing Microservices on AWS. In this article I talk more about micrsoservices and less about AWS. I also talk about paths already engraved around microservices. So, without further ado, let's get started.

Continuous Integration and Deployment to Beanstalk With Docker
· β˜• 4 min read
Docker makes it easy to develop and deploy application, reducing friction between the processes. And ElasticBeanstak is a great platform build upon EC2 infrastructure which provides provisioning capability without much effort.

Unit Testing, Test Coverage and CI with Travis in Go
· β˜• 7 min read
In this post, I talk about why TDD is important. Why it is essential part of build process. I also talk a little bit about test coverage and having more coverage is always better. I also provision a Travis CI pipeline to test same application in different environments.