Most Recent Project:
The CLI Uploader Tool is a command-line utility for encrypting files and uploading them to Google Cloud Storage. It offers features such as file encryption, shareable link generation, file synchronization, and error handling, ensuring a smooth and secure upload process.
My Repo:
# BY GWYNETH PEÑA-SIGUENZA — JAN 5, 2023
https://www.madebygps.com/cloudcamp/
## 6-Month Cloud Engineering Study Plan
🐧
### 1. Linux and Bash
How you will interact with servers.
In your cloud account, deploy the cheapest Ubuntu VM possible. Use this for your studies. Turn it off after you’re done but also configure it to turn off at a the end of the day in case you forget.
Here is a free 2-hour course covering the basics of Bash. -- https://www.youtube.com/playlist?list=PLlrxD0HtieHh9ZhrnEbZKhzk0cetzuX7l
2 weeks
10 Days studying and working in that Ubuntu VM.
4 Days writing scripts.
Project
Build the capstone from LTC on the VM -- https://learntocloud.guide/phase1/?ref=madebygps.com#capstone-project-clouduploader-cli
Create a GitHub repo and make sure your script is there.
Make sure your repo README.md is well documented.
Provides usage instructions for the script: The script includes a usage function that displays instructions on how to use the script. It outlines the available options and their purposes, helping users understand how to execute the script correctly.
Ensures the Google Cloud SDK is installed and the user is authenticated: Before performing any operations, the script checks if the Google Cloud SDK is installed and if the user is authenticated. This ensures that the script can interact with Google Cloud services seamlessly.
Provides an option to generate a shareable link after upload: When the --share flag is provided, the script generates a shareable link for each uploaded file. This makes it easy for users to share access to the uploaded files directly from the cloud.
Prompts the user if the file already exists in the cloud to either overwrite, skip, or rename the file: If a file with the same name already exists in the cloud storage bucket, the script prompts the user with options to overwrite the existing file, skip the upload, or rename the file before uploading. This feature helps avoid accidental overwrites and ensures that users can manage file versions effectively.
Encrypts the file before upload using OpenSSL if the --encrypt flag is provided: If the --encrypt flag is specified, the script encrypts files using OpenSSL before uploading them to the cloud. This adds an extra layer of security, ensuring that the data remains protected during transfer and storage.
Prompts the user to enter a bucket name, checks if the bucket exists, and creates a new bucket if it doesn't: The script prompts the user to enter the name of the storage bucket. It then checks if the bucket already exists. If it doesn't, the script creates a new bucket. If the entered bucket name is already taken, it repeatedly prompts the user until a valid and available name is provided. After bucket creation, it confirms the upload destination with the user: Once the bucket is confirmed or created, the script confirms the upload destination with the user, ensuring clarity and preventing misuploads.
Supports multiple file paths and directories, as well as additional options like storage class, additional gsutil options, shareable link generation, and encryption: The script is designed to handle various command-line arguments, allowing users to specify multiple files and directories to upload. It also accepts options for setting the storage class, adding additional gsutil options, enabling shareable link generation, and file encryption.
Provides success or error messages for each file upload and displays progress: The script includes robust error handling mechanisms. It provides clear success or error messages for each file upload, ensuring users are informed of the status of each operation. Additionally, it displays progress updates to keep users aware of the ongoing upload process.
Uses the find command to locate all files in the specified directory and processes them individually: When directories are specified, the script uses the find command to locate all files within those directories. It then processes each file individually, ensuring comprehensive handling of all specified files and directories.
Contact button below.