Blog category: AWS

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

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