Disable unused services
This section provides you information about the ECS supported services and the available connection options.
About this task
ECS supports the following services and the connection options to connect to those services:
- S3 - http/https/https,http/disabled
- Atmos - http/https/https,http/disabled
- Swift - http/https/https,http/disabled
- HDFS - enabled/disabled
- NFS - enabled/disabled
- CAS - enabled/disabled
The service waits on the key for changes and takes appropriate action. For example, S3 waits for changes to the S3 key. When it realizes that HTTP is no longer requested, then you cannot connect to the service using the HTTP protocol.
- To update a single service, run:
For example,PUT /service/{service_name} { "name": "{service_name}", "settings": ["setting1", "setting2", "settingN"] }
PUT /service/atmos { "name": "atmos", "settings": ["disabled"] }
- To update multiple services, run:
For example,PUT /service { "service": [{ "name": "{service_name}", "settings": ["setting1", "setting2", "settingN"] }, { "name": "{service_name}", "settings": ["setting1", "setting2", "settingN"] }]
PUT /service { "service": [{ "name": "s3", "settings": ["http", "https"] }, { "name": "swift", "settings": ["http"] }, { "name": "cas", "settings": ["enabled"] }] }