Some Thoughts

Articles Tagged : note-to-self

Increase Swap Size on an Encrypted Drive

April 1, 2019 · 3 min read

I recently started a new job with www.codeenigma.com and they use a very interesting dev stack.

This uses Docker and Vagrant and for this project it hosts several servers locally some of which run quite memory hungry processes.

I also use the Chrome Browser which is notorious for using memory.

I quickly found I was running out of memory and my laptop would hang.

...


Http Headers Aws Cloudfront Lambda

January 29, 2019 · 11 min read

All website need appropriate headers setting, even though this is a static site I wanted to start off from a strong security position.

Too often security is an added extra and can’t be properly implement because it would break existing functionality.

Amazon have a good tutorial

...


AWS CloudFront - limitations

January 15, 2019 · 1 min read

I got this site running on AWS using S3 and CloudFront, it was all easy enough.

But then a couple of things didn’t work how I wanted.

Index pages wern’t there, and I couldn’t add security headers.

...


Static Site With AWS

January 11, 2019 · 1 min read

Getting a site up and running on AWS via S3 is fairly quick and easy.

Here is what I did.

...