Resource Access Management (RAM) is a service provided by Alibaba Cloud. It allows you to manage user identities and resource access permissions.
Features
Centralized management of identities and permissions
Centralized access control
You can manage RAM users and the passwords or AccessKey pairs of the RAM users in a centralized manner. You can also bind multi-factor authentication (MFA) devices to RAM users.
You can manage the permissions of RAM users to access Alibaba Cloud resources in a centralized manner.
You can manage resource access channels. This ensures that RAM users can access specific Alibaba Cloud resources by using secure channels at the specified time and from the specified IP addresses.
External identity integration
You can implement single sign-on (SSO). Alibaba Cloud supports user-based SSO and role-based SSO for identity providers (IdPs). You can log on to Alibaba Cloud by using an identity in the IdP system of your enterprise. For more information, see SSO overview.
Fine-grained permission management and diverse policies
Diverse policies
RAM provides various system policies that meet the requirements of O&M engineers. If the system policies cannot meet your business requirements, you can use a GUI to create custom policies in an efficient manner.
Fine-grained permission management
You can grant access permissions to RAM users, RAM user groups, and RAM roles at the resource and operation levels.
You can create fine-grained resource access control policies based on the source IP address of requests, date and time, and resource tags.
You can set the authorization scope to the entire Alibaba Cloud account or a specified resource group.
Centralized management of identities and permissions for multiple accounts by using CloudSSO
CloudSSO is integrated with Alibaba Cloud Resource Directory to provide unified multi-account identity management and access control. For more information about Resource Directory, see Resource Directory overview. You can configure settings once in CloudSSO to manage identities and permissions for multiple Alibaba Cloud accounts in a centralized manner and implement SSO access. To achieve centralized management, you can use the CloudSSO directory that is independent of RAM to manage identities. CloudSSO reuses the system policies and the syntax of custom policies in RAM to manage permissions. When a CloudSSO user accesses an account in a resource directory, the user assumes the RAM role of the account to implement SSO access.
Free of charge
RAM is free of charge. You can use RAM after your Alibaba Cloud account passes real-name verification.
Benefits
RAM allows you to create and manage RAM users for employees, systems, applications, and other identities. You can manage the permissions of RAM users on Alibaba Cloud resources. RAM allows you to keep your Alibaba Cloud account and password strictly confidential in the scenario in which multiple users in your enterprise must manage cloud resources in a collaborative manner. RAM also allows you to grant the users the minimum required permissions to ensure high security.
Common scenarios
Scenario | Description |
Enterprise A wants to migrate a project named Project-X to Alibaba Cloud. The enterprise has purchased several types of Alibaba Cloud resources, such as Elastic Compute Service (ECS) instances, ApsaraDB RDS instances, Server Load Balancer (SLB) instances, and Object Storage Service (OSS) buckets. Multiple employees must manage these cloud resources, and different employees require different permissions to fulfill their duties. Enterprise A has the following requirements:
| |
Use an STS token for authorizing a mobile app to access Alibaba Cloud resources | Enterprise A develops a mobile app and activates OSS. The mobile app runs on mobile devices. These mobile devices are not controlled by the enterprise. The enterprise must grant the necessary permissions to the mobile app. Then, the mobile app can upload data to and download data from OSS. Enterprise A has the following requirements:
|
Use a RAM role to grant permissions across Alibaba Cloud accounts | Enterprise A purchases multiple types of Alibaba Cloud resources, such as ECS instances, ApsaraDB RDS instances, SLB instances, and OSS buckets. Enterprise A wants to authorize Enterprise B to access specified resources of Enterprise A. Enterprise A has the following requirements:
|
Use RAM to authorize applications to access Alibaba Cloud resources | Enterprise A purchases ECS instances and wants to deploy its applications on these ECS instances. The applications must use AccessKey pairs to call the operations of other Alibaba Cloud services. |
A gaming enterprise is developing three gaming projects. Each project requires various cloud resources. Enterprise A has an Alibaba Cloud account and more than 100 Elastic Compute Service (ECS) instances that belong to the Alibaba Cloud account. Enterprise A has the following requirements:
|
How to use RAM
After you create an Alibaba Cloud account, you can use RAM to manage user identities and resource access permissions by using one of the following methods:
RAM console
RAM provides an interactive web console. You can log on to the RAM console to use the features of RAM.
Alibaba Cloud SDKs
RAM provides SDKs for multiple programming languages. For more information, see RAM SDK overview, IMS SDK overview, and STS SDK overview.
OpenAPI Explorer
OpenAPI Explorer allows you to retrieve and call API operations and dynamically generates SDK sample code. For more information, visit OpenAPI Explorer.
Alibaba Cloud CLI
Alibaba Cloud CLI allows you to call operations by using a CLI. For more information, see What is Alibaba Cloud CLI?.