Basic auth to password protect s3 static site with lambda@edge
We are going to password protect static website stored in s3 and distributed with cloudfront using lambda@edge. We are using basic auth but you could replace it with cognito authorizer.
We are going to password protect static website stored in s3 and distributed with cloudfront using lambda@edge. We are using basic auth but you could replace it with cognito authorizer.
We are going to deploy HTTP API with CDK. You can connect to subdomain that will require cors for main domain. But if you add to main domain then no cors are required to consume the API.
We will learn about react hook form with NextJS and Create React App. We will learn basics, validation and accessibility.
We will setup brand new hugo site with TailwindCSS as postCSS plugin. And add prettier to keep long line width in check. And add IntelliSense and headwind vscode plugin
Breadcrumb structured data can be added to every single page of the website that is indexed by search engine. I will show you how to create partial template in hugo for breadcrumb structured data in JSON-ld format.
We will learn how to manage server state with react query and create react app. And finally stop using redux for managing server state.
We are going to create lambda with AWS CDK and test it locally with AWS SAM. You can test lambda before and after deploying to AWS.
Learn how to connect lambda layers to multiple nodejs lambda functions and deploy everything with cdk.
With latest AWS SDK V3 for javascript we will do Create, Read, Update and Delete operations in Dynamodb with aws lambda
Build and compile lambda function written in typescript into javascript with esbuild and deploy with cdk
We will find best value for money ram setting for a given lambda function. Also look at advanced case where you need setup or clean up before and after the test.
Compile and build golang lambda function inside docker container that mimics aws production environment very closely.
Golang json unmarshal sets default value in case of null or not-set key. We will run custom unmarshal to validate each json key.
We will learn basics of regular expression/regex with javascript/NodeJS. But it is applicable to almost every programming language. And you will have regex cheat sheet to refresh your memory if you forget.
We will create typesafe css modules or scss modules with NextJS and react with typescript plugin. There is special setting that is required for VS Code editor.
We will update version number from package.json of multiple projects with single command and install dependencies in single command
We are going to learn to deploy Next JS to fargate with and without pipeline. We will deploy from amazon public and private docker container registry. We will also deploy with and without load balancer.
To avoid running out of space error daily docker cleanup is necessary. So we will learn how to clean up everything from docker
We will learn how to develop inside Docker container with VS Code using Remote containers extension. Also have Dockerfile source code for commonly used workflows
Hugo extended is not available for ARM. So we need to build hugo from source code for ARM processors.
We are going to install LTS version of nodejs in Ubuntu. LTS versions don't update often. So manually installing can set you up for long time.
So we are going to manually download latest version or any version of your choice of golang. And then install it in Ubuntu.
We are going to build and deploy static site with hugo. We are going to use all aws services like cdk, s3, cloudfront, codecommit, codepipeline and route53. This is beginners guide so we are using all service from single provider. Advance users can use serviced from different providers.
We are going to deploy react app with all aws services like aws cdk, s3, cloudfront, codecommit, codepipeline and route53. Using all aws services is lot easier than adding non-aws services. So beginners can start with all aws services and with experience you can switch out any aws service with another provider.
For aesthetic reason and simplicity non-www domains are very popular. But by default www domain will not redirect to non-www domain. Thankfully there is easy solution created by aws-cdk for any https redirect.
Every markdown will render to fixed html. If you want to override default behavior then you need to use shortcodes. But then you end up creating too many shortcodes. But now at least for link and images you have option to write your own logic for converting markdown to html.