How to Install OpenBazaar-Server on AWS (@mariodian method)

Openbazaar on AWS via @mariodian’s guide

For this guide, you will need a little patience, a notepad, and a BASH shell with SSH support. If you’re on Linux or OSX, you have everything you need. If you’re on Windows, you will need to download Cygwin, PuTTY, or if you’re on Windows 10, you’ll need Bash.

If you have any problems, ping me (@insanity54) in the openbazaar slack channel or comment below.

Feel free to refer to the original guide by @mariodian.

For this tutorial, as seen in the youtube screencast, I created a directory where I would save all my notes and openbazaar credentials. Feel free to create this directory wherever you want.

First, create or log in to your AWS account. If you are new, you can get free service for 1 year.

In your web browser, go to AWS management console.

https://console.aws.amazon.com/console/home

Create an EC2 instance. All the defaults are good.

Create a new keypair, naming it openbazaar.pem. Download and keep it safe and do not share, because this is the key to your server.

Launch the new instance.

TAKE NOTE of the “Security Group” your new instance is created in.
TAKE NOTE of the “Public IP” address of your new instance.

lock down the permissions of openbazaar.pem, so only your current user can read it.

SSH into the EC2 instance

On the EC2 instance, download mariodian’s install script

allow ubuntu to execute the install script

Install openbazaar by running mariodian’s install script

TAKE NOTE of the username and password you create. The setup script takes about 5 minutes to set everything up

Open the OpenBazaar on your EC2 instance’s firewall

  • in your web browser, in the EC2 console
  • Click “Security Groups” on left column
  • Click the group created when we launched EC2. For me, it was “launch-wizard-1”.
  • on “Inbound Rules”, add custom rules
    • Custom UDP rule, port 18467
    • Custom TCP rule, port 18466
    • Custom TCP rule, port range 18469-18470

Start the openbazaar service

Connect to your server from your local OpenBazaar-Client. In OpenBazaar-Client, this is set under Menu > Settings > Advanced > Server

Again, if you have any problems, feel free to leave a comment below, or ping me on the OpenBazaar Slack channel.

Big thank you to Mariodian!

http://mariodian.com/blog/50/quick-and-easy-way-to-setup-openbazaar-server-on-amazon-aws
ob://@mariodian/store

Thank you OpenBazaar team at OB1!

http://openbazaar.org
ob://@openbazaar/store

2 thoughts on “How to Install OpenBazaar-Server on AWS (@mariodian method)”

  1. Hi. What about updates? Do you have a copy/paste code for Putty to install OB updates to the AWS Instance? Thanks for the help. I was able to follow the tutorial and set up everything. I’m just wondering how to deal with the updates to OB. Thanks!

Leave a Reply

Your email address will not be published.