{"id":545582,"date":"2021-11-10T21:05:38","date_gmt":"2021-11-10T13:05:38","guid":{"rendered":"http:\/\/4563.org\/?p=545582"},"modified":"2021-11-10T21:05:38","modified_gmt":"2021-11-10T13:05:38","slug":"aws-lightseil-%e8%87%aa%e5%8a%a8%e5%85%b3%e6%9c%ba%e8%84%9a%e6%9c%ac%e7%ba%a2%e5%8c%85%e6%b1%82%e8%a7%a3-2","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=545582","title":{"rendered":"aws lightseil \u81ea\u52a8\u5173\u673a\u811a\u672c\u7ea2\u5305\u6c42\u89e3"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>\u51c9\u6708<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>aws lightseil \u81ea\u52a8\u5173\u673a\u811a\u672c\u7ea2\u5305\u6c42\u89e3<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 \u51c9\u6708 \u4e8e 2021-11-8 14:00 \u7f16\u8f91 <\/p>\n<p> \u6ca1\u7a7a\u7814\u7a76,\u54ea\u4e2a\u5927\u4f6c\u7ed9\u6559\u5b66\u6d4b\u8bd5\u6ca1\u95ee\u9898\u7ed9\u7ea2\u5305,\u79c1\u804a\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>nop<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\thttps:\/\/docs.aws.amazon.com\/cli\/latest\/reference\/lightsail\/reboot-instance.html\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u51c9\u6708<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tnop \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-8 00:43<br \/>  https:\/\/docs.aws.amazon.com\/cli\/latest\/reference\/lightsail\/reboot-instance.html<\/p>\n<p> \u8c22\u8c22,\u4f46\u662f\u6ca1\u7a7a\u53bb\u7814\u7a76\u6240\u4ee5\u770b\u770b\u6709\u6ca1\u6709\u5927\u4f6c\u613f\u610f\u5e2e\u5fd9\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u51c9\u6708<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7ea2\u5305\u6c42\u5927\u4f6c\u5e2e\u5fd9:)\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u51c9\u6708<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6216\u8005\u80fd\u4e0d\u80fd\u8bbe\u7f6e\u63d0\u9192,\u6709\u6ca1\u6709\u5927\u4f6c\u7528\u8fc7\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>ORM<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\texport AWS_ACCESS_KEY_ID=$keyid<br \/>  export AWS_SECRET_ACCESS_KEY=$secretkey<br \/>  export AWS_DEFAULT_REGION=$region<\/p>\n<p>  aws lightsail stop-instance &#8211;region $region &#8211;instance-name\u4f60\u7684\u673a\u5668\u540d\u5b57<\/p>\n<p>  \u9700\u8981\u5148\u5b89\u88c5aws-cli:lol,\u5565\u65f6\u5019\u5173\u673a\u5b9a\u65f6\u81ea\u5df1\u52a0\u5427\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u51c9\u6708<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tORM \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-9 23:15<br \/>  export AWS_ACCESS_KEY_ID=$keyid<br \/>  export AWS_SECRET_ACCESS_KEY=$secretkey<br \/>  export AWS_DEFAULT_REGION=$r &#8230;<\/p>\n<p> \u6ca1\u7a7a\u7814\u7a76\u554a,\u80fd\u5e2e\u641e\u5b9a\u561b\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u6c60\u9c7c\u601d\u6545\u6e0a<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u811a\u672c\u9700\u8981\u6302\u4ee3\u7406 \u4e0d\u7136\u53f7\u591a\u4e86\u4f1a\u5c01\u53f7\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u51c9\u6708<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6c60\u9c7c\u601d\u6545\u6e0a \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-10 18:46<br \/>  \u811a\u672c\u9700\u8981\u6302\u4ee3\u7406 \u4e0d\u7136\u53f7\u591a\u4e86\u4f1a\u5c01\u53f7<\/p>\n<p> yc019t\u8c22\u8c22\u63d0\u9192\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u51c9\u6708 \u5927\u4f6c\u6709\u8bdd\u8bf4 : aws li&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/545582"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=545582"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/545582\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=545582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=545582"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=545582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}