{"id":15340,"date":"2023-03-10T16:38:43","date_gmt":"2023-03-10T15:38:43","guid":{"rendered":"https:\/\/contabo.com\/blog\/?p=15340"},"modified":"2023-03-10T16:38:46","modified_gmt":"2023-03-10T15:38:46","slug":"installation-und-konfiguration-von-aws-cli","status":"publish","type":"post","link":"https:\/\/contabo.com\/blog\/de\/installation-und-konfiguration-von-aws-cli\/","title":{"rendered":"Installation und Konfiguration von AWS CLI auf einem Server"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/blog-head_1200x630_installing-and-configuring-AWS-CLI.jpg\" alt=\"Installation und Konfiguration von AWS CLI (head image)\" class=\"wp-image-15335\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/blog-head_1200x630_installing-and-configuring-AWS-CLI.jpg 1200w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/blog-head_1200x630_installing-and-configuring-AWS-CLI-600x315.jpg 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/blog-head_1200x630_installing-and-configuring-AWS-CLI-768x403.jpg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Obwohl <a href=\"https:\/\/de.wikipedia.org\/wiki\/Amazon_Web_Services\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Amazon Web Services<\/a> (AWS) unser Konkurrent auf dem Markt f\u00fcr Cloud-Instanzen und Objektspeicher ist, hat AWS eine Reihe n\u00fctzlicher Tools eingef\u00fchrt, die zu Branchenstandards geworden sind. AWS Command Line Interface (CLI) ist eines davon. Dabei handelt es sich um ein leistungsstarkes Tool, mit dem Benutzer \u00fcber die Befehlszeile mit Cloud-Diensten interagieren k\u00f6nnen. Die Installation und Konfiguration von AWS CLI auf deinem Server ist ein entscheidender Schritt zur effizienten Verwaltung deiner Cloud-Ressourcen, z. B. Object Storage. In diesem Artikel f\u00fchren wir dich durch den Prozess der Installation und Konfiguration der AWS CLI auf deinem Server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-installation-von-aws-cli\">Installation von AWS CLI<\/h2>\n\n\n\n<p>Die Installation von AWS auf deinem Linux-Server ist das Einfachste, was du tun kannst. Es ist nur ein einziger Befehl n\u00f6tig, n\u00e4mlich dieser:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install awscli -y<\/code><\/pre>\n\n\n\n<p>Hinweis: In einigen Anleitungen hei\u00dft es, dass man vor der Installation von AWS CLI Python und bestimmte Python-Module installieren muss. Wir haben es unter Debian 10 getestet, und der oben angegebene Befehl installiert automatisch alle erforderlichen Pakete und Module (wie Python3 usw.)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-aws-cli-konfigurieren\">AWS CLI Konfigurieren<\/h2>\n\n\n\n<p>Nun werden wir AWS CLI so konfigurieren, dass man es mit einem S3-kompatiblen Objektspeicher verwenden kann, zum Beispiel zum Hochladen oder L\u00f6schen von Dateien.<\/p>\n\n\n\n<p>Contabo bietet einen solchen S3-kompatiblen Object Storage ab 1,99 \u20ac \/ Monat an. <a href=\"https:\/\/contabo.com\/de\/object-storage\" target=\"_blank\" rel=\"noreferrer noopener\">Hier erf\u00e4hrst du mehr<\/a>.<\/p>\n\n\n\n<p>Um AWS CLI zu konfigurieren, ben\u00f6tigst Du die folgenden Informationen von deinem Object Storage-Anbieter:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Deinen Access Key<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Deinen Secret Key<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Deine S3-URL<\/li>\n<\/ul>\n\n\n\n<p>Um mit der Konfiguration zu beginnen, nutze diesen Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>aws configure --profile eu2<\/code><\/pre>\n\n\n\n<p>(&#8222;eu2&#8220; ist der Name des Profils. Du kannst hier auch einen anderen Namen vergeben,)<\/p>\n\n\n\n<p>Gib nun deinen Access Key ein und dr\u00fccke die Eingabetaste und gib deinen Secret Key ein.<\/p>\n\n\n\n<p>\u00dcberspringe den &#8222;Default region name&#8220; und das &#8222;Default output format&#8220;, indem Du einfach die Eingabetaste dr\u00fcckst.<\/p>\n\n\n\n<p><strong>Herzlichen Gl\u00fcckwunsch!<\/strong> Du hast AWS CLI erfolgreich auf deinem Server installiert und konfiguriert.<\/p>\n\n\n\n<p>Weitere Informationen zu AWS CLI und wie Du es mit Contabo Object Storage nutzen kannst, findest Du in unserer offiziellen Dokumentation hier.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mit AWS CLI lassen sich deine Cloud-Ressourcen noch effektiver Verwalten. Hier erf\u00e4hrst du, wie du dieses Tool installieren kannst.<\/p>\n","protected":false},"author":50,"featured_media":15335,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1399],"tags":[],"ppma_author":[1491],"class_list":["post-15340","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"uagb_featured_image_src":{"full":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/blog-head_1200x630_installing-and-configuring-AWS-CLI.jpg",1200,630,false],"thumbnail":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/blog-head_1200x630_installing-and-configuring-AWS-CLI-150x150.jpg",150,150,true],"medium":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/blog-head_1200x630_installing-and-configuring-AWS-CLI-600x315.jpg",600,315,true],"medium_large":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/blog-head_1200x630_installing-and-configuring-AWS-CLI-768x403.jpg",768,403,true],"large":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/blog-head_1200x630_installing-and-configuring-AWS-CLI.jpg",1200,630,false],"1536x1536":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/blog-head_1200x630_installing-and-configuring-AWS-CLI.jpg",1200,630,false],"2048x2048":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/blog-head_1200x630_installing-and-configuring-AWS-CLI.jpg",1200,630,false]},"uagb_author_info":{"display_name":"Tobias Mildenberger","author_link":"https:\/\/contabo.com\/blog\/de\/author\/tobias\/"},"uagb_comment_info":0,"uagb_excerpt":"Mit AWS CLI lassen sich deine Cloud-Ressourcen noch effektiver Verwalten. Hier erf\u00e4hrst du, wie du dieses Tool installieren kannst.","authors":[{"term_id":1491,"user_id":50,"is_guest":0,"slug":"tobias","display_name":"Tobias Mildenberger","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/077178d5dce6c3d4c0c0396857a7e544bfdf8adf04145fff5160b33a22e28b1f?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/contabo.com\/blog\/de\/wp-json\/wp\/v2\/posts\/15340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contabo.com\/blog\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/contabo.com\/blog\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/de\/wp-json\/wp\/v2\/users\/50"}],"replies":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/de\/wp-json\/wp\/v2\/comments?post=15340"}],"version-history":[{"count":0,"href":"https:\/\/contabo.com\/blog\/de\/wp-json\/wp\/v2\/posts\/15340\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/de\/wp-json\/wp\/v2\/media\/15335"}],"wp:attachment":[{"href":"https:\/\/contabo.com\/blog\/de\/wp-json\/wp\/v2\/media?parent=15340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/contabo.com\/blog\/de\/wp-json\/wp\/v2\/categories?post=15340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/contabo.com\/blog\/de\/wp-json\/wp\/v2\/tags?post=15340"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/contabo.com\/blog\/de\/wp-json\/wp\/v2\/ppma_author?post=15340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}