Configuring the EC2 instance profile