在亚马逊网络服务控制台上,我手动为ElasticSearch配置了下面的安全规则。有三个VPC。转接网关将它们连接起来。ElasticSearch安装在VPC-A中。 Type Protocol Port range Source
All traffic All All 40.10.0.0/16 (VPC-A)
All traffic All All 20.10.0.0/16 (VPC-B)
All traffic All All 30.10.0.0/16
当我执行aws ec2 delete-vpc --vpc-id vpc-0a72e2c7f0fc1234bb --profile me时,会出现以下错误:
An error occurred (DependencyViolation) when calling the DeleteVpc operation: The vpc 'vpc-0a72e2c7f0fc1234bb' has dependencies and cannot be deleted.
所以我用这个脚本:
#!/bin/bash
vpc="vpc-0a72e2c7f0fc1234bb"
a
我正在尝试建立一个示例弹性豆柄应用程序,ALB在公共子网(面向互联网)和ec2实例在私有子网中的地形。如果我将ec2实例放在公共子网中,那么弹性豆茎应用程序就会成功创建,但是在私有子网中,我会得到以下错误。
The EC2 instances failed to communicate with AWS Elastic Beanstalk, either because of configuration problems with the VPC or a failed EC2 instance. Check your VPC configuration and try launching t
我无法连接到我的RDS实例并继续获取
ERROR 2003 (HY000): Can't connect to MySQL server on "my endpoint"
我知道出现此错误是因为我的PC由于公共可访问性而未被授权访问数据库,但我无法让我的PC在安全组中进行授权。
我打开了RDS安全组,上面写着:
Using VPC? Visit the VPC page to create or manage VPC Security Groups and ingress rules to your DB Instances in VPC. Learn more abo
我正在使用AWS ECS Fargate,我目前正在使用服务发现来允许我的任务彼此通信。我有一个问题,只有当我将这个安全组放在它们上时,我的任务才能进行通信。
resource "aws_security_group" "ecs_config_service" {
name = "staging-ecs-config-service"
description = "We need this so our services can communicate"
vpc_id = module.vpc.
在特定的VPC中是否有一种描述安全组的方法?
以下是我想要运行的内容:
aws ec2 describe-security-groups --group-name "<group-name>" --filter Name=vpc-id,Values=<my-vpc-id>
但它正在返回以下错误:
A client error (VPCIdNotSpecified) occurred when calling the DescribeSecurityGroups operation: No default VPC for this user
我很感激你的帮
当试图找出如何使用AWS配置aws_instance时,会发生以下错误:
* Error launching source instance: InvalidParameterCombination: The parameter groupName cannot be used with the parameter subnet
status code: 400, request id: []
或
* Error launching source instance: InvalidParameterCombination: VPC security groups may not be
我正试图在我的webservers安全组中启动webservers,但我明白如下:
$ aws ec2 run-instances --image-id ami-someami --count 2 --instance-type m3.medium --key-name some_key --security-groups Webservers
A client error (InvalidParameterCombination) occurred when calling the RunInstances operation: VPC security groups may not be