+ All Categories
Home > Software > Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

Date post: 15-Apr-2017
Category:
Upload: couchbase
View: 267 times
Download: 0 times
Share this document with a friend
33
©2016 Couchbase Inc. Couchbase Server on Microsoft Azure 1
Transcript
Page 1: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc. 1

Couchbase Server on Microsoft Azure

Page 2: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc. 2

The Couchbase Connect16 mobile appTake our in-app survey!

Page 3: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc. 3

Rafael Godinho Evangelist/Senior SDE MicrosoftEmail - [email protected] - @rafaelgodinho

Page 4: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc. 4

Anil Kumar Senior Product Manager CouchbaseEmail: [email protected]: @anilkumar1129

Page 5: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

• Part I - Azure Intro • Azure Cloud Overview

• Part II - Provisioning Virtual Machines in Azure• Live Demo

• Part III – Setting up Couchbase on Azure Virtual Machines• Best Practices with Azure

VM SKUs, Network Config, Availability Set Configuration and more…• Part IV - New Azure Resource Manager (ARM) Template for Deploying

Couchbase Cluster• Live Demo

• Part V – Q&A

Agenda

5

Page 6: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc. 6

PART 1Intro to Azure

Page 7: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

Nearly 50 million Office Online users

48 Million Subscribers in 41 countries

Outlook.com has over 400 Million active users and is the world’s fastest growing email service

1 Billion mobile notifications a month

Bing holds 20.2 percent of US market share

- comScore

Yammer has over 8 million registered users

Over 250 million people use OneDrive

On average, Skype users use the service 50

Billion minutes/mo

Xbox delivered over 740 million hours of entertainment

Office for iOS has been downloaded over 80M times

Page 8: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.

Analyst reports

Page 9: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.

Achieve global scale, in local regions

34 regions

Page 10: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.

Azure Cloud

HybridEnterprise Grade

Hyper-scale

HybridEnterprise

Grade

Hyper-Scale

Page 11: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

Game sessions hosted using Azure

Hosted using >100,000 Azure Virtual Machines

Page 12: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.

Platform Services

Infrastructure ServicesCompute Storage

Datacenter Infrastructure

Application Platform

WebApps

MobileApps

API Apps

Notification Hubs

HybridCloud

Backup

StorSimple

Azure SiteRecovery

Import/Export

Networking

DataSQL Database DocumentDB

Redis Cache

AzureSearch

StorageTables

SQL DataWarehouse

Azure AD Health Monitoring

Virtual Network

ExpressRoute

Blob Files DisksVirtual Machines

AD PrivilegedIdentity Management

Traffic Manager

AppGateway

OperationalAnalytics

Compute Services

Cloud Services

Batch RemoteApp

ServiceFabric

Developer Services

Visual Studio

ApplicationInsights

VS Team Services

Containers DNS VPN GatewayLoad Balancer

Domain Services

Analytics & IoT

HDInsight MachineLearning Stream Analytics

Data FactoryEvent

Hubs

Data LakeAnalytics Service

IoT Hub

Data Catalog

Security & Management

Azure ActiveDirectory

Multi-FactorAuthentication

Automation

Portal

Key Vault

Store/Marketplace

VM Image Gallery& VM Depot

Azure ADB2C

Scheduler

Xamarin

HockeyAppPower BI Embedded

SQL Server Stretch Database

MobileEngagement

Functions

IntelligenceCognitive Services Bot Framework Cortana

Security Center

Container Service

Queues

VM Scale Sets

Data Lake Store

Dev/Test Lab

Integration

BizTalkServices

Service BusLogic Apps

API Management

Media & CDNContent DeliveryNetwork

Media Services

Media Analytics

Page 13: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc. 13

PART 2Provisioning

Couchbase VMs in Azure

Page 14: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.

Launch Windows Server and Linux in minutes Scale from 1 to 1000s of VM Instances Save money with per-minute billing Open and extensible

Azure Virtual Machines

Page 15: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.

New Disk Persisted in

Storage

Cloud

Provisioning VMSelect Image and VM SizeGetting Started

Management Portal

>_Scripting

(Windows, Linux and Mac)

REST API

Boot VM from New DiskWindows Server

Linux

General PurposeBasicStandard

Optimized ComputePerformance OptimizedNetwork Optimized

Page 16: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.

VM disk layoutTemporary Storage Disk• Local (Not

Persistent)• SATA• Drive D:

Data Disk(s)• Persistent• SCSI• Customer Defined

Letter

OS Disk• Persisten

t• SATA• Drive C:

Page 17: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

Azure Storage

• Azure Storage has embeded high availability for your data

VM Disks

Page 18: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

DEMO

18

Page 19: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc. 19

PART 3Best Practices -

Couchbase Server on Azure Cloud

Page 20: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

• Minimum HW Recommendation for Couchbase• 2 cores and 4GB for development

• >= A3• >= D2 or D2_v2• >= G1

• 4 cores and 16GB for production• >= A6• D/DS4 or D/DS4_v2• D/DS5_v2• >= D/DS12 or D/DS12_v2• >= G/GS2

Azure VM Instance Type & Couchbase Recommendedation

20

Page 21: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

• Virtual Network are the most efficient way to communicate!• Configure a Virtual Network for Nodes & Apps Per DC/Region• Setup Vnet to Vnet connection between DCs/Regions• Private IPs are faster to route compared to public IPs

Configuring Azure Network for Couchbase Clusters

21

Availability Set

VNETVNet to VNet Availability Set

VNET

West US East US

Page 22: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

• Hybrid environment• Site-to-Site VPN• ExpressRoute

Configuring Azure Network for Couchbase Clusters

22

Availability Set

VNET

Azure On Premises

or

Page 23: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

• Ensure that application servers are deployed to the same Vnet. • Use privateIPs (10.0.x.x) for websites, VM applications or cloud services.

• SSL based client-server communications• SSL based view access: https://couchbase_server:18092/

Configuring Couchbase Client-Server Communications

23

Page 24: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

• Configure Availability Sets & Server Groups for Full Protection• Ensure Protection against Upgrades and Rack Failures• Ensure all nodes are in the same availability set• Ensure all nodes are in separate groups in Couchbase Cluster

Configuring Azure Availability Set & Couchbase Server Group

24

Page 25: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

• Mount data disks and stripe across with RAID 0.• Do not use ephemeral drive, which will be reset under node restart.• Do not use OS drive because it is limited in size.• Place the disks for each VM into a separate storage account to ensure that

they do not have to compete with other VMs or services for storage throughput.

Storage Configuration

25

RAID 0

...

Page 26: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

• Admin Endpoint: Couchbase Admin Console & CLI: 18091

• 18091 is SSL encrypted. • NSG 189091 for added security• No need to open any other port!

• Encrypt XDCR Traffic: Cross DC/Region Traffic with SSL

Security Best Practices

©2014 Couchbase, Inc. 26

Page 27: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc. 27

PART 4New Azure Resource

Manager (ARM) Template for

Deploying Couchbase Cluster

Page 29: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc.©2016 Couchbase Inc.

DEMO

30

Page 30: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc. 31

Q & A

Page 31: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc. 32

Thank You!

Page 32: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc. 33

Share your opinion on Couchbase

1. Go here: http://gtnr.it/2eRxYWn

2. Create a profile

3. Provide feedback (~15 minutes)

Page 33: Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

©2016 Couchbase Inc. 34

The Couchbase Connect16 mobile appTake our in-app survey!


Recommended