# Morph documentation > Documentation for Morph, an S3-compatible object storage system for large data sets that runs on your own hardware. The pages follow the Diataxis types. Every page is also contained, as plain Markdown, in [llms-full.txt](https://docs.morphbits.io/llms-full.txt). The REST API is specified in [OpenAPI](https://docs.morphbits.io/files/morph-api.yaml). ## Tutorials Lessons that lead through a complete, working setup. - [Quickstart: a single node](https://docs.morphbits.io/tutorials/quickstart-single-node): Start one Morph node in Docker, complete the installation, and store and retrieve your first object. - [Deploy a four-node cluster](https://docs.morphbits.io/tutorials/minimal-production-cluster): Install four cluster-type Morph nodes that form one cluster, create a bucket with three replicas, and read an object while one node is stopped. - [Store your first object with S3](https://docs.morphbits.io/tutorials/first-steps-with-s3): Get S3 credentials from Morph, point the AWS CLI at the S3 endpoint, and create a bucket, upload, list, download and delete an object. - [Store your first object with the REST API](https://docs.morphbits.io/tutorials/first-steps-with-the-rest-api): Use curl against the Morph console REST API to get a token, define a storage policy, create a bucket, and upload, list, inspect, download and delete an object. ## How-to guides Steps for one task each: deployment, operations, buckets, security, monitoring, integrations. - [Prepare hosts](https://docs.morphbits.io/how-to/deploy/prepare-hosts): Prepare a machine to run a Morph node, with Docker, the image, host directories for state and data, and the network ports between nodes and to clients. - [Size a cluster](https://docs.morphbits.io/how-to/deploy/size-a-cluster): Decide the number of inner ring nodes, storage nodes and drives for a Morph cluster, calculate usable capacity from raw capacity and the storage policy, and size the meta SSD. - [Configure drives and shards](https://docs.morphbits.io/how-to/deploy/configure-drives): Write the installer configuration that maps drives to shards, mount the drives into the Morph container, and run the container with a read-only root file system. - [Install a cluster](https://docs.morphbits.io/how-to/deploy/install-a-cluster): Install a production Morph cluster, with one cluster-type node per inner ring member, the start-node request field by field, the first administrator, and storage-type nodes. - [Enable TLS](https://docs.morphbits.io/how-to/deploy/enable-tls): Enable TLS for the storage node gRPC API at installation, and see which other Morph listeners support TLS and which need a load balancer. - [Add a gateway-only node](https://docs.morphbits.io/how-to/deploy/add-a-gateway-node): Install an experimental gateway-type Morph node, which runs the console and the S3 gateway without a storage node and connects to an existing cluster. - [Put a load balancer in front](https://docs.morphbits.io/how-to/deploy/put-a-load-balancer-in-front): What an external load balancer must do in front of the S3 gateways and consoles of a Morph cluster, with ports, health checks and failure behavior. - [Deploy across sites](https://docs.morphbits.io/how-to/deploy/deploy-across-sites): Run one Morph network across several sites by marking nodes with a site attribute, placing inner ring nodes so that quorum survives the loss of a site, and writing storage policies that spread data across sites. - [Upgrade a cluster](https://docs.morphbits.io/how-to/operate/upgrade): Replace the Morph container on each node with a new image, one node at a time, and check the node before moving to the next. - [Add storage nodes](https://docs.morphbits.io/how-to/operate/add-storage-nodes): Add a storage-type node to a running cluster, wait for it to enter the network map, and follow the background move of existing data. - [Decommission a node](https://docs.morphbits.io/how-to/operate/decommission-a-node): Remove a storage node or a gateway from the cluster for good, and confirm that its data is fully redundant on other nodes before the machine is switched off. - [Replace a failed drive](https://docs.morphbits.io/how-to/operate/replace-a-failed-drive): Take the shard of a failed drive out of service so that redundancy is restored, swap the drive, and bring the node back with a new shard. - [Handle a node failure](https://docs.morphbits.io/how-to/operate/handle-a-node-failure): What a cluster does by itself when a Morph node stops, what you have to check and do, and how to bring the node back or replace it. - [Use maintenance mode](https://docs.morphbits.io/how-to/operate/use-maintenance-mode): Put a storage node into maintenance mode for planned work, know its exact effect on clients and on repair, and bring the node back online. - [Recover from a site failure](https://docs.morphbits.io/how-to/operate/recover-from-a-site-failure): Know what stays available when a whole site is lost, act within the three-epoch window, and bring the site back into the cluster. - [Back up and restore](https://docs.morphbits.io/how-to/operate/back-up-and-restore): Know which state a Morph node holds, which part of it to back up, what a backup cannot restore, and how to restore a single node. - [Manage licenses](https://docs.morphbits.io/how-to/operate/manage-licenses): Upload a cluster license, read its limits, and know when the license decides whether a storage node may join the network map. - [Run a benchmark](https://docs.morphbits.io/how-to/operate/run-a-benchmark): Measure S3 throughput and latency of a Morph cluster with Warp, and record everything needed to repeat it. - [Create a bucket](https://docs.morphbits.io/how-to/buckets-and-objects/create-a-bucket): Create, list, read and delete buckets with the Morph REST API, and know which bucket settings are fixed at creation. - [Choose a storage policy](https://docs.morphbits.io/how-to/buckets-and-objects/choose-a-storage-policy): Write, save and use a storage policy for replication, erasure coding, single-site and multi-site placement, and know what each policy guarantees. - [Control access to a bucket](https://docs.morphbits.io/how-to/buckets-and-objects/control-access): Restrict and grant object operations on a bucket with the basic ACL and the extended ACL, by role and by account, and verify the rules. - [Share objects with tokens](https://docs.morphbits.io/how-to/buckets-and-objects/share-objects): Give other people or applications access to objects with bucket access tokens, download links and bucket-scoped API tokens. - [Lock objects against deletion](https://docs.morphbits.io/how-to/buckets-and-objects/lock-objects): Protect a bucket from deletion until a date with the bucket lock, and prevent object deletion through the REST API with the basic ACL. - [Expire objects](https://docs.morphbits.io/how-to/buckets-and-objects/expire-objects): Give an object a lifetime at upload through the REST API, and understand when Morph stops serving it and when its space is reclaimed. - [Set storage quotas](https://docs.morphbits.io/how-to/buckets-and-objects/set-quotas): Limit the storage space of users and buckets with soft and hard quotas, set the default quota for new users, and know what a client sees over quota. - [Search objects](https://docs.morphbits.io/how-to/buckets-and-objects/search-objects): List the objects of a bucket and search them by attributes through the REST API, with filters, match operators, requested attributes and cursor paging. - [Transfer a bucket to another user](https://docs.morphbits.io/how-to/buckets-and-objects/transfer-a-bucket): Hand a bucket with all its objects to another user of the same namespace with a transfer request that the recipient accepts. - [Use namespaces](https://docs.morphbits.io/how-to/buckets-and-objects/use-namespaces): Create a namespace, register users in it, log in to it and work with its buckets, and know what a namespace isolates and what it shares. - [Manage users and roles](https://docs.morphbits.io/how-to/secure/manage-users-and-roles): Register the first administrator, create, list, update and remove Morph users, and see what each role may do. - [Set up single sign-on](https://docs.morphbits.io/how-to/secure/set-up-single-sign-on): Let users sign in to the Morph console through an OAuth 2.0 or SAML 2.0 identity provider. - [Manage API tokens](https://docs.morphbits.io/how-to/secure/manage-api-tokens): Create, scope, list and revoke the tokens that authenticate requests to the Morph console REST API. - [Manage S3 credentials](https://docs.morphbits.io/how-to/secure/manage-s3-credentials): Issue, scope, list, revoke and rotate the access keys that S3 clients use with Morph. - [Encrypt data](https://docs.morphbits.io/how-to/secure/encrypt-data): Which links and which stored data Morph encrypts, how to enable each option, and where the keys are kept. - [Harden a deployment](https://docs.morphbits.io/how-to/secure/harden-a-deployment): A checklist of the security controls a Morph deployment has, with what to do, why, and how to verify each. - [Collect metrics](https://docs.morphbits.io/how-to/observe/collect-metrics): Scrape the Prometheus metrics of all Morph processes from the collector endpoint on port 5100, and understand the internal Prometheus and pprof endpoints of each component. - [Set up alerts](https://docs.morphbits.io/how-to/observe/set-up-alerts): Load the example Prometheus alerting rules for Morph, and learn what each alert means and what to do first when it fires. - [Build a dashboard](https://docs.morphbits.io/how-to/observe/build-a-dashboard): Import the example Grafana dashboard for Morph and learn what each panel shows and which metric it reads. - [Read logs](https://docs.morphbits.io/how-to/observe/read-logs): Find the logs of a Morph node, tell the formats of the components apart, check component log levels, and recognize the messages that matter for operations. - [Check cluster health](https://docs.morphbits.io/how-to/observe/check-cluster-health): Ask whether a Morph node and the cluster are healthy, using the entrypoint's health checks, the health gauges, the console API and neofs-cli. - [Use the AWS CLI](https://docs.morphbits.io/how-to/integrate/aws-cli): Configure an AWS CLI profile for the Morph S3 endpoint and run common bucket and object tasks with it. - [Use the AWS SDKs](https://docs.morphbits.io/how-to/integrate/aws-sdks): Set up an S3 client for Morph with the AWS SDKs for Python, Go, Java and JavaScript, with the endpoint, addressing and checksum options that the Morph S3 gateway needs. - [Use other S3 tools](https://docs.morphbits.io/how-to/integrate/s3-tools): Connection settings for rclone, s3cmd and the MinIO client mc against the Morph S3 endpoint, and the gateway behavior these tools have to be configured for. - [Use Apache Spark](https://docs.morphbits.io/how-to/integrate/apache-spark): Read and write Morph buckets from Apache Spark with the Hadoop S3A connector, with the endpoint, committer and multipart settings that fit the Morph S3 gateway. - [Diagnose common problems](https://docs.morphbits.io/how-to/troubleshoot/diagnose-common-problems): Find the cause and the fix for a symptom, using the exact messages that Morph and its bundled processes print. - [Collect diagnostics](https://docs.morphbits.io/how-to/troubleshoot/collect-diagnostics): Gather the logs, metrics, health checks, shard list, network map view and versions of a Morph node for a support case. ## Reference APIs, S3 compatibility, configuration, metrics, limits, errors. - [REST API](https://docs.morphbits.io/reference/rest-api): Overview of the Morph REST API v0.30.1: base URL, authentication, common headers, paging, errors, and all 81 operations. - [Users](https://docs.morphbits.io/reference/rest-api/users): REST API operations under /v1/users: 24 operations. - [Login](https://docs.morphbits.io/reference/rest-api/login): REST API operations under /v1/login: 1 operation. - [Buckets](https://docs.morphbits.io/reference/rest-api/buckets): REST API operations under /v1/buckets: 18 operations. - [Cluster](https://docs.morphbits.io/reference/rest-api/cluster): REST API operations under /v1/cluster: 33 operations. - [OAuth](https://docs.morphbits.io/reference/rest-api/oauth): REST API operations under /v1/oauth: 2 operations. - [SAML](https://docs.morphbits.io/reference/rest-api/saml): REST API operations under /v1/saml: 3 operations. - [Schemas](https://docs.morphbits.io/reference/rest-api/schemas): The 101 component schemas of the Morph REST API, each as a field table. - [S3 compatibility](https://docs.morphbits.io/reference/s3-compatibility): Every S3 operation with its status on the Morph S3 gateway, and the authentication, addressing, limits, consistency, checksum, encryption, ETag and error behavior a client sees. - [Installer configuration](https://docs.morphbits.io/reference/configuration/installer): Every key of the installer configuration file, which sets the storage node's shard layout at the first start of a Morph node. - [Environment variables](https://docs.morphbits.io/reference/configuration/environment-variables): Every environment variable the Morph image defines or reads, with its default and meaning. - [Storage node settings](https://docs.morphbits.io/reference/configuration/storage-node): Reference for the Morph-managed storage node configuration file, the keys Morph generates, the upstream defaults, and how Morph handles migrations. - [Inner ring settings](https://docs.morphbits.io/reference/configuration/inner-ring): Every key of the inner ring configuration that Morph generates, with its value and meaning, and what Morph changes in the file after installation. - [S3 gateway settings](https://docs.morphbits.io/reference/configuration/s3-gateway): Reference for the Morph-managed S3 gateway configuration file, every key Morph generates, and the upstream gateway settings. - [Console settings](https://docs.morphbits.io/reference/configuration/console): Every key of the console's configuration file with its type, default, the value the installer writes, and its meaning. - [Storage policy language](https://docs.morphbits.io/reference/storage-policy-language): Grammar, JSON form, node selection algorithm, node attributes and validation limits of Morph storage policies. - [Ports and protocols](https://docs.morphbits.io/reference/ports-and-protocols): Every port a Morph node listens on, the process behind it, the protocol, who connects to it, and how to change it. - [Installer API](https://docs.morphbits.io/reference/installer-api): The HTTP routes of the Morph installer, with their request fields, responses, and the time during which they exist. - [Command-line tools](https://docs.morphbits.io/reference/command-line-tools): The programs in the Morph image, the tools that are not in it, the generated command-line configuration files, and the neofs-cli control commands with their flags. - [Metrics](https://docs.morphbits.io/reference/metrics): Every Prometheus metric that the Morph components define, with type, labels and help text, as the collector endpoint exposes them. - [Errors and status codes](https://docs.morphbits.io/reference/errors): HTTP status codes and error bodies of the Morph console REST API, and the status codes of the storage layer that appear in logs and error messages. - [Limits](https://docs.morphbits.io/reference/limits): Every hard limit of Morph that a user or operator can hit, by area. - [Resilience tests](https://docs.morphbits.io/reference/resilience-tests): Functional resilience test results for Morph 0.30.1 across 33 fault-injection scenarios on a 10-node cluster. - [Node availability](https://docs.morphbits.io/reference/resilience-tests/node-availability): Resilience test scenarios for full cluster restart, partial node loss, combined inner ring and storage loss, writes during outages, and single-node faults. - [Disk and shard faults](https://docs.morphbits.io/reference/resilience-tests/disk-and-shard-faults): Resilience test scenarios for empty-drive recovery, metadata and data-file loss, deleted-object retention, read-only filesystems, and full disks. - [Erasure coding and rebuild](https://docs.morphbits.io/reference/resilience-tests/erasure-coding-and-rebuild): Resilience test scenarios for erasure-coded part loss, writes during part-holder outages, exceeding parity tolerance, and permanent node loss rebuilds. - [Inner ring faults](https://docs.morphbits.io/reference/resilience-tests/inner-ring-faults): Resilience test scenarios for inner ring node loss, RPC delay, storage isolation, quorum loss, client endpoint failover, network split, and chain database wipe. - [Traffic and operations](https://docs.morphbits.io/reference/resilience-tests/traffic-and-operations): Resilience test scenarios for continuous REST and S3 traffic during kills, freezes, rolling restarts, flapping nodes, and blocked storage ports. - [S3 gateway and large objects](https://docs.morphbits.io/reference/resilience-tests/s3-gateway-and-large-objects): Resilience test scenarios for multi-endpoint S3 failover, multipart uploads across node loss, and 96 MiB split objects under replication and erasure coding. - [Glossary](https://docs.morphbits.io/reference/glossary): Definitions of the terms used in the Morph documentation, with alternative names where applicable. ## Explanation Architecture, data placement, erasure coding, consistency, failure handling. - [Architecture](https://docs.morphbits.io/explanation/architecture): The components of a Morph node, the three node types, the two planes of a cluster, how a request travels, and what the design leaves out on purpose. - [Data model](https://docs.morphbits.io/explanation/data-model): Buckets, objects, object IDs, attributes, object types, the pieces of large objects, and what overwrite, delete and expiration mean for immutable objects. - [Data placement](https://docs.morphbits.io/explanation/data-placement): How a storage policy and rendezvous hashing decide which nodes hold each object, what moves when the network map changes, and what the mechanism guarantees. - [Erasure coding](https://docs.morphbits.io/explanation/erasure-coding): How Morph encodes objects with Reed-Solomon, where the parts go, what a write and a read require, how parts are repaired, and when replicas are the better choice. - [Replication and consistency](https://docs.morphbits.io/explanation/replication-and-consistency): When a write to a replicated bucket is acknowledged, how reads find a replica, and which consistency properties hold by construction and which are eventual. - [Failure domains and self-healing](https://docs.morphbits.io/explanation/failure-domains-and-self-healing): What the loss of a drive, a node, a rack or a site removes, how the policer restores redundancy and at what pace, and how many failures each storage policy tolerates. - [Metadata](https://docs.morphbits.io/explanation/metadata): The three kinds of metadata in Morph, where each one lives, which caches sit in front of them, and what this means for listing cost and for recovery. - [Inner ring and FS chain](https://docs.morphbits.io/explanation/inner-ring-and-fs-chain): What the inner ring records on the FS chain, how it reaches agreement, why its size is fixed, what an epoch is, and what stops when the quorum is lost. - [How S3 maps onto Morph](https://docs.morphbits.io/explanation/s3-on-morph): How buckets, keys, versions, multipart uploads, access control and credentials of the S3 API are represented in Morph, and why listing and caching behave as they do. - [Security model](https://docs.morphbits.io/explanation/security-model): How Morph identifies nodes, gateways and users by keys, and how a request is authenticated and authorized from the client to the storage node. - [Performance](https://docs.morphbits.io/explanation/performance): Which parts of the design decide how fast Morph writes and reads. - [Design trade-offs and limitations](https://docs.morphbits.io/explanation/design-trade-offs): The consequences of Morph's design that affect planning and operation, each with its reason and what to do about it. ## Releases Release notes, upgrade paths, component versions, deprecations. - [Release notes](https://docs.morphbits.io/releases/release-notes): Changes in every Morph release from 0.0.1 to 0.30.1, newest first. - [Upgrade paths](https://docs.morphbits.io/releases/upgrade-paths): What each Morph release changes at upgrade, which earlier releases are known as valid starting points, and the upgrade notes of the bundled NeoFS node and S3 gateway versions. - [Component versions](https://docs.morphbits.io/releases/component-versions): The NeoFS node, inner ring and S3 gateway versions bundled in each Morph release, and the libraries the current release is built with. - [Deprecations](https://docs.morphbits.io/releases/deprecations): Every deprecated REST API operation, field, variable and behavior of Morph with the release that deprecated it and its replacement, and the record of earlier removals.