S3 access on an ec2 instance in a private subnet

Context In the last few days, i had to setup a complete AWS infrastructure for a startup. The objective was to have different ec2 machines that are auto-scaled into existence access an s3 bucket on initialization to get some configuration that shouldn't be baked into a snapshot. The script was working fine when i was … Continue reading S3 access on an ec2 instance in a private subnet