How to keep web host secure

0

Hi, so i want to host an web app that is using php on apache server and i will put all this things on an ec2 with ubuntu. The question is: i have a vpc,subnet,security group made by my company and the web app should only be accessible via VPN but when i create the ec2 instance and after i assign public ipv4 adress i receive this error

 EC2.8 EC2 instances should use Instance Metadata Service Version 2 (IMDSv2) 

Should i create another subnet and security group?

2 回答
0

This message isn't related to subnets or security groups, but is about the instance metadata settings chosen when the EC2 instance is provisioned.

It's telling you that you should pick version 2, for details see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html

profile picture
专家
Steve_M
已回答 1 年前
profile picture
专家
已审核 1 年前
0

If you want to modify the Metadata Option for your current instance, please follow these instructions : https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-existing-instances.html

Else if you want to make sure that new instances are using version 2 , refer to the response posted by RWC.

AWS
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则