Hotswapping: Improving the CDK Development Cycle

Spend Less Time Waiting on Deployments With CDK Hot Swaps

Here at Instil, we have been working on a fully serverless car insurance platform that utilizes the AWS CDK for deployments. One of the lessons we learnt early on in this project is that there is no substitution for deploying and testing our code in AWS; each of our developers has their own AWS accounts that they regularly deploy code to. However, with CDK, sometimes these deployments can take a while...

As an example, we have some versioned Lambda functions that run pre-traffic test functions with CodeDeploy to verify that our deployed code is configured and behaving correctly. Typically these can take 3-4 mins to deploy, run tests, and switch traffic when using the cdk deploy [stackname] command.

AWS Lambda Aliases: A Practical Approach

Lambda functions are a fundamental component of the AWS serverless model. They provide a simple, cost-effective, and easily scalable programming model based on FaaS (functions as a service).

Lambda ARNs

Lambda functions can be referenced by their ARN (Amazon Resource Name). For example, the ARN to reference a 'helloworld' function in the 'us-east-2' region in account '3445435' would be:

Under the Hood of .NET-Based Lambda Function Parameters

This article assumes you have the relevant knowledge to set up and deploy a .NET-based lambda function. You can follow the instruction in this blog if you need some background. Now, let’s review some underlying features of this service so that you can produce more of it in the deployment phase and while it’s up in the air.

Before We Begin

Before diving into the deep water, to produce a benefit from this blog post, you should be familiar with Lambda function concepts and have AWS Explorer installed in your Visual Studio instance. Furthermore, you’d better obtain .NET Core version 2.1.3 or above.

Map and Filter Function in Python

Machine learning is no doubt the most trending topic right now, and python is the most used versatile language in machine learning.

In this article, I’ll tell you about some of the most used python function maps in machine learning.