Crates.io | gcloud-utils |
lib.rs | gcloud-utils |
version | 0.3.1 |
source | src |
created_at | 2022-05-03 17:47:37.136567 |
updated_at | 2022-06-09 10:46:31.111382 |
description | Google Cloud Utilities. |
homepage | |
repository | |
max_upload_size | |
id | 579960 |
size | 70,150 |
Google Cloud gcloud SDK Rust Wrapper. Easy setup with Cloud Run for Web 2.5
cargo install gcloud-utils
Create gcp_config.json
config file at first.
gcu init config
gcp_config.json
{
"project_id": "epic-app",
"service_name": "epic-gcp",
"region": "europe-west4"
}
gcu --help
USAGE:
gcu <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
-V, --version Print version information
SUBCOMMANDS:
compute
docker
gh
help Print this message or the help of the given subcommand(s)
iam
init
run
Generate Service Account and Get Perimissions.
gcu iam setup
*make sure that you have a Dockerfile and it's successfully build.
gcu docker build
gcu docker push
gcu run build
*make sure that you have a Dockerfile and it's successfully build.
gcu run deploy
Make the necessary settings to scale the network, such as VPC network and firewall settings.
$ gcu compute create-nat
By this command
Is done automatically.
Bug reports and pull requests are welcome on GitHub at https://github.com/EpicsDao/gcloud-utils. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the Apache-2.0 License.
Everyone interacting in the SOULs project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.