Install Elasticsearch in 5 Minutes on Digital Ocean
May 29, 2014development
Step 1: Get A Server
In order to get this done in 5 minutes we're going to use Digital Ocean to spin up a cloud server. Why? Because it's awesome and your server will be ready in 55 seconds... It's cheap to run and free to get started if you use one of their many promo codes. If this doesn't sound awesome to you, feel free to spend an hour or so setting up a Linux virtual machine. Either way, this tutorial assumes you are going to run ElasticSearch on Linux, specifically Ubuntu. So after you sign up for Digital Ocean, setup a free Ubuntu Droplet (more info than you need is here). They'll email you the root password and you should be good to go to access the Linux console from their website. Note: there are a bunch of other things you'll want to do if you run this server in production - like setting up SSH, disabling root login, and other things. Follow this tutorial for 'Initial Server Setup With Ubuntu' for more details.
Step 2: Install Elasticsearch
Now you are ready to install Elasticsearch. Fortunately that's the easy part. Run the shell script in this gist to get up and running. Aaaand you're done. Want to make sure it's running? Run a curl in your console, hitting port 9200.
You should see something like this giving you some meta data about your Elasticsearch instance. Now, if I had DNS setup for this hostname, you will now be able to hit Elasticsearch externally with http://elastic.brudtkuhl.com:9200 but for now you can just go at the public IP address that Digital Ocean provides. This is the first in a series of posts on my experiences working with Elasticsearch. Do you have any questions on how to install Elasticsearch? Now onto your next step: Securing Elasticsearch. Note: Links to DigitalOcean use my referral code. I'd recommend them if I didn't have a referral code.
Personalized children's stories generated by AI. This is an app I am building with my kids.
📠 Fax Online
Yea, I know. But there is a long tail for everything and believe it or not there was an underserved market for people that need to send a fax online. Some people (like me!) just need to send a one time fax.
Read more about this micro Saas project in a blog post about building an online fax service.
📱 Cloud Number
Cloud Number is a virtual phone app that helps you protect your privacy online. Use it to receive SMS online and keep your phone number private. It's also a great service for a freelancer or entrepreneur that wants to have a separate phone for their business for SMS and voicemail.
Read more on this app in a blog post about building a virtual phone service. Just launched a temp number service for when you only need a number once.> See all projects