Let us begin with understanding of Google Cloud Storage what it is all about before moving to our GCP Cloud Storage plugin and how it is benefits to our workload automation users.

Cloud Storage is a service for storing your objects in Google Cloud. An object is an immutable piece of data consisting of a file of any format. You store objects in containers called buckets.

 

 

 

After the creation of a project, user can create Cloud Storage bucketsupload objects to buckets, and download objects from buckets. User can also grant permissions to make data accessible to specified members, or – for certain use cases such as hosting a website – accessible to everyone on the public internet.

Here is how the Cloud Storage structure can apply to a real-world case:

  • Organization: Your company, called Example Inc., creates a Google Cloud organization called exampleinc.org.
  • Project: Example Inc. is building several applications, and each one is associated with a project. Each project has its own set of Cloud Storage APIs, as well as other resources.
  • Bucket: Each project can contain multiple buckets, which are containers to store your objects. For example, you might create a photos bucket for all the image files your app generates and a separate videos bucket.
  • Object: An individual file

Once user upload objects to Cloud Storage, user have fine-grained control over how user can secure and share the data. Here are some ways to secure the data inside Cloud Storage:

  • Identity and Access Management
  • Data encryption
  • Authentication
  • Bucket Lock
  • Object Versioning

Let us begin with our plugin part with job definition parameters,

Log in to the Dynamic Workload Console and open the Workload Designer. Choose to create a new job and select “GCP CloudStorage” job type in the Cloud section.

 

Connection

Establishing connection to the Google Cloud server:

Use this section to connect to the Google Cloud.

Service Account – The service account associated to your GCS account. Click the Select button to choose the service account in the cloud console.

Note: This attribute is required. The service account is the identity of the service, and the service account’s permissions control which resources the service can access.

Project ID – The project ID is a unique name associated with each project. It is mandatory and unique for each service account.

Test Connection – Click to verify if the connection to the Google Cloud works correctly.

 

 

Action

In Action tab specify the bucket name and operation which you want to perform.

  • Bucket Name – Specify the name of the bucket in which the objects are stored. Click the Selectbutton to choose the bucket name defined in the cloud console.
  • Select Operations – Use this section to either upload or download objects.
  • Upload Object – Click this radio button to upload objects to the console.
  • Object Name – Enter the name of the object to be uploaded or the path of the file stored. Click the Selectbutton to choose the object name defined in the cloud console.
  • Source File(s) – Displays the path of the source file. You can use the filter option to streamline your search.
  • If a file already exists – Select an appropriate option for the application to perform if the uploaded file already exists in the console.
  • Replace – Selecting this option replaces the already existing file in the console.
  • Skip – Selecting this option skips the upload of the selected file in the console.
  • Download Object – Click this radio button to download the objects from the console.
  • Object Name – Enter the name of the object to be downloaded. Click the Selectbutton to choose the object name defined in the cloud console.
  • GCP Cloud File(s) – Displays the path of the source file. You can use the filter option to streamline your search.
  • Delete from GCS – Select this check box to delete the downloaded object from the google cloud console.
  • File Path – Provide the location to download objects. Click the Selectbutton to choose the destination path.

 

Submitting your job

It is time to Submit your job into the current plan. You can add your job to the job stream that automates your business process flow. Select the action menu in the top-left corner of the job definition panel and click on Submit Job into Current Plan. A confirmation message is displayed, and you can switch to the Monitoring view to see what is going on.

Monitor Page

Job Log Details

 

WorkFlow Page

 

 

Are you curious to try out the GCP CloudStorage plugin? Download the integrations from the Automation Hub and get started or drop a line at santhoshkumar.kumar@hcl.com.

Comment wrap
Further Reading
article-img
Automation | May 19, 2022
Continuous Security and Quality Updates on Dynamic Workload Console 10.1
After the biggest launch of Workload Automation 10.0.1 release in 1Q of 2022 (see the Workload automation original Video), what can we expect in 2022? Big news! Our first release refreshing for Dynamic Workload Console 10.0.1 is ready. Let’s answer the 5 WH questions.
article-img
Automation | May 17, 2022
HCL Workload Automation Observability for Splunk
The Observability is the evolution of monitoring into a process that offers insight into digital business applications, speeds innovation and enhances customer experience, basically it is an emerging set of practices, platforms, and tools that goes beyond monitoring to provide insight into the internal state of systems by analyzing external outputs.
article-img
Automation | May 12, 2022
Enhancing observability with AI in HCL Workload Automation
Organizations now are looking towards AI intelligence to help operators avoid manual operations, whether it’s due to the sheer number of alerts that they’re getting that are contributing to “alert fatigue” or the lack of observability of how the organization is working.
Close
Filters result by
Sort:
|