Custom Python App on EMR Serverless

Environment Reference I had to jump through a few hoops to get a PySpark application running on EMR Serverless. Below are the steps I followed, along with final functioning configuration, and at the bottom of this post is a few errors I encountered along the way. Steps 1. Setup Build Environment For a packaged application … Continue reading “Custom Python App on EMR Serverless”

Pass HTTP Headers with Non Proxy Lambda Integration in AWS API Gateway

I set out to pass an HTTP header through API Gateway by mapping it in the method and integration request configurations (specifically using Serverless framework/template), based on various documentation I found online indicating I should do so. While troubleshooting, I at one point removed the mappings entirely and noticed that it *just worked*. I.e., with … Continue reading “Pass HTTP Headers with Non Proxy Lambda Integration in AWS API Gateway”

Limiting User to SFTP for Uploading Web Content

I required the following: System user that could upload content to a directory in root web directory (default root: /var/www/html) Limit user from interactive SSH Limit user from other areas of OS Specifically, I am working within the AWS distribution on a hosted EC2 instance. I found posts online that accomplished part of what I … Continue reading “Limiting User to SFTP for Uploading Web Content”