Custom Login With Nextjs and Amazon Cognito

Some prerequisites In this tutorial I assume you have yarn or npm installed and you can translate commands from one to the other. I will be using yarn here. I also assume that you have the AWS CLI installed and configured. During the configuration stage you will set an AWS user to run all your Amplify commands. This user needs to have all the relevant IAM roles attached to it....

Create and Verify a New User on a Cognito User Pool

If you just created a new Cognito User Pool and you want to add a new user fear not. You can add that user using the cognito interface but you won’t be able to do much with it as the user will need to be verified and change their password. Register a new user You can go to the user interface of your Cognito User Pool and add the user there....

Serving optimized images with AWS S3, API Gateway and CloudFront.

I like photography and I like having a dedicated space to share my photos along with a little story behind it. Currently that space is a self hosted Wordpress website, with all the images in folders. It is served at DigitalOcean and it costs me 5$ a month. The URL for this is stefanis.studio. I wanted to simplify things and bring my photography content in a subsection of this website, but I don’t want to have all those photos in a folder here....