2024-05-04 08:07:05 发布
网友
我正在尝试使用对流层设置极光,但在网上找不到任何好的例子。有谁能提供一个极光对流层设置的好例子吗?在
试试极光蓝图here。在
为了设置aurora,应该确保正确设置了db实例和db集群。下面是在专有网络中设置极光的代码片段。在
pipelinedbcluster = rds.DBCluster( title='PipelineDBCluster', DatabaseName=<your-db-name>, DBClusterIdentifier=<your-cluster-name>, DBSubnetGroupName=<your-subnet-group>, DBClusterParameterGroupName='default.aurora-postgresql9.6', DeletionProtection=False, Engine='aurora-postgresql', EngineVersion='9.6.8', MasterUsername=<your-username>, MasterUserPassword=<your-password>, Port=5432, VpcSecurityGroupIds=<your-primary-vpc-id>, #(required if creating aurora cluster in a VPC) ) pipelinedb = rds.DBInstance( title='PipelineDBInstance', DBInstanceIdentifier=<your-instance-name>, DBClusterIdentifier=Ref(pipelinedbcluster), DBInstanceClass='db.r4.large', Engine='aurora-postgresql', EngineVersion='9.6.8', PubliclyAccessible=False, Tags=<your-tags>, AutoMinorVersionUpgrade=True, StorageType='aurora' )
试试极光蓝图here。在
为了设置aurora,应该确保正确设置了db实例和db集群。下面是在专有网络中设置极光的代码片段。在
相关问题 更多 >
编程相关推荐