Skip to content

Commit

Permalink
Merge pull request #189 from xiao201208/fix/tech_solu_07_zone_id
Browse files Browse the repository at this point in the history
Fix/tech solu 07 zone
  • Loading branch information
xiao201208 authored Feb 23, 2024
2 parents e042769 + 676463a commit 4aa988a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,20 @@ Parameters:
en: VSwitch Availability Zone1
zh-cn: 交换机可用区1
AssociationProperty: 'ALIYUN::ECS::Instance::ZoneId'
AssociationPropertyMetadata:
AutoSelectFirst: true
ExclusiveTo:
- Zone2
Zone2:
Type: String
Label:
en: VSwitch Availability Zone2
zh-cn: 交换机可用区2
AssociationProperty: 'ALIYUN::ECS::Instance::ZoneId'
Description:
en: Please select an availability zone different from Availability Zone1.
zh-cn: 请选择与可用区1不同的可用区。
AssociationPropertyMetadata:
AutoSelectFirst: true
ExclusiveTo:
- Zone1
InstancePassword:
Type: String
Label:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,20 @@ Parameters:
en: VSwitch Availability Zone1
zh-cn: 交换机可用区1
AssociationProperty: ALIYUN::ECS::Instance::ZoneId
AssociationPropertyMetadata:
AutoSelectFirst: true
ExclusiveTo:
- Zone2
Zone2:
Type: String
Label:
en: VSwitch Availability Zone2
zh-cn: 交换机可用区2
AssociationProperty: ALIYUN::ECS::Instance::ZoneId
AssociationPropertyMetadata:
AutoSelectFirst: true
ExclusiveTo:
- Zone1
EcsInstanceType:
Type: String
Label:
Expand Down Expand Up @@ -326,7 +334,7 @@ Resources:
cd server
pip3 install --upgrade pip
pip3 install -r requirements.txt
pip3 install uwsgi
pip3 install uwsgi==2.0.22
sed -i "s/socket=127.0.0.1:5000/http=0.0.0.0:8000/g" uwsgi.ini
uwsgi uwsgi.ini
Queue:
Expand Down

0 comments on commit 4aa988a

Please sign in to comment.