Nice approach for proxy. The challenge in both cases is to handle exceptions generated by faulty code. As you say in the article: the first argument of the callback is for error (including unhandled errors) and is not descriptive.

Different languages handle this differently. I have an article on this using Python with some code on GitHub. Here are the links to both if anyone is interested:


Use PowerShell to invoke the API and get notified by the backend.

My Use Case

I sometimes get asked: “Which method do you prefer to transfer files to S3?” My answer is: “The one that works for you”. The definition of works varies from case to case. The simplest way would be to make the bucket public. If this is not desired, then create a user with programmatic access to the S3 bucket or with enough permissions to assume a role that allows access to the S3 bucket. The issue is that I may end up with many user identities. I can implement identity federation using Cognito [1] to manage this better. …

There are many ways of accessing a remote Windows instance ranging from taking a taxi to the site (just kidding…), to using native Windows solutions such as Remote Desktop Client and PowerShell (you can argue that this should read Terminal supporting PS), to using third-party solutions such as TeamViewer and AWS Systems Manager Sessions. Selecting one over the other depends on the ease of use (less experienced users prefer a GUI), requirements (parsing logs does not need a GUI — nowadays logs are actually shipped where you want them), and security/auditability (this is a SysOp Admin favorite). My personal favorite…

Probably the most used, versatile and oldest combination between AWS cloud services is REST APIs (public) with Lambda integration on the backend [1]. While RESTful API development is not at all new, if you are relatively new to developing in the cloud, working with these two services may be somewhat challenging. This article requires a basic understanding of these two services. Its focus is beyond the point where you are able to invoke a Lambda function and receive status code 200 from the API. Given the availability of SNS and CloudWatch Logs, why would one bother integrating the API Method…

Microsoft SQL Server 2019 has been available on AWS since November 2019 [1]. I use SQL Server and I have always wanted to try it on Amazon Linux. I prefer his combination because it is cheaper running it on Windows (AWS m5.xlarge Linux SQL Standard is about 20% cheaper that the same Windows based OS) and a lot lighter anyway. This would allow you to get more compute per dollar. Linux and SQL server can be sometimes daunting to configure. …

API Gateway is one of the best services to provide or gain access to back-end cloud resources. It integrates with almost anything and it even provides a mock integration so that the API can be developed separately from any other service. Private endpoints were introduced during 2018, but I have not used them until recently.

My Use Case

I needed to decouple my application into web presentation tier and business logic. API Gateway seemed the perfect way to go, because it gave me the option to make public some of the REST APIs. I started with a couple of mock…

Daniel Ilie

Cloud solution architect at Wood PLC. Provided clarity, employed creativity and managed complexity of systems.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store