If you use S3 endpoint not NAT/Proxy to access the Amazon yum repository, then this post should be helpful to you. We use S3 endpoint to access Amazon repositories, and we noticed that any yum operations failed with the 'HTTPS Error 403 - Forbidden' error in the EC2 instances that are launched from the latest … Continue reading Yum gets ‘HTTPS Error 403 – Forbidden’ error in Amazon Linux 2
Tag: EC2
Attach an IAM role to your existing Amazon EC2 instance
It was painful that you are unable to change the instance profile for existing EC2 instance. A good news is that you CAN now via AWS CLI!! Here is a step by step example.