{"id":22312,"date":"2024-09-24T12:33:13","date_gmt":"2024-09-24T10:33:13","guid":{"rendered":"https:\/\/contabo.com\/blog\/kb\/103000305678-can-i-use-mastodon-with-contabo-s-object-storage\/"},"modified":"2025-04-10T18:02:44","modified_gmt":"2025-04-10T16:02:44","slug":"103000305678-can-i-use-mastodon-with-contabo-s-object-storage","status":"publish","type":"kb","link":"https:\/\/contabo.com\/blog\/kb\/103000305678-can-i-use-mastodon-with-contabo-s-object-storage\/","title":{"rendered":"Can I Use Mastodon With Contabo&#8217;s Object Storage?"},"content":{"rendered":"<h4 dir=\"ltr\"><strong>What is Mastodon?<\/strong><\/h4>\n<p dir=\"ltr\"><a dir=\"ltr\" href=\"https:\/\/joinmastodon.org\/\" rel=\"noopener noreferrer nofollow nofollow\" target=\"_blank\"><u>Mastodon<\/u><\/a> is a self-hosted social network platform. Contabo&#8217;s Object Storage can be used to store users&#8217; content such as avatars, images and attachments.&nbsp;<\/p>\n<p dir=\"ltr\"><\/p>\n<p dir=\"ltr\">Please follow the installation instructions as described here in the <a href=\"https:\/\/docs.joinmastodon.org\/user\/run-your-own\/\" rel=\"noopener noreferrer nofollow nofollow\" target=\"_blank\"><u>Mastodon docs<\/u><\/a> if you&#8217;re interested in using Mastodon.&nbsp;<\/p>\n<p dir=\"ltr\"><\/p>\n<p dir=\"ltr\">You will need the following information to setup Mastodon to work with Contabo&#8217;s Object Storage:<\/p>\n<ul>\n<li>access_key<\/li>\n<li>secret_key<\/li>\n<li>Contabo&#8217;s S3 URL<\/li>\n<li>your tenant ID<\/li>\n<li>your bucket name<\/li>\n<\/ul>\n<p><\/p>\n<p dir=\"ltr\">Your tenant ID is shown when enabling public sharing for any object in the Object Storage Control Panel. It is the same for all buckets and objects in your account.<\/p>\n<p dir=\"ltr\"><\/p>\n<h4 dir=\"ltr\"><strong dir=\"ltr\">How do I setup Mastodon to work with Contabo&#8217;s Object Storage?<\/strong><\/h4>\n<p dir=\"ltr\">Append these lines to your .env.production configuration file in the Mastodon directory:<\/p>\n<pre><code class=\"codeBlockLines_e6Vv\">S3_ENABLED=true\nS3_BUCKET=mastodon\nAWS_ACCESS_KEY_ID=82046e8110804a43bf29c1ae426a724d\nAWS_SECRET_ACCESS_KEY=82e69bd7a52076c527154297a76c2233\nS3_REGION=default\nS3_PROTOCOL=https\nS3_HOSTNAME=eu2.contabostorage.com\nS3_ENDPOINT=https:\/\/eu2.contabostorage.com\nS3_ALIAS_HOST=eu2.contabostorage.com\/98d02cad15d64d8491cd5f43f657df78:mastodon\n<\/code><\/pre>\n<\/p>\n<p><span class=\"ast-load-more active\"><a href=\"https:\/\/help.contabo.com\/en\/support\/solutions\/articles\/103000305678-can-i-use-mastodon-with-contabo-s-object-storage-\" rel=\"nofollow\">Details&#8230;<\/a> <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Mastodon? Mastodon is a self-hosted social network platform. Contabo&#8217;s Object Storage can be used to store users&#8217; content such as avatars, images and attachments.&nbsp; Please follow the installation instructions as described here in the Mastodon docs if you&#8217;re interested in using Mastodon.&nbsp; You will need the following information to setup Mastodon to work [&hellip;]<\/p>\n","protected":false},"author":72,"featured_media":0,"template":"","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2067],"tags":[],"class_list":["post-22312","kb","type-kb","status-publish","hentry","category-kb"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Contabo Web","author_link":"https:\/\/contabo.com\/blog\/author\/julius-nalivaiko\/"},"uagb_comment_info":0,"uagb_excerpt":"What is Mastodon? Mastodon is a self-hosted social network platform. Contabo&#8217;s Object Storage can be used to store users&#8217; content such as avatars, images and attachments.&nbsp; Please follow the installation instructions as described here in the Mastodon docs if you&#8217;re interested in using Mastodon.&nbsp; You will need the following information to setup Mastodon to work&hellip;","_links":{"self":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/22312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/users\/72"}],"version-history":[{"count":1,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/22312\/revisions"}],"predecessor-version":[{"id":22899,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/22312\/revisions\/22899"}],"wp:attachment":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media?parent=22312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/categories?post=22312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/tags?post=22312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}