February 24, 2021

Wordpress CDK

Following on from the second installment of our experiment to try and find which processor in the EC2 family of instances has the best price/performance we need to have a way to reliably build our WordPress stack for testing. CDK I’ve been using CloudFormation for many years now and have used a number of methods to orchestrate this. (Yes I wrote CloudFormation in JSON…). Reasonably early on I picked up and started to use CFNDSL to help construct CloudFormation and even wrote some an Ansible role and some very dodgy Ruby Rakefiles (sorry no public examples) to help orchestrate the CFNDSL code into CloudFormation and then manage validation (when cfn-lint became a thing) and ultimately build ChangeSets and deploy it. Read more

February 17, 2021

Distributed Load Testing on AWS

Following on from the first installment of our experiment to try and find which processor in the EC2 family of instances has the best price/performance we need to look out how we’ll determine performance. Cloudformation AWS fortunately has a really cool blueprint for load testing. It is really easy to deploy via CloudFormation, and you really only need to supply two parameters: Administrator Name Administrator Email You can leave all the other parameters with theit default settings. Read more

February 14, 2021

Graviton vs Intel vs AMD EC2

History Over the last few years AWS has branched out into building their own ARM based processor named Graviton and also to providing instances powered by other x86_64/AMD64 architectures, namely AMD EPYC processors. In late 2019, they also introduced their second generation Graviton2 processor. Though, this isn’t the first time AWS has used AMD processors. If you have been around AWS for a while you may remember in about 2011/2012, you used to be able to order an m1 instance family. Read more

February 7, 2021

Attribute Based Access Control

AWS has provided the ability to implement fine-grained access control using attributes (such as ResourceTags) for serveral years now. Recently I had the need to provide access to certain EC2 instances and was really hoping that I didn’t have to list all EC2 instances for attribute access to work. Unfortunately after a lot of trial and error I couldn’t make it work, and ended up with the following policy, deployed via Control Tower/SSO using a permission set against the specific account where the EC2 instances are running. Read more

January 31, 2021

Lightsail Containers

Introduction Recently AWS announced support for containers in their Lightsail service. Lightsail is a service that acted like a traditional VPS type service. Very opinionated and limited capability, but with very simple pricing constructs and really simple approach to get up and running. With this announcement you can now add containers to Lightsail and it’s really easy to get going. One issue I did run into, not sure what’s going on is is a continual login to Lightsail 400 error, Request Header or Cookie Too Large. Read more

© Greg Cockburn

Powered by Hugo & Kiss.