Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

570 views

Published on

In this joint talk, Rafael and Anil will present how to deploy Couchbase Server on Microsoft Azure Cloud with demos. We will take a look at Azure Cloud and virtual machines and look at models for deploying Couchbase Server, covering best practices and how to automate the Azure deployment. If you are looking at deploying Couchbase Server in the public cloud, this talk is a must-see!

Published in: Software
  • Be the first to comment

  • Be the first to like this

Deploying Couchbase Server on Microsoft Azure Cloud – Couchbase Connect 2016

  1. 1. ©2016 Couchbase Inc. Couchbase Server on Microsoft Azure 1
  2. 2. ©2016 Couchbase Inc. 2 The Couchbase Connect16 mobile app Take our in-app survey!
  3. 3. ©2016 Couchbase Inc. 3 Rafael Godinho Evangelist/Senior SDE Microsoft Email - rafael.godinho@microsoft.com Twitter - @rafaelgodinho
  4. 4. ©2016 Couchbase Inc. 4 Anil Kumar Senior Product Manager Couchbase Email: anil@couchbase.com Twitter: @anilkumar1129
  5. 5. ©2016 Couchbase Inc.©2016 Couchbase Inc. • Part I - Azure Intro • Azure Cloud Overview • Part II - ProvisioningVirtual Machines in Azure • Live Demo • Part III – Setting up Couchbase onAzureVirtual Machines • Best Practices with Azure VM SKUs, Network Config, Availability Set Configuration and more… • Part IV - New Azure Resource Manager (ARM)Template for DeployingCouchbase Cluster • Live Demo • PartV – Q&A Agenda 5
  6. 6. ©2016 Couchbase Inc. 6 PART 1 Intro to Azure
  7. 7. Nearly 50 million Office Online users Office for iOS has been downloaded over 80M times
  8. 8. ©2016 Couchbase Inc. Analyst reports
  9. 9. ©2016 Couchbase Inc.
  10. 10. ©2016 Couchbase Inc. Azure Cloud HybridEnterprise Grade Hyper-scale Enterprise Grade
  11. 11.  Game sessions hosted using Azure  Hosted using >100,000 Azure Virtual Machines
  12. 12. ©2016 Couchbase Inc. Platform Services Infrastructure Services Web Apps Mobile Apps API Apps Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export SQL Database DocumentDB Redis Cache Azure Search Storage Tables SQL Data Warehouse Azure AD Health Monitoring AD Privileged Identity Management Operational Analytics Cloud Services Batch RemoteApp Service Fabric Visual Studio Application Insights VS Team Services Domain Services HDInsight Machine Learning Stream Analytics Data Factory Event Hubs Data Lake Analytics Service IoT Hub Data Catalog Security & Management Azure Active Directory Multi-Factor Authentication Automation Portal Key Vault Store/ Marketplace VM Image Gallery & VM Depot Azure AD B2C Scheduler Xamarin HockeyApp Power BI Embedded SQL Server Stretch Database Mobile Engagement Functions Cognitive Services Bot Framework Cortana Security Center Container Service VM Scale Sets Data Lake Store BizTalk Services Service Bus Logic Apps API Management Content Delivery Network Media Services Media Analytics
  13. 13. ©2016 Couchbase Inc. 13 PART 2 Provisioning Couchbase VMs in Azure
  14. 14. ©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
  15. 15. ©2016 Couchbase Inc. Provisioning VM >_
  16. 16. ©2016 Couchbase Inc. VM disk layout
  17. 17. ©2016 Couchbase Inc.©2016 Couchbase Inc. • Azure Storage has embeded high availability for your data VM Disks
  18. 18. ©2016 Couchbase Inc.©2016 Couchbase Inc. DEMO 18
  19. 19. ©2016 Couchbase Inc. 19 PART 3 Best Practices - Couchbase Server on Azure Cloud
  20. 20. ©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 AzureVM InstanceType & Couchbase Recommendedation 20
  21. 21. ©2016 Couchbase Inc.©2016 Couchbase Inc. • Virtual Network are the most efficient way to communicate! • Configure aVirtual Network for Nodes & Apps Per DC/Region • SetupVnet toVnet connection between DCs/Regions • Private IPs are faster to route compared to public IPs Configuring Azure Network for Couchbase Clusters 21 Availability Set VNET VNet to VNet Availability Set VNET West US East US
  22. 22. ©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
  23. 23. ©2016 Couchbase Inc.©2016 Couchbase Inc. • Ensure that application servers are deployed to the sameVnet. • 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
  24. 24. ©2016 Couchbase Inc.©2016 Couchbase Inc. • ConfigureAvailability 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
  25. 25. ©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 eachVM into a separate storage account to ensure that they do not have to compete with otherVMs or services for storage throughput. Storage Configuration 25 RAID 0 ...
  26. 26. ©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 XDCRTraffic: Cross DC/RegionTraffic with SSL Security Best Practices ©2014 Couchbase, Inc. 26
  27. 27. ©2016 Couchbase Inc. 27 PART 4 New Azure Resource Manager (ARM)Template for Deploying Couchbase Cluster
  28. 28. ©2016 Couchbase Inc.©2016 Couchbase Inc. ARMTemplate UI 28 Test URL
  29. 29. ©2016 Couchbase Inc.©2016 Couchbase Inc. DEMO 30
  30. 30. ©2016 Couchbase Inc. Q & A 31
  31. 31. ©2016 Couchbase Inc. ThankYou! 32
  32. 32. ©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)
  33. 33. ©2016 Couchbase Inc. 34 The Couchbase Connect16 mobile app Take our in-app survey!

×