[cs615asa] setting up amazon ec2 cli tool

Paul-Anthony Dudzinski pdudzins at stevens.edu
Thu Jan 23 15:12:44 EST 2014


You can also use :
aws configure
On Jan 23, 2014 3:55 AM, "nbevacqu" <nbevacqu at stevens.edu> wrote:

> I finally figured out how we can set up the ec2 cli tool. Part of the
> confusion was that there are several different tools (all named *aws* in
> some fashion) and tutorials online don't tend to specify which one they are
> using. The following works with the aws executable installed under
> /usr/local/bin/aws
>
> First, create a text file with the following content:
>
> [default]
> aws_access_key_id = <access key id>
> aws_secret_access_key = <secret access key>
> region = <ec2 region>
>
> <access key id> and <secret access key> are from the key you create on the
> security credentials page under the Amazon ec2 settings.
> <ec2 region> is any valid ec2 region such as us-east-1.
>
> Then, set the AWS_CONFIG_FILE environment variable to be the path to that
> file.
>
> With that set up, you should be able to run commands like `aws ec2
> describe-regions`.
>
> I hope that helps everyone get started.
>
> Sincerely,
> Nicholas Bevacqua
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs615asa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.stevens.edu/mailman/private/cs615asa/attachments/20140123/65239471/attachment.html>


More information about the cs615asa mailing list