Configuring AWS Systems Manager (SSM) Variables and Using Them From CodeBuild

AWS Systems Manager (formerly SSM) allows you to define secure, encrypted variables that you can read from other processes. Here, I’ll shortly discuss how to define such encrypted varible and read it from AWS CodeBuild.

June 18, 2019 · 2 min

Excluding Resources When Preparing Package for Serverless Application

With Serverless Framework application it’s not enough to add proper gitignore statements. You also need to take care of properly defining what should go and what should not go into your package or you can easily end with 100 MB packages.

June 16, 2019 · 2 min

AWS Serverless Integration Tests With Moto - What Can go Wrong?

If you’re planning to use Python moto library (to mock AWS resources) for unit tests and at the same time use integration tests - watch out as it can bite you!

June 11, 2019 · 3 min

Local Development and Testing of AWS Serverless Application

Is it possible to create local environment for Serverless application? And if it is possible - is it worth the effort?

June 5, 2019 · 5 min

Sample CI/CD Configuration for Serverless Application on AWS

How to effectively use stage promotions for your Serverless application. Article includes description of example CI/CD pipeline on AWS.

June 3, 2019 · 6 min

Configuring DynamoDB tables per deployment stage using Serverless Framework

Example how to name per-stage DynamoDB tables

May 30, 2019 · 2 min

Defining CodeBuild runtime in buildspec.yml

Short introduction to AWS CodeBuild runtime images

May 28, 2019 · 2 min

MultiWAN on OpenWrt / LEDE

If you have OpenWrt installed on your home router and you’d like to have a backup internet connection or a secondary WAN connection (e.g. to do a load-balancing between multiple WANs) then you might be interested in this post. I will describe steps I needed to do in order to configure 2 WAN connections used simultaneously: one coming from cable modem and second one from USB LTE modem Huawei E3272 with SIM card from Polish telecom operator Plus GSM....

March 19, 2019 · 6 min

Mock exam for SCWCD / OCE JEE6: JSP and Servlet Developer Exam is back alive

Years ago I was learning to pass Oracle Certified Expert, Java EE 6: JSP and Servlet Developer Exam (formerly Sun Certified Java Web Component Developer.) At that time this exam was so fresh that there were no mock exams available. Hence, I’ve decided to create one. The idea was to learn and help others learning for this exam at the same time. Mock exam was published on OpenShift’s free plan that was deprecated like a year ago....

March 16, 2019 · 1 min

Enabling CORS in API Gateway Requires Method Response

You can enable CORS in API Gateway through AWS Console with few simple clicks: However there are some restrictions regarding when you can invoke this. You need to remember that all this function is doing is just adding some headers like Access-Control-Allow-(Headers|Methods|Origin) to your API Gateway response. To do this, it needs to modify the “Method Response” section of your resource. If you won’t have any response definition then this will simply not work and fail immediately....

January 2, 2019 · 1 min