RSSAmplifier

Blog

cloudncode

Cloud Computing and the Code that Powers it

cloudncode.blogRSS feed ↗22 posts

Latest posts

Tidbit: Getting started with AWS Lambda function using nodeJS

This is a Tidbit, basically whenever you see Tidbit: in the title, it means I am going to simply throw some helpful code without explaining too much around it. What will you be able to do after going through this? Build deploy a REST API on AWS Lambda using nodeJS which uses AWS API

Is AWS Lambda expensive to run?

What the pricing pivots on, explain the pricing model for AWS Lambda, what you should look out for when it comes to pricing. After reading this article, you will be able to make a more educated decision on whether AWS Lambda (or serverless architecture in general) is right for you or not.

Make your first IOT device via AWS IOT Service and Raspberry Pi

IOT or Internet of Things is a hot topic these days, but more than that its exciting. I have been a developer for more than 10 years now and although I have designed and built applications that can handle millions of calls and analyze terabytes of data in real time, the most exciting thing I

Tidbit: API Gateway as a S3 Proxy – CloudFormation script with Serverless Framework

Quick helpful article to get you to setup an API gateway which acts as a S3 proxy using Cloudformation script. This is a Tidbit, basically whenever you see Tidbit: in the title, it means I am going to simply throw some helpful code without explaining too much around it. What you can use this for?

Serverless CI: Part 2 – Getting started with AWS CodePipeline

This is the second and final part of Serverless CI. In the previous post I walked us through setting up an AWS CodeBuild job which allocates a server, runs your build job and then deallocates it on demand. In this post we are going to walkthrough creating an AWS CodePipeline job which would automate these

Serverless CI: Part 1 – Getting started with AWS CodeBuild

On my road to Serverless and my mission to spend less time on maintenance and more on product development, I finally decided to let go of Jenkins and go for a Serverless version of CI. As I have everything else in AWS, AWS CodeBuild and CodePipeline seemed to be the perfect fit for my purpose.

Why Serverless architecture?

At Tavisca Solutions we started developing beats a few months ago and as the product discovery went to a stage when we wanted to begin with a fast iterative product which can quickly evolve to MVP (minimum viable product) stage we were faced with a rare opportunity. Every time we start a new product we

Getting Started with the Serverless framework on AWS

I have been in hibernation for some time as I shifted jobs, moved houses and have been hellishly busy, so, my bad that I haven t written an article in a while. In this article, I am going to introduce and help you get started with the serverless tool where we are going to create a

Automation tool for AWS Lambda sizing

As a continuation to my post on best practices on AWS Lambda I wrote a tool which finds the right size of your existing Lambda function programmatically by continuously resizing it, firing test events at it until it finds the best size which would either: Save you the most money OR Give you the best

Best practices – AWS Lambda function

In this post we are going to go through the best practices while building an AWS Lambda function. In order to go through this blog you should know what is it and you should ideally have built at least a simple function around it so you have your bearings right, you can checkout this blog

.Net Core Web API on AWS Lambda Performance

In order to understand what I’m going to talk about, you must know what is AWS Lambda, I talked about in this blog post where I went through getting started with Visual studio code and AWS Lambda, go through the intro section of that post before you proceed if you are new Lambda. I know

Scaling for TB level log data with Kinesis Firehose and lambda with Elastic Search on AWS

This is the third article in the series on What should you log in an application and how to avoid having 24×7 support looking at them? In the previous article we talked about how to setup Elastic Search and Kibana, in this article we’ll learn how to properly send logs from your application servers to

Getting started with writing and debugging AWS Lambda Function with Visual Studio Code

Note: this article uses the old project.json format of .net core, i havent gotten around to updating this yet. In this article I am going to go through step by step on how to get started with Visual Studio Code and creating your first C# based AWS Lambda function out of it. As Visual Studio

How to Set up Elastic Search & Kibana on AWS

This is the second article in a series where I plan to go over on how to avoid 24 7 support in your organization, be sure to read the first post where I talk about what you should be logging in the first place. Let’s recap the logging pipeline first: In this article we are going

Inheritance – A horror story!

Let me start with stating that inheritance is not bad, in fact frankly I’m in love with it and use it a lot, but using it in the wrong places is like deciding to ride a motorbike in heavy snow with a warning of a tsunami triggered by an earthquake which is just refusing to

What should you log in an application and how to avoid having 24×7 support looking at them?

Sounds simple, but not necessarily done correctly always. In this article I will talk about the following (try not to skip stuff): What should be in every log line What should you be logging at a high level Must have application feature for logging Monitoring and alert mechanisms so that you don’t have people staring

Choosing an AWS EC2 Instance

Choosing an EC2 Instance Hey guys, in this post I am going to talk about what all to think about before choosing an EC2 instance for whatever work load that you have for it to do. The Basics Ok, if you are new to cloud, the first thought that comes to mind is something akin

Multi-Tenancy / Global Filters in Entity Framework

Multi-Tenancy / Global Filters in Entity Framework In this article I am going to describe a method to add global filters in Entity framework. The version I used for this example is 6.1 What does it do? Imagine that you have a multi-tenant database i.e. in a single database you have data for multiple tenants.

SSL Termination and AWS ELB

What is SSL termination? SSL termination is the term pointing to proxy servers or load balancers which accepts SSL/TLS connections however do not use the same while connecting to the back end servers. E.g. A load balancer exposed to the internet might accept HTTPS at port 443 but connects to backend servers via HTTP only.

Building Microservices? Here is what you should know

Just to refresh our memories, micro service architecture is an evolution of the SOA architecture, whereas SOA was focused on integration of various applications, Micro services architecture (MSA) aims to create small modular services which belong to a single application. MSA came to the forefront with the advent of high speed computing (lowered latencies) and

C#: Dynamic Keyword: What, Why & When

What The dynamic keyword was first introduced in C# 4.0. It is used something like this: Using this you can even return anonymous .Net types (see the When section before you actually do this in production code): In the above code note that anonymous types are internal to an assembly, this means that if you

How to look good and save money while setting up scaling policies in AWS

Setting up scaling can be dead simple or heavily complicated, chances are that if you ve agreed with any of those statements, you are doing something wrong! Scaling an application effectively has many facets and it usually starts with the application itself, a devops or a developer can’t do this alone. In this post I’m going