Alibaba Cloud Elasticsearch clusters are deployed in logically isolated virtual private clouds (VPCs). In addition, access control, authentication and authorization, encryption, and the advanced security features provided by X-Pack are used for the clusters. All the preceding features ensure the high security of Alibaba Cloud Elasticsearch clusters. This topic describes the features.
Background information
Open source software is often the first target of attacks. MongoDB ransomware attacks are an example. Elasticsearch has also become the target of attacks. Attackers may attack self-managed Elasticsearch clusters that do not have professional security protection, delete important data, or interfere with business systems.
Alibaba Cloud Security Center released a warning about the security risks associated with Elasticsearch and provided an array of security hardening strategies and solutions. Alibaba Cloud Elasticsearch provides solutions that are more reliable and professional for data and service security than those provided by open source Elasticsearch.
Security features
Since the launch of the fully managed service in November 2017, Alibaba Cloud Elasticsearch has implemented various security measures to mitigate potential cluster risks.
The following table compares the security protection of an Alibaba Cloud Elasticsearch cluster with that of a self-managed Elasticsearch cluster.
|
Security aspect |
Default capabilities |
Self-managed configuration |
|
|
|
|
Install third-party security plug-ins such as Search Guard or Shield. |
|
|
Encryption |
|
|
|
Monitoring and auditing |
|
|
|
Disaster recovery |
|
|
Access control
Alibaba Cloud Elasticsearch uses the following methods to control access:
-
VPC access
You can access your Alibaba Cloud Elasticsearch instance in a VPC by using its internal endpoint. If your application requires a highly secure access environment, you can purchase an ECS instance in the same region, zone, and VPC as your Alibaba Cloud Elasticsearch instance. Deploy your application on the ECS instance, and then access the Elasticsearch instance from it by using the internal endpoint.
NoteA VPC is a private network on the cloud that is isolated from the public internet, providing a more secure access environment.
-
Whitelist-based access control
Internal endpoints support system whitelist configuration. Only devices whose IP addresses are in the internal whitelist can access the instance. For more information, see Configure a public or internal whitelist for an instance.
Public endpoints support allowlist configurations for public access. Only devices with IP addresses that are included in the public allowlist can access the instance. For more information, see Configure a public or private allowlist for an instance.
Authentication and authorization
-
RAM-based access control
Resource Access Management (RAM) policies are supported to implement resource isolation between RAM accounts. Each account can view and manage only its own Elasticsearch instances. For more information, see Permission policy evaluation process.
-
Role-based access control (RBAC) with X-Pack
The X-Pack commercial plugin is available. X-Pack is a commercial extension pack for Elasticsearch that bundles security, alerting, monitoring, graphing, and reporting features into a single, easy-to-install package. X-Pack is integrated with Kibana and provides capabilities such as authentication, role-based access control, real-time monitoring, visual reporting, and machine learning. You can use the role-based access control feature of X-Pack to implement index-level access control. For more information, see Manage user permissions by using Elasticsearch X-Pack roles and official Security APIs.