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.
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.
In your web browser, go to AWS management console.
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.
cp ~/Downloads/openbazaar.pem ~/scripts/mariodian-tutorial/
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.
chmod 0600 ~/scripts/mariodian-tutorial/openbazaar.pem
SSH into the EC2 instance
ssh ubuntu@[THE PUBLIC IP ADDRESS OF YOUR INSTANCE GOES HERE] -i ~/scripts/mariodian-tutorial/openbazaar.pem
On the EC2 instance, download mariodian’s install script
allow ubuntu to execute the install script
chmod +x ./obsetup.sh
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
sudo service openbazaar start
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!
Thank you OpenBazaar team at OB1!