This repository demonstrates how to work with Google Cloud Platform (GCP) without using the web console. It provides various examples and approaches for managing GCP resources programmatically.
The project is organized into three main directories:
- shell_scripts: Contains individual gcloud CLI commands for creating and managing single resources.
- tasks: Contains complete mini-project configurations with multiple resources.
- terraform: Contains infrastructure as code for a complete project with multiple resources.
This project serves as a learning resource and reference for DevOps engineers, cloud administrators, and developers who want to:
- Automate GCP resource provisioning and management
- Implement infrastructure as code practices
- Learn different approaches to GCP resource management (CLI, scripts, Terraform)
- Understand GCP resource relationships and dependencies
To use the examples in this repository, you'll need:
- A Google Cloud Platform account
- Google Cloud SDK (gcloud CLI) installed and configured
- Terraform installed (for the terraform examples)
- Appropriate GCP permissions and credentials
- Clone this repository
- Set up your GCP credentials and project
- Explore the different directories based on your needs:
- Use
shell_scriptsfor simple, single-resource operations - Use
tasksfor more complex, multi-resource operations - Use
terraformfor complete infrastructure management
- Use
Contributions to improve the examples or add new ones are welcome. Please feel free to submit pull requests or open issues.
This project is open source and available under the MIT License.