{"id":1058,"date":"2021-05-17T12:31:14","date_gmt":"2021-05-17T12:31:14","guid":{"rendered":"https:\/\/www.velaninfo.com\/rs\/?post_type=techtips&#038;p=1058"},"modified":"2021-05-17T12:31:14","modified_gmt":"2021-05-17T12:31:14","slug":"amazon-command-line-interface","status":"publish","type":"techtips","link":"https:\/\/www.velaninfo.com\/rs\/techtips\/amazon-command-line-interface\/","title":{"rendered":"How to Install and use Amazon Command Line Interface"},"content":{"rendered":"<p><strong>How to Install and Use AWS CLI Tool on Linux?<\/strong><\/p>\n<p>The aws command line interface tool can help us to manage aws services through our Linux instances. Here we can see how to install and how to use.<\/p>\n<p><strong>Installing the AWS CLI:<\/strong><\/p>\n<p>AWS CLI tools are available under the default Linux repositories. Install AWS CLI on Linux systems as follows based on the flavor of Linux.<\/p>\n<p><em>sudo apt install awscli<\/em><\/p>\n<p><em>or<\/em><\/p>\n<p><em>sudo dnf install awscli<\/em><\/p>\n<p><em>or<\/em><\/p>\n<p><em>sudo yum install awscli<\/em><\/p>\n<p><strong>Generate Access Keys:<\/strong><\/p>\n<p>Generate the Access Key and Secrete Access Key to your AWS Account.<\/p>\n<ul>\n<li>Head to\u00a0https:\/\/console.aws.amazon.com\/iam\/home?region=ap-southeast-2#\/security_credentials<\/li>\n<li>Expand option\u00a0Access keys (access key ID and secret access key)<\/li>\n<li>Click the button\u00a0Create New Access Key<\/li>\n<li>Copy the access key ID and secret access key and save to safe place<\/li>\n<\/ul>\n<p><strong>Configure AWS CLI:<\/strong><\/p>\n<p>Next, configure the AWS cli tools to connect with your AWS account.<\/p>\n<p>$ <em>aws configure<\/em><\/p>\n<p>It will prompt for AWS Access Key ID and Secret Access Key created in above step.<\/p>\n<p><em>AWS Access Key ID [None]: ABCDEFXXXXXXXXDKKDFJ<\/em><\/p>\n<p><em>AWS Secret Access Key [None]: 3SDFskjf8KDfjksdf9sdfjsdkfjkKSDKSJFKD<\/em><\/p>\n<p><em>Default region name [None]: <\/em><em>ap-southeast-2<\/em><\/p>\n<p><em>Default output format [None]:<\/em><\/p>\n<p>Now your system is installed &amp;configured with the AWS CLI tools.<\/p>\n<p><strong>Working with AWS CLI Tools:<\/strong><\/p>\n<p>AWS CLI tools provide you options to manage multiple <a href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/request-ssl-certificate-from-aws-certificate-manager\/\"><strong>AWS services<\/strong><\/a> via the command line. Please use below samples command to get the help.<\/p>\n<p>Here are few commands to work on your AWS services.<\/p>\n<p>$ <em>aws help<\/em>\u00a0 &#8212; will list usage and syntaxes.<\/p>\n<p>$ <em>aws ec2 describe-instances<\/em> \u2013 It will list all the instances from your account<\/p>\n<p>$ <em>aws ec2 describe-instances<\/em> &#8211;region= us-west-1 \u2013 This command will list instances from other zones.<\/p>\n<p>$ <em>aws s3 list<\/em> \u2013 This command will list all the S3 buckets.<\/p>\n<p>At Velan, our server support engineers can help you with install and configure AWS CLI on your server. We are installing like these for our clients every day.\u00a0If you are interested in our service, please fill the <a href=\"https:\/\/www.velaninfo.com\/contact\"><strong>Quick connect form<\/strong><\/a> to get in touch with us.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Install and Use AWS CLI Tool on Linux? The aws command line interface tool can help us to manage aws services through our Linux instances. Here we can see how to install and how to use. Installing the AWS CLI: AWS CLI tools are available under the default Linux repositories. Install AWS CLI&#8230;<a class=\"continue-reading text-uppercase\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/amazon-command-line-interface\/\"> Continue Reading <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/themes\/velaninfo\/images\/reading_arw.png\" alt=\"Continue Reading\" width=\"16\" height=\"12\"\/><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[],"class_list":["post-1058","techtips","type-techtips","status-publish","hentry","Categories_tech_tip-aws","Categories_tech_tip-awscli","Categories_tech_tip-cloud"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.5 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install and use Amazon Command Line Interface| Velan<\/title>\n<meta name=\"description\" content=\"How to install and use Amazon Command Line Interface\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/amazon-command-line-interface\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install and use Amazon Command Line Interface\" \/>\n<meta property=\"og:description\" content=\"How to install and use Amazon Command Line Interface\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.velaninfo.com\/rs\/techtips\/amazon-command-line-interface\/\" \/>\n<meta property=\"og:site_name\" content=\"Velan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/amazon-command-line-interface\\\/\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/amazon-command-line-interface\\\/\",\"name\":\"How to install and use Amazon Command Line Interface| Velan\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\"},\"datePublished\":\"2021-05-17T12:31:14+00:00\",\"description\":\"How to install and use Amazon Command Line Interface\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/amazon-command-line-interface\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/amazon-command-line-interface\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/amazon-command-line-interface\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Tips\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Install and use Amazon Command Line Interface\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\",\"name\":\"Velan\",\"description\":\"Velaninfo Services India Pvt Ltd\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to install and use Amazon Command Line Interface| Velan","description":"How to install and use Amazon Command Line Interface","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.velaninfo.com\/rs\/techtips\/amazon-command-line-interface\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and use Amazon Command Line Interface","og_description":"How to install and use Amazon Command Line Interface","og_url":"https:\/\/www.velaninfo.com\/rs\/techtips\/amazon-command-line-interface\/","og_site_name":"Velan","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/amazon-command-line-interface\/","url":"https:\/\/www.velaninfo.com\/rs\/techtips\/amazon-command-line-interface\/","name":"How to install and use Amazon Command Line Interface| Velan","isPartOf":{"@id":"https:\/\/www.velaninfo.com\/rs\/#website"},"datePublished":"2021-05-17T12:31:14+00:00","description":"How to install and use Amazon Command Line Interface","breadcrumb":{"@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/amazon-command-line-interface\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.velaninfo.com\/rs\/techtips\/amazon-command-line-interface\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/amazon-command-line-interface\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.velaninfo.com\/rs\/"},{"@type":"ListItem","position":2,"name":"Tech Tips","item":"https:\/\/www.velaninfo.com\/rs\/techtips\/"},{"@type":"ListItem","position":3,"name":"How to Install and use Amazon Command Line Interface"}]},{"@type":"WebSite","@id":"https:\/\/www.velaninfo.com\/rs\/#website","url":"https:\/\/www.velaninfo.com\/rs\/","name":"Velan","description":"Velaninfo Services India Pvt Ltd","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.velaninfo.com\/rs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips"}],"about":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/types\/techtips"}],"author":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/comments?post=1058"}],"version-history":[{"count":1,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1058\/revisions"}],"predecessor-version":[{"id":1059,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1058\/revisions\/1059"}],"wp:attachment":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/media?parent=1058"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/tags?post=1058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}