How to create public websites out of private S3 buckets
Using S3 buckets for storing public websites is one of the most useful features of S3. It is a simple, cost-effective, and scalable alternative for hosting static websites or Single Page Applications. However, there are situations when creating an S3 bucket with public objects is not possible due to compliance or security reasons which can lead to the impression that you can’t use S3 for in this scenario. This is partially true, you can’t do it with S3 alone but you can add a few things and achieve the same behavior of an S3 static website hosting. Keep reading if you want to know how to do it.
Configuring Rundeck with NGINX behind AWS ALB with SSL termination
I spent the whole day troubleshooting some authentication/redirection problems in my Rundeck setup, I went to the pub and had a few beers then I went to bed and woke up at 4 AM with one of those productive insomnia feelings so I headed straight to the computer to find the solution for my problems. Let’s go through my setup so I can explain the problem a bit more and hopefully help you avoid the same issue.
(And other distros too)
I like creating custom AMIs to ease server configuration of my AWS environments, my personal approach is to create a base AMI with some basic tools that will be used in my EC2 instances and then use it as starting point to create other AMIs. Over the years I found that it has a lot of benefits but can also demand many hours of management work if you don’t set up things properly. One of the first things I like to do is customizing the default user of my AMIs, not just for consistency but also to...