- 最新
- 投票最多
- 评论最多
try this:
Check the security group name. Make sure that the security group name is spelled correctly and that it matches the name of the security group that you created. Check the VPC. Make sure that the security group is in the same VPC as the environment. You can do this by going to the Elastic Beanstalk console and selecting the environment. In the Details pane, look for the VPC ID. The security group must be in the same VPC as the environment VPC ID. Create a new security group. If the security group name is correct and the security group is in the same VPC as the environment, you can try creating a new security group and specifying that security group in the Elastic Beanstalk launch configuration. To create a new security group, go to the AWS EC2 console and select Security Groups. Click Create security group. Enter a name for the security group and select the VPC that you want to associate the security group with. Click Create.
Once you have created the new security group, you need to add the inbound rules that you need. For example, if you are running a web server, you will need to add an inbound rule that allows HTTP traffic from the internet.
Once you have added the inbound rules, you can specify the new security group in the Elastic Beanstalk launch configuration. To do this, go to the Elastic Beanstalk console and select the environment. In the Configuration pane, scroll down to the Launch configuration section. In the Security groups field, enter the name of the new security group.
Click Save. Elastic Beanstalk will use the new security group when it launches the environment.
相关内容
- AWS 官方已更新 10 个月前
- AWS 官方已更新 9 个月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前