該文檔描述了雲遷移中心CMH的AWS資源採集工具所採集您AWS資產的基礎資訊。
簡介
AWS資源採集工具使用AWS SDK 進行相關資源資訊採集,當前SDK 版本為AWS SDK for Java API Reference - 2.17.180
Availability Zone
關於Availability Zone 採集的欄位重點舉例為:
regionName
zoneName
zoneId
state
tags
VPC (Amazon VPC)
關於 VPC 採集的欄位重點舉例為:
vpcId
ownerId
dhcpOptionsId
cidrBlock
state
region
tags
Security Group
關於 Security Group 採集的欄位重點舉例為:
groupId
groupName
vpcId
ownerId
securityGroupRulesNum
region
tags
NAT
關於 NAT 採集的欄位重點舉例為:
natGatewayId
vpcId
subnetId
state
publicIp
privateIp
region
tags
ELB (Elastic Load Balancing)
關於 ELB 採集的欄位重點舉例為:
loadBalancerName
vpcId
type
ipAddressType
dnsName
state
region
tags
EC2 (Amazon EC2)
關於 EC2 採集的欄位重點舉例為:
instanceId
instanceType
instanceName
state
region
memory
cpuCore
imageId
operatingSystem
diskDevice
diskSpace
privateIpAddress
publicIpAddress
ipv6Address
publicDnsName
vpcId
subnetId
securityGroups
availabilityZone
tags
RDS (Amazon RDS)
關於 RDS 採集的欄位重點舉例為:
dbInstanceIdentifier
dbName
masterUsername
engine
engineVersion
dbInstanceClass
cpu
memory
storage
maximumStorage
domainName
port
availabilityZone
subnet
vpcSecurityGroups
status
region
vpcId
tags
ElastiCache (Amazon ElastiCache)
關於Elastic Cache 採集的欄位重點舉例為:
cacheClusterId
numCacheNode
engine
engineVersion
securityGroups
clusterStatus
nodeType
az
subnetGroupName
replicationGroupId
cacheParameterGroupName
arn
region
tags
vpcId
subnet
S3 (Amazon S3)
關於 S3 採集的欄位重點舉例為:
bucketName
creationDate
bucketSize
objectTotal
accessControl
tags
lifecycleConfigurationCount
replicationCount
inventoryConfigurationCount
region
standardCount
standardSize
reducedRedundancyCount
reducedRedundancySize
glacierCount
glacierSize
standardIaCount
standardIaSize
oneZoneIaCount
oneZoneIaSize
intelligentTieringCount
intelligentTieringSize
deepArchiveCount
deepArchiveSize
outPostsCount
outPostsSize
Athena (Amazon Athena)
關於 Athena 採集的欄位重點舉例為:
catalogName
databaseName
name
createTime
lastAccessTime
tableType
columnSize
region
DocumentDB (Amazon DocumentDB)
關於 DocumentDB 採集的欄位重點舉例為:
dbClusterIdendifier
engine
engineVersion
status
endpoint
multiAZ
availabilityZones
hostedZoneId
dbSubnetGroup
preferredBackupWindow
preferredMaintenanceWindow
dbClusterMembers
dbClusterParameterGroup
replicationSourceIdentifier
readerEndpoint
readReplicaIdentifiers
vpcSecurityGroupId
vpcId
region
tags
EFS (Amazon EFS)
關於Elastic File System 採集的欄位重點舉例為:
fileSystemId
name
availabilityZoneId
availabilityZoneName
creationTime
performanceModeAsString
throughputMode
numberOfMountTargets
capacity
provisionedThroughputInMibps
region
tags
EKS (Amazon EKS)
關於 EKS 採集的欄位重點舉例為:
clusterName
version
status
platformVersion
createdAt
identity
vpcId
clusterSecurityGroupId
subnetIds
securityGroupIds
endpointPrivateAccess
endpointPublicAccess
ipFamily
serviceIpv4Cidr
serviceIpv6Cidr
tags
region
Elasticsearch
關於 Elasticsearch (非 Amazon OpenSearch Service) 採集的欄位重點舉例為:
domainName
engineType
version
instanceType
instanceCount
dedicatedMasterType
dedicatedMasterCount
volumeType
volumeSize
iops
vpcId
subnetIds
availabilityZones
securityGroupIds
region
tags
Global Accelerator (AWS Global Accelerator)
關於Global Accelerator 採集的欄位重點舉例為:
name
dnsName
createdTime
status
enabled
ipAddressType
ipSet
region
MSK (Amazon MSK)
關於 Kafka 採集的欄位重點舉例為:
clusterName
state
creationTime
currentVersion
clusterType
vpcId
securityGroups
clientSubnets
instanceType
volumeSize
configurationArn
configurationRevision
kafkaVersion
numberOfBrokerNodes
region
tags
Redshift (Amazon Redshift)
關於 Redshift 採集的欄位重點舉例為:
id
dbName
clusterCreateTime
version
status
nodeType
numberOfNodes
totalStorageCapacityInMegaBytes
preferredMaintenanceWindow
node
availabilityZone
vpcId
elasticIpStatus
clusterSecurityGroupName
clusterSubnetGroupName
region
Security Group Rule
關於 Security Group Rule 採集的欄位重點舉例為:
groupId
securityGroupRuleId
isEgress
ipProtocol
portRange
source
description
region
AWS調研使用的相關API參考
支援的資源 | 使用的API | 使用的client |
EC2 | DescribeInstancesRequest/Response,DescribeInstanceTypesRequest/Response,DescribeImagesRequest/Response | Ec2Client |
NAT | DescribeNatGatewaysResponse | Ec2Client |
安全性群組 | DescribeSecurityGroupsResponse,DescribeSecurityGroupRulesIterable | Ec2Client |
VPC | DescribeVpcsResponse | Ec2Client |
可用性區域 | DescribeAvailabilityZonesResponse | Ec2Client |
負載平衡 | DescribeTargetGroupsResponse,DescribeInstancesResponse,DescribeLoadBalancersResponse,DescribeTagsRequest/Response | ElasticLoadBalancingV2Client,Ec2Client |
RDS | DescribeDbInstancesRequest/Response, | RdsClient |
ElastiCache | DescribeCacheClustersResponse,DescribeCacheSubnetGroupsResponse,ListTagsForResourceRequest/Response | ElastiCacheClient |
S3 | ListBucketsResponse,ListObjectsV2Request/Response,GetBucketTaggingRequest/Response,GetPublicAccessBlockRequest/Response,GetBucketLifecycleConfigurationRequest/Response,GetBucketReplicationRequest/Response,ListBucketInventoryConfigurationsRequest/Response | S3Client |
ElastiCache | DescribeCacheClustersResponse,DescribeCacheSubnetGroupsResponse,ListTagsForResourceRequest/Response | ElastiCacheClient |
DocumentDB | DescribeSecurityGroupsResponse,DescribeDbClustersResponse,ListTagsForResourceRequest/Response, | DocDbClient,Ec2Client |
ES | DescribeCacheClustersResponse,DescribeCacheSubnetGroupsResponse,ListTagsForResourceRequest/Response | ElastiCacheClient |
KAFAKA | DescribeSecurityGroupsResponse,ListClustersV2Request/Response, | KafkaClient,Ec2Client |
SECURITY_GROUP_RULE | DescribeSecurityGroupRulesRequest/Response,DescribeSecurityGroupRulesIterable | Ec2Client |
OLAPDB | DescribeClustersResponse, | RedshiftClient |
Eks | ListClustersRequest/Response,DescribeClusterRequest/Response | EksClient |
GlobalAccelerator | ListAcceleratorsRequest/Response, | GlobalAcceleratorClient |
Athena | ListDataCatalogsRequest/Response,ListDatabasesRequest/Response,ListTableMetadataRequest/Response | AthenaClient |
Lambda | ListFunctionsRequest/Response,GetFunctionRequest/Response, | LambdaClient |
CloudFront | ListDistributionsResponse,ListTagsForResourceRequest/Response, | CloudFrontClient |
MQ | ListBrokersResponse,DescribeBrokerRequest/Response, | MqClient |
SQS | ListQueuesRequest/Response,GetQueueAttributesRequest/Response,ListQueueTagsRequest/Response | SqsClient |
AutoScaling | DescribeAutoScalingGroupsRequest/Response | AutoScalingClient |
EIP | DescribeAddressesResponse | Ec2Client |
若有收穫,就點個贊吧