[zrzka@home] % _

Recent Posts

AWS journey โ€” EC2 Container Service

published on
We were using (and weโ€™re still it using for some services) Docker Cloud. Main problem with DC is that they canโ€™t handle private subnets. EC2 instance must be in the public subnet and thatโ€™s not what we want. Hooray (irony), we have to switch to the EC2 Container Service. Try to explain this to our business department. Additional time for infrastructure. Can handle it, but itโ€™s tough sometimes. Docker images repository Cloud Formation Template This step is optional, but weโ€™re trying to leverage as many as possible AWS services. Read More...

AWS journey โ€” Cloud Formation

published on
As a small start up, weโ€™re playing with lot of technologies and we try to choose the best ones. Okay, sometimes not because of money constraints, but weโ€™re trying. One day, canโ€™t remember when it was, we decided to go with AWS. Not just EC2 instances for Docker Cloud, but full stack. I mean API Gateway, Lambda, EC2, ECS, DynamoDB, etc. Counted them, AWS provides 51 services. Some of them are perfect, some of them still needs polishing, but theyโ€™re pretty good generally speaking. Read More...

AWS Lambda & API Gateway Error Handling

published on
Itโ€™s fragile and kind of terrible. Letโ€™s look at it. We have a function named lambda. It has one argument named action (enum with allowed values data, exception or timeout). First thing we would like to do is to validate input via schema. Then we would like to return custom error message (and status code) if itโ€™s invalid or do other things based on the action argument value. Hereโ€™s the code, just to demonstrate how it works. Read More...


all (9)


api-gateway (2) aws (4) cloud-formation (1) dell (1) ec2 (1) ipad (1) lambda (2) macbookpro (1) macos (1) performance (1) prototyping (1) python (1) pythonista (1) u2720q (1) xcode (1) xcode-12 (1) xcode-beta (1)