Couchbase Server can be easily downloaded and installed on your local machine. However a common way to run it is on Amazon. This blog will explain how you can run Couchbase on
Amazon.

Couchbase Server can be easily launched on Amazon Web Services using Couchbase on AWS Marketplace. Click on Continue and review the settings
in 1-Click Launch as shown below:
couchbase-amazon-oneclick-1

This is using Couchbase Server 4.0 Community Edition and an m3.large instance.
couchbase-amazon-oneclick-2

A new security group with all the relevant ports exposed will be automatically created. This group's name is Couchbase Server Community Edition-4-0-0-AutogenByAWSMP-. This group is created once and can be repurposed if you launch another
instance.

You may have to create a new key pair as explained here.

Click on “Accept Software Terms and Launch with 1-click”. The following confirmation window will be shown:
couchbase-amazon-oneclick-3

Wait for a few minutes for the image to be provisioned. AWS EC2 Console should show the status as  “2/2 checks passed” as shown:
couchbase-amazon-oneclick-4

Get the public DNS address and access Couchbase at http://:8091. In our case, this will be http://ec2-54-153-6-241.us-west-1.compute.amazonaws.com:8091/index.html. Note, that this instance is
now shutdown and so is not available ;)

Couchbase on Amazon Usage Instructions provide more details about how to use Couchbase on Amazon. :8091 shows a
login screen. A default username is Administrator and the password is your instance id:

couchbase-amazon-oneclick-5

And clicking on Sign In shows the Couchbase Web Console:

couchbase-amazon-oneclick-6

Further references …

Enjoy!

Author

Posted by Arun Gupta, VP, Developer Advocacy, Couchbase

Arun Gupta is the vice president of developer advocacy at Couchbase. He has built and led developer communities for 10+ years at Sun, Oracle, and Red Hat. He has deep expertise in leading cross-functional teams to develop and execute strategy, planning and execution of content, marketing campaigns, and programs. Prior to that he led engineering teams at Sun and is a founding member of the Java EE team. Gupta has authored more than 2,000 blog posts on technology. He has extensive speaking experience in more than 40 countries on myriad topics and is a JavaOne Rock Star for three years in a row. Gupta also founded the Devoxx4Kids chapter in the US and continues to promote technology education among children. An author of several books on technology, an avid runner, a globe trotter, a Java Champion, a JUG leader, NetBeans Dream Team member, and a Docker Captain, he is easily accessible at @arungupta.

One Comment

  1. Thanks for the helpful article! However, the Community Edition is no longer available “to new customers” in AWS. Can you tell me why this product offering was withdrawn? It was very helpful in introducing new customers to Couchbase in a low-risk, low-cost environment.

Leave a reply