Connect Alibaba Cloud
Why connect my Alibaba Cloud?
Securing your cloud infrastructure is crucial to protecting your user data. You can leverage Aikido's security checks to detect and address any misconfigurations in your Alibaba Cloud environment.
Main use cases
Aikido surfaces critical cloud misconfigurations that allow attackers to get into your Alibaba Cloud environment. We focus on the risks that have real business impact and cut the noise. All configuration checks can be found here.
Aikido continuously monitors your Alibaba Cloud environment for new risks as your setup evolves.
Container image scanning for Alibaba Cloud Container Registry (ACR).
Virtual machine scanning via the Local VM Scanner on Alibaba Cloud instances.
Aikido performs daily compliance scans on the above.
Getting started
Head to the cloud overview page on Aikido, click "Connect Cloud", and select Alibaba Cloud from the list.

Log into Alibaba Cloud and configure your onboarding
You can connect to Alibaba Cloud in two ways:
Single Alibaba Account: Connect one Alibaba Cloud account at a time. Best if you only have a few accounts or want to start small.
Full Alibaba Resource Directory: Connect your entire Alibaba organization in one go. Aikido automatically picks up every account in your Resource Directory, including new accounts added later. Best for teams managing multiple accounts at scale.
Full Alibaba Resource Directory
Sign into the Alibaba Cloud Console using the management account of your Resource Directory.
Make sure trusted access for Stack Groups is enabled on your Resource Directory.
In the Aikido wizard, fill in:
Resource Directory ID (e.g.
rd-XXXXXX)Root Directory ID or Folder IDs (e.g.
r-abcdeforfd-abcdefghij, fd-jihgfedcba). Use the root ID to scan everything, or list specific folder IDs to scope down.Excluded Accounts IDs (optional): any accounts you want Aikido to skip.
Enable ACR Scanning if you want Aikido to scan Alibaba Cloud Container Registry images alongside your infrastructure.
You can find these values in the Alibaba console under Resource Directory.
Single Alibaba Account
Go to the Alibaba Cloud Console and sign in with the account you want to connect.
Create the RAM Role and Policy
In the Aikido wizard, click "Create RAM Role & Policy". This opens Alibaba Cloud ROS with the template prefilled. The role gives Aikido read-only audit permissions and never lets Aikido edit your infrastructure.
No AccessKey pairs or passwords are shared with Aikido.
Provide the value shown in the wizard for the
ExternalIdparameter (e.g.aikido-3377).(Resource Directory setup only) Provide the same values for
ResourceDirectoryFolderIdsandEnableAcrScanningas you did in Aikido.Tick "I confirm that Alibaba Cloud ROS may create RAM resources".
Click Create.
To inspect the exact ROS template, click here. The wizard can also generate an equivalent Terraform template if you'd rather provision the role that way.
Copy the AikidoRoleARN and paste it into Aikido
In Alibaba Cloud ROS, open the stack you just created and navigate to the Outputs tab. Copy the AikidoRoleARN value, paste it into the input field in the Aikido wizard, and click Continue.

Name your cloud connection
Give your connected cloud a name in Aikido and pick the environment it operates in (Production, Staging, Development, or Mixed). This helps Aikido prioritize findings based on severity and business impact. Click Save to finish.

Within a few minutes after connecting your account, Aikido will report misconfigurations that could pose a threat.
Container image scanning
If you connect your Alibaba Cloud Resource Directory, container images will be scanned through the RAM roles and you don't need to take any additional action. This section is relevant only for individual ACR connections.
Alibaba Cloud Container Registry (ACR) and most third-party registries you use from Alibaba Cloud are OCI-compatible, so Aikido can scan them.
Create a read-only or pull-only user in Alibaba Cloud Container Registry: https://www.alibabacloud.com/help/en/acr/user-guide/configure-access-credentials
Then follow the OCI guide below to configure container image scanning:
Virtual Machine scanning
To scan virtual machines on Alibaba Cloud, use the Local VM Scanner. It inspects packages, system dependencies, and configuration directly on the instance.
ECS instances can get the Local VM Scanner by configuring the user data to download and install the necessary binary. You can also roll this out centrally using your usual automation tooling (Ansible, Terraform-provisioned scripts, cloud-init) so new Alibaba Cloud instances are automatically enrolled.
Last updated
Was this helpful?