Blog category: AWS

First thoughts on Amazon Lightsail

December 2, 2016 by Paweł Biernacki

On the last AWS re:Invent in Las Vegas Amazon introduced several new products. One of them is Lightsail - a simply priced solution dedicated to VPS fans. But is it really Digital Ocean killer?

Continue reading

What you need to know before using Packer's automatic spot instance biding

November 28, 2016 by Paweł Biernacki

Packer has the ability to auto-bid on spot instance prices for AWS EC2 but there are two things that you need to understand that may discourage you from using that feature.

Continue reading

Deploying API Gateway and Lambda with CloudFormation

November 21, 2016 by Paulina Budzoń

Combination of AWS API Gateway and Lambda functions is a flag example of every “serverless infrastructure”. When deploying API Gateway with CloudFormation there are two different ways you can define your API: via Swagger template or by directly defining your methods in CloudFormation template.

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