In this task, you will install and configure the respective CLI tools we would require for the workshop. Even if you might have installed some of those tools already, it is worth making sure you have the latest version of the tools to ensure compatability.
If you are using a Windows machine, follow the instructions here to install the npm CLI tool.
If you are using a Mac, follow the instructions here to install the npm CLI tool.
After installing the tool, verify by entering npm
into your terminal/command prompt.
npm
Usage: npm <command>
where <command> is one of:
access, adduser, audit, bin, bugs, c, cache, ci, cit,
clean-install, clean-install-test, completion, config,
create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
edit, explore, fund, get, help, help-search, hook, i, init,
install, install-ci-test, install-test, it, link, list, ln,
login, logout, ls, org, outdated, owner, pack, ping, prefix,
profile, prune, publish, rb, rebuild, repo, restart, root,
run, run-script, s, se, search, set, shrinkwrap, star,
stars, start, stop, t, team, test, token, tst, un,
uninstall, unpublish, unstar, up, update, v, version, view,
whoami
...
You should observe the above output.
Install the AWS CLI by following the instructions here.
If you already have a set of credentials for an IAM user with administrative privileges, you can reuse those for the field below in the next step. If you do not yet have programmatic access credentials, follow the instructions here to retrieve them for a user with administrative privilege for use in this lab.
Open the terminal/command prompt and enter aws configure
.
aws configure
AWS Access Key ID [****************MH55]: <insert Access Key ID>
AWS Secret Access Key [****************qMdB]: <insert Secret Access Key>
Default region name [us-east-1]: us-east-1
Default output format [json]: json
Enter the above with your respective access key ID and secret access key of your IAM user enabled with programmatic access.
Do not leave < or > in the replaced text.
And with that, you’re ready to move on!