ããã«ã¡ã¯ï¼ã¤ã¼ã´ãªã§ãã
æ¢åãµããããã«ãããªã½ã¼ã¹ã®ãã©ã¤ãã¼ãIPã¢ãã¬ã¹ã®ç¶æ³ãåãããªãç¶æ ã§ãä»åæ§ç¯ããAWSãªã½ã¼ã¹ã®IPã¢ãã¬ã¹ãæå®ãããå ´åããã©ã®ãã©ã¤ãã¼ãIPã¢ãã¬ã¹ã使ãã°è¯ãããã®æ¹æ³ããã®è¨äºã§ã¯ãç´¹ä»ãããã¨æãã¾ãã
- AWSã®ç¹å®ãµããããã§ä½¿ç¨ããã¦ããIPã¢ãã¬ã¹ã®ä¸è¦§ãåå¾ããæ¹æ³
- AWSã§ç¹å®IPã¢ãã¬ã¹ã空ãã¦ãããç¥ãããå ´å
- ç¹å®ãµããããã§ã©ã®ããã空ãã¦ããIPã¢ãã¬ã¹ãæ®ã£ã¦ãããã®ç¢ºèª
AWSã®ç¹å®ãµããããã§ä½¿ç¨ããã¦ããIPã¢ãã¬ã¹ã®ä¸è¦§ãåå¾ããæ¹æ³
[ãµã¼ãã¹]>[EC2]>[ãããã¯ã¼ã¯ã¤ã³ã¿ã¼ãã§ã¤ã¹]>[æ¤ç´¢]ãã¯ãªãã¯ãã¾ãã [ãµããããID]ãã¯ãªãã¯ãã¾ãã [ãµããããID = ]ãé¸æãã¾ãã 対象ãµããããIDãé¸æãã¾ãã 対象ãµããããã§ä½¿ç¨ããã¦ããIPã¢ãã¬ã¹ã®ä¸è¦§ã表示ããã¾ãã
â»å³å¯ã«è¨ãã°ã[æ¤ç´¢]ã«ãµããããIDãè²¼ãä»ãããè¯ãã§ãã
AWSã§ç¹å®IPã¢ãã¬ã¹ã空ãã¦ãããç¥ãããå ´å
AWSããã¸ã¡ã³ãã³ã³ã½ã¼ã«
[ãµã¼ãã¹]>[EC2]>[ãããã¯ã¼ã¯ã¤ã³ã¿ã¼ãã§ã¤ã¹]>[æ¤ç´¢]ãã¯ãªãã¯ãã¾ãã
ä¾ãã°ãAWSã¢ã«ã¦ã³ãå ã§10.123.21.221ã®ãã©ã¤ãã¼ãIPã¢ãã¬ã¹ã空ãã¦ãããç¥ãããå ´åãæ¤ç´¢æ¬ã«ã10.123.21.221ããå ¥åãã¾ãã ç¹å®ãµããããã§IPã¢ãã¬ã¹ã確èªãããå ´åãä¸è¨ã®æé ï¼ãµããããIDãè²¼ãä»ãããã¨ï¼ãè¡ãã¾ãã
AWS CLI
10.123.10.12ã®IPã¢ãã¬ã¹ã空ãã¦ãããç¥ãããã®ã§ãä¸è¨ã®ã³ãã³ããå®è¡ãã¾ãã
ã³ãã³ãï¼
aws ec2 describe-network-interfaces --filters Name=addresses.private-ip-address,Values=10.123.10.12 --profile <profileå> --region ap-northeast-1
â»ä¸è¨ã®ã³ãã³ãã«[--profile <profileå>]ã¨ããé¨åãããã¾ãããAWS CLIã®ãããã¡ã¤ã«ã使ããªãå ´åã[--profile <profileå>]ã®é¨åãæ¶ãã¦ãã ããã
â»[--region ap-northeast-1]âæ±äº¬ãªã¼ã¸ã§ã³
åºåçµæï¼
{ "NetworkInterfaces": [ { "Attachment": { "AttachTime": "2021-10-22T07:42:13+00:00", "AttachmentId": "eni-attach-01791cf0d82dXXX", "DeleteOnTermination": true, "DeviceIndex": 0, "NetworkCardIndex": 0, "InstanceId": "i-0606f85f47XXXX", "InstanceOwnerId": "AWSã¢ã«ã¦ã³ãçªå·", "Status": "attached" }, "AvailabilityZone": "ap-northeast-1a", "Description": "Primary network interface", "Groups": [ { "GroupName": "EC2-Linux-sg", "GroupId": "sg-01f249b28e282XXX" } ], "InterfaceType": "interface", "Ipv6Addresses": [], :
ä¸è¨ã®IPã¢ãã¬ã¹ã空ãã¦ãã¾ããã®ã§ã次ã®IPã¢ãã¬ã¹ã空ãã¦ãããã試ãã¦ã¿ã¾ãããï¼
ã³ãã³ãï¼
aws ec2 describe-network-interfaces --filters Name=addresses.private-ip-address,Values=10.123.10.11 --profile <profileå> --region ap-northeast-1
åºåçµæï¼
{ "NetworkInterfaces": [] }
ä¸è¨ã®çµæã ã¨ãæå®ããIPã¢ãã¬ã¹ã使ç¨ããã¦ããªãã®ã§ãä»åã®æ§ç¯ã®ããã«10.123.10.11ã使ãã¾ãã
è£è¶³
EC2ã ãã§ã¯ãªãããã¹ã¦ã®ãªã½ã¼ã¹ã®IPã¢ãã¬ã¹ãé²è¦§ã§ãã¾ãã
ä¾ãã°ãä¸è¨ã®çµæã¯FSxã®ããã«ä½¿ããã¦ããIPã¢ãã¬ã¹ã§ãã
{ "NetworkInterfaces": [ { "Attachment": { "AttachTime": "2022-07-07T01:59:47+00:00", "AttachmentId": "eni-attach-072b1d2ea2XXX", "DeleteOnTermination": false, "DeviceIndex": 1, "NetworkCardIndex": 0, "InstanceOwnerId": "033268328XXX", "Status": "attached" }, "AvailabilityZone": "ap-northeast-1a", "Description": "[Do not detach or untag] Amazon FSx network interface for fs-0d5c769b6bXXXX", "Groups": [ { "GroupName": "default", "GroupId": "sg-07b22df425daXXX" } ], "InterfaceType": "interface", "Ipv6Addresses": [],
ç¹å®ãµããããã§ã©ã®ããã空ãã¦ããIPã¢ãã¬ã¹ãæ®ã£ã¦ãããã®ç¢ºèª
[ãµã¼ãã¹]>[VPC]>[ãµãããã]>対象ãµãããããã¯ãªãã¯ãã¾ãã [å©ç¨å¯è½ãª IPv4 ã¢ãã¬ã¹]ã®æ¬ã§ã©ã®ããã空ãã¦ããIPã¢ãã¬ã¹ãæ®ã£ã¦ããã確èªã§ãã¾ãã
以ä¸ã御ä¸èªãããã¨ããããã¾ããã
æ¬ç° ã¤ã¼ã´ãª (è¨äºä¸è¦§)
ã«ã¹ã¿ãã¼ãµã¯ã»ã¹é¨
ã»2024 Japan AWS Top Engineers (Security)
ã»AWS SAP, DOP, SCS, DBS, SAA, DVA, CLF
ã»Azure AZ-900
ã»EC-Council CCSE
趣å³ï¼æ¥æ¬å½å æ è¡(47é½éåºçå¶è¦)ã»ãã©ã¤ãã»é³æ¥½