{"id":1070,"date":"2023-01-15T21:41:35","date_gmt":"2023-01-15T21:41:35","guid":{"rendered":"http:\/\/oqtacore-blog-473533498.us-east-1.elb.amazonaws.com\/?p=1070"},"modified":"2023-01-18T10:56:53","modified_gmt":"2023-01-18T10:56:53","slug":"10-steps-to-create-a-free-mastodon-server","status":"publish","type":"post","link":"https:\/\/oqtacore.com\/blog\/10-steps-to-create-a-free-mastodon-server\/","title":{"rendered":"Mastodon server for free in 10 steps"},"content":{"rendered":"<p>Mastodon is the new very promising social network. Here are 10 steps of creating your own absolutely free Mastodon server<\/p>\n<p><!--more--><\/p>\n<h3><\/h3>\n<h3>What is Mastodon?<\/h3>\n<p>In simple words, it is a Twitter analog that is organized like Discord. Everybody can have their own server, and users can visit any server using the same username. The huge difference (and not a pleasant one, actually) is that a user has to select their main &#8220;server&#8221; to which their user belongs. Also, the founder chose strange naming like &#8220;toot&#8221; for &#8220;tweet&#8221; and &#8220;boost&#8221; for &#8220;like&#8221;.<\/p>\n<p>Other than that, the UI for the end-user is very intuitive.<\/p>\n<p>&nbsp;<\/p>\n<h3>Creating your Mastodon server<\/h3>\n<p>1. Create your AWS account<\/p>\n<p>2.Go to EC2 dashboard and create a new instance. For the type, I recommend &#8220;t2.micro&#8221; as sufficient for beginning. Also it is free (if you do not go above the free tier limits).<\/p>\n<p>3. When selecting an image, search for Mastodon<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1071\" src=\"http:\/\/blog.oqtacore.com\/wp-content\/uploads\/2023\/01\/2023-01-16_00-16-16.png\" alt=\"\" width=\"1114\" height=\"902\" srcset=\"https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-16-16.png 1114w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-16-16-300x243.png 300w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-16-16-1024x829.png 1024w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-16-16-768x622.png 768w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-16-16-180x146.png 180w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-16-16-800x648.png 800w\" sizes=\"auto, (max-width: 1114px) 100vw, 1114px\" \/><\/p>\n<p>In the new window, go to &#8220;community AMIs&#8221; and select the latest bitnami build<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1072\" src=\"http:\/\/blog.oqtacore.com\/wp-content\/uploads\/2023\/01\/2023-01-16_00-21-06.png\" alt=\"\" width=\"1590\" height=\"899\" srcset=\"https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-21-06.png 1590w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-21-06-300x170.png 300w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-21-06-1024x579.png 1024w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-21-06-768x434.png 768w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-21-06-1536x868.png 1536w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-21-06-180x102.png 180w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-21-06-800x452.png 800w\" sizes=\"auto, (max-width: 1590px) 100vw, 1590px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>4. You will be back in the creation page. Create a new key pair and remember where you saved the key<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1073\" src=\"http:\/\/blog.oqtacore.com\/wp-content\/uploads\/2023\/01\/2023-01-16_00-24-00.png\" alt=\"\" width=\"514\" height=\"147\" srcset=\"https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-24-00.png 731w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-24-00-300x86.png 300w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_00-24-00-180x51.png 180w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/p>\n<p><a href=\"https:\/\/docs.aws.amazon.com\/Route53\/latest\/DeveloperGuide\/migrate-dns-domain-in-use.html\" target=\"_blank\" rel=\"noopener\">5. Add your domain to Route53<\/a><\/p>\n<p>6. Go to the EC2 page again, go to Elastic IPs in the left navigation panel<\/p>\n<p>7. Create a new Elastic IP with default settings, then select it, press &#8220;Actions&#8221;-&gt;&#8221;Associate Elastic IP address&#8221; in the upper right corner, and attach the Elastic IP address to the previously created EC2 instance<\/p>\n<p>8. In Route53, create a new A record that points to Elastic IP address<\/p>\n<p>9. Now you can use SSH to login into your EC2 instance with ssh key that you saved on step 4<\/p>\n<p>! For some reason, AWS offers you to login as &#8220;admin&#8221;. You will not have access with this username. Use &#8220;bitnami&#8221; instead<\/p>\n<p>10. Follow a simple procedure by running<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">sudo \/opt\/bitnami\/configure_app_domain --domain yourdoma.in<\/pre>\n<p>then<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">sudo \/opt\/bitnami\/bncert-tool --domains yourdoma.in<\/pre>\n<h3>Mastodon server is ready to go<\/h3>\n<p>You can access <code class=\"Terminal__Code__Command\" aria-label=\"Command\">yourdoma.in<\/code>!<\/p>\n<h3>Getting your admin login-pass on SSH<\/h3>\n<p>If you ssh&#8217;ed into the instance, just run<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">cat bitnami_credentials<\/pre>\n<h3>Getting your admin login-pass via EC2 dashboard<\/h3>\n<p>1. Go to the EC2 dashboard<\/p>\n<p>2. Select your mastodon instance<\/p>\n<p>3. Select &#8220;Monitor &amp; troubleshoot&#8221; -&gt; &#8220;Get system log\u201d in the upper right corner<\/p>\n<p>4. In the new window, scroll up and you will see your admin login-pass<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1085\" src=\"http:\/\/blog.oqtacore.com\/wp-content\/uploads\/2023\/01\/2023-01-16_01-06-51.png\" alt=\"\" width=\"1153\" height=\"595\" srcset=\"https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_01-06-51.png 1153w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_01-06-51-300x155.png 300w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_01-06-51-1024x528.png 1024w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_01-06-51-768x396.png 768w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_01-06-51-180x93.png 180w, https:\/\/oqtacore.com\/blog\/wp-content\/uploads\/2023\/01\/2023-01-16_01-06-51-800x413.png 800w\" sizes=\"auto, (max-width: 1153px) 100vw, 1153px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mastodon is the new very promising social network. Here are 10 steps of creating your own absolutely free Mastodon server<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_mo_disable_npp":"","yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-1070","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":{"image":1099},"yasr_visitor_votes":{"number_of_votes":0,"sum_votes":0,"stars_attributes":{"read_only":false,"span_bottom":false}},"_links":{"self":[{"href":"https:\/\/oqtacore.com\/blog\/wp-json\/wp\/v2\/posts\/1070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oqtacore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oqtacore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oqtacore.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oqtacore.com\/blog\/wp-json\/wp\/v2\/comments?post=1070"}],"version-history":[{"count":15,"href":"https:\/\/oqtacore.com\/blog\/wp-json\/wp\/v2\/posts\/1070\/revisions"}],"predecessor-version":[{"id":1100,"href":"https:\/\/oqtacore.com\/blog\/wp-json\/wp\/v2\/posts\/1070\/revisions\/1100"}],"wp:attachment":[{"href":"https:\/\/oqtacore.com\/blog\/wp-json\/wp\/v2\/media?parent=1070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oqtacore.com\/blog\/wp-json\/wp\/v2\/categories?post=1070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oqtacore.com\/blog\/wp-json\/wp\/v2\/tags?post=1070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}