Disaster Recovery and Immutable Backup with S3 Object Lock
This document explains what SistemDC offers today to protect your data against deletion, modification and ransomware, where the disaster recovery (DR) service stands, and how to set up an immutable backup with S3 Object Lock. The two topics are kept apart on purpose: the protection you can use today and the second location that is not yet in service.
What is available today and what is planned
| Service | Status | What it provides | Limit |
|---|---|---|---|
| S3 Object Storage + Object Lock | Offered today | An immutable copy in Compliance mode, versioning, a TLS 1.2+ connection, a hard quota | Does not provide a second geographic copy or an environment that restarts the service |
| Disaster Recovery (DR) | Project-based; the second location in Istanbul is at the planning stage and not in service | Planned: a target environment, data replication, a recovery test and written recovery steps | Today there is no replication, automatic failover, measured RTO/RPO or service-level commitment |
Details: S3 Object Storage · Disaster Recovery (DR) service.
Setting up an immutable copy with S3 Object Lock
Object Lock prevents object versions from being deleted or modified during the retention period you define. SistemDC's S3 service offers Compliance mode: no user, the account owner included, can delete a locked version through the S3 API before the retention period ends, and the period cannot be shortened. Object Lock must be enabled when the bucket is created; it cannot be added afterwards.
Connection details
| Endpoint | https://s3.sistemdc.com |
| Addressing | Path-style: https://s3.sistemdc.com/bucket/object |
| Signature | AWS Signature V4 (SigV2 is rejected) |
| Region (signature) | us-east-1: a fixed client value, not the data location |
| Data location | Turkey, SistemDC data center; not transferred abroad |
Step by step (AWS CLI)
- Create the bucket with Object Lock. The option can only be given at creation.
aws --endpoint-url https://s3.sistemdc.com \
s3api create-bucket --bucket yedek \
--object-lock-enabled-for-bucket- Define the default retention rule. The example below protects every written version for 30 days in Compliance mode. Because the period cannot be shortened in Compliance mode, choose a short period for the first test.
aws --endpoint-url https://s3.sistemdc.com \
s3api put-object-lock-configuration --bucket yedek \
--object-lock-configuration '{"ObjectLockEnabled":"Enabled","Rule":{"DefaultRetention":{"Mode":"COMPLIANCE","Days":30}}}'- Connect your backup software. AWS CLI, rclone, restic, boto3 and backup software that supports S3 all work. If your software has an immutability option, enable it.
- Test the lock. Upload a test object and try to delete it by version ID; an access-denied error shows that the lock works.
What Object Lock protects and what it does not
| Case | Protection |
|---|---|
| Deletion and modification | Protects: a locked version cannot be deleted or modified before the retention period ends. |
| A compromised account or key | Cannot delete locked existing versions; however, new data can be written with a stolen key. Keep a separate key for each application and rotate it immediately if you suspect a leak. |
| Hardware failure | Does not protect: Object Lock does not create a second copy. |
| Loss of the location | Does not protect: the copy is at the same location. A geographic second copy is not part of the service; Disaster Recovery (DR) is planned for a second location. |
| Soundness of the backup | Does not guarantee it: a restore test must be run. |
How a disaster recovery project runs
Disaster recovery is a project-based service and the second location in Istanbul is not yet in service; the flow below is the planned way of working.
- Discovery and targets. The servers, data and services in scope and the RPO and RTO targets are set together.
- Second-location setup. Target server and network resources are reserved at the planned second location in Istanbul.
- Data replication. Data is copied to the second location at the agreed frequency; if needed an immutable copy is also kept on S3 with Object Lock.
- Recovery test. After setup the scenario is tried together and the measured times are reported.
- Documentation and maintenance. Recovery steps are delivered in writing and the replication is checked regularly.
For a quote, contact form or the quote form on the Disaster Recovery page.
RTO and RPO
- RTO (Recovery Time Objective): how quickly the service must be running again after an outage.
- RPO (Recovery Point Objective): the maximum amount of data that can be lost in a disaster, expressed as time.
RTO and RPO objectives are set from business impact and verified by measuring them in a recovery test. In depth: What are RTO and RPO? · What is an immutable backup?
Frequently asked questions
Is the disaster recovery service active today?
No. Disaster recovery is a project-based service and the second location in Istanbul is at the planning stage. What is offered today is an immutable data copy with Object Lock on S3 Object Storage.
Can I enable Object Lock on an existing bucket later?
No. Object Lock is enabled when the bucket is created. For an existing bucket you need to create a new locked bucket and move the data.
Can I delete a locked object before the retention period ends?
Not in Compliance mode: no user, the account owner included, can delete a locked version through the S3 API before the period ends, and the period cannot be shortened.
Does Object Lock replace a geographic backup?
No. Object Lock protects against deletion and modification; it does not create a second copy against hardware failure and does not mean a separate location.
What happens to locked data if I cancel the service?
On cancellation access closes immediately and data is deleted automatically after 7 days; objects locked with Object Lock are kept for the duration of the lock. Move your data before cancelling.