Parameters specified:
- AMI ID
- Instance Type
- VPC ID
- SSH Key Pair Name
To deploy SSH key pairs via AWS CLI use:
aws ec2 create-key-pair --key-name DemoKeyPair --query 'KeyMaterial' --output text > DemoKeyPair.pem
chmod 400 DemoKeyPair
More info at "How to launch a single EC2 instance via AWS CLI"