{"id":856,"date":"2022-02-17T18:37:29","date_gmt":"2022-02-17T10:37:29","guid":{"rendered":"http:\/\/yushuoxin.xyz\/?p=856"},"modified":"2022-02-17T18:37:31","modified_gmt":"2022-02-17T10:37:31","slug":"aws-cli-setup-in-win10","status":"publish","type":"post","link":"https:\/\/yushuoxin.top\/index.php\/2022\/02\/17\/aws-cli-setup-in-win10\/","title":{"rendered":"AWS CLI Setup in Win10"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_72 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/yushuoxin.top\/index.php\/2022\/02\/17\/aws-cli-setup-in-win10\/#Installing_AWS_CLI_in_Win10\" title=\"Installing AWS CLI in Win10\">Installing AWS CLI in Win10<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/yushuoxin.top\/index.php\/2022\/02\/17\/aws-cli-setup-in-win10\/#Prerequisites_to_use_the_AWS_CLI\" title=\"Prerequisites to use the AWS CLI\">Prerequisites to use the AWS CLI<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/yushuoxin.top\/index.php\/2022\/02\/17\/aws-cli-setup-in-win10\/#New_Configuration_setup_in_Win10_CMD\" title=\"New Configuration setup in Win10 CMD\">New Configuration setup in Win10 CMD<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/yushuoxin.top\/index.php\/2022\/02\/17\/aws-cli-setup-in-win10\/#Furthermore\" title=\"Furthermore\">Furthermore<\/a><\/li><\/ul><\/nav><\/div>\n<h1 class=\"wp-block-heading\" id=\"installing-aws-cli-in-win10\"><span class=\"ez-toc-section\" id=\"Installing_AWS_CLI_in_Win10\"><\/span>Installing AWS CLI in Win10<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p>Download the installer as below<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.aws.amazon.com\/zh_cn\/cli\/latest\/userguide\/getting-started-install.html\">https:\/\/docs.aws.amazon.com\/zh_cn\/cli\/latest\/userguide\/getting-started-install.html<\/a><\/p>\n\n\n\n<p>After installing, verify with the command as below,<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"507\" height=\"50\" src=\"http:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-17.png\" alt=\"\" class=\"wp-image-862\" srcset=\"https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-17.png 507w, https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-17-300x30.png 300w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"prerequisites-to-use-the-aws-cli\"><span class=\"ez-toc-section\" id=\"Prerequisites_to_use_the_AWS_CLI\"><\/span>Prerequisites to use the AWS CLI<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p>Follow the official user guide as below,<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.aws.amazon.com\/zh_cn\/cli\/latest\/userguide\/getting-started-prereqs.html\">https:\/\/docs.aws.amazon.com\/zh_cn\/cli\/latest\/userguide\/getting-started-prereqs.html<\/a><\/p>\n\n\n\n<p>Considering I already have the created user &#8220;yushuoxin&#8221; as administrator, I would just start with the step 3 &#8220;Create an access key ID and secret access key&#8221; in the user guide. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"859\" src=\"http:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-18-1024x859.png\" alt=\"\" class=\"wp-image-864\" srcset=\"https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-18-1024x859.png 1024w, https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-18-300x252.png 300w, https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-18-768x644.png 768w, https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-18.png 1146w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"544\" src=\"http:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-19.png\" alt=\"\" class=\"wp-image-865\" srcset=\"https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-19.png 819w, https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-19-300x199.png 300w, https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-19-768x510.png 768w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><figcaption>Download the csv file, or show the access key. Please notice that I will not have access to see them again after this dialog box closes.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"806\" height=\"325\" src=\"http:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-20.png\" alt=\"\" class=\"wp-image-868\" srcset=\"https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-20.png 806w, https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-20-300x121.png 300w, https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-20-768x310.png 768w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"new-configuration-setup-in-win10-cmd\"><span class=\"ez-toc-section\" id=\"New_Configuration_setup_in_Win10_CMD\"><\/span>New Configuration setup in Win10 CMD<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p>reference: <\/p>\n\n\n\n<p><a href=\"https:\/\/docs.aws.amazon.com\/zh_cn\/cli\/latest\/userguide\/getting-started-quickstart.html\">https:\/\/docs.aws.amazon.com\/zh_cn\/cli\/latest\/userguide\/getting-started-quickstart.html<\/a><\/p>\n\n\n\n<p>typing &#8220;aws configure&#8221; in CMD, and type in the realted parameters.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"615\" height=\"101\" src=\"http:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-21.png\" alt=\"\" class=\"wp-image-871\" srcset=\"https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-21.png 615w, https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-21-300x49.png 300w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/figure>\n\n\n\n<p>Well, then, let me have a try for an aws command:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"446\" height=\"590\" src=\"http:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-23.png\" alt=\"\" class=\"wp-image-873\" srcset=\"https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-23.png 446w, https:\/\/yushuoxin.top\/wp-content\/uploads\/2022\/02\/image-23-227x300.png 227w\" sizes=\"auto, (max-width: 446px) 100vw, 446px\" \/><\/figure>\n\n\n\n<p>It seems working properly!~<\/p>\n\n\n\n<p>All AWS CLI command could be checked here:<\/p>\n\n\n\n<p><a href=\"https:\/\/awscli.amazonaws.com\/v2\/documentation\/api\/latest\/index.html\">https:\/\/awscli.amazonaws.com\/v2\/documentation\/api\/latest\/index.html<\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"furthermore\"><span class=\"ez-toc-section\" id=\"Furthermore\"><\/span>Furthermore<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p>We might want to make the command completion with &#8220;Tab&#8221; like linux, please check the url below,<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/cli-configure-completion.html\">https:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/cli-configure-completion.html<\/a><\/p>\n\n\n\n<p>For more infomation about configuration basics, please check the url below,<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/cli-configure-quickstart.html\">https:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/cli-configure-quickstart.html<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing AWS CLI in Win10 Download the installer as b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[7],"class_list":["post-856","post","type-post","status-publish","format-standard","hentry","category-2","tag-aws"],"_links":{"self":[{"href":"https:\/\/yushuoxin.top\/index.php\/wp-json\/wp\/v2\/posts\/856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yushuoxin.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yushuoxin.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yushuoxin.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yushuoxin.top\/index.php\/wp-json\/wp\/v2\/comments?post=856"}],"version-history":[{"count":0,"href":"https:\/\/yushuoxin.top\/index.php\/wp-json\/wp\/v2\/posts\/856\/revisions"}],"wp:attachment":[{"href":"https:\/\/yushuoxin.top\/index.php\/wp-json\/wp\/v2\/media?parent=856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yushuoxin.top\/index.php\/wp-json\/wp\/v2\/categories?post=856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yushuoxin.top\/index.php\/wp-json\/wp\/v2\/tags?post=856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}