Monthly Archives: March 2018

Free HTTPS Setup on EC2 with Certbot

Setting up HTTPS was very easy. It was just a matter of upgrading to Amazon Linux 2 AMI. Follow the Install a LAMP Web Server on Amazon Linux 2 instructions. Follow the Configure Apache Web Server on Amazon Linux 2 to Use SSL/TLS instructions.

Thank you to Let’s Encrypt for providing their free service which will save me thousands of dollars, and the Electronic Frontier Organization for setting up CertBot.

The Layered Architecture Pattern

Len Bass, Paul Clements, and Rick Kazman best explain the Layered Architecture as, “The Layered Architecture Pattern defines layers as a grouping of modules or services and a unidirectional allowed-to-use relation among layers. Layers must have a strict-ordering relation, in which a layer can only use public interfaces of a layer below,” in the book Software Architecture in Practice1.

The benefit of the layered-architecture is that it allows for a separation of concerns, allows for a division of labor, and it is typically easy to refactor a top layer.

Its drawback is that there is a performance cost for each layer, and it can be very expensive to refactor lower layers.

Continue reading