Use Anycast EIP together with RAM
Resource Access Management (RAM) helps you manage user identities and permissions on resource access in a secure and centralized manner. You can use RAM to enable access control for Anycast Elastic IP Address (Anycast EIP).
Overview
RAM uses permissions to describe what users, user groups, and roles can do with specific resources. A permission policy is a collection of access permissions. A RAM user, RAM user group, or RAM role obtains the access permissions defined in a permission policy by attaching that policy.
Default permissions
Alibaba Cloud accounts, RAM users, and resource creators start with different default permissions.
Identity | Default permissions |
Alibaba Cloud account | Full control over all owned resources. Each resource has exactly one Alibaba Cloud account as its owner. |
RAM user | No permissions. A RAM user must be explicitly granted permissions before performing any operations. |
RAM user (as resource creator) | Creating a resource does not grant the RAM user permissions on that resource. The resource owner must explicitly attach an allow policy. |
A resource owner is not necessarily the resource creator. Resources created by a RAM user belong to the RAM user's Alibaba Cloud account, not to the RAM user itself.
Policies
A policy defines a set of permissions using RAM's policy structure and syntax. Each policy specifies which resources can be accessed, which operations are allowed, and under what conditions.
RAM supports two policy types:
System policy: Predefined and managed by Alibaba Cloud. Use these for standard access control scenarios. See System policies for Anycast EIP for the full list.
Custom policy: Created by you for finer-grained control. Use these when system policies don't match your requirements. See Custom policies for Anycast EIP for guidance on creating them.
Attach policies to a principal
Attach one or more policies to a RAM user, RAM user group, or RAM role to grant the permissions defined in those policies. Both system policies and custom policies can be attached.
When an attached policy is modified, the changes automatically take effect — no need to detach and re-attach the policy.