gcloud-utils 0.2.3

Google Cloud Utilities.
Documentation

What is gcloud-utils?

Google Cloud gcloud SDK Rust Wrapper. Easy setup with Cloud Run for Web 2.5

Installation

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"
}

Usage

gcu --help

Google Cloud IAM Setup

Generate Service Account and Get Perimissions.

gcu iam setup

Google Cloud Run Deploy

*make sure that you have a Dockerfile and it's successfully build.

gcu run deploy

Creating a VPC network

Make the necessary settings to scale the network, such as VPC network and firewall settings.

$ gcu compute create-nat

By this command

  • Creating a VPC network
  • Creating Firewall TCP rules
  • Creating Firewall SSH rules
  • Creating a network subnet
  • Creating a VPC access connector
  • Creating a Router
  • Obtaining an External IP
  • Creating Cloud NAT

Is done automatically.

Contributing

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.

License

The gem is available as open source under the terms of the Apache-2.0 License.

Code of Conduct

Everyone interacting in the SOULs project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.