Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
Recopilar la configuración de Cloud Composer
En esta página se describe cómo recopilar la configuración de Cloud Composer para automatizar los datos en el framework de Cortex.
Si Cloud Composer está disponible, debes crear conexiones en Cloud Composer que apunten al proyecto de origen donde residen tus datos, con los siguientes nombres en función de la carga de trabajo que se vaya a implementar. Para obtener más información sobre las cargas de trabajo, consulta Fuentes de datos y cargas de trabajo.
Si va a crear tablas en la capa de informes, asegúrese de crear conexiones independientes para los DAGs de informes.
Desplegar una carga de trabajo
Crear para Raw
Crear para los CDC
Crear para informes
SAP
N/A
sap_cdc_bq
sap_reporting_bq
SFDC
sfdc_cdc_bq
sfdc_cdc_bq
sfdc_reporting_bq
Google Ads
googleads_raw_dataflow
googleads_cdc_bq
googleads_reporting_bq
CM360
cm360_raw_dataflow
cm360_cdc_bq
cm360_reporting_bq
Meta
meta_raw_dataflow
meta_cdc_bq
meta_reporting_bq
TikTok
tiktok_raw_dataflow
tiktok_cdc_bq
tiktok_reporting_bq
LiveRamp
N/A
liveramp_cdc_bq
N/A
SFMC
sfmc_raw_dataflow
sfmc_cdc_bq
sfmc_reporting_bq
DV360
N/A
dv360_cdc_bq
dv360_reporting_bq
GA4
N/A
N/A
ga4_reporting_bq
Oracle EBS
N/A
N/A
oracleebs_reporting_bq
Sostenibilidad
N/A
N/A
k9_reporting_bq
Dimensiones habituales
N/A
N/A
k9_reporting
Convenciones de nomenclatura de conexiones
Ten en cuenta las siguientes especificaciones para las convenciones de nomenclatura de las conexiones:
Sufijos de conexión: los nombres de las conexiones incluyen sufijos que indican su finalidad:
_bq: se usa para acceder a los datos de BigQuery.
_dataflow: se usa para ejecutar tareas de Dataflow.
Conexiones de datos sin procesar: solo tienes que crear conexiones de datos sin procesar si usas los módulos de ingestión de datos que proporciona Cortex.
Varias fuentes de datos: si va a implementar varias fuentes de datos (por ejemplo, SAP y Salesforce), le recomendamos que cree conexiones independientes para cada una, siempre que se apliquen limitaciones de seguridad a las cuentas de servicio individuales. También puede modificar el nombre de la conexión en la plantilla antes de la implementación para usar la misma conexión para escribir en BigQuery.
Prácticas recomendadas de seguridad
Evita las conexiones predeterminadas: no se recomienda usar las conexiones y las cuentas de servicio predeterminadas que ofrece Airflow, sobre todo en entornos de producción. Esto se ajusta al principio de mínimos accesos, que hace hincapié en conceder solo los permisos de acceso mínimos necesarios.
Integración de Secret Manager: si tienes Secret Manager habilitado en Airflow, puedes crear estas conexiones en Secret Manager con los mismos nombres. Las conexiones almacenadas en Secret Manager tienen prioridad sobre las que se definen directamente en Airflow.
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-08-21 (UTC)."],[[["\u003cp\u003eThis guide details how to gather Cloud Composer settings for automating data within the Cortex Framework.\u003c/p\u003e\n"],["\u003cp\u003eWhen using Cloud Composer, you must establish connections that link to the source project of your data, with specific names based on the intended workload and deployment, such as \u003ccode\u003esap_cdc_bq\u003c/code\u003e or \u003ccode\u003esfdc_reporting_bq\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eConnection names should include suffixes like \u003ccode\u003e_bq\u003c/code\u003e for BigQuery access or \u003ccode\u003e_dataflow\u003c/code\u003e for Dataflow jobs and separate connections are recommended for multiple data sources to ensure security.\u003c/p\u003e\n"],["\u003cp\u003eRaw data connections are only required when utilizing Cortex's data ingestion modules, and default Airflow connections should be avoided in production for security purposes.\u003c/p\u003e\n"],["\u003cp\u003eConnections can be managed within Secret Manager, taking precedence over Airflow-defined connections, enhancing security by adhering to the principle of least privilege.\u003c/p\u003e\n"]]],[],null,["# Gathering Cloud Composer settings\n=================================\n\nThis page describes how the gather Cloud Composer settings to automate data\nwithin the Cortex Framework.\n\nIf Cloud Composer is available, you need to\n[create connections](/composer/docs/how-to/managing/connections#creating_new_airflow_connections) within Cloud Composer that point to the source project\nwhere your data resides, with the following names based on\nthe workload to deployment. For details about workloads, see [Data sources and workloads](/cortex/docs/data-sources-and-workloads).\nIf you are creating [tables in the Reporting layer](/cortex/docs/deployment-step-five#performance_optimization_for_reporting_views),\nmake sure to create separate connections for Reporting DAGs.\n\n| **Note:** Not all data sources requires individual connections for their Raw or CDC layer.\n\nConnection Naming Conventions\n-----------------------------\n\nConsider the following specifications for connection naming conventions:\n\n- **Connection suffixes** : The connection names include suffixes that indicate their intended purpose:\n - `_bq`: used for accessing BigQuery data.\n - `_dataflow`: Used for running Dataflow jobs.\n- **Raw data connections**: You only need to create connections for Raw data if you are using the data ingestion modules provided by Cortex.\n- **Multiple data sources**: If you are deploying multiple data sources (for example, both SAP and Salesforce), it's recommended to create separate connections for each, assuming security limitations are applied to individual service accounts. Alternatively, you can modify the connection name in the template before deployment to use the same connection for writing to BigQuery.\n\nSecurity Best Practices\n-----------------------\n\n- **Avoid Default Connections** : It's not recommended using the default connections and service accounts offered by Airflow, especially in production environments. This aligns with the [principle of least privilege](/iam/docs/using-iam-securely#least_privilege) which emphasizes granting only the minimum access permissions necessary.\n- **Secret Manager Integration**: If you have Secret Manager enabled for Airflow, you can create these connections within Secret Manager using the same names. Connections stored in Secret Manager take precedence over those defined directly in Airflow."]]