{"id":69411,"date":"2024-05-22T09:10:39","date_gmt":"2024-05-22T02:10:39","guid":{"rendered":"https:\/\/itviec.com\/blog\/?p=69411"},"modified":"2024-05-22T09:10:39","modified_gmt":"2024-05-22T02:10:39","slug":"aws-cli","status":"publish","type":"post","link":"https:\/\/itviec.com\/blog\/aws-cli\/","title":{"rendered":"AWS CLI l\u00e0 g\u00ec? T\u00ecm hi\u1ec3u AWS CLI t\u1eeb A-Z cho ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 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\">N\u1ed9i dung b\u00e0i vi\u1ebft<\/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-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/itviec.com\/blog\/aws-cli\/#AWS_CLI_la_gi\" >AWS CLI l\u00e0 g\u00ec?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/itviec.com\/blog\/aws-cli\/#Vi_sao_AWS_CLI_duoc_su_dung_pho_bien\" >V\u00ec sao AWS CLI \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng ph\u1ed5 bi\u1ebfn?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/itviec.com\/blog\/aws-cli\/#Cac_loai_cong_cu_trong_AWS_CLI\" >C\u00e1c lo\u1ea1i c\u00f4ng c\u1ee5 trong AWS CLI<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/itviec.com\/blog\/aws-cli\/#Phuong_phap_tai_va_cai_dat_AWS_CLI_cho_Windows_macOS_Linux\" >Ph\u01b0\u01a1ng ph\u00e1p t\u1ea3i v\u00e0 c\u00e0i \u0111\u1eb7t AWS CLI cho Windows, macOS, Linux<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/itviec.com\/blog\/aws-cli\/#Uu_diem_va_nhuoc_diem_cua_AWS_CLI\" >\u01afu \u0111i\u1ec3m v\u00e0 nh\u01b0\u1ee3c \u0111i\u1ec3m c\u1ee7a AWS CLI<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/itviec.com\/blog\/aws-cli\/#Cu_phap_co_ban_cua_AWS_CLI\" >C\u00fa ph\u00e1p c\u01a1 b\u1ea3n c\u1ee7a AWS CLI<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/itviec.com\/blog\/aws-cli\/#Cac_tuy_chon_pho_bien_cua_AWS_CLI\" >C\u00e1c t\u00f9y ch\u1ecdn ph\u1ed5 bi\u1ebfn c\u1ee7a AWS CLI<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/itviec.com\/blog\/aws-cli\/#Cac_lenh_pho_bien_cua_AWS_CLI_cho_Amazon_S3\" >C\u00e1c l\u1ec7nh ph\u1ed5 bi\u1ebfn c\u1ee7a AWS CLI cho Amazon S3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/itviec.com\/blog\/aws-cli\/#Cac_lenh_pho_bien_cua_AWS_CLI_cho_Amazon_Elastic_Compute_Cloud_Amazon_EC2\" >C\u00e1c l\u1ec7nh ph\u1ed5 bi\u1ebfn c\u1ee7a AWS CLI cho Amazon Elastic Compute Cloud (Amazon EC2)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/itviec.com\/blog\/aws-cli\/#Cac_cau_hoi_thuong_gap_ve_AWS_CLI\" >C\u00e1c c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p v\u1ec1 AWS CLI<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/itviec.com\/blog\/aws-cli\/#Tong_ket\" >T\u1ed5ng k\u1ebft<\/a><\/li><\/ul><\/nav><\/div>\n<p><em><strong>AWS CLI l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 m\u1ea1nh m\u1ebd cho ph\u00e9p l\u1eadp tr\u00ecnh vi\u00ean qu\u1ea3n l\u00fd v\u00e0 t\u01b0\u01a1ng t\u00e1c tr\u1ef1c ti\u1ebfp v\u1edbi c\u00e1c d\u1ecbch v\u1ee5 c\u1ee7a AWS d\u1ec5 d\u00e0ng th\u00f4ng giao di\u1ec7n d\u00f2ng l\u1ec7nh. Trong b\u00e0i vi\u1ebft n\u00e0y, h\u00e3y c\u00f9ng ITviec kh\u00e1m ph\u00e1 chi ti\u1ebft v\u1ec1 AWS CLI c\u00f9ng nh\u1eefng l\u00ed do v\u00ec sao c\u00f4ng c\u1ee5 n\u00e0y l\u1ea1i tr\u1edf n\u00ean th\u00f4ng d\u1ee5ng trong l\u0129nh v\u1ef1c c\u00f4ng ngh\u1ec7 th\u00f4ng tin nh\u00e9!<\/strong><\/em><\/p>\n<p><span style=\"font-weight: 400;\">\u0110\u1ecdc b\u00e0i vi\u1ebft \u0111\u1ec3 hi\u1ec3u r\u00f5:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Kh\u00e1i ni\u1ec7m AWS CLI, l\u00ed do ph\u1ed5 bi\u1ebfn, c\u00e1ch <\/span><span style=\"font-weight: 400;\">ho\u1ea1t \u0111\u1ed9ng v\u00e0 nh\u1eefng \u01b0u nh\u01b0\u1ee3c \u0111i\u1ec3m<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">AWS CLI cung c\u1ea5p nh\u1eefng lo\u1ea1i c\u00f4ng c\u1ee5 g\u00ec?<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Ph\u01b0\u01a1ng ph\u00e1p t\u1ea3i v\u00e0 c\u00e0i \u0111\u1eb7t AWS CLI b\u1ea3n chu\u1ea9n cho Windows, macOS, Linux<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">T\u1ed5ng h\u1ee3p c\u00fa ph\u00e1p AWS CLI th\u00f4ng d\u1ee5ng<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"AWS_CLI_la_gi\"><\/span><b> AWS CLI l\u00e0 g\u00ec?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">AWS CLI (Amazon Web Services Command Line Interface) l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 cung c\u1ea5p m\u00f4i tr\u01b0\u1eddng t\u1eadp trung cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng qu\u1ea3n l\u00fd v\u00e0 gi\u00e1m s\u00e1t t\u1ea5t c\u1ea3 c\u00e1c d\u1ecbch v\u1ee5 AWS c\u1ee7a m\u00ecnh t\u1eeb m\u1ed9t phi\u00ean l\u00e0m vi\u1ec7c tr\u00ean m\u00e1y kh\u00e1ch.<\/span><\/p>\n<blockquote><p><span style=\"font-weight: 400;\">AWS l\u00e0 m\u1ed9t n\u1ec1n t\u1ea3ng d\u1ecbch v\u1ee5 \u0111\u00e1m m\u00e2y an to\u00e0n cung c\u1ea5p kh\u1ea3 n\u0103ng \u0111i\u1ec7n to\u00e1n, ph\u00e2n ph\u1ed1i n\u1ed9i dung, l\u01b0u tr\u1eef c\u01a1 s\u1edf d\u1eef li\u1ec7u v\u00e0 c\u00e1c d\u1ecbch v\u1ee5 c\u01a1 s\u1edf h\u1ea1 t\u1ea7ng kh\u00e1c.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">M\u1eb7c d\u00f9 h\u1ea7u h\u1ebft c\u00e1c d\u1ecbch v\u1ee5 AWS c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c qu\u1ea3n l\u00fd th\u00f4ng qua AWS Management Console ho\u1eb7c qua c\u00e1c API, ng\u01b0\u1eddi d\u00f9ng c\u00f2n m\u1ed9t l\u1ef1a ch\u1ecdn n\u1eefa \u0111\u00f3 l\u00e0 s\u1eed d\u1ee5ng giao di\u1ec7n d\u00f2ng l\u1ec7nh (CLI &#8211; Command Line Interface) m\u00e0 AWS cung c\u1ea5p tr\u00ean c\u00e1c h\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux, MacOS v\u00e0 Windows.\u00a0<\/span><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">Ch\u1ec9 c\u1ea7n m\u1ed9t v\u00e0i b\u01b0\u1edbc c\u00e0i \u0111\u1eb7t \u0111\u01a1n gi\u1ea3n v\u1edbi m\u00e1y t\u00ednh c\u00f3 c\u1ea5u h\u00ecnh t\u1ed1i thi\u1ec3u, l\u1eadp tr\u00ecnh vi\u00ean \u0111\u00e3 c\u00f3 th\u1ec3 b\u1eaft \u0111\u1ea7u s\u1eed d\u1ee5ng t\u1ea5t c\u1ea3 c\u00e1c ch\u1ee9c n\u0103ng \u0111\u01b0\u1ee3c cung c\u1ea5p b\u1edfi AWS Management Console qua CLI. C\u1ee5 th\u1ec3:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Qua c\u00e1c shell Linux: Ng\u01b0\u1eddi d\u00f9ng c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng c\u00e1c ch\u01b0\u01a1ng tr\u00ecnh shell nh\u01b0 bash, tsch v\u00e0 zsh \u0111\u1ec3 ch\u1ea1y l\u1ec7nh tr\u00ean c\u00e1c h\u1ec7 \u0111i\u1ec1u h\u00e0nh nh\u01b0 Linux, macOS ho\u1eb7c Unix.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Qua d\u00f2ng l\u1ec7nh c\u1ee7a Windows: Tr\u00ean Windows, l\u1eadp tr\u00ecnh vi\u00ean c\u00f3 th\u1ec3 ch\u1ea1y c\u00e1c l\u1ec7nh trong PowerShell ho\u1eb7c d\u00f2ng l\u1ec7nh c\u1ee7a Windows.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">T\u1eeb xa: Ng\u01b0\u1eddi d\u00f9ng c\u00f2n c\u00f3 th\u1ec3 ch\u1ea1y l\u1ec7nh tr\u00ean c\u00e1c m\u00e1y \u1ea3o Amazon EC2 th\u00f4ng qua phi\u00ean l\u00e0m vi\u1ec7c t\u1eeb xa nh\u01b0 PuTTY ho\u1eb7c SSH, \u0111\u1ed3ng th\u1eddi c\u0169ng c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng AWS Systems Manager \u0111\u1ec3 t\u1ef1 \u0111\u1ed9ng h\u00f3a c\u00e1c nhi\u1ec7m v\u1ee5 v\u1eadn h\u00e0nh tr\u00ean t\u00e0i nguy\u00ean AWS.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Ngo\u00e0i ra, CLI c\u0169ng cung c\u1ea5p kh\u1ea3 n\u0103ng truy c\u1eadp tr\u1ef1c ti\u1ebfp v\u00e0o API c\u00f4ng khai c\u1ee7a c\u00e1c d\u1ecbch v\u1ee5 AWS c\u00f9ng kh\u1ea3 n\u0103ng t\u00f9y ch\u1ec9nh cho nhi\u1ec1u d\u1ecbch v\u1ee5.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Vi_sao_AWS_CLI_duoc_su_dung_pho_bien\"><\/span><b> V\u00ec sao AWS CLI \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng ph\u1ed5 bi\u1ebfn?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">V\u1eady n\u1ebfu l\u1eadp tr\u00ecnh vi\u00ean \u0111\u00e3 c\u00f3 AWS Web Console \u0111\u1ec3 ki\u1ec3m so\u00e1t c\u00e1c d\u1ecbch v\u1ee5 AWS, th\u00ec t\u1ea1i sao l\u1ea1i c\u1ea7n bi\u1ebft s\u1eed d\u1ee5ng c\u1ea3 CLI n\u1eefa?<\/span><\/p>\n<blockquote><p><em>\u0110\u1ecdc th\u00eam: <a href=\"https:\/\/itviec.com\/blog\/aws-console\/\" target=\"_blank\" rel=\"noopener\"><strong>AWS Console l\u00e0 g\u00ec? 10 th\u00e0nh ph\u1ea7n ch\u00ednh c\u1ee7a AWS Console<\/strong><\/a><\/em><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">CLI cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng truy c\u1eadp v\u00e0o c\u00e1c t\u1ec7p trong c\u1ed5ng th\u00f4ng tin th\u00f4ng qua nh\u1eefng l\u1ec7nh c\u1ee5 th\u1ec3, gi\u00fap ti\u1ebft ki\u1ec7m r\u1ea5t nhi\u1ec1u th\u1eddi gian do quy tr\u00ecnh ki\u1ec3m so\u00e1t v\u00e0 qu\u1ea3n l\u00fd d\u1ecbch v\u1ee5 AWS \u0111\u01b0\u1ee3c t\u1ef1 \u0111\u1ed9ng h\u00f3a to\u00e0n b\u1ed9 th\u00f4ng qua c\u00e1c t\u1eadp l\u1ec7nh. Nh\u1eefng t\u1eadp l\u1ec7nh n\u00e0y gi\u00fap t\u1ea1o n\u00ean m\u1ed9t c\u01a1 s\u1edf h\u1ea1 t\u1ea7ng \u0111\u00e1m m\u00e2y ho\u00e0n to\u00e0n t\u1ef1 \u0111\u1ed9ng.<\/span><\/p>\n<p>H\u00e3y xem v\u00ed d\u1ee5 d\u01b0\u1edbi \u0111\u00e2y \u0111\u1ec3 hi\u1ec3u h\u01a1n:<\/p>\n<p><strong>AWS Web Console c\u0169ng l\u00e0 m\u1ed9t ph\u01b0\u01a1ng ph\u00e1p \u0111\u1ec3 ki\u1ec3m so\u00e1t d\u1ecbch v\u1ee5 AWS nh\u01b0ng \u00edt hi\u1ec7u qu\u1ea3 h\u01a1n:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-69653\" src=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-2-vippro.png\" alt=\"\" width=\"2859\" height=\"1066\" srcset=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-2-vippro.png 2859w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-2-vippro-300x112.png 300w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-2-vippro-640x239.png 640w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-2-vippro-200x75.png 200w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-2-vippro-768x286.png 768w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-2-vippro-1536x573.png 1536w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-2-vippro-2048x764.png 2048w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-2-vippro-100x37.png 100w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-2-vippro-700x261.png 700w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-2-vippro-1600x597.png 1600w\" sizes=\"auto, (max-width: 2859px) 100vw, 2859px\" \/><\/p>\n<p><strong>C\u00e1ch ng\u01b0\u1eddi d\u00f9ng ki\u1ec3m so\u00e1t c\u00e1c d\u1ecbch v\u1ee5 AWS hi\u1ec7u qu\u1ea3 h\u01a1n qua AWS CLI:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-69655 size-full\" src=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-vippro.png\" alt=\"aws cli - itviec blog\" width=\"2858\" height=\"1066\" srcset=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-vippro.png 2858w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-vippro-300x112.png 300w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-vippro-640x239.png 640w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-vippro-200x75.png 200w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-vippro-768x286.png 768w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-vippro-1536x573.png 1536w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-vippro-2048x764.png 2048w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-vippro-100x37.png 100w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-vippro-700x261.png 700w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-vippro-1600x597.png 1600w\" sizes=\"auto, (max-width: 2858px) 100vw, 2858px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-69654 size-full\" src=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-3-vippro.png\" alt=\"aws cli - itviec blog\" width=\"2858\" height=\"1066\" srcset=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-3-vippro.png 2858w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-3-vippro-300x112.png 300w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-3-vippro-640x239.png 640w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-3-vippro-200x75.png 200w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-3-vippro-768x286.png 768w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-3-vippro-1536x573.png 1536w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-3-vippro-2048x764.png 2048w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-3-vippro-100x37.png 100w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-3-vippro-700x261.png 700w, https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/AWS-CLI-3-vippro-1600x597.png 1600w\" sizes=\"auto, (max-width: 2858px) 100vw, 2858px\" \/>L\u00fd do ch\u00ednh l\u00e0 v\u00ec qu\u00e1 tr\u00ecnh c\u00e0i \u0111\u1eb7t c\u1ea5u h\u00ecnh c\u01a1 s\u1edf h\u1ea1 t\u1ea7ng th\u00f4ng qua giao di\u1ec7n Web Console c\u1ee7a AWS kh\u00e1 ph\u1ee9c t\u1ea1p v\u00e0 t\u1ed1n nhi\u1ec1u th\u1eddi gian, v\u1eady n\u00ean AWS CLI s\u1ebd tr\u1edf th\u00e0nh c\u00f4ng c\u1ee5 c\u1ea7n thi\u1ebft gi\u00fap qu\u00e1 tr\u00ecnh c\u00e0i \u0111\u1eb7t c\u1ea5u h\u00ecnh tr\u1edf n\u00ean nhanh ch\u00f3ng, \u0111\u01a1n gi\u1ea3n v\u00e0 hi\u1ec7u qu\u1ea3, ti\u1ebft ki\u1ec7m r\u1ea5t nhi\u1ec1u th\u1eddi gian, c\u00f4ng s\u1ee9c v\u00e0 t\u0103ng n\u0103ng su\u1ea5t l\u00e0m vi\u1ec7c chung.<\/p>\n<p><span style=\"font-weight: 400;\">T\u00f3m l\u1ea1i, AWS CLI gi\u00fap cho vi\u1ec7c \u0111i\u1ec1u khi\u1ec3n t\u1ea5t c\u1ea3 c\u00e1c d\u1ecbch v\u1ee5 AWS tr\u1edf n\u00ean d\u1ec5 d\u00e0ng h\u01a1n b\u1eb1ng c\u00e1ch k\u1ebft n\u1ed1i c\u00e1c l\u1ec7nh v\u00e0o m\u1ed9t giao di\u1ec7n d\u00f2ng l\u1ec7nh (CLI) \u0111\u01a1n gi\u1ea3n v\u00e0 lo\u1ea1i b\u1ecf b\u01b0\u1edbc t\u01b0\u01a1ng t\u00e1c v\u1edbi h\u1ec7 th\u1ed1ng th\u00f4ng qua Giao di\u1ec7n Ng\u01b0\u1eddi d\u00f9ng \u0110\u1ed3 h\u1ecda (GUI), do GUI tuy th\u00e2n thi\u1ec7n v\u1edbi ng\u01b0\u1eddi d\u00f9ng nh\u01b0ng c\u00f3 th\u1ec3 t\u1ed1n th\u1eddi gian l\u00e0m vi\u1ec7c.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Cac_loai_cong_cu_trong_AWS_CLI\"><\/span><b>C\u00e1c lo\u1ea1i c\u00f4ng c\u1ee5 trong AWS CLI<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Trong AWS, c\u00f3 hai lo\u1ea1i c\u00f4ng c\u1ee5 CLI \u0111\u01b0\u1ee3c cung c\u1ea5p:<\/span><\/p>\n<ol>\n<li><strong> AWS CLI: <\/strong><span style=\"font-weight: 400;\">\u0110\u00e2y l\u00e0 c\u00f4ng c\u1ee5 d\u00f2ng l\u1ec7nh ch\u00ednh m\u00e0 b\u00e0i vi\u1ebft c\u1ee7a ch\u00fang ta \u0111ang \u0111\u1ec1 c\u1eadp t\u1edbi. \u0110\u1ec3 s\u1eed d\u1ee5ng, l\u1eadp tr\u00ecnh vi\u00ean c\u00e0i \u0111\u1eb7t tr\u1ef1c ti\u1ebfp AWS CLI tr\u00ean m\u00e1y t\u00ednh c\u1ee7a m\u00ecnh. C\u00f4ng c\u1ee5 AWS n\u00e0y ch\u1ec9 c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng tr\u00ean c\u00e1c h\u1ec7 th\u1ed1ng \u0111\u00e3 c\u00f3 c\u00e0i \u0111\u1eb7t v\u00e0 c\u1ea5u h\u00ecnh ph\u00f9 h\u1ee3p.<\/span><\/li>\n<li><strong> AWS CloudShell: <\/strong><span style=\"font-weight: 400;\">\u0110\u00e2y l\u00e0 m\u1ed9t shell d\u1ef1a tr\u00ean tr\u00ecnh duy\u1ec7t m\u00e0 ng\u01b0\u1eddi d\u00f9ng c\u00f3 th\u1ec3 kh\u1edfi \u0111\u1ed9ng tr\u1ef1c ti\u1ebfp t\u1eeb AWS Console \u0111\u1ec3 ch\u1ea1y c\u00e1c l\u1ec7nh CLI ti\u00eau chu\u1ea9n. CloudShell l\u00e0 m\u1ed9t ph\u1ea7n m\u1edf r\u1ed9ng h\u01a1n c\u1ee7a AWS CLI v\u00e0 cung c\u1ea5p nhi\u1ec1u l\u1ee3i \u00edch h\u01a1n, \u0111\u1eb7c bi\u1ec7t kh\u1ea3 n\u0103ng h\u1ed7 tr\u1ee3 truy c\u1eadp t\u1eeb b\u1ea5t c\u1ee9 \u0111\u00e2u th\u00f4ng qua cloud.\u00a0<\/span><\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Phuong_phap_tai_va_cai_dat_AWS_CLI_cho_Windows_macOS_Linux\"><\/span><b>Ph\u01b0\u01a1ng ph\u00e1p t\u1ea3i v\u00e0 c\u00e0i \u0111\u1eb7t AWS CLI cho Windows, macOS, Linux<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><b>Ph\u01b0\u01a1ng ph\u00e1p t\u1ea3i v\u00e0 c\u00e0i \u0111\u1eb7t AWS CLI cho Windows<\/b><\/h3>\n<ul>\n<li><b>B\u01b0\u1edbc 1: <\/b><span style=\"font-weight: 400;\">Truy c\u1eadp quy\u1ec1n qu\u1ea3n tr\u1ecb \u0111\u1ec3 c\u00e0i \u0111\u1eb7t ph\u1ea7n m\u1ec1m.<\/span><\/li>\n<li><b>B\u01b0\u1edbc 2: <\/b><span style=\"font-weight: 400;\">T\u1ea3i v\u00e0 c\u00e0i \u0111\u1eb7t<\/span><\/li>\n<\/ul>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><span style=\"font-weight: 400;\"> Truy c\u1eadp v\u00e0o web c\u1ee7a AWS \u0111\u1ec3 t\u1ea3i b\u1ea3n c\u00e0i \u0111\u1eb7t CLI cho Windows (64-bit): [<\/span><a href=\"https:\/\/awscli.amazonaws.com\/AWSCLIV2.msi\"><span style=\"font-weight: 400;\">https:\/\/awscli.amazonaws.com\/AWSCLIV2.msi<\/span><\/a><span style=\"font-weight: 400;\">]\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Sau khi t\u1ea3i xong, ch\u1ea1y t\u1ec7p c\u00e0i \u0111\u1eb7t AWSCLIV2.msi. B\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng Command Prompt \u0111\u1ec3 ch\u1ea1y l\u1ec7nh sau:<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">C:\\&gt; msiexec<\/span><span style=\"font-weight: 400;\">.exe<\/span><span style=\"font-weight: 400;\"> \/<\/span><span style=\"font-weight: 400;\">i<\/span><span style=\"font-weight: 400;\"> https:<\/span><span style=\"font-weight: 400;\">\/\/awscli.amazonaws.com\/AWSCLIV2.msi<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">Ho\u1eb7c b\u1ea1n c\u00f3 th\u1ec3 ch\u1ea1y l\u1ec7nh sau \u0111\u1ec3 c\u00e0i \u0111\u1eb7t m\u1eb7c \u0111\u1ecbnh (silent installation):<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">C:\\&gt; msiexec<\/span><span style=\"font-weight: 400;\">.exe<\/span><span style=\"font-weight: 400;\"> \/<\/span><span style=\"font-weight: 400;\">i<\/span><span style=\"font-weight: 400;\"> https:<\/span><span style=\"font-weight: 400;\">\/\/awscli.amazonaws.com\/AWSCLIV2.msi \/qn<\/span><\/pre>\n<ul>\n<li><b>B\u01b0\u1edbc 3: <\/b><span style=\"font-weight: 400;\">X\u00e1c nh\u1eadn c\u00e0i \u0111\u1eb7t<\/span><\/li>\n<\/ul>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><span style=\"font-weight: 400;\"> M\u1edf Command Prompt b\u1eb1ng c\u00e1ch t\u00ecm ki\u1ebfm &#8220;cmd&#8221; trong menu Start.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Trong c\u1eeda s\u1ed5 Command Prompt, nh\u1eadp l\u1ec7nh sau \u0111\u1ec3 ki\u1ec3m tra phi\u00ean b\u1ea3n AWS CLI \u0111\u00e3 \u0111\u01b0\u1ee3c c\u00e0i \u0111\u1eb7t:<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">C:<\/span><span style=\"font-weight: 400;\">\\&gt; aws --version<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">N\u1ebfu c\u00e0i \u0111\u1eb7t th\u00e0nh c\u00f4ng, b\u1ea1n s\u1ebd nh\u1eadn \u0111\u01b0\u1ee3c \u0111\u1ea7u ra t\u01b0\u01a1ng t\u1ef1 nh\u01b0 sau:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">C:<\/span><span style=\"font-weight: 400;\">\\&gt; aws --version<\/span>\r\n<span style=\"font-weight: 400;\">aws-cli\/2.15.30 Python\/<\/span><span style=\"font-weight: 400;\">3.11.6<\/span><span style=\"font-weight: 400;\"> Windows\/10 exe\/AMD64 prompt\/off<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">N\u1ebfu Command Prompt kh\u00f4ng nh\u1eadn ra l\u1ec7nh <\/span><span style=\"font-weight: 400;\">aws<\/span><span style=\"font-weight: 400;\">, b\u1ea1n c\u00f3 th\u1ec3 th\u1eed \u0111\u00f3ng v\u00e0 m\u1edf l\u1ea1i c\u1eeda s\u1ed5 Command Prompt \u0111\u1ec3 l\u00e0m m\u1edbi \u0111\u01b0\u1eddng d\u1eabn, ho\u1eb7c th\u1ef1c hi\u1ec7n c\u00e1c b\u01b0\u1edbc s\u1eeda l\u1ed7i trong trang <\/span><a href=\"https:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/cli-chap-troubleshooting.html\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Troubleshoot AWS CLI errors<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<blockquote><p><em><span style=\"font-weight: 400;\">L\u01b0u \u00fd: <\/span><span style=\"font-weight: 400;\">B\u1ea1n n\u00ean ki\u1ec3m tra Changelog tr\u00ean GitHub \u0111\u1ec3 xem phi\u00ean b\u1ea3n AWS CLI m\u1edbi nh\u1ea5t n\u00e0o \u0111\u00e3 ph\u00e1t h\u00e0nh khi c\u1ea7n c\u1eadp nh\u1eadt.<\/span><\/em><\/p><\/blockquote>\n<h3><b>Ph\u01b0\u01a1ng ph\u00e1p t\u1ea3i v\u00e0 c\u00e0i \u0111\u1eb7t AWS CLI cho macOS<\/b><\/h3>\n<ul>\n<li><b>B\u01b0\u1edbc 1: <\/b><span style=\"font-weight: 400;\">Ki\u1ec3m tra c\u00e1c y\u00eau c\u1ea7u v\u00e0 c\u00e1c phi\u00ean b\u1ea3n macOS \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3 (t\u1eeb\u00a0<\/span>macOS phi\u00ean b\u1ea3n 10.9 tr\u1edf l\u00ean). \u0110\u1ec3 bi\u1ebft th\u00eam th\u00f4ng tin chi ti\u1ebft, b\u1ea1n c\u00f3 th\u1ec3 xem tr\u00ean <a href=\"https:\/\/aws.amazon.com\/blogs\/developer\/macos-support-policy-updates-for-the-aws-cli-v2\/\">AWS Developer Tools Blog<\/a>.<\/li>\n<li><b>B\u01b0\u1edbc 2: <\/b><span style=\"font-weight: 400;\">T\u1ea3i v\u00e0 c\u00e0i \u0111\u1eb7t CLI s\u1eed d\u1ee5ng tr\u1ef1c ti\u1ebfp tr\u00ecnh c\u00e0i \u0111\u1eb7t macOS<\/span><\/li>\n<\/ul>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><span style=\"font-weight: 400;\"> Truy c\u1eadp v\u00e0o \u0111\u01b0\u1eddng link sau trong tr\u00ecnh duy\u1ec7t \u0111\u1ec3 t\u1ea3i t\u1ec7p macOS pkg: [<\/span><a href=\"https:\/\/awscli.amazonaws.com\/AWSCLIV2.pkg\"><span style=\"font-weight: 400;\">https:\/\/awscli.amazonaws.com\/AWSCLIV2.pkg<\/span><\/a><span style=\"font-weight: 400;\">]<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Sau khi t\u1ea3i xong, m\u1edf t\u1ec7p \u0111\u00e3 t\u1ea3i v\u00e0 l\u00e0m theo h\u01b0\u1edbng d\u1eabn tr\u00ean m\u00e0n h\u00ecnh. B\u1ea1n c\u00f3 th\u1ec3 ch\u1ecdn c\u00e1ch c\u00e0i \u0111\u1eb7t nh\u01b0 sau:<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">&#8211; C\u00e0i \u0111\u1eb7t cho t\u1ea5t c\u1ea3 ng\u01b0\u1eddi d\u00f9ng tr\u00ean m\u00e1y t\u00ednh (c\u1ea7n s\u1eed d\u1ee5ng <\/span><span style=\"font-weight: 400;\">sudo<\/span><span style=\"font-weight: 400;\">): Ch\u1ecdn th\u01b0 m\u1ee5c m\u1eb7c \u0111\u1ecbnh <\/span><span style=\"font-weight: 400;\">\/usr\/<\/span><span style=\"font-weight: 400;\">local<\/span><span style=\"font-weight: 400;\">\/aws-<\/span><span style=\"font-weight: 400;\">cli<\/span><span style=\"font-weight: 400;\"> ho\u1eb7c th\u01b0 m\u1ee5c kh\u00e1c theo mong mu\u1ed1n c\u1ee7a b\u1ea1n.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; C\u00e0i \u0111\u1eb7t ch\u1ec9 cho ng\u01b0\u1eddi d\u00f9ng hi\u1ec7n t\u1ea1i (kh\u00f4ng c\u1ea7n <\/span><span style=\"font-weight: 400;\">sudo<\/span><span style=\"font-weight: 400;\">): Ch\u1ecdn m\u1ed9t th\u01b0 m\u1ee5c m\u00e0 b\u1ea1n c\u00f3 quy\u1ec1n ghi.<\/span><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol start=\"3\">\n<li><span style=\"font-weight: 400;\"> Sau khi c\u00e0i \u0111\u1eb7t ho\u00e0n t\u1ea5t, b\u1ea1n c\u1ea7n t\u1ea1o c\u00e1c li\u00ean k\u1ebft symlink t\u1edbi c\u00e1c ch\u01b0\u01a1ng tr\u00ecnh <\/span><span style=\"font-weight: 400;\">aws<\/span><span style=\"font-weight: 400;\"> v\u00e0 <\/span><span style=\"font-weight: 400;\">aws_completer<\/span><span style=\"font-weight: 400;\"> trong <\/span><span style=\"font-weight: 400;\">$PATH<\/span><span style=\"font-weight: 400;\"> c\u1ee7a b\u1ea1n. S\u1eed d\u1ee5ng Terminal v\u00e0 c\u00e1c l\u1ec7nh sau (l\u01b0u \u00fd thay \u0111\u1ed5i \u0111\u01b0\u1eddng d\u1eabn n\u1ebfu c\u1ea7n):<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">$ sudo ln -s \/folder\/installed\/aws-cli\/aws \/usr\/local\/bin\/aws<\/span>\r\n<span style=\"font-weight: 400;\">$ sudo ln -s \/folder\/installed\/aws-cli\/aws_completer \/usr\/local\/bin\/aws_completer<\/span><\/pre>\n<blockquote><p><em><span style=\"font-weight: 400;\">L\u01b0u \u00fd: <\/span><span style=\"font-weight: 400;\">N\u1ebfu <\/span><span style=\"font-weight: 400;\">$PATH<\/span><span style=\"font-weight: 400;\"> c\u1ee7a b\u1ea1n kh\u00f4ng c\u00f3 th\u01b0 m\u1ee5c c\u00f3 th\u1ec3 ghi, b\u1ea1n c\u1ea7n s\u1eed d\u1ee5ng <\/span><span style=\"font-weight: 400;\">sudo<\/span><span style=\"font-weight: 400;\"> trong c\u00e1c l\u1ec7nh tr\u00ean \u0111\u1ec3 c\u00f3 quy\u1ec1n ghi v\u00e0o th\u01b0 m\u1ee5c \u0111\u00edch.<\/span><\/em><\/p><\/blockquote>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol start=\"4\">\n<li><span style=\"font-weight: 400;\"> \u0110\u1ec3 x\u00e1c nh\u1eadn r\u1eb1ng Terminal c\u00f3 th\u1ec3 t\u00ecm th\u1ea5y v\u00e0 ch\u1ea1y l\u1ec7nh <\/span><span style=\"font-weight: 400;\">aws<\/span><span style=\"font-weight: 400;\"> trong <\/span><span style=\"font-weight: 400;\">$PATH<\/span><span style=\"font-weight: 400;\">, s\u1eed d\u1ee5ng c\u00e1c l\u1ec7nh sau:<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">$ which aws<\/span>\r\n<span style=\"font-weight: 400;\">\/usr\/local\/bin\/aws <\/span>\r\n<span style=\"font-weight: 400;\">$ aws --version<\/span>\r\n<span style=\"font-weight: 400;\">aws-cli\/<\/span><span style=\"font-weight: 400;\">2.15.30<\/span><span style=\"font-weight: 400;\"> Python\/<\/span><span style=\"font-weight: 400;\">3.11.6<\/span><span style=\"font-weight: 400;\"> Darwin\/<\/span><span style=\"font-weight: 400;\">23.3.0<\/span><span style=\"font-weight: 400;\"> botocore\/<\/span><span style=\"font-weight: 400;\">2.4.5<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">N\u1ebfu l\u1ec7nh <\/span><span style=\"font-weight: 400;\">aws<\/span><span style=\"font-weight: 400;\"> kh\u00f4ng \u0111\u01b0\u1ee3c t\u00ecm th\u1ea5y, b\u1ea1n c\u00f3 th\u1ec3 c\u1ea7n kh\u1edfi \u0111\u1ed9ng l\u1ea1i Terminal ho\u1eb7c th\u1ef1c hi\u1ec7n c\u00e1c b\u01b0\u1edbc s\u1eeda l\u1ed7i trong <\/span><a href=\"https:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/cli-chap-troubleshooting.html\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Troubleshoot AWS CLI errors<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h3><b>Ph\u01b0\u01a1ng ph\u00e1p t\u1ea3i v\u00e0 c\u00e0i \u0111\u1eb7t AWS CLI cho Linux<\/b><\/h3>\n<ul>\n<li><b>B\u01b0\u1edbc 1: <\/b><span style=\"font-weight: 400;\">Ki\u1ec3m tra c\u00e1c y\u00eau c\u1ea7u v\u00e0 c\u00e1c phi\u00ean b\u1ea3n Linux \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3\u00a0<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Y\u00eau c\u1ea7u: Phi\u00ean b\u1ea3n 64-bit c\u1ee7a c\u00e1c b\u1ea3n ph\u00e2n ph\u1ed1i Linux nh\u01b0 CentOS, Fedora, Ubuntu, Amazon Linux 1, Amazon Linux 2, Amazon Linux 2023 v\u00e0 Linux ARM.<\/span><\/p>\n<ul>\n<li><b>B\u01b0\u1edbc 2: <\/b><span style=\"font-weight: 400;\">T\u1ea3i v\u00e0 c\u00e0i \u0111\u1eb7t<\/span><\/li>\n<\/ul>\n<h4><b>C\u00e1ch 1: C\u00e0i \u0111\u1eb7t AWS CLI nhanh<\/b><\/h4>\n<ol>\n<li><span style=\"font-weight: 400;\"> S\u1eed d\u1ee5ng l\u1ec7nh curl \u0111\u1ec3 t\u1ea3i t\u1ec7p zip ch\u1ee9a CLI cho Linux 64-bit:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">$<\/span><span style=\"font-weight: 400;\"> curl <\/span><span style=\"font-weight: 400;\">\"https:\/\/awscli.amazonaws.com\/awscli-exe-linux-x86_64.zip\"<\/span><span style=\"font-weight: 400;\"> -o <\/span><span style=\"font-weight: 400;\">\"awscliv2.zip\"<\/span><\/pre>\n<ol start=\"2\">\n<li><span style=\"font-weight: 400;\"> Gi\u1ea3i n\u00e9n t\u1ec7p zip sau khi t\u1ea3i xong:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">unzip awscliv2<\/span><span style=\"font-weight: 400;\">.zip<\/span><\/pre>\n<ol start=\"3\">\n<li><span style=\"font-weight: 400;\"> Ch\u1ea1y l\u1ec7nh <\/span><span style=\"font-weight: 400;\">install<\/span><span style=\"font-weight: 400;\"> t\u1eeb th\u01b0 m\u1ee5c \u0111\u00e3 gi\u1ea3i n\u00e9n. L\u1ec7nh n\u00e0y s\u1ebd c\u00e0i \u0111\u1eb7t CLI v\u00e0o <\/span><span style=\"font-weight: 400;\">\/usr\/<\/span><span style=\"font-weight: 400;\">local<\/span><span style=\"font-weight: 400;\">\/aws-<\/span><span style=\"font-weight: 400;\">cli<\/span><span style=\"font-weight: 400;\"> v\u00e0 t\u1ea1o m\u1ed9t li\u00ean k\u1ebft t\u01b0\u1ee3ng tr\u01b0ng trong <\/span><span style=\"font-weight: 400;\">\/usr\/<\/span><span style=\"font-weight: 400;\">local<\/span><span style=\"font-weight: 400;\">\/bin<\/span><span style=\"font-weight: 400;\"> (c\u1ea7n s\u1eed d\u1ee5ng <\/span><span style=\"font-weight: 400;\">sudo<\/span><span style=\"font-weight: 400;\"> \u0111\u1ec3 c\u00f3 quy\u1ec1n ghi v\u00e0o c\u00e1c th\u01b0 m\u1ee5c n\u00e0y):<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">sudo .\/aws\/install<\/span><\/pre>\n<h4><b>C\u00e1ch 2: C\u00e0i \u0111\u1eb7t AWS CLI c\u00f3 h\u01b0\u1edbng d\u1eabn<\/b><\/h4>\n<ol>\n<li><span style=\"font-weight: 400;\"> S\u1eed d\u1ee5ng l\u1ec7nh curl \u0111\u1ec3 t\u1ea3i t\u1ec7p zip ch\u1ee9a CLI cho Linux 64-bit:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">$<\/span><span style=\"font-weight: 400;\"> curl <\/span><span style=\"font-weight: 400;\">\"https:\/\/awscli.amazonaws.com\/awscli-exe-linux-x86_64.zip\"<\/span><span style=\"font-weight: 400;\"> -o <\/span><span style=\"font-weight: 400;\">\"awscliv2.zip\"<\/span><\/pre>\n<ol start=\"2\">\n<li><span style=\"font-weight: 400;\"> Gi\u1ea3i n\u00e9n t\u1ec7p zip sau khi t\u1ea3i xong:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">$<\/span><span style=\"font-weight: 400;\"> unzip awscliv2.zip<\/span><\/pre>\n<ol start=\"3\">\n<li><span style=\"font-weight: 400;\"> Ch\u1ea1y l\u1ec7nh install t\u1eeb th\u01b0 m\u1ee5c \u0111\u00e3 gi\u1ea3i n\u00e9n \u0111\u1ec3 c\u00e0i \u0111\u1eb7t CLI. B\u1ea1n c\u00f3 th\u1ec3 ch\u1ec9 \u0111\u1ecbnh th\u01b0 m\u1ee5c c\u00e0i \u0111\u1eb7t v\u00e0 th\u01b0 m\u1ee5c bin c\u1ee7a b\u1ea1n:<\/span><\/li>\n<\/ol>\n<pre><span style=\"font-weight: 400;\">sudo <\/span><span style=\"font-weight: 400;\">.\/aws\/install<\/span><span style=\"font-weight: 400;\"> --bin-dir <\/span><span style=\"font-weight: 400;\">\/usr\/local\/bin<\/span><span style=\"font-weight: 400;\"> --install-dir <\/span><span style=\"font-weight: 400;\">\/usr\/local\/aws-cli<\/span><span style=\"font-weight: 400;\"> --update<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">\u0110\u1ec3 c\u1eadp nh\u1eadt CLI, b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng c\u00f9ng m\u1ed9t quy tr\u00ecnh nh\u01b0 tr\u00ean nh\u01b0ng th\u00eam t\u00f9y ch\u1ecdn <\/span><span style=\"font-weight: 400;\">&#8211;update<\/span><span style=\"font-weight: 400;\"> v\u00e0o l\u1ec7nh <\/span><span style=\"font-weight: 400;\">install<\/span><span style=\"font-weight: 400;\">:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">$ sudo <\/span><span style=\"font-weight: 400;\">.\/aws\/install<\/span><span style=\"font-weight: 400;\"> --bin-dir <\/span><span style=\"font-weight: 400;\">\/usr\/local\/bin<\/span><span style=\"font-weight: 400;\"> --install-dir <\/span><span style=\"font-weight: 400;\">\/usr\/local\/aws-cli<\/span><span style=\"font-weight: 400;\"> --update<\/span><\/pre>\n<ol start=\"4\">\n<li><span style=\"font-weight: 400;\"> X\u00e1c nh\u1eadn c\u00e0i \u0111\u1eb7t<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Sau khi c\u00e0i \u0111\u1eb7t ho\u00e0n t\u1ea5t, b\u1ea1n c\u00f3 th\u1ec3 ki\u1ec3m tra phi\u00ean b\u1ea3n CLI \u0111\u00e3 c\u00e0i \u0111\u1eb7t b\u1eb1ng l\u1ec7nh:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">$<\/span><span style=\"font-weight: 400;\"> aws --version<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">N\u1ebfu l\u1ec7nh <\/span><span style=\"font-weight: 400;\">aws<\/span><span style=\"font-weight: 400;\"> kh\u00f4ng \u0111\u01b0\u1ee3c t\u00ecm th\u1ea5y, b\u1ea1n c\u00f3 th\u1ec3 c\u1ea7n kh\u1edfi \u0111\u1ed9ng l\u1ea1i Terminal ho\u1eb7c th\u1ef1c hi\u1ec7n c\u00e1c b\u01b0\u1edbc s\u1eeda l\u1ed7i trong <\/span><a href=\"https:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/cli-chap-troubleshooting.html\"><span style=\"font-weight: 400;\">Troubleshoot AWS CLI errors<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Uu_diem_va_nhuoc_diem_cua_AWS_CLI\"><\/span><b> \u01afu \u0111i\u1ec3m v\u00e0 nh\u01b0\u1ee3c \u0111i\u1ec3m c\u1ee7a AWS CLI<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><strong>\u01afu \u0111i\u1ec3m<\/strong><\/h3>\n<ul>\n<li><span style=\"font-weight: 400;\"><strong> D\u1ec5 d\u00e0ng c\u00e0i \u0111\u1eb7t:<\/strong> CLI \u0111\u01b0\u1ee3c c\u00e0i \u0111\u1eb7t m\u1ed9t c\u00e1ch \u0111\u01a1n gi\u1ea3n v\u00e0 c\u00f3 ti\u00eau chu\u1ea9n r\u00f5 r\u00e0ng h\u01a1n so v\u1edbi c\u00e1c toolkit tr\u01b0\u1edbc \u0111\u00e2y nh\u01b0 AWS EC2 API toolkit. Vi\u1ec7c c\u00e0i \u0111\u1eb7t AWS tr\u01b0\u1edbc \u0111\u00e2y c\u1ea7n qua nhi\u1ec1u b\u01b0\u1edbc v\u00e0 y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng thi\u1ebft l\u1eadp nhi\u1ec1u bi\u1ebfn m\u00f4i tr\u01b0\u1eddng. C\u00f4ng c\u1ee5 n\u00e0y \u0111\u00e3 lo\u1ea1i b\u1ecf nh\u1eefng s\u1ef1 ph\u1ee9c t\u1ea1p n\u00e0y, cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng c\u00e0i \u0111\u1eb7t nhanh ch\u00f3ng v\u00e0 d\u1ec5 d\u00e0ng h\u01a1n.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"><strong> H\u1ed7 tr\u1ee3 t\u1ea5t c\u1ea3 c\u00e1c d\u1ecbch v\u1ee5 AWS:<\/strong> Tr\u01b0\u1edbc \u0111\u00e2y, l\u1eadp tr\u00ecnh vi\u00ean c\u1ea7n s\u1eed d\u1ee5ng m\u1ed9t c\u00f4ng c\u1ee5 CLI ri\u00eang cho d\u1ecbch v\u1ee5 EC2. Tuy v\u1eady, c\u00f4ng c\u1ee5 n\u00e0y kh\u00f4ng cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng ki\u1ec3m so\u00e1t c\u00e1c d\u1ecbch v\u1ee5 kh\u00e1c c\u1ee7a Amazon Web Services nh\u01b0 RDS (Relational Database Service). Gi\u1edd \u0111\u00e2y v\u1edbi CLI, ng\u01b0\u1eddi d\u00f9ng c\u00f3 th\u1ec3 ki\u1ec3m so\u00e1t t\u1ea5t c\u1ea3 c\u00e1c d\u1ecbch v\u1ee5 t\u1eeb m\u1ed9t c\u00f4ng c\u1ee5 \u0111\u01a1n gi\u1ea3n.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"><strong> Ti\u1ebft ki\u1ec7m th\u1eddi gian:<\/strong> Vi\u1ec7c s\u1eed d\u1ee5ng CLI gi\u00fap ng\u01b0\u1eddi d\u00f9ng thao t\u00e1c nhanh h\u01a1n so v\u1edbi giao di\u1ec7n \u0111\u1ed3 h\u1ecda (GUI) m\u1ed9t khi \u0111\u00e3 quen v\u1edbi h\u1ec7 th\u1ed1ng v\u00e0 c\u1ea7n s\u1eed d\u1ee5ng nhi\u1ec1u l\u1ec7nh h\u01a1n.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"><strong> T\u1ef1 \u0111\u1ed9ng h\u00f3a v\u1edbi Shell scripting:<\/strong> Kh\u1ea3 n\u0103ng t\u1ef1 \u0111\u1ed9ng h\u00f3a ki\u1ec3m so\u00e1t t\u1ea5t c\u1ea3 c\u00e1c d\u1ecbch v\u1ee5 web c\u1ee7a Amazon b\u1eb1ng scripts l\u00e0 m\u1ed9t trong nh\u1eefng l\u1ee3i \u00edch n\u1ed5i b\u1eadt nh\u1ea5t c\u1ee7a CLI. Vi\u1ec7c t\u1ef1 \u0111\u1ed9ng h\u00f3a m\u1ed9t ph\u1ea7n c\u00e1c t\u00e1c v\u1ee5 gi\u00fap l\u1eadp tr\u00ecnh vi\u00ean kh\u00f4ng c\u1ea7n ph\u1ea3i \u0111\u0103ng nh\u1eadp v\u00e0o AWS Management Console m\u00e0 v\u1eabn c\u00f3 th\u1ec3 d\u1ec5 d\u00e0ng t\u1ef1 \u0111\u1ed9ng h\u00f3a c\u01a1 s\u1edf h\u1ea1 t\u1ea7ng \u0111i\u1ec7n to\u00e1n \u0111\u00e1m m\u00e2y.<\/span><\/li>\n<\/ul>\n<h3><strong>Nh\u01b0\u1ee3c \u0111i\u1ec3m<\/strong><\/h3>\n<ul>\n<li><span style=\"font-weight: 400;\"><strong> Kh\u00e1 kh\u00f3 h\u1ecdc v\u00e0 l\u00e0m quen:<\/strong>\u00a0CLI y\u00eau c\u1ea7u l\u1eadp tr\u00ecnh vi\u00ean \u0111\u1ea7u t\u01b0 c\u00f4ng s\u1ee9c v\u00e0 th\u1eddi gian h\u1ecdc nhi\u1ec1u h\u01a1n do c\u1ea7n ghi nh\u1edb c\u00e1c l\u1ec7nh v\u00e0 c\u00fa ph\u00e1p\/\u0111\u1ed1i s\u1ed1 ph\u1ee9c t\u1ea1p. So v\u1edbi giao di\u1ec7n \u0111\u1ed3 h\u1ecda ng\u01b0\u1eddi d\u00f9ng (GUI), ng\u01b0\u1eddi d\u00f9ng m\u1edbi c\u00f3 th\u1ec3 g\u1eb7p nhi\u1ec1u kh\u00f3 kh\u0103n h\u01a1n khi b\u1eaft \u0111\u1ea7u s\u1eed d\u1ee5ng CLI.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"><strong> L\u1ec7nh kh\u00e1c nhau trong c\u00e1c shell kh\u00e1c nhau:<\/strong>\u00a0CLI s\u1eed d\u1ee5ng c\u00e1c l\u1ec7nh kh\u00e1c nhau trong c\u00e1c shell kh\u00e1c nhau (v\u00ed d\u1ee5: bash, zsh). \u0110i\u1ec1u n\u00e0y c\u00f3 th\u1ec3 g\u00e2y kh\u00f3 kh\u0103n cho ng\u01b0\u1eddi d\u00f9ng khi ph\u1ea3i chuy\u1ec3n \u0111\u1ed5i gi\u1eefa c\u00e1c m\u00f4i tr\u01b0\u1eddng shell kh\u00e1c nhau.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">M\u1eb7c d\u00f9 c\u00f3 m\u1ed9t s\u1ed1 nh\u01b0\u1ee3c \u0111i\u1ec3m nh\u01b0 tr\u00ean, \u0111\u00e2y v\u1eabn l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 m\u1ea1nh m\u1ebd cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng ki\u1ec3m so\u00e1t, t\u1ef1 \u0111\u1ed9ng h\u00f3a c\u00e1c d\u1ecbch v\u1ee5 c\u1ee7a Amazon Web Services m\u1ed9t c\u00e1ch hi\u1ec7u qu\u1ea3 v\u00e0 linh ho\u1ea1t.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Cu_phap_co_ban_cua_AWS_CLI\"><\/span><b>C\u00fa ph\u00e1p c\u01a1 b\u1ea3n c\u1ee7a AWS CLI<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre><span style=\"font-weight: 400;\">aws <\/span><span style=\"font-weight: 400;\">&lt;command&gt;<\/span> <span style=\"font-weight: 400;\">&lt;subcommand&gt;<\/span><span style=\"font-weight: 400;\"> [<\/span><span style=\"font-weight: 400;\">options<\/span><span style=\"font-weight: 400;\"> and parameters]<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">Trong \u0111\u00f3:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; <\/span><span style=\"font-weight: 400;\">aws<\/span><span style=\"font-weight: 400;\">: L\u00e0 l\u1ec7nh g\u1ecdi AWS CLI.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; <\/span><span style=\"font-weight: 400;\">&lt;<\/span><span style=\"font-weight: 400;\">command<\/span><span style=\"font-weight: 400;\">&gt;<\/span><span style=\"font-weight: 400;\">: T\u01b0\u01a1ng \u1ee9ng v\u1edbi d\u1ecbch v\u1ee5 AWS m\u00e0 b\u1ea1n mu\u1ed1n truy c\u1eadp.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; <\/span><span style=\"font-weight: 400;\">&lt;subcommand&gt;<\/span><span style=\"font-weight: 400;\">: Ch\u1ec9 \u0111\u1ecbnh ho\u1ea1t \u0111\u1ed9ng m\u00e0 b\u1ea1n mu\u1ed1n th\u1ef1c hi\u1ec7n.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; <\/span><span style=\"font-weight: 400;\">[<\/span><span style=\"font-weight: 400;\">options<\/span> <span style=\"font-weight: 400;\">and<\/span> <span style=\"font-weight: 400;\">parameters<\/span><span style=\"font-weight: 400;\">]<\/span><span style=\"font-weight: 400;\">: L\u00e0 c\u00e1c t\u00f9y ch\u1ecdn v\u00e0 tham s\u1ed1 c\u1ee7a CLI c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c \u0111\u01b0a ra \u1edf \u0111\u00e2y.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Cac_tuy_chon_pho_bien_cua_AWS_CLI\"><\/span><b>C\u00e1c t\u00f9y ch\u1ecdn ph\u1ed5 bi\u1ebfn c\u1ee7a AWS CLI<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">&#8211; <\/span><span style=\"font-weight: 400;\">&#8211;region<\/span><span style=\"font-weight: 400;\">: Ch\u1ec9 \u0111\u1ecbnh khu v\u1ef1c AWS m\u00e0 y\u00eau c\u1ea7u c\u1ee7a l\u1ec7nh s\u1ebd \u0111\u01b0\u1ee3c g\u1eedi \u0111\u1ebfn.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; <\/span><span style=\"font-weight: 400;\">&#8211;output<\/span><span style=\"font-weight: 400;\">: Ch\u1ec9 \u0111\u1ecbnh \u0111\u1ecbnh d\u1ea1ng \u0111\u1ea7u ra cho m\u1ed9t l\u1ec7nh c\u1ee5 th\u1ec3. C\u00e1c \u0111\u1ecbnh d\u1ea1ng \u0111\u1ea7u ra c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c l\u1ef1a ch\u1ecdn l\u00e0 JSON, YAML, v\u0103n b\u1ea3n v\u00e0 b\u1ea3ng.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; <\/span><span style=\"font-weight: 400;\">&#8212;<\/span><span style=\"font-weight: 400;\">cli<\/span><span style=\"font-weight: 400;\">&#8211;<\/span><span style=\"font-weight: 400;\">read<\/span><span style=\"font-weight: 400;\">-timeout<\/span><span style=\"font-weight: 400;\">: Ch\u1ec9 \u0111\u1ecbnh th\u1eddi gian t\u1ed1i \u0111a \u0111\u1ec3 \u0111\u1ecdc socket t\u00ednh b\u1eb1ng gi\u00e2y. N\u1ebfu l\u00e0 0, th\u00ec th\u1eddi gian ch\u1edd l\u00e0 kh\u00f4ng gi\u1edbi h\u1ea1n.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Cac_lenh_pho_bien_cua_AWS_CLI_cho_Amazon_S3\"><\/span><b>C\u00e1c l\u1ec7nh ph\u1ed5 bi\u1ebfn c\u1ee7a AWS CLI cho Amazon S3<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><b> T\u1ea1o m\u1ed9t bucket<\/b><\/h3>\n<pre><span style=\"font-weight: 400;\">aws<\/span><span style=\"font-weight: 400;\"> s3 mb s3:\/\/my-<\/span><span style=\"font-weight: 400;\">bucket<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">Thay <\/span><strong>my-bucket<\/strong><span style=\"font-weight: 400;\"> b\u1eb1ng t\u00ean g\u1ecdi mong mu\u1ed1n cho bucket c\u1ee7a b\u1ea1n.<\/span><\/p>\n<h3><b> Li\u1ec7t k\u00ea c\u00e1c bucket<\/b><\/h3>\n<pre><span style=\"font-weight: 400;\">aws<\/span><span style=\"font-weight: 400;\"> s3 ls<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">Li\u1ec7t k\u00ea t\u1ea5t c\u1ea3 c\u00e1c bucket trong t\u00e0i kho\u1ea3n Amazon S3 c\u1ee7a b\u1ea1n.<\/span><\/p>\n<h3><b> T\u1ea3i l\u00ean m\u1ed9t t\u1eadp tin<\/b><\/h3>\n<pre><span style=\"font-weight: 400;\">aws<\/span><span style=\"font-weight: 400;\"> s3 <\/span><span style=\"font-weight: 400;\">cp<\/span><span style=\"font-weight: 400;\"> file.txt s3:\/\/my-<\/span><span style=\"font-weight: 400;\">bucket\/file.txt<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">Thay <\/span><strong>file.txt<\/strong><span style=\"font-weight: 400;\"> b\u1eb1ng t\u00ean c\u1ee7a t\u1eadp tin b\u1ea1n mu\u1ed1n t\u1ea3i l\u00ean v\u00e0 <\/span><strong>my-bucket<\/strong><span style=\"font-weight: 400;\"> b\u1eb1ng t\u00ean bucket c\u1ee7a b\u1ea1n.<\/span><\/p>\n<h3><b> T\u1ea3i xu\u1ed1ng m\u1ed9t t\u1eadp tin<\/b><\/h3>\n<pre><span style=\"font-weight: 400;\">aws<\/span><span style=\"font-weight: 400;\"> s3 <\/span><span style=\"font-weight: 400;\">cp<\/span><span style=\"font-weight: 400;\"> s3:\/\/my-<\/span><span style=\"font-weight: 400;\">bucket\/file.txt <\/span><span style=\"font-weight: 400;\">file.txt<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">Thay <\/span><strong>file.txt<\/strong><span style=\"font-weight: 400;\"> b\u1eb1ng t\u00ean c\u1ee7a t\u1eadp tin b\u1ea1n mu\u1ed1n t\u1ea3i xu\u1ed1ng v\u00e0 <\/span><strong>my-bucket<\/strong><span style=\"font-weight: 400;\"> b\u1eb1ng t\u00ean bucket c\u1ee7a b\u1ea1n.<\/span><\/p>\n<h3><b> X\u00f3a m\u1ed9t t\u1eadp tin<\/b><\/h3>\n<pre><span style=\"font-weight: 400;\">aws<\/span><span style=\"font-weight: 400;\"> s3 rm s3:\/\/my-<\/span><span style=\"font-weight: 400;\">bucket\/file.txt<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">Thay <\/span><strong>file.txt<\/strong><span style=\"font-weight: 400;\"> b\u1eb1ng t\u00ean c\u1ee7a t\u1eadp tin b\u1ea1n mu\u1ed1n x\u00f3a v\u00e0 <\/span><strong>my<\/strong><span style=\"font-weight: 400;\"><strong>-bucke<\/strong>t<\/span><span style=\"font-weight: 400;\"> b\u1eb1ng t\u00ean bucket c\u1ee7a b\u1ea1n.<\/span><\/p>\n<h3><b> X\u00f3a m\u1ed9t bucket<\/b><\/h3>\n<pre><span style=\"font-weight: 400;\">aws<\/span><span style=\"font-weight: 400;\"> s3 rb s3:\/\/my-<\/span><span style=\"font-weight: 400;\">bucket<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">Thay <\/span><strong>my-bucket<\/strong><span style=\"font-weight: 400;\"> b\u1eb1ng t\u00ean c\u1ee7a bucket b\u1ea1n mu\u1ed1n x\u00f3a.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Cac_lenh_pho_bien_cua_AWS_CLI_cho_Amazon_Elastic_Compute_Cloud_Amazon_EC2\"><\/span><b>C\u00e1c l\u1ec7nh ph\u1ed5 bi\u1ebfn c\u1ee7a AWS CLI cho Amazon Elastic Compute Cloud (Amazon EC2)<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><b> T\u1ea1o m\u1ed9t instance EC2<\/b><\/h3>\n<pre><span style=\"font-weight: 400;\">aws<\/span> <span style=\"font-weight: 400;\">ec2<\/span> <span style=\"font-weight: 400;\">run<\/span><span style=\"font-weight: 400;\">-<\/span><span style=\"font-weight: 400;\">instances<\/span> <span style=\"font-weight: 400;\">--<\/span><span style=\"font-weight: 400;\">image<\/span><span style=\"font-weight: 400;\">-<\/span><span style=\"font-weight: 400;\">id<\/span> <span style=\"font-weight: 400;\">ami<\/span><span style=\"font-weight: 400;\">-<\/span><span style=\"font-weight: 400;\">0c55b159cbfafe1f0<\/span> <span style=\"font-weight: 400;\">--<\/span><span style=\"font-weight: 400;\">count<\/span> <span style=\"font-weight: 400;\">1<\/span> <span style=\"font-weight: 400;\">--<\/span><span style=\"font-weight: 400;\">instance<\/span><span style=\"font-weight: 400;\">-<\/span><span style=\"font-weight: 400;\">type<\/span> <span style=\"font-weight: 400;\">t2<\/span><span style=\"font-weight: 400;\">.<\/span><span style=\"font-weight: 400;\">micro<\/span> <span style=\"font-weight: 400;\">--<\/span><span style=\"font-weight: 400;\">key<\/span><span style=\"font-weight: 400;\">-<\/span><span style=\"font-weight: 400;\">name<\/span> <span style=\"font-weight: 400;\">MyKeyPair<\/span> <span style=\"font-weight: 400;\">--<\/span><span style=\"font-weight: 400;\">security<\/span><span style=\"font-weight: 400;\">-<\/span><span style=\"font-weight: 400;\">group<\/span><span style=\"font-weight: 400;\">-<\/span><span style=\"font-weight: 400;\">ids<\/span> <span style=\"font-weight: 400;\">sg<\/span><span style=\"font-weight: 400;\">-<\/span><span style=\"font-weight: 400;\">0123456789abcdef0<\/span> <span style=\"font-weight: 400;\">--<\/span><span style=\"font-weight: 400;\">subnet<\/span><span style=\"font-weight: 400;\">-<\/span><span style=\"font-weight: 400;\">id<\/span> <span style=\"font-weight: 400;\">subnet<\/span><span style=\"font-weight: 400;\">-<\/span><span style=\"font-weight: 400;\">0123456789abcdef0<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">L\u1ec7nh n\u00e0y t\u1ea1o m\u1ed9t instance EC2 lo\u1ea1i <\/span><span style=\"font-weight: 400;\">t2<\/span><span style=\"font-weight: 400;\">.micro<\/span><span style=\"font-weight: 400;\">, s\u1eed d\u1ee5ng Amazon Machine Image (AMI) c\u00f3 ID l\u00e0 <\/span><span style=\"font-weight: 400;\">ami<\/span><span style=\"font-weight: 400;\">-0<\/span><span style=\"font-weight: 400;\">c<\/span><span style=\"font-weight: 400;\">55<\/span><span style=\"font-weight: 400;\">b<\/span><span style=\"font-weight: 400;\">159<\/span><span style=\"font-weight: 400;\">cbfafe<\/span><span style=\"font-weight: 400;\">1<\/span><span style=\"font-weight: 400;\">f<\/span><span style=\"font-weight: 400;\">0<\/span><span style=\"font-weight: 400;\">, \u0111\u01b0\u1ee3c li\u00ean k\u1ebft v\u1edbi key pair <\/span><span style=\"font-weight: 400;\">MyKeyPair<\/span><span style=\"font-weight: 400;\"> v\u00e0 security group <\/span><span style=\"font-weight: 400;\">sg-<\/span><span style=\"font-weight: 400;\">0123456789<\/span><span style=\"font-weight: 400;\">abcdef0<\/span><span style=\"font-weight: 400;\">, v\u00e0 \u0111\u01b0\u1ee3c kh\u1edfi ch\u1ea1y trong subnet <\/span><span style=\"font-weight: 400;\">subnet-<\/span><span style=\"font-weight: 400;\">0123456789<\/span><span style=\"font-weight: 400;\">abcdef0<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h3><b> Li\u1ec7t k\u00ea c\u00e1c instance EC2<\/b><\/h3>\n<pre><span style=\"font-weight: 400;\">aws ec2 describe-instances<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">L\u1ec7nh n\u00e0y tr\u1ea3 v\u1ec1 m\u1ed9t \u0111\u1ed1i t\u01b0\u1ee3ng JSON ch\u1ee9a th\u00f4ng tin v\u1ec1 c\u00e1c instance, bao g\u1ed3m ID, lo\u1ea1i v\u00e0 tr\u1ea1ng th\u00e1i c\u1ee7a ch\u00fang.<\/span><\/p>\n<h3><b> D\u1eebng m\u1ed9t instance EC2<\/b><\/h3>\n<pre><span style=\"font-weight: 400;\">aws ec2 stop-instances <\/span><span style=\"font-weight: 400;\">--instance-ids i-0123456789abcdef0<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">L\u1ec7nh n\u00e0y d\u1eebng instance EC2 v\u1edbi ID l\u00e0 <\/span><span style=\"font-weight: 400;\">i-<\/span><span style=\"font-weight: 400;\">0123456789<\/span><span style=\"font-weight: 400;\">abcdef0<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h3><b> Kh\u1edfi \u0111\u1ed9ng l\u1ea1i m\u1ed9t instance EC2<\/b><\/h3>\n<pre><span style=\"font-weight: 400;\">aws ec2 start-instances <\/span><span style=\"font-weight: 400;\">--instance-ids i-0123456789abcdef0<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">L\u1ec7nh n\u00e0y kh\u1edfi \u0111\u1ed9ng l\u1ea1i instance EC2 v\u1edbi ID l\u00e0 <\/span><span style=\"font-weight: 400;\">i-<\/span><span style=\"font-weight: 400;\">0123456789<\/span><span style=\"font-weight: 400;\">abcdef0<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Tr\u00ean \u0111\u00e2y l\u00e0 m\u1ed9t s\u1ed1 v\u00ed d\u1ee5 v\u1ec1 c\u00e1c t\u00e1c v\u1ee5 S3 v\u00e0 EC2 m\u00e0 b\u1ea1n c\u00f3 th\u1ec3 th\u1ef1c hi\u1ec7n b\u1eb1ng CLI. C\u00f4ng c\u1ee5 AWS n\u00e0y cung c\u1ea5p m\u1ed9t t\u1eadp h\u1ee3p c\u00e1c l\u1ec7nh phong ph\u00fa cho ph\u00e9p l\u1eadp tr\u00ecnh vi\u00ean qu\u1ea3n l\u00fd instance EC2, t\u1ea1o b\u1ea3n snapshot, c\u00f9ng nhi\u1ec1u t\u00e1c v\u1ee5 kh\u00e1c.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Cac_cau_hoi_thuong_gap_ve_AWS_CLI\"><\/span><b>C\u00e1c c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p v\u1ec1 AWS CLI<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><b>Version m\u1edbi nh\u1ea5t c\u1ee7a AWS CLI l\u00e0 g\u00ec?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Phi\u00ean b\u1ea3n m\u1edbi nh\u1ea5t c\u1ee7a AWS CLI l\u00e0 phi\u00ean b\u1ea3n 2. CLI phi\u00ean b\u1ea3n 2 h\u1ed7 tr\u1ee3 t\u1ea5t c\u1ea3 c\u00e1c t\u00ednh n\u0103ng m\u1edbi nh\u1ea5t v\u00e0 c\u00f3 nhi\u1ec1u c\u1ea3i ti\u1ebfn so v\u1edbi phi\u00ean b\u1ea3n tr\u01b0\u1edbc \u0111\u00f3.\u00a0<\/span><\/p>\n<h3><b>AWS CLI c\u00f3 s\u1eed d\u1ee5ng \u0111\u01b0\u1ee3c trong <a href=\"https:\/\/itviec.com\/blog\/aws-lambda-la-gi\/\" target=\"_blank\" rel=\"noopener\">AWS Lambda<\/a> kh\u00f4ng?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">C\u00f3, ng\u01b0\u1eddi d\u00f9ng ho\u00e0n to\u00e0n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng CLI trong h\u00e0m AWS Lambda. \u0110\u1ec3 th\u1ef1c hi\u1ec7n \u0111i\u1ec1u n\u00e0y, l\u1eadp tr\u00ecnh vi\u00ean c\u1ea7n t\u1ea1o m\u1ed9t lambda layer v\u00e0 bao g\u1ed3m t\u1ea5t c\u1ea3 c\u00e1c ph\u1ee5 thu\u1ed9c c\u1ee7a CLI trong g\u00f3i tri\u1ec3n khai c\u1ee7a m\u00ecnh, v\u00e0 sau \u0111\u00f3 c\u00f3 th\u1ec3 g\u1ecdi c\u00e1c l\u1ec7nh AWS CLI t\u1eeb b\u00ean trong h\u00e0m Lambda \u0111\u1ec3 t\u01b0\u01a1ng t\u00e1c v\u1edbi c\u00e1c d\u1ecbch v\u1ee5 AWS kh\u00e1c.\u00a0<\/span><\/p>\n<h3><b>AWS CLI c\u00f3 \u0111i\u1ec3m g\u00ec kh\u00e1c v\u1edbi AWS Console?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">AWS CLI l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 d\u00f2ng l\u1ec7nh d\u00f9ng \u0111\u1ec3 qu\u1ea3n l\u00fd v\u00e0 t\u01b0\u01a1ng t\u00e1c v\u1edbi d\u1ecbch v\u1ee5 AWS th\u00f4ng qua terminal, cho ph\u00e9p t\u00edch h\u1ee3p v\u00e0o c\u00e1c quy tr\u00ecnh c\u00f4ng vi\u1ec7c v\u00e0 t\u1ef1 \u0111\u1ed9ng h\u00f3a c\u00e1c t\u00e1c v\u1ee5.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Trong khi \u0111\u00f3, AWS Console l\u00e0 m\u1ed9t \u1ee9ng d\u1ee5ng web \u0111\u1ed3 h\u1ecda cung c\u1ea5p giao di\u1ec7n tr\u1ef1c quan \u0111\u1ec3 t\u01b0\u01a1ng t\u00e1c v\u00e0 qu\u1ea3n l\u00fd c\u00e1c d\u1ecbch v\u1ee5 AWS th\u1ee7 c\u00f4ng tr\u1ef1c ti\u1ebfp.<\/span><\/p>\n<h3><b>AWS CLI c\u00f3 ph\u1ea3i m\u00e3 ngu\u1ed3n m\u1edf kh\u00f4ng?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">AWS CLI l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 mi\u1ec5n ph\u00ed c\u00f3 m\u00e3 ngu\u1ed3n m\u1edf t\u1eeb Amazon Web Services (AWS), cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng t\u01b0\u01a1ng t\u00e1c v\u1edbi d\u1ecbch v\u1ee5 AWS th\u00f4ng qua c\u00e1c l\u1ec7nh trong command line shell.<\/span><\/p>\n<h3><b>Nh\u1eefng v\u1ecb tr\u00ed n\u00e0o n\u00ean bi\u1ebft s\u1eed d\u1ee5ng AWS CLI?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Hi\u1ec3u bi\u1ebft ki\u1ebfn th\u1ee9c s\u1eed d\u1ee5ng AWS CLI s\u1ebd gi\u00fap \u00edch cho l\u1eadp tr\u00ecnh vi\u00ean trong nhi\u1ec1u v\u1ecb tr\u00ed c\u00f4ng vi\u1ec7c IT nh\u01b0: AWS Engineer, AWS Developer, AWS Architect, AWS DevOps Engineer, JAVA DevOps Engineer,&#8230;<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Tong_ket\"><\/span><strong>T\u1ed5ng k\u1ebft<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">T\u1eeb nh\u1eefng thao t\u00e1c nh\u01b0 t\u1ea1o instance EC2, \u0111\u1ebfn qu\u1ea3n l\u00fd c\u00e1c t\u1ec7p tr\u00ean S3, AWS CLI l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 kh\u00f4ng th\u1ec3 thi\u1ebfu \u0111\u1ed1i v\u1edbi m\u1ecdi chuy\u00ean vi\u00ean ph\u00e1t tri\u1ec3n \u1ee9ng d\u1ee5ng v\u00e0 qu\u1ea3n tr\u1ecb vi\u00ean h\u1ec7 th\u1ed1ng AWS. V\u1edbi kh\u1ea3 n\u0103ng t\u1ef1 \u0111\u1ed9ng h\u00f3a t\u1ed1i \u01b0u n\u0103ng su\u1ea5t v\u00e0 ti\u1ebft ki\u1ec7m th\u1eddi gian, c\u00f4ng c\u1ee5 AWS n\u00e0y ch\u00ednh l\u00e0 \u201ctr\u1ee3 th\u1ee7\u201d gi\u00fap l\u1eadp tr\u00ecnh vi\u00ean gia t\u0103ng hi\u1ec7u qu\u1ea3 l\u00e0m vi\u1ec7c tr\u00ean n\u1ec1n t\u1ea3ng c\u00f9ng lo\u1ea1t s\u1ea3n ph\u1ea9m \u0111a d\u1ea1ng c\u1ee7a AWS, t\u1eeb \u0111\u00f3 th\u00fac \u0111\u1ea9y n\u0103ng l\u1ef1c c\u1ea1nh tranh c\u1ee7a ch\u00ednh m\u00ecnh tr\u00ean th\u1ecb tr\u01b0\u1eddng IT.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AWS CLI l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 m\u1ea1nh m\u1ebd cho ph\u00e9p l\u1eadp tr\u00ecnh vi\u00ean qu\u1ea3n l\u00fd v\u00e0 t\u01b0\u01a1ng t\u00e1c tr\u1ef1c ti\u1ebfp v\u1edbi c\u00e1c d\u1ecbch v\u1ee5 c\u1ee7a AWS d\u1ec5 d\u00e0ng th\u00f4ng giao di\u1ec7n d\u00f2ng l\u1ec7nh. Trong b\u00e0i vi\u1ebft n\u00e0y, h\u00e3y c\u00f9ng ITviec kh\u00e1m ph\u00e1 chi ti\u1ebft v\u1ec1 AWS CLI c\u00f9ng nh\u1eefng l\u00ed do v\u00ec sao c\u00f4ng c\u1ee5 [&hellip;]<\/p>\n","protected":false},"author":211,"featured_media":69652,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_gspb_post_css":"","footnotes":""},"categories":[109],"tags":[],"class_list":["post-69411","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chuyen-mon-it"],"blocksy_meta":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.8 (Yoast SEO v27.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>AWS CLI l\u00e0 g\u00ec? T\u00ecm hi\u1ec3u AWS CLI t\u1eeb A-Z cho ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u - ITviec Blog<\/title>\n<meta name=\"description\" content=\"Kh\u00e1m ph\u00e1 v\u1ec1 AWS CLI t\u1eeb A-Z. \u0110\u1ecdc ngay \u0111\u1ec3 t\u00ecm hi\u1ec3u v\u1ec1 c\u00f4ng c\u1ee5 qu\u1ea3n l\u00fd d\u1ecbch v\u1ee5 AWS n\u00e0y v\u00e0 c\u00e1c c\u00fa ph\u00e1p AWS CLI ph\u1ed5 bi\u1ebfn l\u1eadp tr\u00ecnh vi\u00ean n\u00ean bi\u1ebft.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/itviec.com\/blog\/aws-cli\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AWS CLI l\u00e0 g\u00ec? T\u00ecm hi\u1ec3u AWS CLI t\u1eeb A-Z cho ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u\" \/>\n<meta property=\"og:description\" content=\"AWS CLI l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 m\u1ea1nh m\u1ebd cho ph\u00e9p l\u1eadp tr\u00ecnh vi\u00ean qu\u1ea3n l\u00fd v\u00e0 t\u01b0\u01a1ng t\u00e1c tr\u1ef1c ti\u1ebfp v\u1edbi c\u00e1c d\u1ecbch v\u1ee5 c\u1ee7a AWS d\u1ec5 d\u00e0ng th\u00f4ng giao di\u1ec7n d\u00f2ng l\u1ec7nh. Trong b\u00e0i\" \/>\n<meta property=\"og:url\" content=\"https:\/\/itviec.com\/blog\/aws-cli\/\" \/>\n<meta property=\"og:site_name\" content=\"ITviec Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ITviec\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-22T02:10:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/Thumbnail-AWS-CLI-vippro.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2850\" \/>\n\t<meta property=\"og:image:height\" content=\"1500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Huy\u1ec1n My\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ITviec\" \/>\n<meta name=\"twitter:site\" content=\"@ITviec\" \/>\n<meta name=\"twitter:label1\" content=\"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi\" \/>\n\t<meta name=\"twitter:data1\" content=\"Huy\u1ec1n My\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data2\" content=\"16 ph\u00fat\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"AWS CLI l\u00e0 g\u00ec? T\u00ecm hi\u1ec3u AWS CLI t\u1eeb A-Z cho ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u - ITviec Blog","description":"Kh\u00e1m ph\u00e1 v\u1ec1 AWS CLI t\u1eeb A-Z. \u0110\u1ecdc ngay \u0111\u1ec3 t\u00ecm hi\u1ec3u v\u1ec1 c\u00f4ng c\u1ee5 qu\u1ea3n l\u00fd d\u1ecbch v\u1ee5 AWS n\u00e0y v\u00e0 c\u00e1c c\u00fa ph\u00e1p AWS CLI ph\u1ed5 bi\u1ebfn l\u1eadp tr\u00ecnh vi\u00ean n\u00ean bi\u1ebft.","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:\/\/itviec.com\/blog\/aws-cli\/","og_locale":"vi_VN","og_type":"article","og_title":"AWS CLI l\u00e0 g\u00ec? T\u00ecm hi\u1ec3u AWS CLI t\u1eeb A-Z cho ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u","og_description":"AWS CLI l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 m\u1ea1nh m\u1ebd cho ph\u00e9p l\u1eadp tr\u00ecnh vi\u00ean qu\u1ea3n l\u00fd v\u00e0 t\u01b0\u01a1ng t\u00e1c tr\u1ef1c ti\u1ebfp v\u1edbi c\u00e1c d\u1ecbch v\u1ee5 c\u1ee7a AWS d\u1ec5 d\u00e0ng th\u00f4ng giao di\u1ec7n d\u00f2ng l\u1ec7nh. Trong b\u00e0i","og_url":"https:\/\/itviec.com\/blog\/aws-cli\/","og_site_name":"ITviec Blog","article_publisher":"https:\/\/www.facebook.com\/ITviec","article_published_time":"2024-05-22T02:10:39+00:00","og_image":[{"width":2850,"height":1500,"url":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/Thumbnail-AWS-CLI-vippro.png","type":"image\/png"}],"author":"Huy\u1ec1n My","twitter_card":"summary_large_image","twitter_creator":"@ITviec","twitter_site":"@ITviec","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"Huy\u1ec1n My","\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"16 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/itviec.com\/blog\/aws-cli\/#article","isPartOf":{"@id":"https:\/\/itviec.com\/blog\/aws-cli\/"},"author":{"name":"Huy\u1ec1n My","@id":"https:\/\/itviec.com\/blog\/#\/schema\/person\/b760ef4fb3a7600878fe3e19b626e7af"},"headline":"AWS CLI l\u00e0 g\u00ec? T\u00ecm hi\u1ec3u AWS CLI t\u1eeb A-Z cho ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u","datePublished":"2024-05-22T02:10:39+00:00","mainEntityOfPage":{"@id":"https:\/\/itviec.com\/blog\/aws-cli\/"},"wordCount":4279,"publisher":{"@id":"https:\/\/itviec.com\/blog\/#organization"},"image":{"@id":"https:\/\/itviec.com\/blog\/aws-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/Thumbnail-AWS-CLI-vippro.png","articleSection":["Chuy\u00ean m\u00f4n IT"],"inLanguage":"vi"},{"@type":"WebPage","@id":"https:\/\/itviec.com\/blog\/aws-cli\/","url":"https:\/\/itviec.com\/blog\/aws-cli\/","name":"AWS CLI l\u00e0 g\u00ec? T\u00ecm hi\u1ec3u AWS CLI t\u1eeb A-Z cho ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u - ITviec Blog","isPartOf":{"@id":"https:\/\/itviec.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/itviec.com\/blog\/aws-cli\/#primaryimage"},"image":{"@id":"https:\/\/itviec.com\/blog\/aws-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/Thumbnail-AWS-CLI-vippro.png","datePublished":"2024-05-22T02:10:39+00:00","description":"Kh\u00e1m ph\u00e1 v\u1ec1 AWS CLI t\u1eeb A-Z. \u0110\u1ecdc ngay \u0111\u1ec3 t\u00ecm hi\u1ec3u v\u1ec1 c\u00f4ng c\u1ee5 qu\u1ea3n l\u00fd d\u1ecbch v\u1ee5 AWS n\u00e0y v\u00e0 c\u00e1c c\u00fa ph\u00e1p AWS CLI ph\u1ed5 bi\u1ebfn l\u1eadp tr\u00ecnh vi\u00ean n\u00ean bi\u1ebft.","breadcrumb":{"@id":"https:\/\/itviec.com\/blog\/aws-cli\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/itviec.com\/blog\/aws-cli\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/itviec.com\/blog\/aws-cli\/#primaryimage","url":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/Thumbnail-AWS-CLI-vippro.png","contentUrl":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/05\/Thumbnail-AWS-CLI-vippro.png","width":2850,"height":1500},{"@type":"BreadcrumbList","@id":"https:\/\/itviec.com\/blog\/aws-cli\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Chuy\u00ean m\u00f4n IT","item":"https:\/\/itviec.com\/blog\/chuyen-mon-it\/"},{"@type":"ListItem","position":2,"name":"AWS CLI l\u00e0 g\u00ec? T\u00ecm hi\u1ec3u AWS CLI t\u1eeb A-Z cho ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u"}]},{"@type":"WebSite","@id":"https:\/\/itviec.com\/blog\/#website","url":"https:\/\/itviec.com\/blog\/","name":"ITviec Blog","description":"IT Jobs &amp; People in Vietnam","publisher":{"@id":"https:\/\/itviec.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/itviec.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/itviec.com\/blog\/#organization","name":"ITviec","url":"https:\/\/itviec.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/itviec.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2018\/12\/itviec-black-square-facebook.png","contentUrl":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2018\/12\/itviec-black-square-facebook.png","width":1800,"height":1800,"caption":"ITviec"},"image":{"@id":"https:\/\/itviec.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ITviec","https:\/\/x.com\/ITviec","https:\/\/www.linkedin.com\/company\/itviec","https:\/\/www.youtube.com\/channel\/UCYthAQ3bcGr57M_ag5gHDvQ"]},{"@type":"Person","@id":"https:\/\/itviec.com\/blog\/#\/schema\/person\/b760ef4fb3a7600878fe3e19b626e7af","name":"Huy\u1ec1n My","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/03\/mie-pham-author-e1709880821225-100x100.jpg","url":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/03\/mie-pham-author-e1709880821225-100x100.jpg","contentUrl":"https:\/\/itviec.com\/blog\/wp-content\/uploads\/2024\/03\/mie-pham-author-e1709880821225-100x100.jpg","caption":"Huy\u1ec1n My"},"url":"https:\/\/itviec.com\/blog\/author\/huyen-my\/"}]}},"_links":{"self":[{"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/posts\/69411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/users\/211"}],"replies":[{"embeddable":true,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/comments?post=69411"}],"version-history":[{"count":0,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/posts\/69411\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/media\/69652"}],"wp:attachment":[{"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/media?parent=69411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/categories?post=69411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itviec.com\/blog\/wp-json\/wp\/v2\/tags?post=69411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}