I was wondering. Say I have a file in a private S3 bucket, and I then deploy an EC2 instance which has something like that in its rc.local:
GET http://privateamazons3url.com
How can I make it so that my EC2 instance that I deploy automatically has access to my private S3 bucket, without me having to explicitly add it manually via the AWS control panel.
The reason I ask is because I am planning to to deploy my EC2 instance remotely using an python boto script from another server using a snapshot image, and the snapshot image will include downloading a file from my private S3 bucket.