Skip to content

Commit c07865f

Browse files
authored
Change default cortex region to us-east-1 (#1063)
1 parent 9783ff6 commit c07865f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Cortex clusters are designed to be self-hosted on any AWS account (GCP support i
8888
```bash
8989
$ cortex cluster up
9090

91-
aws region: us-west-2
91+
aws region: us-east-1
9292
aws instance type: g4dn.xlarge
9393
spot instances: yes
9494
min instances: 0

cli/cmd/lib_cluster_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func getClusterAccessConfig(disallowPrompt bool) (*clusterconfig.AccessConfig, e
118118
accessConfig.ClusterName = pointer.String("cortex")
119119
}
120120
if accessConfig.Region == nil {
121-
accessConfig.Region = pointer.String("us-west-2")
121+
accessConfig.Region = pointer.String("us-east-1")
122122
}
123123
return accessConfig, nil
124124
}

docs/cluster-management/config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ cortex_aws_secret_access_key: ***
2020
cluster_name: cortex
2121

2222
# AWS region
23-
region: us-west-2
23+
region: us-east-1
2424

2525
# S3 bucket (default: <cluster_name>-<RANDOM_ID>)
2626
# note: your cortex cluster uses this bucket for metadata storage, and it should not be accessed directly (a separate bucket should be used for your models)
2727
bucket: # cortex-<RANDOM_ID>
2828

2929
# list of availability zones for your region (default: 3 random availability zones from the specified region)
30-
availability_zones: # e.g. [us-west-2a, us-west-2b, us-west-2c]
30+
availability_zones: # e.g. [us-east-1a, us-east-1b, us-east-1c]
3131

3232
# instance type
3333
instance_type: m5.large

docs/deployments/system-packages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ Create a repository to store your image:
8181
export AWS_ACCESS_KEY_ID="***"
8282
export AWS_SECRET_ACCESS_KEY="***"
8383

84-
eval $(aws ecr get-login --no-include-email --region us-west-2)
84+
eval $(aws ecr get-login --no-include-email --region us-east-1)
8585

86-
aws ecr create-repository --repository-name=org/my-api --region=us-west-2
86+
aws ecr create-repository --repository-name=org/my-api --region=us-east-1
8787
# take note of repository url
8888
```
8989

pkg/types/clusterconfig/clusterconfig.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ func (cc *Config) FillEmptySpotFields(awsClient *aws.Client) error {
663663

664664
func applyPromptDefaults(defaults Config) *Config {
665665
defaultConfig := &Config{
666-
Region: pointer.String("us-west-2"),
666+
Region: pointer.String("us-east-1"),
667667
InstanceType: pointer.String("m5.large"),
668668
MinInstances: pointer.Int64(1),
669669
MaxInstances: pointer.Int64(5),
@@ -892,7 +892,7 @@ var AccessPromptValidation = &cr.PromptValidation{
892892
},
893893
StringPtrValidation: &cr.StringPtrValidation{
894894
Validator: RegionValidator,
895-
Default: pointer.String("us-west-2"),
895+
Default: pointer.String("us-east-1"),
896896
},
897897
},
898898
},

0 commit comments

Comments
 (0)