AWS EC2 Instance Metadata
-AWS EC2 Instance Metadata is powerful but one of the least known features to developers
-It allows AWS EC2 instance to "learn about themselves" without using an IAM Role for that purpose.
-The URL is http://169.254.169.254/latest/meta-data
-You can retrieve the IAM Role name from the metadata, but you Cannot retrieve the IAM Policy
-Metadata = Info about the EC2 instance
-Userdata = launch script of the EC2 instance
EC2 인스턴스 메타데이터는 강력한 기능이지만 개발자에게 잘 알려지지 않은 기능이다.
EC2 인스턴스가 스스로 학습하도록 하는데 IAM 역할이 필요없다.
-URL은 http://169.254.169.254/latest/meta-data이다.
169.254.169.254의 IP는 AWS의 내부 IP로 EC2 인스턴스에서만 실행된다.
메타데이터는 EC2 인스턴스의 정보
유저데이터는 EC2 인스턴스의 스크립트를 실행하는 개념이다.
'Cloud > AWS' 카테고리의 다른 글
S3 Replication (CRR & SRR) / 참고사항 (0) | 2022.11.16 |
---|---|
(AI스쿨 보안트랙)S3 MFA-Delete / S3 Default Encryption vs Bucket Policies / S3 Access Logs (0) | 2022.11.16 |
AWS Certified Cloud Practitioner 합격 후기 (0) | 2022.11.13 |
Amazon S3 - Consistency Model (0) | 2022.11.13 |
S3 CORS (교차 오리진 리소스 공유) (0) | 2022.11.13 |