Blog

Latest posts from our team. Stay up-to-day with news and new features, see if we can help with common problems and see how we solved our clients issues.

Blog

NAT, pf & jails

November 18, 2016 by Paweł Biernacki

Sometimes you want to use jails on the same hosts that do the NAT. That of course isn’t by any means a complicated task and pf can do that very easily. The problems begin when you want to connect from one jail to a NATed IP (in the example 192.168.122.251) to a port that is redirected to another jail on the same system. Here is one of the solutions.

Continue reading

What's broken when deploying Lambda and API Gateway via CloudFormation

November 14, 2016 by Paulina Budzoń

AWS Lambda and API Gateway are becoming synonymous with “serverless infrastructure” and getting more and more popular. To deploy them in repeatable way, one of the tools I recommend is CloudFormation. There are many ways you can define your API and your Lambda, but when connecting the two with CloudFormation there’s usually something that many people miss, and only notice when {"message": "Internal server error"} is thrown from their API Gateway endpoint.

Continue reading

Packer, Ansible, CentOS and requiretty

November 11, 2016 by Paulina Budzoń

If you’ve tried running Packer with CentOS on AWS, you probably noticed this:

    sudo: sorry, you must have a tty to run sudo
Continue reading

Protecting against PHP shells

November 7, 2016 by Paweł Biernacki

The less known feature of PHP is the option to disable certain functions and classes. It may help securing your application and web server by blocking rarely used, from the perspective of pure web experience, functions.

Continue reading

How to deploy Wordpress in AWS

November 4, 2016 by Paulina Budzoń

I’m not talking about launching an EC2 instance, uploading the zip with WordPress and going through the installer. I’m talking about immutable infrastructure, scalable, self-healing setup of WordPress within AWS.

Continue reading