이 페이지에서는 Apigee 개발자 포털 Kickstart 솔루션을 맞춤설정, 유지보수, 보호하는 옵션을 설명합니다. 배포가 끝나면 일반적으로 표준 Google Cloud 문서에 따라 포털에서 활용하는 모든 클라우드 서비스 구성요소를 맞춤설정할 수 있습니다.
아래 섹션에서는 포털 솔루션과 관련된 구성 옵션 및 프로덕션 가이드라인을 제공합니다.
Apigee 또는 Apigee Hybrid에 연결
Apigee 또는 Apigee Hybrid 조직에서 Apigee 개발자 포털 Kickstart 솔루션을 사용하려면 Apigee 프로비저닝 중에 사용되는 Google Cloud 프로젝트에 포털을 배포해야 합니다. 배포 중에 Apigee Developer Admin 역할을 사용해 서비스 계정이 생성됩니다. 이 역할은 Apigee API에 대한 서비스 계정 호출자에게 필요합니다.
포털에 HTTPS 구성
포털 배포 실행 구성에서 포털에 HTTPS를 구성하도록 선택할 수 있습니다.
체크박스 구성 옵션은 다음과 같습니다.
선택 해제
배포 스크립트는 TLS를 자동으로 사용 설정하지 않습니다. TLS는 배포 후 Cloud Load Balancing을 사용하여 수동으로 구성할 수 있습니다. 기본 옵션입니다.
선택
배포 패키지는 TLS를 사용 설정하고, IP 주소를 프로비저닝하고, 도메인 이름을 구성하고, nip.io를 사용하여 SSL 인증서를 요청합니다. nip.io 사용은 Google에서 보증하지 않지만 배포를 테스트할 수 있는 편리한 옵션으로 제공됩니다. 이 옵션을 선택하면 nip.io 이용약관에 동의하게 됩니다.
CMEK로 Cloud SQL 사용
포털용 Cloud SQL 인스턴스가 시작 구성 중에 선택한 리전에 생성됩니다.
기본적으로 Google은 Google-owned and Google-managed encryption keys를 사용하여 저장 데이터를 암호화합니다.
고객 관리 암호화 키(CMEK)를 사용하여 CloudSQL 인스턴스에 저장된 데이터를 암호화하려면 고객 관리 암호화 키 사용에 설명된 단계를 수행하여 키를 구성합니다.
Apigee 개발자 포털 Kickstart 솔루션의 새 VM 이미지는 정기적으로 출시됩니다. 고객이 최신 이미지를 사용하려면 MIG의 인스턴스 업데이트에 설명된 단계를 수행하여 MIG의 인스턴스를 교체하거나 다시 시작하면 됩니다.
VPC 서비스 제어에서 비공개 IP 사용 설정
Cloud SQL 인스턴스에 비공개 IP 주소를 사용 설정하려면 다음 안내를 따르세요.
VPC 네트워크에서 비공개 서비스 액세스를 사용할 수 있는지 확인합니다. 필요한 단계의 자세한 목록은 비공개 서비스 액세스 구성을 참조하세요.
VPC 서비스 제어에서는 Cloud Deployment Manager가 지원되지 않습니다. VPC 서비스 제어에서 포털 배포에 Deployment Manager를 사용하도록 설정하려면 Cloud Deployment Manager 서비스 계정을 추가하여 VPC 서비스 제어로 보호되는 API 호출을 허용합니다.
포털 코드 맞춤설정
배포 후에 포털 코드 또는 시작 스크립트를 맞춤설정하는 경우 Apigee 개발자 포털 Kickstart 기본 이미지가 업데이트되는 동안 손실되지 않도록 변경사항을 내보내고 Filestore에서 백업해야 합니다.
예를 들어 새 Drupal 모듈을 Compute Engine 인스턴스에 설치한 경우 다음 단계에 따라 백업을 만듭니다.
스크립트에서 내보낸 파일을 /mnt/fileshare/portalname/에 마운트된 Filestore 인스턴스로 복사합니다.
관리형 인스턴스 그룹의 인스턴스를 다시 시작하여 그룹 전체의 변경사항 선택을 트리거합니다.
시작 스크립트에서 코드 백업이 있는지 자동으로 감지하여 변경사항을 로드하고 파일 권한을 수정하며 settings.php 파일을 적용합니다.
composer update를 사용하여 Drupal 코어 및 모듈을 업데이트합니다. 기본 이미지에 대한 Apigee 업데이트는 OS 업데이트, PHP 패치, NGINX 업데이트만 제공합니다. 모든 Drupal 코어 및 모듈 업데이트는 고객이 관리하며 수동으로 적용해야 합니다.
시작 스크립트에 맞춤설정을 추가하려면 /mnt/fileshare/$PORTAL_NAME/custom-startup-script.sh에서 스크립트를 만듭니다.
PHP 패키지를 설치하는 경우 service supervisor restart 명령어를 실행하여 변경사항을 적용합니다.
백업 만들기
Apigee 개발자 포털 Kickstart 솔루션은 정기적으로 백업을 만드는 것이 좋습니다.
세부단계는 다음을 참고하세요.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-19(UTC)"],[[["\u003cp\u003eThis documentation covers customization, maintenance, and security for the Apigee Developer Portal Kickstart solution, applicable to both Apigee and Apigee hybrid environments.\u003c/p\u003e\n"],["\u003cp\u003eThe portal must be deployed to the same Google Cloud project used during Apigee provisioning, requiring a service account with the \u003ccode\u003eApigee Developer Admin\u003c/code\u003e role.\u003c/p\u003e\n"],["\u003cp\u003eHTTPS can be configured for the portal, with options for automated TLS enablement via nip.io for testing or manual configuration post-deployment using Cloud Load Balancing.\u003c/p\u003e\n"],["\u003cp\u003eCloud SQL data can be encrypted with customer-managed encryption keys (CMEK), which must be configured before portal deployment.\u003c/p\u003e\n"],["\u003cp\u003eCustomizations to portal code should be backed up in Filestore, and for production environments, it is essential to configure Cloud SQL, Filestore, Cloud Load Balancing, and Managed Instance Groups, as well as adjusting authentication settings.\u003c/p\u003e\n"]]],[],null,["# Customize an Apigee Developer Portal Kickstart in Cloud Marketplace\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\nThis page describes options for customizing, maintaining, and securing your Apigee Developer Portal Kickstart solution. Once deployed,\nall Cloud services components utilized by the portal can generally be customized following standard [Google Cloud documentation](https://cloud.google.com/).\nThe sections below provide configuration options and production guidelines specific to the portal solution.\n\nConnect to Apigee or Apigee hybrid\n----------------------------------\n\nTo use the Apigee Developer Portal Kickstart solution with an Apigee or Apigee hybrid organization, the portal must be deployed\nto the Google Cloud project used during Apigee provisioning. During deployment, [service account](https://cloud.google.com/compute/docs/access/service-accounts)\nis created with the `Apigee Developer Admin` role. This role is required\nfor service account callers to Apigee APIs.\n| **NOTE**: Confirm the name of the Apigee or Apigee hybrid org before beginning the deployment process for the Apigee Developer Portal Kickstart solution. The org name must be provided during the installation process.\n\nConfigure HTTPS for the portal\n------------------------------\n\n\nIn the portal deployment launch configuration, you can opt to configure HTTPS for your portal.\nCheckbox configuration options include:\n\nUse Cloud SQL with CMEK\n-----------------------\n\nThe Cloud SQL instance for the portal is created in the region you choose during launch configuration.\nBy default, Google encrypts data at rest using Google-owned and Google-managed encryption keys.\nTo use a customer-managed encryption key (CMEK) to encrypt the data stored in the CloudSQL instance,\nfollow the steps outlined in [Using customer-managed encryption keys](https://cloud.google.com/sql/docs/mysql/configure-cmek)\nconfigure a key.\n| **Note** : CMEK should be configured before beginning the portal launch configuration. The **Resource Name of the Encryption key** must be provided prior to deploying the portal.\n\nManage Cloud SQL\n----------------\n\n\nTo manage the Cloud SQL instance after deployment:\n\n- Go to the [Cloud SQL instances page](https://console.cloud.google.com/sql/instances).\n- Select an instance to edit by clicking the instance name.\n- Click **Edit**.\n- See [Editing instances](https://cloud.google.com/sql/docs/mysql/edit-instance) for configuration setting details.\n\nConfigure and update managed instance groups\n--------------------------------------------\n\n\nA [managed instance group (MIG)](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)\nis a collection of virtual machine (VM) instances that you can manage as a single entity.\nYou can make your workloads scalable and highly available by taking advantage of automated MIG services including:\nautoscaling, autohealing, regional (multiple zone) deployment, and automatic updating.\n\nTo configure your MIGs after deployment:\n\n- Go to the [VM instances page](https://console.cloud.google.com/compute/instances).\n- Select an instance to edit by clicking the instance name.\n- Click **Edit**.\n- See [Creating and managing regional MIGs](https://cloud.google.com/compute/docs/instance-groups/distributing-instances-with-regional-instance-groups) for configuration setting details.\n\nNew VM images for the Apigee Developer Portal Kickstart solutions will be released regularly. Customers\ncan use the steps detailed in [Updating\ninstances in a MIG](https://cloud.google.com/compute/docs/instance-groups/updating-migs) to replace or restart instances in a MIG to use the\nlatest image.\n\nEnable private IP with VPC Service Controls\n-------------------------------------------\n\nTo enable a private IP address for your Cloud SQL instance:\n\n- Confirm that private services access is available on your VPC network. See [Configuring private services access](https://cloud.google.com/sql/docs/mysql/configure-private-services-access) for a detailed list of required steps.\n- Cloud Deployment Manager is not supported by VPC Service Controls. To enable Deployment Manager for your portal deployments within VPC Service Controls, [add the Cloud Deployment Manager service account](https://cloud.google.com/vpc-service-controls/docs/supported-products#deployment_manager) to allow calls to APIs protected by VPC Service Controls.\n\nCustomize the portal code\n-------------------------\n\nIf customizations are made to the portal code or startup scripts after deployment, those changes must\nbe exported and backed up in Filestore to prevent their loss during any updates to the Apigee Developer Portal Kickstart\nbase image.\n\n\nFor example, if new Drupal modules are installed on a Compute Engine instance, create a backup using the\nfollowing steps:\n\n1. Run the `/opt/apigee/scripts/export-code.sh`to export the changes.\n2. The script copies the exported files to the Filestore instance mounted at `/mnt/fileshare/`\u003cvar translate=\"no\"\u003eportalname\u003c/var\u003e`/`.\n3. Restart the instances in the managed instance group to trigger pick up of the changes across the group. The startup script automatically detects if a code backup exists, loads the changes, fixes file permissions, and applies the `settings.php` file.\n4. Update Drupal core and modules using `composer update`. Apigee updates to the base image only provide OS updates, PHP patches, and NGINX updates. All Drupal core and module updates are managed by the customer and must be applied manually.\n\n\nTo add any customizations to the startup script, create a script at `/mnt/fileshare/$PORTAL_NAME/custom-startup-script.sh`.\n\nIf installing any PHP packages, run the `service supervisor restart` command to apply the changes.\n\nCreate backups\n--------------\n\nThe creation of regular backups is recommended as a best practice for your Apigee Developer Portal Kickstart solution. For detailed steps, see:\n\n- [Backing up a Cloud SQL database](https://cloud.google.com/sql/docs/mysql/backup-recovery/backups)\n- [Restoring a Cloud SQL database](https://cloud.google.com/sql/docs/mysql/backup-recovery/restore)\n- [Backing up and restoring Filestore](https://cloud.google.com/filestore/docs/backup-restore)\n\nConfigure a portal for production usage\n---------------------------------------\n\nTo configure your portal for production usage, the following steps are recommended:\n\nWhat's next\n-----------\n\n- Learn more about [Support resources](/apigee/docs/api-platform/publish/drupal/get-support-cloud-marketplace) for the Apigee Developer Portal Kickstart solution."]]