Sometimes I'd like to spin up an instance and run an aws cli command on it quickly, but there seems to be a great delay in installing the aws cli. Is there any way to get a "minimal" installation that omits the many files unnecessary in an automated deploy/test, for example all the example files? Or maybe even versions of the cli that only contain a single command, such as s3
or ec2
?
Note that the instances are not running in AWS EC2, and I don't have control over the images, or I would use images with the AWS CLI pre-installed. Also note that the services I need to use are S3 and CloudFront.