Author: Wojciech Szczurek

Cloud Compliance Fundamentals and GovCloud Workloads

This post highlights important compliance terminology. As an AWS Certified Solutions Architect – Professional, I consider secure and compliant workload deployment a core part of my professional responsibilities. Basic Terminology CMMC Domains GovCloud AWS GovCloud (US) account access and registration are restricted to eligible U.S. entities and U.S. Persons, but that does not automatically mean […]

Dynamic Origin Swapping in AWS CloudFront with Lambda@Edge

I recently needed to add a staging environment to my single page apps (SPA) hosted on S3 and served through an existing CloudFront distribution. My bucket layout looked like this: Rather than stand up a second distribution, I decided to serve stage traffic from the same CF endpoint—simply by swapping the S3 origin path at runtime. The natural […]

Generating Config Cache in Laravel Serverless Deployments

Laravel applications can be successfully deployed to AWS serverless infrastructure using projects such as Bref. On deployments, for optimal performance you want to create cached files for your configuration, events, routes, and views by using php artisan optimize. One challenge with compiled Laravel configuration files is that they generate absolute, environment-dependent paths. This behavior can […]

Ditch the Overkill: How to Send WordPress Emails Using PHPMailer and Amazon SES

The WordPress ecosystem now hosts a range of fully developed email solutions provided by numerous plugins. Two of the most prominent examples are WP Mail SMTP and Easy WP SMTP. While I have no particular objections to these plugins, I believe that for experienced developers, they can be overly complex. Most of their features extend […]