Posts

  • Scheduling AWS Lambda Functions with SAM

    lambda

    Serverless compute services, or Functions as a Service (FaaS), e.g. AWS Lambda, provide a cost effective, scalable, and agile way to run scripts or programs on a schedule. They offer a modern, superior alternative to older solutions like running Cron jobs on an always-on server. In this post, we will...

  • Pushing Docker Images from CircleCI to ECR using IAM Roles

    security padlock

    In the previous post, we pushed a Docker image from EC2 to ECR using an IAM role. The IAM role we used had EC2 as a trusted entity which meant our EC2 instance could interact with ECR without explicitly storing any credentials. The credentials used implicitly were also temporary, as...

  • Pushing Docker Images from EC2 to ECR using IAM Roles

    security padlock

    If you wonder about the purpose of IAM roles in AWS, hopefully this post will shed some light. IAM roles In AWS, an IAM role gives a trusted entity the ability to perform actions on AWS resources in your account for a limited period of time. The actions the trusted...

  • React without Node, Webpack and Babel

    Suppose your website consisted of a single page my-website/ ├── index.html └── styles.css index.html <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="styles.css"> <title>Minimal React Page</title> </head> <body> <h1>A React page without Node, Webpack and Babel</h1> <p>This is a paragraph.</p> </body> </html> styles.css body { background-color: rgb(40, 222, 255) } Assuming Python...

  • SCSS Local Development with Webpack and Live Reload

    sass logo

    If you have SCSS files in your project that you wish to work with during local development, a proposed solution using Webpack follows. File structure Suppose we have a directory scss-website scss-website/ ├── Dockerfile.bootstrap ├── Dockerfile.dev ├── assets │   ├── js │   │   └── index.js │   └── scss │   └──...