# Windows 
set AWS_ACCESS_KEY_ID=ASIAVFVI
set AWS_SECRET_ACCESS_KEY=I6IEzv3
set AWS_SESSION_TOKEN=IQoJb3JpZ2luX2VjEOb//////////
set AWS_DEFAULT_REGION=cn-northwest-1

# Linux
export AWS_ACCESS_KEY_ID=ASIAVFVI
export AWS_SECRET_ACCESS_KEY=I6IEzv3
export AWS_SESSION_TOKEN=IQoJb3JpZ2luX2VjEOb//////
export AWS_DEFAULT_REGION=cn-northwest-1


aws configure set default.region cn-northwest-1

# Linux 
aws rds create-db-cluster --db-cluster-identifier sample-cluster --engine aurora-mysql --engine-version 5.7.mysql_aurora.2.07.1 \
--engine-mode serverless --scaling-configuration MinCapacity=4,MaxCapacity=32,SecondsUntilAutoPause=1000,AutoPause=true \
--master-username admin --master-user-password xcloud1234 --db-subnet-group-name rdsgroup \
--database-name cmd --vpc-security-group-id <value>


# Windows 
aws rds create-db-cluster --db-cluster-identifier sample-cluster --engine aurora-mysql --engine-version 5.7.mysql_aurora.2.07.1 ^
--engine-mode serverless --scaling-configuration MinCapacity=8,MaxCapacity=64,SecondsUntilAutoPause=1000,AutoPause=true ^
--master-username admin --master-user-password xcloud1234 --db-subnet-group-name rdsgroup ^
--database-name cmd --vpc-security-group-id <value>

