{"id":34992,"date":"2024-09-20T14:50:16","date_gmt":"2024-09-20T07:50:16","guid":{"rendered":"http:\/\/jupitek.maudemo.vip\/index.php\/2024\/09\/20\/using-salt-cloud-and-cloud-maps-to-provision-systems\/"},"modified":"2024-09-20T14:50:16","modified_gmt":"2024-09-20T07:50:16","slug":"using-salt-cloud-and-cloud-maps-to-provision-systems","status":"publish","type":"post","link":"https:\/\/jupitek.maudemo.vip\/index.php\/2024\/09\/20\/using-salt-cloud-and-cloud-maps-to-provision-systems\/","title":{"rendered":"S\u1eed d\u1ee5ng Salt Cloud v\u00e0 Cloud Maps \u0111\u1ec3 cung c\u1ea5p h\u1ec7 th\u1ed1ng"},"content":{"rendered":"<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/SaltCloud_hubbc8d1a329e8df9c8969b96b8e346a76_99692_1388x0_resize_q71_bgfafafc_catmullrom.jpg\" alt=\"\u0110\u00e1m m\u00e2y mu\u1ed1i\" title=\"\u0110\u00e1m m\u00e2y mu\u1ed1i\"\/><\/figure>\n<h2 id=\"what-is-salt-cloud\">Salt Cloud l\u00e0 g\u00ec?<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#what-is-salt-cloud\"><\/a><\/h2>\n<p><a href=\"https:\/\/docs.saltproject.io\/en\/latest\/topics\/cloud\/\" target=\"_blank\" rel=\"noreferrer noopener\">Salt Cloud<\/a>&nbsp;l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 qu\u1ea3n l\u00fd c\u1ea5u h\u00ecnh cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng cung c\u1ea5p h\u1ec7 th\u1ed1ng tr\u00ean m\u00e1y ch\u1ee7 \u0111\u00e1m m\u00e2y ho\u1eb7c tr\u00ecnh qu\u1ea3n l\u00fd \u1ea3o. Trong qu\u00e1 tr\u00ecnh c\u00e0i \u0111\u1eb7t, Salt Cloud c\u00e0i \u0111\u1eb7t Salt tr\u00ean t\u1ea5t c\u1ea3 c\u00e1c h\u1ec7 th\u1ed1ng \u0111\u01b0\u1ee3c cung c\u1ea5p theo m\u1eb7c \u0111\u1ecbnh. \u0110i\u1ec1u n\u00e0y cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng \u0111\u01b0a h\u1ec7 th\u1ed1ng v\u00e0o tr\u1ea1ng th\u00e1i mong mu\u1ed1n trong qu\u00e1 tr\u00ecnh cung c\u1ea5p.<\/p>\n<p>\u0110\u00e1m m\u00e2y mu\u1ed1i:<\/p>\n<ul>\n<li>Gi\u00fap thu th\u1eadp th\u00f4ng tin v\u1ec1 h\u1ec7 th\u1ed1ng c\u1ee7a b\u1ea1n v\u00e0 qu\u1ea3n l\u00fd v\u00f2ng \u0111\u1eddi c\u1ee7a ch\u00fang th\u00f4ng qua Giao di\u1ec7n d\u00f2ng l\u1ec7nh (CLI).<\/li>\n<li>H\u1ed7 tr\u1ee3 Linode nh\u01b0 m\u1ed9t nh\u00e0 cung c\u1ea5p ngay t\u1eeb \u0111\u1ea7u. B\u1ea1n kh\u00f4ng c\u1ea7n ph\u1ea3i c\u00e0i \u0111\u1eb7t b\u1ea5t k\u1ef3 plugin b\u1ed5 sung n\u00e0o.<\/li>\n<\/ul>\n<p>H\u01b0\u1edbng d\u1eabn n\u00e0y s\u1ebd ch\u1ec9 cho b\u1ea1n c\u00e1ch c\u00e0i \u0111\u1eb7t Salt Cloud v\u00e0 c\u1ea5u h\u00ecnh \u0111\u1ec3 n\u00f3 ho\u1ea1t \u0111\u1ed9ng tr\u00ean Linode.<\/p>\n<h2 id=\"before-you-begin\">Tr\u01b0\u1edbc khi b\u1ea1n b\u1eaft \u0111\u1ea7u<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#before-you-begin\"><\/a><\/h2>\n<ol>\n<li>T\u1ea1o m\u1ed9t m\u00e1y ch\u1ee7 qu\u1ea3n l\u00fd s\u1ebd \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 t\u1ea1o v\u00e0 qu\u1ea3n l\u00fd m\u00e1y ch\u1ee7 Linode c\u1ee7a b\u1ea1n. B\u1ea1n c\u00f3 th\u1ec3 l\u01b0u tr\u1eef m\u00e1y ch\u1ee7 qu\u1ea3n l\u00fd t\u1eeb xa tr\u00ean Linode ho\u1eb7c tr\u00ean m\u00e1y c\u1ee5c b\u1ed9. \u0110i\u1ec1u ki\u1ec7n duy nh\u1ea5t l\u00e0 m\u00e1y ch\u1ee7 \u0111\u00f3 c\u00f3 kh\u1ea3 n\u0103ng c\u00e0i \u0111\u1eb7t v\u00e0 th\u1ef1c thi Salt Cloud.<\/li>\n<li>H\u01b0\u1edbng d\u1eabn n\u00e0y gi\u1ea3 \u0111\u1ecbnh r\u1eb1ng Salt Cloud s\u1ebd \u0111\u01b0\u1ee3c c\u00e0i \u0111\u1eb7t c\u00f9ng v\u1edbi m\u00e1y ch\u1ee7 Salt master.<\/li>\n<li>T\u1ea1o&nbsp;<a href=\"https:\/\/www.linode.com\/docs\/products\/platform\/accounts\/guides\/manage-api-tokens\/\">kh\u00f3a API<\/a>&nbsp;\u0111\u1ec3 truy c\u1eadp API Linode. Kh\u00f3a n\u00e0y s\u1ebd \u0111\u01b0\u1ee3c Salt Cloud s\u1eed d\u1ee5ng \u0111\u1ec3 qu\u1ea3n l\u00fd c\u00e1c phi\u00ean b\u1ea3n c\u1ee7a b\u1ea1n. \u0110\u1ea3m b\u1ea3o gi\u1eef kh\u00f3a API c\u1ee7a b\u1ea1n an to\u00e0n. \u0110\u1eb7t bi\u1ebfn m\u00f4i tr\u01b0\u1eddng&nbsp;<code>API_TOKEN<\/code>v\u00e0 ki\u1ec3m tra kh\u00f3a API c\u1ee7a b\u1ea1n \u0111ang ho\u1ea1t \u0111\u1ed9ng th\u00f4ng qua giao di\u1ec7n REST:<code>curl -H \"Authorization:Bearer $API_TOKEN\" https:\/\/api.linode.com\/v4\/account | json_pp<\/code><\/li>\n<li>M\u00e1y ch\u1ee7 qu\u1ea3n l\u00fd ph\u1ea3i c\u00f3 quy\u1ec1n truy c\u1eadp v\u00e0o API Linode (truy c\u1eadp internet kh\u00f4ng qua proxy).<\/li>\n<\/ol>\n<h2 id=\"install-salt-and-salt-cloud-via-bootstrap-script\">C\u00e0i \u0111\u1eb7t Salt v\u00e0 Salt Cloud th\u00f4ng qua Bootstrap Script<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#install-salt-and-salt-cloud-via-bootstrap-script\"><\/a><\/h2>\n<p>C\u00e1ch \u0111\u01b0\u1ee3c khuy\u1ebfn ngh\u1ecb \u0111\u1ec3 c\u00e0i \u0111\u1eb7t Salt Cloud l\u00e0 s\u1eed d\u1ee5ng t\u1eadp l\u1ec7nh Salt Bootstrap. T\u1eadp l\u1ec7nh n\u00e0y s\u1ebd c\u00e0i \u0111\u1eb7t Salt, c\u00e1c g\u00f3i Salt Cloud v\u00e0 t\u1ea5t c\u1ea3 c\u00e1c ph\u1ee5 thu\u1ed9c c\u1ea7n thi\u1ebft. Ch\u1ea1y t\u1eadp l\u1ec7nh c\u00f3&nbsp;<code>-h<\/code>c\u1edd \u0111\u1ec3 xem c\u00e1c t\u00f9y ch\u1ecdn b\u1ed5 sung c\u00f3 s\u1eb5n ho\u1eb7c tham kh\u1ea3o&nbsp;<a href=\"https:\/\/docs.saltproject.io\/en\/latest\/topics\/tutorials\/salt_bootstrap.html\" target=\"_blank\" rel=\"noreferrer noopener\">H\u01b0\u1edbng d\u1eabn Salt Bootstrap<\/a>&nbsp;\u0111\u1ec3 bi\u1ebft h\u01b0\u1edbng d\u1eabn chi ti\u1ebft.<\/p>\n<p>1.T\u1ea3i xu\u1ed1ng t\u1eadp l\u1ec7nh Salt Bootstrap qua curl:<\/p>\n<pre class=\"wp-block-code\"><code>curl -o bootstrap-salt.sh -L https:\/\/bootstrap.saltproject.io<\/code><\/pre>\n<p>2.Th\u1ef1c thi t\u1eadp l\u1ec7nh v\u00e0 s\u1eed d\u1ee5ng&nbsp;<code>-L<\/code>t\u00f9y ch\u1ecdn \u0111\u1ec3 c\u00e0i \u0111\u1eb7t Salt v\u00e0 Salt Cloud:<\/p>\n<pre class=\"wp-block-code\"><code>sh bootstrap-salt.sh -L\n<\/code><\/pre>\n<h2 id=\"configure-salt-cloud\">C\u1ea5u h\u00ecnh Salt Cloud<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#configure-salt-cloud\"><\/a><\/h2>\n<h3 id=\"set-up-provider-configuration\">Thi\u1ebft l\u1eadp C\u1ea5u h\u00ecnh Nh\u00e0 cung c\u1ea5p:<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#set-up-provider-configuration\"><\/a><\/h3>\n<p>C\u1ea5u h\u00ecnh v\u00e0 ki\u1ec3m tra quy\u1ec1n truy c\u1eadp v\u00e0o API Linode.<\/p>\n<p>1.Ch\u1ec9nh s\u1eeda&nbsp;<code>\/etc\/salt\/cloud.providers.d\/linode.conf<\/code>\u0111\u1ec3 c\u1ea5u h\u00ecnh t\u00ean c\u1ea5u h\u00ecnh nh\u00e0 cung c\u1ea5p c\u1ee7a b\u1ea1n. Salt Cloud s\u1ebd s\u1eed d\u1ee5ng t\u00ean n\u00e0y trong qu\u00e1 tr\u00ecnh v\u1eadn h\u00e0nh v\u1edbi c\u00e1c phi\u00ean b\u1ea3n trong CLI. S\u1eed d\u1ee5ng t\u00ean ng\u1eafn (ho\u1eb7c t\u00ean vi\u1ebft t\u1eaft nh\u01b0&nbsp;<code>li<\/code>) d\u1ec5 nh\u1edb. B\u1ea1n c\u0169ng c\u00f3 th\u1ec3 ch\u1ec9 \u0111\u1ecbnh nhi\u1ec1u nh\u00e0 cung c\u1ea5p Linode \u0111\u1ec3 qu\u1ea3n l\u00fd nhi\u1ec1u t\u00e0i kho\u1ea3n. Linode y\u00eau c\u1ea7u m\u1eadt kh\u1ea9u g\u1ed1c m\u1eb7c \u0111\u1ecbnh cho c\u00e1c m\u00e1y ch\u1ee7 m\u1edbi ph\u1ea3i \u0111\u01b0\u1ee3c thi\u1ebft l\u1eadp. M\u1eadt kh\u1ea9u n\u00e0y c\u1ea7n c\u00f3 t\u00e1m k\u00fd t\u1ef1 v\u00e0 bao g\u1ed3m ch\u1eef th\u01b0\u1eddng, ch\u1eef hoa v\u00e0 s\u1ed1.<\/p>\n<pre class=\"wp-block-code\"><code>my-linode-provider:\n    api_version: v4\n    apikey: &lt;Your API key&gt;\n    password: &lt;Default password for the new instances&gt;\n    driver: linode<\/code><\/pre>\n<p class=\"has-background\" style=\"background-color:#74f78c33\">Ghi ch\u00fa: T\u1ea5t c\u1ea3 c\u00e1c t\u1ec7p c\u1ea5u h\u00ecnh \u0111\u1ec1u l\u01b0u tr\u1eef d\u1eef li\u1ec7u theo \u0111\u1ecbnh d\u1ea1ng YAML. H\u00e3y c\u1ea9n th\u1eadn v\u1edbi th\u1ee5t l\u1ec1 &#8211; ch\u1ec9 s\u1eed d\u1ee5ng kho\u1ea3ng tr\u1eafng v\u00e0 kh\u00f4ng s\u1eed d\u1ee5ng tab. M\u1ed7i c\u1ea5p th\u1ee5t l\u1ec1 th\u01b0\u1eddng \u0111\u01b0\u1ee3c ph\u00e2n t\u00e1ch b\u1eb1ng 2 kho\u1ea3ng tr\u1eafng.<\/p>\n<p>2.Ki\u1ec3m tra quy\u1ec1n truy c\u1eadp v\u00e0o API Linode:<\/p>\n<p>Th\u1ef1c hi\u1ec7n l\u1ec7nh sau t\u1eeb m\u00e1y ch\u1ee7 c\u1ee7a b\u1ea1n \u0111\u1ec3 ki\u1ec3m tra quy\u1ec1n truy c\u1eadp v\u00e0o API Linode:<\/p>\n<pre class=\"wp-block-code\"><code>salt-cloud --list-locations my-linode-provider\n<\/code><\/pre>\n<p>N\u1ebfu b\u1ea1n \u0111\u00e3 thi\u1ebft l\u1eadp k\u1ebft n\u1ed1i v\u1edbi Linode \u0111\u00fang c\u00e1ch, b\u1ea1n s\u1ebd th\u1ea5y \u0111\u1ea7u ra t\u01b0\u01a1ng t\u1ef1 nh\u01b0 sau:<\/p>\n<pre class=\"wp-block-code\"><code>my-linode_provider:\n     ----------\n     linode:\n         ----------\n         Atlanta, GA, USA:\n             ----------\n             ABBR:\n                 atlanta\n             DATACENTERID:\n                 4\n             LOCATION:\n                 Atlanta, GA, USA<\/code><\/pre>\n<h2 id=\"create-a-new-salt-cloud-instance\">T\u1ea1o m\u1ed9t phi\u00ean b\u1ea3n Salt Cloud m\u1edbi<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#create-a-new-salt-cloud-instance\"><\/a><\/h2>\n<h3 id=\"list-available-locations-images-and-sizes\">Li\u1ec7t k\u00ea c\u00e1c v\u1ecb tr\u00ed, h\u00ecnh \u1ea3nh v\u00e0 k\u00edch th\u01b0\u1edbc c\u00f3 s\u1eb5n<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#list-available-locations-images-and-sizes\"><\/a><\/h3>\n<p>Tr\u01b0\u1edbc khi t\u1ea1o phi\u00ean b\u1ea3n m\u1edbi, h\u00e3y ch\u1ec9 \u0111\u1ecbnh k\u00edch th\u01b0\u1edbc phi\u00ean b\u1ea3n: dung l\u01b0\u1ee3ng b\u1ed9 nh\u1edb h\u1ec7 th\u1ed1ng, CPU v\u00e0 dung l\u01b0\u1ee3ng l\u01b0u tr\u1eef; v\u1ecb tr\u00ed: v\u1ecb tr\u00ed v\u1eadt l\u00fd c\u1ee7a trung t\u00e2m d\u1eef li\u1ec7u; v\u00e0 h\u00ecnh \u1ea3nh: h\u1ec7 \u0111i\u1ec1u h\u00e0nh.<\/p>\n<p>B\u1ea1n c\u00f3 th\u1ec3 l\u1ea5y th\u00f4ng tin n\u00e0y b\u1eb1ng c\u00e1c l\u1ec7nh sau:<\/p>\n<ul>\n<li>\u0110\u1ecba \u0111i\u1ec3m c\u00f3 s\u1eb5n:<code> salt-cloud --list-locations my-linode-provider<\/code><\/li>\n<li>K\u00edch th\u01b0\u1edbc c\u00f3 s\u1eb5n:<code> salt-cloud --list-sizes my-linode-provider<\/code><\/li>\n<li>H\u00ecnh \u1ea3nh c\u00f3 s\u1eb5n:<code> salt-cloud --list-images my-linode-provider<\/code><\/li>\n<\/ul>\n<h3 id=\"set-up-profile-configuration\">Thi\u1ebft l\u1eadp C\u1ea5u h\u00ecnh H\u1ed3 s\u01a1<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#set-up-profile-configuration\"><\/a><\/h3>\n<p>T\u1ea1o m\u1ed9t h\u1ed3 s\u01a1 c\u00e1 th\u1ec3. Trong h\u1ed3 s\u01a1 n\u00e0y, b\u1ea1n m\u00f4 t\u1ea3 m\u1ed9t m\u00e1y ch\u1ee7 s\u1ebd \u0111\u01b0\u1ee3c t\u1ea1o tr\u00ean t\u00e0i kho\u1ea3n Linode c\u1ee7a b\u1ea1n. C\u1ea5u h\u00ecnh t\u1ed1i thi\u1ec3u ph\u1ea3i bao g\u1ed3m nh\u00e0 cung c\u1ea5p, k\u00edch th\u01b0\u1edbc, h\u00ecnh \u1ea3nh v\u00e0 v\u1ecb tr\u00ed.<\/p>\n<p>Trong v\u00ed d\u1ee5 n\u00e0y, h\u00e3y t\u1ea1o m\u1ed9t phi\u00ean b\u1ea3n c\u00f3 k\u00edch th\u01b0\u1edbc chu\u1ea9n, s\u1eed d\u1ee5ng \u1ea3nh Debian 11, \u0111\u1eb7t t\u1ea1i London.<\/p>\n<p>1.M\u1edf&nbsp;<code>\/etc\/salt\/cloud.profiles.d\/linode-london-1gb.conf<\/code>v\u00e0 d\u00e1n n\u1ed9i dung sau:<\/p>\n<pre class=\"wp-block-code\"><code>linode_1gb:\n  provider: my-linode-provider\n  size: g6-standard-1\n  image: linode\/debian11\n  location: eu-west<\/code><\/pre>\n<p>B\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng m\u1ed9t t\u1ec7p cho t\u1ea5t c\u1ea3 c\u00e1c c\u1ea5u h\u00ecnh ho\u1eb7c s\u1eed d\u1ee5ng m\u1ed9t t\u1ec7p cho m\u1ed7i c\u1ea5u h\u00ecnh phi\u00ean b\u1ea3n. T\u1ea5t c\u1ea3 c\u00e1c t\u1ec7p t\u1eeb&nbsp;<code>\/etc\/salt\/cloud.profiles.d\/<\/code>\u0111\u01b0\u1ee3c \u0111\u1ecdc trong khi th\u1ef1c thi.<\/p>\n<p>2.Theo m\u1eb7c \u0111\u1ecbnh, Salt Cloud s\u1ebd c\u00e0i \u0111\u1eb7t Salt Minion tr\u00ean t\u1ea5t c\u1ea3 c\u00e1c m\u00e1y ch\u1ee7 \u0111\u01b0\u1ee3c cung c\u1ea5p. \u0110\u1ec3 cho ph\u00e9p c\u00e1c h\u1ec7 th\u1ed1ng \u0111\u01b0\u1ee3c cung c\u1ea5p k\u1ebft n\u1ed1i v\u1edbi m\u00e1y ch\u1ee7 ch\u00ednh, h\u00e3y \u0111\u1eb7t c\u1ea5u h\u00ecnh m\u00e1y ch\u1ee7 ch\u00ednh m\u1eb7c \u0111\u1ecbnh cho t\u1ea5t c\u1ea3 c\u00e1c h\u1ec7 th\u1ed1ng \u0111\u01b0\u1ee3c cung c\u1ea5p.Ch\u1ec9nh s\u1eeda&nbsp;<code>\/etc\/salt\/cloud.conf.d\/master.conf<\/code>v\u00e0 d\u00e1n n\u1ed9i dung sau, thay th\u1ebf&nbsp;<code>saltmaster.example.com<\/code>b\u1eb1ng \u0111\u1ecba ch\u1ec9 IP ho\u1eb7c t\u00ean mi\u1ec1n c\u1ee7a m\u00e1y ch\u1ee7 ch\u00ednh c\u1ee7a b\u1ea1n:<\/p>\n<pre class=\"wp-block-code\"><code>minion:\n  master: saltmaster.example.com<\/code><\/pre>\n<p>M\u1ed9t t\u00f9y ch\u1ecdn kh\u00e1c l\u00e0 thi\u1ebft l\u1eadp tham s\u1ed1 n\u00e0y cho c\u1ea5u h\u00ecnh phi\u00ean b\u1ea3n c\u1ee5 th\u1ec3:<\/p>\n<pre class=\"wp-block-code\"><code>linode_1gb_with_master:\nprovider: my-linode-provider\n  size: g6-standard-1\n  image: linode\/debian11\n  location: eu-west\n  minion:\n    master: mymaster.example.com<\/code><\/pre>\n<p>3.Thi\u1ebft l\u1eadp&nbsp;<a href=\"https:\/\/www.linode.com\/docs\/guides\/use-public-key-authentication-with-ssh\/\">x\u00e1c th\u1ef1c kh\u00f3a SSH<\/a>&nbsp;cho phi\u00ean b\u1ea3n c\u1ee7a b\u1ea1n. \u0110\u1ec3 th\u1ef1c hi\u1ec7n vi\u1ec7c n\u00e0y trong qu\u00e1 tr\u00ecnh cung c\u1ea5p, h\u00e3y thi\u1ebft l\u1eadp h\u1ed3 s\u01a1 nh\u01b0 sau, thay th\u1ebf&nbsp;<code>ssh_pubkey<\/code>v\u00e0&nbsp;<code>ssh_key_file<\/code>b\u1eb1ng th\u00f4ng tin kh\u00f3a cho kh\u00f3a SSH tr\u00ean m\u00e1y ch\u1ee7 ch\u00ednh c\u1ee7a b\u1ea1n:<\/p>\n<pre class=\"wp-block-code\"><code>linode_1gb_with_ssh_key:\n  provider: my-linode-provider\n  size: g6-standard-1\n  image: linode\/debian11\n  location: eu-west\n  ssh_pubkey: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKHEOLLbeXgaqRQT9NBAopVz366SdYc0KKX33vAnq+2R user@host\n  ssh_key_file: ~\/.ssh\/id_ed25519<\/code><\/pre>\n<p class=\"has-background\" style=\"background-color:#74f78c33\">Ghi ch\u00fa: N\u1ebfu m\u00e1y ch\u1ee7 ch\u00ednh c\u1ee7a b\u1ea1n n\u1eb1m sau t\u01b0\u1eddng l\u1eeda, b\u1ea1n s\u1ebd ph\u1ea3i m\u1edf c\u00e1c c\u1ed5ng&nbsp;<code>4505-4506<\/code>trong&nbsp;<a href=\"https:\/\/docs.saltproject.io\/en\/latest\/topics\/tutorials\/firewall.html\" target=\"_blank\" rel=\"noreferrer noopener\">t\u01b0\u1eddng l\u1eeda<\/a>&nbsp;. T\u00f9y thu\u1ed9c v\u00e0o c\u1ea5u h\u00ecnh m\u1ea1ng c\u1ee7a b\u1ea1n, b\u1ea1n c\u00f3 th\u1ec3 ph\u1ea3i thi\u1ebft l\u1eadp chuy\u1ec3n ti\u1ebfp c\u1ed5ng cho c\u00e1c c\u1ed5ng n\u00e0y.<\/p>\n<h2 id=\"salt-cloud-interface\">Giao di\u1ec7n Salt Cloud<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#salt-cloud-interface\"><\/a><\/h2>\n<h3 id=\"create-linode-instances\">T\u1ea1o c\u00e1c phi\u00ean b\u1ea3n Linode<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#create-linode-instances\"><\/a><\/h3>\n<p>C\u00f3 m\u1ed9t s\u1ed1 c\u00e1ch \u0111\u1ec3 t\u1ea1o phi\u00ean b\u1ea3n m\u1edbi:<\/p>\n<p><strong>T\u1ea1o m\u1ed9t phi\u00ean b\u1ea3n m\u1edbi duy nh\u1ea5t<\/strong>&nbsp;:<\/p>\n<pre class=\"wp-block-code\"><code>salt-cloud -p linode_1gb linode1\n<\/code><\/pre>\n<p>Vi\u1ec7c t\u1ea1o phi\u00ean b\u1ea3n v\u00e0 c\u00e0i \u0111\u1eb7t Salt Minion tr\u00ean \u0111\u00f3 c\u00f3 th\u1ec3 m\u1ea5t m\u1ed9t th\u1eddi gian.<\/p>\n<p>Khi tri\u1ec3n khai ho\u00e0n t\u1ea5t, b\u1ea1n s\u1ebd th\u1ea5y t\u00f3m t\u1eaft sau:<\/p>\n<pre class=\"wp-block-code\"><code>linode1:\n     ----------\n     deployed:\n         True\n     id:\n         &lt;ID&gt;\n     image:\n         linode\/debian11\n     name:\n         linode1\n     private_ips:\n     public_ips:\n         - &lt;ip_address&gt;\n     size:\n         g6-standard-1\n     state:\n         Running<\/code><\/pre>\n<p>B\u1ea1n c\u00f3 th\u1ec3 k\u1ebft n\u1ed1i t\u1edbi phi\u00ean b\u1ea3n n\u00e0y b\u1eb1ng t\u00ean ng\u01b0\u1eddi d\u00f9ng&nbsp;<code>root<\/code>v\u00e0 m\u1eadt kh\u1ea9u \u0111\u01b0\u1ee3c ch\u1ec9 \u0111\u1ecbnh trong t\u1ec7p c\u1ea5u h\u00ecnh.<\/p>\n<p>\u0110\u1ec3&nbsp;<strong>t\u1ea1o nhi\u1ec1u m\u00e1y ch\u1ee7 trong m\u1ed9t l\u1ec7nh,<\/strong>&nbsp;h\u00e3y nh\u1eadp l\u1ec7nh sau:<\/p>\n<pre class=\"wp-block-code\"><code>salt-cloud -p linode_1gb linode1 linode2\n<\/code><\/pre>\n<ul>\n<li><\/li>\n<\/ul>\n<ul>\n<li>T\u00ean phi\u00ean b\u1ea3n m\u00e0 b\u1ea1n cung c\u1ea5p trong l\u1ec7nh n\u00e0y \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 qu\u1ea3n l\u00fd phi\u00ean b\u1ea3n n\u1ed9i b\u1ed9 v\u00e0 ch\u00fang kh\u00f4ng \u0111\u01b0\u1ee3c k\u1ebft n\u1ed1i v\u1edbi t\u00ean m\u00e1y ch\u1ee7 phi\u00ean b\u1ea3n.Nh\u00e3n Linode:\n<ul>\n<li>Ch\u1ec9 c\u00f3 th\u1ec3 ch\u1ee9a c\u00e1c ch\u1eef c\u00e1i ho\u1eb7c s\u1ed1 ASCII, d\u1ea5u g\u1ea1ch ngang v\u00e0 d\u1ea5u g\u1ea1ch d\u01b0\u1edbi<\/li>\n<li>Ph\u1ea3i b\u1eaft \u0111\u1ea7u v\u00e0 k\u1ebft th\u00fac b\u1eb1ng ch\u1eef c\u00e1i ho\u1eb7c s\u1ed1, v\u00e0<\/li>\n<li>C\u00f3 \u0111\u1ed9 d\u00e0i \u00edt nh\u1ea5t l\u00e0 ba k\u00fd t\u1ef1.<\/li>\n<\/ul>\n<\/li>\n<li>Th\u00f4ng th\u01b0\u1eddng khi t\u1ea1o c\u00e1c phi\u00ean b\u1ea3n, ch\u00fang \u0111\u01b0\u1ee3c th\u1ef1c hi\u1ec7n tu\u1ea7n t\u1ef1. S\u1eed d\u1ee5ng&nbsp;<code>salt-cloud<\/code>l\u1ec7nh v\u1edbi&nbsp;<code>-P<\/code>t\u00f9y ch\u1ecdn \u0111\u1ec3&nbsp;<strong>t\u1ea1o c\u00e1c phi\u00ean b\u1ea3n song song cho ph\u00e9p tri\u1ec3n khai<\/strong>&nbsp;:<code> salt-cloud -P -p linode_1gb linode1 linode2<\/code><\/li>\n<li><strong>N\u1ebfu b\u1ea1n kh\u00f4ng mu\u1ed1n c\u00e0i \u0111\u1eb7t Salt Minion tr\u00ean m\u00e1y ch\u1ee7 \u0111\u01b0\u1ee3c cung c\u1ea5p<\/strong>&nbsp;, h\u00e3y ch\u1ea1y&nbsp;<code>salt-cloud<\/code>v\u1edbi&nbsp;<code>--no-deploy<\/code>t\u00f9y ch\u1ecdn:<\/li>\n<\/ul>\n<pre class=\"wp-block-code\"><code>salt-cloud -p linode_1gb --no-deploy linode3\n<\/code><\/pre>\n<p>Salt cloud s\u1ebd t\u1ea1o ra th\u00f4ng b\u00e1o l\u1ed7i nh\u01b0ng phi\u00ean b\u1ea3n s\u1ebd \u0111\u01b0\u1ee3c t\u1ea1o:<\/p>\n<pre class=\"wp-block-code\"><code>linode3:\n     ----------\n     Error:\n         ----------\n         No Deploy:\n             'deploy' is not enabled. Not deploying.<\/code><\/pre>\n<h3 id=\"destroy-salt-cloud-instances\">Ph\u00e1 h\u1ee7y c\u00e1c phi\u00ean b\u1ea3n Salt Cloud<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#destroy-salt-cloud-instances\"><\/a><\/h3>\n<p>1.\u0110\u1ec3 h\u1ee7y m\u1ed9t th\u1ec3 hi\u1ec7n, h\u00e3y th\u1ef1c hi\u1ec7n&nbsp;<code>salt-cloud<\/code>v\u1edbi&nbsp;<code>-d<\/code>t\u00f9y ch\u1ecdn:<\/p>\n<pre class=\"wp-block-code\"><code><code>salt-cloud -d linode1<\/code><\/code><\/pre>\n<p>2.M\u00e1y ch\u1ee7 s\u1ebd b\u1ecb h\u1ee7y sau khi b\u1ea1n x\u00e1c nh\u1eadn x\u00f3a.<\/p>\n<h3 id=\"get-information-about-running-instances\">Nh\u1eadn th\u00f4ng tin v\u1ec1 c\u00e1c phi\u00ean b\u1ea3n \u0111ang ch\u1ea1y<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#get-information-about-running-instances\"><\/a><\/h3>\n<p><strong>Th\u00f4ng tin m\u1ed9t ph\u1ea7n<\/strong><\/p>\n<p>Thu th\u1eadp th\u00f4ng tin m\u1ed9t ph\u1ea7n b\u1eb1ng c\u00e1ch th\u1ef1c hi\u1ec7n&nbsp;<code>salt-cloud<\/code>v\u1edbi&nbsp;<code>-Q<\/code>t\u00f9y ch\u1ecdn:<\/p>\n<pre class=\"wp-block-code\"><code>salt-cloud -Q\n<\/code><\/pre>\n<p><strong>Th\u00f4ng tin \u0111\u1ea7y \u0111\u1ee7<\/strong><\/p>\n<p>Nh\u1eadn th\u00f4ng tin \u0111\u1ea7y \u0111\u1ee7 v\u1ec1 c\u00e1c tr\u01b0\u1eddng h\u1ee3p b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng&nbsp;<code>-F<\/code>t\u00f9y ch\u1ecdn:<\/p>\n<pre class=\"wp-block-code\"><code>salt-cloud -F\n<\/code><\/pre>\n<p><strong>C\u1ea5u h\u00ecnh truy v\u1ea5n c\u00f3 ch\u1ecdn l\u1ecdc<\/strong><\/p>\n<p>1.Ch\u1ec9nh s\u1eeda&nbsp;<code>\/etc\/salt\/cloud.conf.d\/query.conf<\/code>v\u00e0 th\u00eam c\u00e1c tr\u01b0\u1eddng b\u1ea1n mu\u1ed1n ch\u1ecdn:<\/p>\n<pre class=\"wp-block-code\"><code>query.selection:\n  - image\n  - size<\/code><\/pre>\n<p>2.Th\u1ef1c hi\u1ec7n truy v\u1ea5n ch\u1ecdn l\u1ecdc b\u1eb1ng&nbsp;<code>-S<\/code>t\u00f9y ch\u1ecdn:<\/p>\n<pre class=\"wp-block-code\"><code>salt-cloud -S<\/code><\/pre>\n<p>\u0110\u1ea7u ra:<\/p>\n<pre class=\"wp-block-code\"><code>linode3:\n    ----------\n    image:\n        linode\/debian11\n    size:\n        1024<\/code><\/pre>\n<h2 id=\"how-to-perform-actions-on-salt-cloud-instances\">C\u00e1ch th\u1ef1c hi\u1ec7n h\u00e0nh \u0111\u1ed9ng tr\u00ean Salt Cloud Instances<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#how-to-perform-actions-on-salt-cloud-instances\"><\/a><\/h2>\n<p>H\u00e0nh \u0111\u1ed9ng l\u00e0 c\u00e1c t\u00ednh n\u0103ng \u00e1p d\u1ee5ng cho m\u1ed9t tr\u01b0\u1eddng h\u1ee3p c\u1ee5 th\u1ec3. Hi\u1ec7n t\u1ea1i, c\u00e1c h\u00e0nh \u0111\u1ed9ng sau \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3:<\/p>\n<ul>\n<li><code>show_instance<\/code><\/li>\n<li><code>start<\/code><\/li>\n<li><code>stop<\/code><\/li>\n<\/ul>\n<p>V\u00ed d\u1ee5, \u0111\u1ec3 d\u1eebng m\u1ed9t&nbsp;<code>linode1<\/code>phi\u00ean b\u1ea3n \u0111ang ch\u1ea1y, h\u00e3y th\u1ef1c hi\u1ec7n&nbsp;<code>salt-cloud<\/code>l\u1ec7nh v\u1edbi&nbsp;<code>-a<\/code>t\u00f9y ch\u1ecdn v\u00e0&nbsp;<code>stop<\/code>l\u1ec7nh:<\/p>\n<pre class=\"wp-block-code\"><code>salt-cloud -a stop linode1\n<\/code><\/pre>\n<h2 id=\"use-cloud-map-files-to-manage-complex-environments\">S\u1eed d\u1ee5ng Cloud Map Files \u0111\u1ec3 qu\u1ea3n l\u00fd c\u00e1c m\u00f4i tr\u01b0\u1eddng ph\u1ee9c t\u1ea1p<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#use-cloud-map-files-to-manage-complex-environments\"><\/a><\/h2>\n<p>Vi\u1ec7c m\u1edf r\u1ed9ng quy m\u00f4, t\u1ea1o v\u00e0 h\u1ee7y t\u1eebng m\u00e1y ch\u1ee7 m\u1ed9t c\u00f3 th\u1ec3 r\u1ea5t ph\u1ee9c t\u1ea1p. \u0110\u1ec3 gi\u1ea3m b\u1edbt \u0111i\u1ec1u n\u00e0y, h\u00e3y s\u1eed d\u1ee5ng t\u1ec7p Cloud Map.<\/p>\n<p>B\u1ea3n \u0111\u1ed3 \u0111\u00e1m m\u00e2y g\u00e1n c\u00e1c c\u1ea5u h\u00ecnh cho m\u1ed9t danh s\u00e1ch c\u00e1c phi\u00ean b\u1ea3n. Trong qu\u00e1 tr\u00ecnh th\u1ef1c thi, Salt Cloud s\u1ebd c\u1ed1 g\u1eafng \u0111\u01b0a tr\u1ea1ng th\u00e1i c\u1ee7a c\u00e1c phi\u00ean b\u1ea3n n\u00e0y v\u00e0o ph\u00f9 h\u1ee3p v\u1edbi t\u1ec7p b\u1ea3n \u0111\u1ed3. C\u00e1c phi\u00ean b\u1ea3n m\u1edbi s\u1ebd \u0111\u01b0\u1ee3c t\u1ea1o v\u00e0 c\u00e1c phi\u00ean b\u1ea3n hi\u1ec7n t\u1ea1i s\u1ebd kh\u00f4ng b\u1ecb thay \u0111\u1ed5i.<\/p>\n<h3 id=\"configure-cloud-map\">C\u1ea5u h\u00ecnh b\u1ea3n \u0111\u1ed3 cloud<\/h3>\n<p>Trong v\u00ed d\u1ee5 n\u00e0y, Cloud map s\u1ebd \u0111\u1ecbnh ngh\u0129a hai phi\u00ean b\u1ea3n:&nbsp;<code>linode_web<\/code>v\u00e0&nbsp;<code>linode_db<\/code>. C\u1ea3 hai phi\u00ean b\u1ea3n s\u1ebd s\u1eed d\u1ee5ng h\u1ed3 s\u01a1&nbsp;<code>linode_1gb<\/code>\u0111\u00e3 \u0111\u1ecbnh ngh\u0129a tr\u01b0\u1edbc \u0111\u00f3.<\/p>\n<p>1.Ch\u1ec9nh s\u1eeda&nbsp;<code>\/etc\/salt\/cloud.conf.d\/linode.map<\/code>v\u00e0 d\u00e1n n\u1ed9i dung sau:<\/p>\n<pre class=\"wp-block-code\"><code>linode_1gb:\n  - linode_web\n  - linode_db<\/code><\/pre>\n<p>T\u1ec7p b\u1ea3n \u0111\u1ed3 \u0111\u00e1m m\u00e2y cho ph\u00e9p b\u1ea1n x\u00e1c \u0111\u1ecbnh c\u00e1c phi\u00ean b\u1ea3n t\u1eeb nhi\u1ec1u t\u00e0i kho\u1ea3n Linode ho\u1eb7c th\u1eadm ch\u00ed t\u1eeb m\u1ed9t nh\u00e0 cung c\u1ea5p kh\u00e1c. Ki\u1ec3m tra&nbsp;<a href=\"https:\/\/docs.saltproject.io\/en\/latest\/topics\/cloud\/map.html\" target=\"_blank\" rel=\"noreferrer noopener\">t\u00e0i li\u1ec7u B\u1ea3n \u0111\u1ed3 \u0111\u00e1m m\u00e2y<\/a>&nbsp;\u0111\u1ec3 bi\u1ebft h\u01b0\u1edbng d\u1eabn chi ti\u1ebft.<\/p>\n<p>2.\u0110\u1ec3 t\u1ea1o c\u00e1c phi\u00ean b\u1ea3n t\u1eeb t\u1ec7p b\u1ea3n \u0111\u1ed3 \u0110\u00e1m m\u00e2y, h\u00e3y th\u1ef1c hi\u1ec7n&nbsp;<code>salt-cloud<\/code>v\u1edbi&nbsp;<code>-m<\/code>t\u00f9y ch\u1ecdn v\u00e0 tr\u1ecf \u0111\u1ebfn&nbsp;<code>.map<\/code>t\u1ec7p:<\/p>\n<pre class=\"wp-block-code\"><code>salt-cloud -m \/etc\/salt\/cloud.conf.d\/linode.map\n<\/code><\/pre>\n<p>3.Salt Cloud s\u1ebd y\u00eau c\u1ea7u b\u1ea1n x\u00e1c nh\u1eadn c\u1ea5u h\u00ecnh m\u1ee5c ti\u00eau:<\/p>\n<pre class=\"wp-block-code\"><code>The following virtual machines are set to be created:\n    linode_web\n    linode_db\n\nProceed? &#91;N\/y] y\n... proceeding\n.  .  .<\/code><\/pre>\n<p>\u0110\u1ec3 t\u1ea1o c\u00e1c phi\u00ean b\u1ea3n song song, h\u00e3y s\u1eed d\u1ee5ng&nbsp;<code>-P<\/code>t\u00f9y ch\u1ecdn v\u1edbi t\u1ec7p b\u1ea3n \u0111\u1ed3 \u0111\u00e1m m\u00e2y.<\/p>\n<h3 id=\"delete-instances-created-by-cloud-map-files\">X\u00f3a c\u00e1c phi\u00ean b\u1ea3n \u0111\u01b0\u1ee3c t\u1ea1o b\u1edfi Cloud Map Files<a href=\"https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/#delete-instances-created-by-cloud-map-files\"><\/a><\/h3>\n<p>N\u1ebfu m\u1ed9t phi\u00ean b\u1ea3n hi\u1ec7n c\u00f3 b\u1ecb x\u00f3a kh\u1ecfi t\u1ec7p b\u1ea3n \u0111\u1ed3 Cloud, phi\u00ean b\u1ea3n \u0111\u00f3 s\u1ebd v\u1eabn ch\u1ea1y. \u0110\u1ec3 x\u00f3a c\u00e1c phi\u00ean b\u1ea3n \u0111\u01b0\u1ee3c t\u1ea1o b\u1edfi t\u1ec7p b\u1ea3n \u0111\u1ed3:<\/p>\n<ul>\n<li>X\u00f3a m\u1ed9t ho\u1eb7c nhi\u1ec1u tr\u01b0\u1eddng h\u1ee3p, ch\u1ec9 \u0111\u1ecbnh t\u00ean c\u1ee7a ch\u00fang:<code> salt-cloud -d linode_web linode_db<\/code><\/li>\n<li>X\u00f3a t\u1ea5t c\u1ea3 c\u00e1c tr\u01b0\u1eddng h\u1ee3p \u0111\u01b0\u1ee3c m\u00f4 t\u1ea3 trong&nbsp;<code>map<\/code>t\u1ec7p:<code> salt-cloud -d -m \/etc\/salt\/cloud.conf.d\/linode.map<\/code><\/li>\n<li>Cho ph\u00e9p Salt Cloud h\u1ee7y m\u1ecdi phi\u00ean b\u1ea3n kh\u00f4ng \u0111\u01b0\u1ee3c m\u00f4 t\u1ea3 trong&nbsp;<code>map<\/code>t\u1ec7p. SaltStack coi vi\u1ec7c x\u00f3a c\u00e1c phi\u00ean b\u1ea3n nh\u01b0 v\u1eady l\u00e0 nguy hi\u1ec3m. T\u00ednh n\u0103ng n\u00e0y b\u1ecb v\u00f4 hi\u1ec7u h\u00f3a theo m\u1eb7c \u0111\u1ecbnh. \u0110\u1ec3 b\u1eadt t\u00ednh n\u0103ng n\u00e0y:<\/li>\n<\/ul>\n<p>1.S\u1eeda \u0111\u1ed5i&nbsp;<code>\/etc\/salt\/cloud<\/code>v\u00e0 th\u00eam:<\/p>\n<pre class=\"wp-block-code\"><code>enable_hard_maps: True<\/code><\/pre>\n<p>2.Th\u1ef1c hi\u1ec7n&nbsp;<code>salt-cloud<\/code>v\u1edbi&nbsp;<code>--hard<\/code>t\u00f9y ch\u1ecdn:<code> <\/code><\/p>\n<pre class=\"wp-block-code\"><code>salt-cloud -d -m \/etc\/salt\/cloud.conf.d\/linode.map\n<\/code><\/pre>\n<p>3.X\u00e1c nh\u1eadn x\u00f3a khi \u0111\u01b0\u1ee3c nh\u1eafc.<\/p>\n<p>Ngu\u1ed3n: https:\/\/www.linode.com\/docs\/guides\/configure-and-use-salt-cloud-and-cloud-maps-to-provision-systems\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Salt Cloud l\u00e0 g\u00ec? Salt Cloud&nbsp;l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 qu\u1ea3n l\u00fd c\u1ea5u h\u00ecnh cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng cung c\u1ea5p h\u1ec7 th\u1ed1ng tr\u00ean m\u00e1y ch\u1ee7 \u0111\u00e1m m\u00e2y ho\u1eb7c tr\u00ecnh qu\u1ea3n l\u00fd \u1ea3o. Trong qu\u00e1 tr\u00ecnh c\u00e0i \u0111\u1eb7t, Salt Cloud c\u00e0i \u0111\u1eb7t Salt tr\u00ean t\u1ea5t c\u1ea3 c\u00e1c h\u1ec7 th\u1ed1ng \u0111\u01b0\u1ee3c cung c\u1ea5p theo m\u1eb7c \u0111\u1ecbnh. \u0110i\u1ec1u n\u00e0y<\/p>\n","protected":false},"author":1,"featured_media":36047,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[124],"tags":[],"class_list":["post-34992","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-salt"],"_links":{"self":[{"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/posts\/34992","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/comments?post=34992"}],"version-history":[{"count":0,"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/posts\/34992\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/media\/36047"}],"wp:attachment":[{"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/media?parent=34992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/categories?post=34992"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/tags?post=34992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}