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.

 

google cloud storage

 

 

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.

gcp cloud storage

 

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.

 

connection

 

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.

bucket name

 

download object

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.

submit job into current plan

Monitor Page

monitor workload distributed

Job Log Details

workstation job

 

WorkFlow Page

 

ibm workload scheduler

 

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 | September 26, 2022
Easy Websphere’s Liberty Management for the Workload Automation Administrator
Learn about how HWA main components are deployed on WebSphere liberty, that was designed to be highly efficient and optimized for modern cloud technologies.
article-img
Automation | September 8, 2022
CASE STUDY : Retail SuperMarket UseCases over Self Service Catalogue
A comprehensive solution to manage the workload automation process with HCL for Retail Industry. Read the case study to figure out complete solutions.
Close
Filters result by
Sort:
|