Configuring EC2 instance profiles