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
답변함 일 년 전
profile picture
전문가
검토됨 일 년 전
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
전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠