This article will take you through the process of steps you need to complete in Azure / AWS to import their files into AppScore
Azure Import
- Login to the Azure Console
- Go to Virtual Machines
- Click Manage View
- Click Edit Columns
- Add the following columns from Properties
- Computer Name (Mandatory)
- Resource ID (Mandatory)
- Private IP Address (Optional)
- Add the following columns from Tags (Optional)
- Application
- Environment
- Click Save
- Click Export to CSV
- Import into AppScore
AWS Account Discovery
https://docs.aws.amazon.com/managedservices/latest/accelerate-guide/acc-acct-disc.html
To use AwsAccountDiscoveryCli with AWS CloudShell:
- From any page or AWS Region in the AWS Management Console, open the AWS CloudShell to run the account discovery script shown next. Ensure that you are logged into the AWS Management Console with the correct level of permissions, see Prerequisites for AwsAccountDiscoveryCli.
Note
Do not change the "--domain-owner 354220221581" and " --region us-west-2" parts shown; copy the script as-is.
python3 -m venv awsdiscovery
source ~/awsdiscovery/bin/activate
pip install pip --upgrade
aws codeartifact login --tool pip \
--repository AwsAccountDiscoveryCli \
--domain aws-account-discovery-cli \
--domain-owner 354220221581 \
--region us-west-2
pip install awsaccountdiscoverycli
- Verify that the installation completed successfully:
awsdiscover --version
- Start the collection for the current account:
awsdiscover - Discovery takes more time on large accounts. Once finished, compress the output folder to download the report:
tar -czvf DiscoveryReports.tar.gz /home/cloudshell-user/AwsAccountDiscoveryReports/ - Select Actions in the top right corner, then choose Download file.
- For the Individual file path, specify the following path and then choose Download.
/home/cloudshell-user/DiscoveryReports.tar.gz - Import into AppScore