GCP Cloud Task Support
Create and manage Google Cloud Task queues from the DuploCloud Portal
Google Cloud Tasks is a fully managed service that enables you to run asynchronous background work using task queues. Queues help offload work from your application, manage retries, and control task execution rates, improving system efficiency and resilience.
DuploCloud simplifies Google Cloud Tasks by allowing you to create and manage task queues and individual tasks directly from the Portal. This lets you easily incorporate background processing into your GCP workloads without writing scripts or configuring the service manually in Google Cloud.
Creating a Cloud Task Queue
In the DuploCloud Portal, navigate to Cloud Services -> Cloud Tasks.
Select the Queues tab.
Click Add. The Create Queue pane displays.
Create Queue pane Provide a Name for the queue.
In the Location list box select the GCP region where the queue will be created (e.g.,
us-central1
).Click Create to provision the queue in GCP. Once created, the queue appears in the list on the Queues tab.
Queues tab in the DuploCloud Portal
Managing Cloud Task Queues
To manage an existing queue:
In the DuploCloud Portal, navigate to Cloud Services -> Cloud Tasks.
Select the Queues tab.
Click the menu icon (
) in the row of the queue you want to manage.
Queues tab with menu options highlighted Choose one of the following actions:
GCP Console: opens the selected queue in the Google Cloud Console for advanced configuration and monitoring.
Delete: permanently removes the queue and any associated tasks from your GCP environment.
Creating a Task in a Cloud Task Queue
Once a queue is created, you can add individual tasks:
In the DuploCloud Platform, navigate to Cloud Services -> Cloud Tasks.
Select the queue name from the NAME column.
Select the Tasks tab.
Click Add. The Create Task pane displays.
Create Task pane Complete the required fields:
Name
Enter a unique name for the task. This field is required.
Task Type
Select the type of task, e.g., Http or AppEngine.
URL
Enter the full URL for the HTTP target. It must begin with http://
or https://
.
HTTP Method
Choose the HTTP method to use for the request, e.g., Post.
Request Body
Optionally, enter a payload to include in the request body. This is supported for most HTTP methods that allow a body, such as POST
, PUT
, and PATCH
.
Add a Header
Optionally, select this option to include one or more custom HTTP headers. For each header, enter a Name and Value.
Click Submit to create the task. Once created, the task appears in the list under the Tasks tab.
Tasks tab for a Cloud Task Queue in the DuploCloud Portal
Managing Tasks in a Queue
Once tasks have been created, you can manage them directly from the DuploCloud Portal:
Navigate to Cloud Services -> Cloud Tasks.
Click the name of the queue that contains the task you want to manage.
Select the Tasks tab.
In the row of the task you want to manage, click the menu icon (
).
Tasks tab with menu options highlighted Choose one of the following actions:
JSON
View the full task definition in JSON format.
Force Run
Immediately execute the task, bypassing its scheduled run time.
Delete
Permanently remove the task from the queue.
Additional Resources
Last updated
Was this helpful?