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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ