简体   繁体   English

aws ec2 us-east-2是无效的区域选择

[英]aws ec2 us-east-2 is an invalid region choice

I have created a new instance on us-east-2, configured the security groups, policies and access rules and I can see it running and access it via the browser. 我在us-east-2上创建了一个新实例,配置了安全组,策略和访问规则,我可以看到它正在运行并可以通过浏览器访问它。 However, when I attempt to connect to it via the aws-cli, it tells me us-east-2 is an invalid choice for the region. 但是,当我尝试通过aws-cli连接到它时,它告诉我us-east-2对于该区域是无效的选择。

What am I missing here? 我在这里想念什么? It is clearly a region on AWS: 显然,这是AWS上的一个区域: 在此处输入图片说明

I am running Ubuntu and aws --version results in: aws-cli/1.2.9 Python/3.4.3 Linux/3.13.0-100-generic 我正在运行Ubuntu和aws --version结果在:aws-cli / 1.2.9 Python / 3.4.3 Linux / 3.13.0-100-generic

I am trying to connect to the instance via aws ec2 get-console-output --instance-id XXXXXXXX --region us-east-2 我正在尝试通过aws ec2 get-console-output --instance-id XXXXXXXX --region us-east-2连接到实例

You CLI version is outdated by 3 years and it doesn't know the new regions. 您的CLI版本已过期3年,并且不知道新的区域。 Can you upgrade the CLI to 1.10.x and try? 您可以将CLI升级到1.10.x并尝试吗?

$ aws --version
aws-cli/1.10.66 Python/2.7.12 Linux/3.14.35-28.38.amzn1.x86_64 botocore/1.4.56

$ aws ec2 describe-regions
{
    "Regions": [
        {
            "Endpoint": "ec2.us-east-2.amazonaws.com",
            "RegionName": "us-east-2"
        },

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在us-east-2区域的AWS控制台中找不到“删除备份”选项 - “Delete Backup” Option is not found in AWS Console in us-east-2 region AWS Codebuild - UPLOAD_ARTIFACTS 阶段出错:BucketRegionError:区域不正确,存储桶不在端点的“us-east-2”区域 - AWS Codebuild - Error in UPLOAD_ARTIFACTS phase: BucketRegionError: incorrect region, the bucket is not in 'us-east-2' region at endpoint 跨 AWS 区域迁移:us-east-1 到 us-east-2 - Moving Across AWS Regions: us-east-1 to us-east-2 aws ecr get-login-password --region us-east-2 出错 | docker login --username AWS --password-stdin - Getting error on aws ecr get-login-password --region us-east-2 | docker login --username AWS --password-stdin 提供的区域名称“美国东部(俄亥俄)us-east-2”与支持的格式不匹配 - Provided region_name 'US East (Ohio) us-east-2' doesn't match a supported format 在us-east-2中将DynamoDB导出到S3 AWS Data Pipeline - Export DynamoDB to S3 AWS Data Pipeline in us-east-2 us-east-1和us-east-2中的AWS API网关高可用性设置 - AWS API gateway High Availability setup in us-east-1 and us-east-2 S3“美国标准”区域与EC2中的“us-east-1”相同吗? - Is the S3 “US Standard” region the same as “us-east-1” in EC2? Python Boto3 在 us-east-1 和 us-east-2 中存储桶的 AWS S3 预签名 url 响应存在差异 - Python Boto3 there is a difference in AWS S3 presign url response for bucket in us-east-1 and us-east-2 Jenkins Amazon EC2插件无效的可用区:[us-east-1] - Jenkins Amazon EC2 Plugin Invalid availability zone: [us-east-1]
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM