Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raqssoriano/hha504_assignment_dbs
This task is part of my assignment focused on managing database services in Azure and Google Cloud Platform (GCP). I am learning how to start, stop, and monitor database-related services, including BigQuery and MySQL.
https://github.com/raqssoriano/hha504_assignment_dbs
Last synced: about 2 months ago
JSON representation
This task is part of my assignment focused on managing database services in Azure and Google Cloud Platform (GCP). I am learning how to start, stop, and monitor database-related services, including BigQuery and MySQL.
- Host: GitHub
- URL: https://github.com/raqssoriano/hha504_assignment_dbs
- Owner: raqssoriano
- Created: 2024-10-21T02:33:21.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-23T06:17:40.000Z (4 months ago)
- Last Synced: 2024-11-09T18:42:48.362Z (3 months ago)
- Size: 12.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **HHA504 || Working with Managed Databases in Azure and Google Cloud Platform (GCP)**
---- **📌** This task is part of my assignment focused on managing database services in **`Azure`** and **`Google Cloud Platform (GCP)`**. I am learning how to _*start*_, _*stop*_, and _*monitor*_ database-related services, including **`BigQuery`** and **`MySQL`**.
---
# _*Steps Taken to Complete this Assignment*_
---
## 1. Started and Configured a Managed Database
- ## _*Azure MySQL:*_
- Navigated to the **`Azure portal`** and created a MySQL flexible server.
.
âž™ Before I was able to successfully create one, I encountered multiple failed deployments due to reqion/location errors.
âž™ **`South Central US`**: The only region/location that worked after multiple failed deployments.
.
- The newly created SQL flexible server database and its configuration.
.
.
.
- Created and added a database.
.
- Started the database service and noted the connection details.
.
- ## _*GCP MySQL:*_
- Accessed the Google Cloud Console and created a Cloud SQL instance with MySQL.
.
.
.
.
.
.
.
- Configured the database instance similar to Azure.
- Start the database service and document the connection details.
.
---
## 2. Monitored Database Services
- ## _*Azure:*_
- I learned different ways to navigate and monitor the performance and cost of the MySQL database. I explored metrics like CPU usage, memory, and query performance.
.
.
.
- ## _**GCP:**_
- Used the GCP Console to monitor the Cloud SQL instance and the BigQuery dataset. Paid attention to similar metrics and noted any differences in monitoring tools between the two platforms.
.
.
.
.
.
.
---
## 3. Explored BigQuery (GCP)
- In GCP, I navigated to BigQuery and created a dataset named **`raqs_query_dataset`**.
.
.
.
- Loaded a small sample data file into a table within the dataset (CSV file) and created a table named **`personality-types`**.
- Link to my chosen dataset: [Kaggle: Personality Types](https://www.kaggle.com/datasets/stealthtechnologies/predict-people-personality-types/data)
.
.
- Ran two simple queries against the dataset to retrieve specific data.
.
.
.
---
## 4. Reflections on Managing Databases: Azure vs. GCP
- **📌** _**Setting up and Configuring Databases**_
| **Azure** | **GCP** |
|------------------------------|-------------------------------|
| Azure portal provides a user-friendly interface for configuring databases, | GCP offers similar functions, but it provides a more straightforward interface for configuring and managing databases. |- **📌** _**Monitoring Database Services**_
Both Azure and GCP offers robust monitoring tools.
| **Azure** | **GCP** |
|------------------------------|-------------------------------|
| Azure offers an extensive monitoring for services which includes databases | GCP offers similar strengths for its services |
| Both Azure and GCP gather different range of metrics and logs related to usage, availability, and performance. | Additionally, their dashboards are customizable. |
| Azure provides a centralized view of the costs beyond just database services, which gives me an option to analyze trends and set up budgets. | In my view, GCP offers more detailed billing information and cost breakdowns for the database services created.- **📌** _**Creating and Making Queries**_
Both Azure and GCP offer tools for SQL databases.
| **Azure** | **GCP** |
|------------------------------|-------------------------------|
| Azure can handle SQL queries | GCP also handles SQL queries and offers BigQuery, which can handle large and complex analytical queries. I was able to run queries directly in the GCP console. |- **📌** Both Azure and GCP provide comprehensive services for setting up, configuring, monitoring, and retrieving data from databases (SQL). The choice will depend on the specific needs of the user. I personally prefer GCP because I find it easier to use and navigate due to its more straightforward interface, making it a little less complicated.