Command start with aws. You can perform all actions you can do through AWS Console.
**Points**
* Roles are more secure than storing your access key and secret key on individual EC2 instances.
* Roles are easier to manage.
* Roles can be assigned to any EC2 instance after it is created using both the console and commandline.
* Roles are universal - Can be used in any region.
Boot Strap Scripts
Way of automating EC2 instances deployments. All commandline commands can be write in Scripts. An example script is shown below that can be write under 'Configure instances' at the time of creating an EC2 instance.
It always begin with (path of interpreter) - #!/bin/bash
yum update -y
yum install httpd -y
service httpd start
chkconfig httpd on
cd /var/www/html
echo"
aws s3 mb s3://jdjgf6474
aws s3 cp index.html s3://jdjgf6474