Uncategorized

High Availability Drupal 8 on Microsoft Azure

In this blog post we will take you though all the components required to provision a high availability Drupal 8 stack on Microsoft Azure. This is an extract from the demonstration given at Microsoft Ignite on the Gold Coast in November 2015.

 

by nick.schuch / 

What is Drupal?

Drupal is content management software. It’s used to make many of the websites and applications you use every day. Drupal has great standard features, like easy content authoring, reliable performance, and excellent security. But what sets it apart is its flexibility; modularity is one of its core principles. Its tools help you build the versatile, structured content that dynamic web experiences need.

More information

aGov for Drupal 8

aGov is a totally free, open source Drupal CMS software distribution developed specifically for Australian Government organisations. Easy to install and configure, this pre-packaged Drupal CMS complies with all Australian Government standards and provides a full suite of essential website management features. It can be used out of the box for basic websites, or customised with any standard Drupal 8 module to deliver large scale, complex government platforms.

More information

Preparation

To replicate this demo you will need to following tools installed:

Architecture

So why do we want a high availability (HA) architecture? Why can’t we just deploy a single Virtual Machine (VM) application? Both of these questions come down to Azure’s service level agreements (SLA), to get a 99.95% SLA on Azure you will need to implement an architecture which implements 2 hosts at a minimum. But don’t fear, because our site is deployed in a high availability architecture doesn’t mean we have to make things difficult. For this demo we are going to stick to the following 3 principles:

  • Use services instead of custom deployments of services eg. Databases and file storage.
  • Keep our complex areas as simple as possible eg. Scripts over tools. You may choose a tool that suites your need in the future eg. Deployment tools, but for now we will keep it as high level as possible.
  • Implement as much open source as possible.

The diagram below illustrates the areas which we are going to focus on for this demo and how they interact.

  • Resource groups
  • Database
  • File storage
  • VM’s
  • Networking (endpoints)
  • Scaling and Availability sets

 

 

Resource Groups

Azure is very focused on providing the high level tooling for deploying applications, without the requirement for the end user to know anything about the low level architecture eg. networking and replication. The core fundamentals that resource groups provide us are:

  • Access control
  • Billing management
  • Global architecture management

So how do I create a resource group? These are easily created via the Azure UI when creating new resources. For the purpose of this demo we will create one at the same time we create our database backend, then add resources to it via the same UI as we create additional resources.

Database

The database is the primary storage backend for persistent data of the application, this component is responsible for storing all our content. Drupal 8 core ships with database drivers for Mysql, Postgres and Sqlite. In this demo we are going to use a Mysql backend implementation, on Azure we have 2 options:

  • ClearDB
  • MariaDB Enterprise
  • Install your own Mysql backend

 

Learn More 3501
Learn More 3502
Learn More 3503
Learn More 3504
Learn More 3505
Learn More 3506
Learn More 3507
Learn More 3508
Learn More 3509
Learn More 3510
Learn More 3511
Learn More 3512
Learn More 3513
Learn More 3514
Learn More 3515
Learn More 3516
Learn More 3517
Learn More 3518
Learn More 3519
Learn More 3520
Learn More 3521
Learn More 3522
Learn More 3523
Learn More 3524
Learn More 3525
Learn More 3526
Learn More 3527
Learn More 3528
Learn More 3529
Learn More 3530
Learn More 3531
Learn More 3532
Learn More 3533
Learn More 3534
Learn More 3535
Learn More 3536
Learn More 3537
Learn More 3538
Learn More 3539
Learn More 3540
Learn More 3541
Learn More 3542
Learn More 3543
Learn More 3544
Learn More 3545
Learn More 3546
Learn More 3547
Learn More 3548
Learn More 3549
Learn More 3550
Learn More 3551
Learn More 3552
Learn More 3553
Learn More 3554
Learn More 3555
Learn More 3556
Learn More 3557
Learn More 3558
Learn More 3559
Learn More 3560
Learn More 3561
Learn More 3562
Learn More 3563
Learn More 3564
Learn More 3565
Learn More 3566
Learn More 3567
Learn More 3568
Learn More 3569
Learn More 3570
Learn More 3571
Learn More 3572
Learn More 3573
Learn More 3574
Learn More 3575
Learn More 3576
Learn More 3577
Learn More 3578
Learn More 3579
Learn More 3580
Learn More 3581
Learn More 3582
Learn More 3583
Learn More 3584
Learn More 3585
Learn More 3586
Learn More 3587
Learn More 3588
Learn More 3589
Learn More 3590
Learn More 3591
Learn More 3592
Learn More 3593
Learn More 3594
Learn More 3595
Learn More 3596
Learn More 3597
Learn More 3598
Learn More 3599
Learn More 3600
Learn More 3601
Learn More 3602
Learn More 3603
Learn More 3604
Learn More 3605
Learn More 3606
Learn More 3607
Learn More 3608
Learn More 3609
Learn More 3610
Learn More 3611
Learn More 3612
Learn More 3613
Learn More 3614
Learn More 3615
Learn More 3616
Learn More 3617
Learn More 3618
Learn More 3619
Learn More 3620
Learn More 3621
Learn More 3622
Learn More 3623
Learn More 3624
Learn More 3625
Learn More 3626
Learn More 3627
Learn More 3628
Learn More 3629
Learn More 3630
Learn More 3631
Learn More 3632
Learn More 3633
Learn More 3634
Learn More 3635
Learn More 3636
Learn More 3637
Learn More 3638
Learn More 3639
Learn More 3640
Learn More 3641
Learn More 3642
Learn More 3643
Learn More 3644
Learn More 3645
Learn More 3646
Learn More 3647
Learn More 3648
Learn More 3649
Learn More 3650
Learn More 3651
Learn More 3652
Learn More 3653
Learn More 3654
Learn More 3655
Learn More 3656
Learn More 3657
Learn More 3658
Learn More 3659
Learn More 3660
Learn More 3661
Learn More 3662
Learn More 3663
Learn More 3664
Learn More 3665
Learn More 3666
Learn More 3667
Learn More 3668
Learn More 3669
Learn More 3670
Learn More 3671
Learn More 3672
Learn More 3673
Learn More 3674
Learn More 3675
Learn More 3676
Learn More 3677
Learn More 3678
Learn More 3679
Learn More 3680
Learn More 3681
Learn More 3682
Learn More 3683
Learn More 3684
Learn More 3685
Learn More 3686
Learn More 3687
Learn More 3688
Learn More 3689
Learn More 3690
Learn More 3691
Learn More 3692
Learn More 3693
Learn More 3694
Learn More 3695
Learn More 3696
Learn More 3697
Learn More 3698
Learn More 3699
Learn More 3700
Learn More 3701
Learn More 3702
Learn More 3703
Learn More 3704
Learn More 3705
Learn More 3706
Learn More 3707
Learn More 3708
Learn More 3709
Learn More 3710
Learn More 3711
Learn More 3712
Learn More 3713
Learn More 3714
Learn More 3715
Learn More 3716
Learn More 3717
Learn More 3718
Learn More 3719
Learn More 3720
Learn More 3721
Learn More 3722
Learn More 3723
Learn More 3724
Learn More 3725
Learn More 3726
Learn More 3727
Learn More 3728
Learn More 3729
Learn More 3730
Learn More 3731
Learn More 3732
Learn More 3733
Learn More 3734
Learn More 3735
Learn More 3736
Learn More 3737
Learn More 3738
Learn More 3739
Learn More 3740
Learn More 3741
Learn More 3742
Learn More 3743
Learn More 3744
Learn More 3745
Learn More 3746
Learn More 3747
Learn More 3748
Learn More 3749
Learn More 3750
Learn More 3751
Learn More 3752
Learn More 3753
Learn More 3754
Learn More 3755
Learn More 3756
Learn More 3757
Learn More 3758
Learn More 3759
Learn More 3760
Learn More 3761
Learn More 3762
Learn More 3763
Learn More 3764
Learn More 3765
Learn More 3766
Learn More 3767
Learn More 3768
Learn More 3769
Learn More 3770
Learn More 3771
Learn More 3772
Learn More 3773
Learn More 3774
Learn More 3775
Learn More 3776
Learn More 3777
Learn More 3778
Learn More 3779
Learn More 3780
Learn More 3781
Learn More 3782
Learn More 3783
Learn More 3784
Learn More 3785
Learn More 3786
Learn More 3787
Learn More 3788
Learn More 3789
Learn More 3790
Learn More 3791
Learn More 3792
Learn More 3793
Learn More 3794
Learn More 3795
Learn More 3796
Learn More 3797
Learn More 3798
Learn More 3799
Learn More 3800
Learn More 3801
Learn More 3802
Learn More 3803
Learn More 3804
Learn More 3805
Learn More 3806
Learn More 3807
Learn More 3808
Learn More 3809
Learn More 3810
Learn More 3811
Learn More 3812
Learn More 3813
Learn More 3814
Learn More 3815
Learn More 3816
Learn More 3817
Learn More 3818
Learn More 3819
Learn More 3820
Learn More 3821
Learn More 3822
Learn More 3823
Learn More 3824
Learn More 3825
Learn More 3826
Learn More 3827
Learn More 3828
Learn More 3829
Learn More 3830
Learn More 3831
Learn More 3832
Learn More 3833
Learn More 3834
Learn More 3835
Learn More 3836
Learn More 3837
Learn More 3838
Learn More 3839
Learn More 3840
Learn More 3841
Learn More 3842
Learn More 3843
Learn More 3844
Learn More 3845
Learn More 3846
Learn More 3847
Learn More 3848
Learn More 3849
Learn More 3850
Learn More 3851
Learn More 3852
Learn More 3853
Learn More 3854
Learn More 3855
Learn More 3856
Learn More 3857
Learn More 3858
Learn More 3859
Learn More 3860
Learn More 3861
Learn More 3862
Learn More 3863
Learn More 3864
Learn More 3865
Learn More 3866
Learn More 3867
Learn More 3868
Learn More 3869
Learn More 3870
Learn More 3871
Learn More 3872
Learn More 3873
Learn More 3874
Learn More 3875
Learn More 3876
Learn More 3877
Learn More 3878
Learn More 3879
Learn More 3880
Learn More 3881
Learn More 3882
Learn More 3883
Learn More 3884
Learn More 3885
Learn More 3886
Learn More 3887
Learn More 3888
Learn More 3889
Learn More 3890
Learn More 3891
Learn More 3892
Learn More 3893
Learn More 3894
Learn More 3895
Learn More 3896
Learn More 3897
Learn More 3898
Learn More 3899
Learn More 3900
Learn More 3901
Learn More 3902
Learn More 3903
Learn More 3904
Learn More 3905
Learn More 3906
Learn More 3907
Learn More 3908
Learn More 3909
Learn More 3910
Learn More 3911
Learn More 3912
Learn More 3913
Learn More 3914
Learn More 3915
Learn More 3916
Learn More 3917
Learn More 3918
Learn More 3919
Learn More 3920
Learn More 3921
Learn More 3922
Learn More 3923
Learn More 3924
Learn More 3925
Learn More 3926
Learn More 3927
Learn More 3928
Learn More 3929
Learn More 3930
Learn More 3931
Learn More 3932
Learn More 3933
Learn More 3934
Learn More 3935
Learn More 3936
Learn More 3937
Learn More 3938
Learn More 3939
Learn More 3940
Learn More 3941
Learn More 3942
Learn More 3943
Learn More 3944
Learn More 3945
Learn More 3946
Learn More 3947
Learn More 3948
Learn More 3949
Learn More 3950
Learn More 3951
Learn More 3952
Learn More 3953
Learn More 3954
Learn More 3955
Learn More 3956
Learn More 3957
Learn More 3958
Learn More 3959
Learn More 3960
Learn More 3961
Learn More 3962
Learn More 3963
Learn More 3964
Learn More 3965
Learn More 3966
Learn More 3967
Learn More 3968
Learn More 3969
Learn More 3970
Learn More 3971
Learn More 3972
Learn More 3973
Learn More 3974
Learn More 3975
Learn More 3976
Learn More 3977
Learn More 3978
Learn More 3979
Learn More 3980
Learn More 3981
Learn More 3982
Learn More 3983
Learn More 3984
Learn More 3985
Learn More 3986
Learn More 3987
Learn More 3988
Learn More 3989
Learn More 3990
Learn More 3991
Learn More 3992
Learn More 3993
Learn More 3994
Learn More 3995
Learn More 3996
Learn More 3997
Learn More 3998
Learn More 3999
Learn More 4000

Related Articles

Leave a Reply

Back to top button