usacloudはさくらのクラウド用の公式CLIクライアントです。
Test Status Discord License Version Downloads Documents
Documents: https://docs.usacloud.jp/usacloud/installation/start_guide
- GitHub Releasesから自身のプラットフォーム向けのファイルをダウンロード&展開
- さくらのクラウド ドキュメント: APIキーの新規作成・編集 を参照してAPIキーを作成
usacloud profileコマンドでAPIキーを設定
コマンドは以下の書式で指定します。
usacloud <リソース> <サブコマンド> [オプション] [対象リソースのID or 名前(部分一致) or タグ]
リソースやサブコマンド、オプションはusacloud -h、usacloud <リソース名> -h、またはusacloud <リソース名> <サブコマンド> -hで確認できます。
# 全ゾーンのサーバ一覧を取得 $ usacloud server list --zone=all # 石狩第1ゾーンで名前に"example-"を含むサーバをすべてシャットダウン(オプションの位置は引数の後ろでもOK) $ usacloud server shutdown "example-" --zone=is1a
Usacloud ドキュメントを参照してください。
usacloud -h CLI to manage to resources on the SAKURA Cloud Available Commands: === Configuration === config === Authentication === auth-status === Computing === private-host server === Storage === archive auto-backup cdrom disk === Networking === bridge internet local-router packet-filter switch === Networking(SubResources) === interface ipaddress ipv6addr ipv6net subnet === Appliance === database load-balancer nfs vpc-router === SecureMobile === mobile-gateway sim === Common service items === dns gslb proxy-lb simple-monitor === Billing === bill coupon === Lab === container-registry esme === WebAccelerator === web-accelerator === Other services === icon license note ssh-key === Region/Zone information === region zone === Service/Product information === disk-plan internet-plan license-info private-host-plan server-plan service-class === Other commands === rest self completion Generate completion script
usacloud Copyright (C) 2017-2025 The Usacloud Authors.
This project is published under Apache 2.0 License.