{"id":1761,"date":"2018-10-29T13:46:04","date_gmt":"2018-10-29T10:46:04","guid":{"rendered":"https:\/\/artem.services\/?p=152"},"modified":"2020-03-31T16:04:03","modified_gmt":"2020-03-31T13:04:03","slug":"1761","status":"publish","type":"post","link":"https:\/\/artem.services\/?p=1761&lang=en","title":{"rendered":"AWS Cli &#8212; Install from PIP"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"size-full wp-image-214 aligncenter\" src=\"https:\/\/artem.services\/wp-content\/uploads\/2018\/11\/AWS-Logo.png\" alt=\"\" width=\"975\" height=\"450\" srcset=\"https:\/\/artem.services\/wp-content\/uploads\/2018\/11\/AWS-Logo.png 975w, https:\/\/artem.services\/wp-content\/uploads\/2018\/11\/AWS-Logo-300x138.png 300w, https:\/\/artem.services\/wp-content\/uploads\/2018\/11\/AWS-Logo-768x354.png 768w, https:\/\/artem.services\/wp-content\/uploads\/2018\/11\/AWS-Logo-954x440.png 954w\" sizes=\"(max-width: 975px) 100vw, 975px\" \/><\/p>\n<p>Install <strong>Python PIP<\/strong>:<\/p>\n<h3>CentOS:<\/h3>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nyum install -y python-pip\r\n<\/pre>\n<h3>Ubuntu:<\/h3>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\napt install python-pip\r\n<\/pre>\n<p><!--more--><\/p>\n<p>Install <strong>AWS CLI<\/strong>:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\npip install awscli\r\n<\/pre>\n<p>You can check the version like this:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\naws version\r\n<\/pre>\n<p>Access setting. Follow the <strong>AWS Console <\/strong>to <strong>IAM<\/strong>.<\/p>\n<p>Select &quot;<strong>Users<\/strong>&quot;, find your own and select. &quot;<strong>Security credentials<\/strong>&quot; tab and click on &quot;<strong>Create access key<\/strong>&quot;.<br \/>\nWe see our &quot;<strong>Access key ID<\/strong>&quot; and &quot;<strong>Secret access key<\/strong>&quot;, we will save them to ourselves. They are shown or give the <strong>CSV<\/strong> file download only once, if you lost access, then you need to create a new pair.<\/p>\n<p>Run the <strong>AWS<\/strong> configure:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\naws configure\r\n<\/pre>\n<p>We will set received earlier &quot;<strong>Access key ID<\/strong>&quot; and &quot;<strong>Secret access key<\/strong>&quot;. You can also specify the default region, for example, &quot;<strong>us-east-1<\/strong>&quot;, and the format (json, text).<\/p>\n<p>P.S. For <strong>PIP<\/strong> to use <strong>Python 3<\/strong>, instead of <strong>Python 2<\/strong>, <strong>pip3<\/strong> must be installed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install Python PIP: CentOS: Ubuntu:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[599],"tags":[543,647,1433],"_links":{"self":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1761"}],"collection":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1761"}],"version-history":[{"count":2,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1761\/revisions"}],"predecessor-version":[{"id":1771,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1761\/revisions\/1771"}],"wp:attachment":[{"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}