ALL THE DIFFERENT WAYS TO HOST DRUPAL ON AWS Brian Thompson // - - PowerPoint PPT Presentation

all the different ways to host drupal on aws
SMART_READER_LITE
LIVE PREVIEW

ALL THE DIFFERENT WAYS TO HOST DRUPAL ON AWS Brian Thompson // - - PowerPoint PPT Presentation

ALL THE DIFFERENT WAYS TO HOST DRUPAL ON AWS Brian Thompson // @rvtraveller26 OBLIGATORY INTRODUCTION Director of Web Engineering @ Mindgrub Working with web tech since 2006 AWS Certified Solutions Architect @rvtraveller26


slide-1
SLIDE 1

ALL THE DIFFERENT WAYS TO HOST DRUPAL ON AWS

Brian Thompson // @rvtraveller26

slide-2
SLIDE 2

OBLIGATORY INTRODUCTION

  • Director of Web Engineering @

Mindgrub

  • Working with web tech since 2006
  • AWS Certified Solutions Architect
  • @rvtraveller26
  • Baker, outdoorsman, tech nerd
slide-3
SLIDE 3

We Want To Use The Cloud!

slide-4
SLIDE 4

We Want To Use AWS!

slide-5
SLIDE 5
slide-6
SLIDE 6

SO WHERE DO WE START?

slide-7
SLIDE 7

LET’S START SIMPLE

slide-8
SLIDE 8

GIVE ME A SERVER!

slide-9
SLIDE 9
slide-10
SLIDE 10
slide-11
SLIDE 11

AMAZON LIGHTSAIL

  • Virtual Private Servers, as you might be used to
  • Just like Digital Ocean, Linode, etc
  • No need to manage security groups, networks, or
  • ther “AWS” stuff
slide-12
SLIDE 12

DEMO

slide-13
SLIDE 13

WE’RE MISSING A FEW THINGS

slide-14
SLIDE 14

WELL-ARCHITECTED FRAMEWORK

slide-15
SLIDE 15

WELL-ARCHITECTED FRAMEWORK

  • 5 Pillars Of Application Design
  • Checklist Of Design Principles
  • Questions To Make Sure

You Think Things Through

slide-16
SLIDE 16

FIVE PILLARS

slide-17
SLIDE 17

FIVE PILLARS

  • Security
  • Reliability
  • Performance Efficiency
  • Cost Optimization
  • Operational Excellence
slide-18
SLIDE 18

SECURITY

  • Apply security at all layers
  • Implement principle of least privilege
  • Focus on securing your system
  • Automate security best practices
slide-19
SLIDE 19

RELIABILITY

  • Test recovery procedures
  • Automatically recover from failure
  • Scale horizontally to increase system availability
  • Stop guessing capacity
slide-20
SLIDE 20

PERFORMANCE EFFICIENCY

  • Democratize advanced technologies
  • Go global in minutes
  • Experiment more often
  • Mechanical sympathy
slide-21
SLIDE 21

COST OPTIMIZATION

  • Adopt a consumption model
  • Benefit from economies of scale
  • Analyze expenditure
  • Use managed services to reduce cost of
  • wnership
slide-22
SLIDE 22

OPERATIONAL EXCELLENCE

  • Perform operations with code
  • Make regular, small, incremental changes
  • Test for responses to unexpected events
  • Learn from operational events and failures
  • Keep operations procedures current
slide-23
SLIDE 23

AWS LIGHTSAIL

Pillar AWS Lightsail Security Partial Reliability Partial Performance Efficiency No Cost Optimization No Operational Excellence No

slide-24
SLIDE 24

WE CAN DO BETTER

slide-25
SLIDE 25

AWS ELASTIC BEANSTALK

slide-26
SLIDE 26

AWS ELASTIC BEANSTALK

  • “Easy-to-use” service for deploying and scaling

web applications

  • Java, .NET, Node.js, Python, Ruby, Go
  • And PHP

, of course

  • Apache, Nginx, IIS, Load Balancing
slide-27
SLIDE 27

AWS ELASTIC BEANSTALK

  • No additional cost, just pay for resources you use
  • Handles capacity provisioning
  • Handles health monitoring
  • https://docs.aws.amazon.com/elasticbeanstalk/

latest/dg/php-hadrupal-tutorial.html

slide-28
SLIDE 28

FILE STORAGE

slide-29
SLIDE 29

AWS ELASTIC FILESYSTEM

slide-30
SLIDE 30

AWS ELASTIC FILESYSTEM

  • AKA “EFS”
  • Shared file system, similar to NFS
  • Automatic capacity provisioning
  • Pay only for what you use
slide-31
SLIDE 31

AWS ELASTIC FILESYSTEM

  • Includes life cycle rules to provide cost savings for

infrequently accessed files

slide-32
SLIDE 32

AWS ELASTIC FILESYSTEM

  • Includes life cycle rules to provide cost savings for

infrequently accessed files

slide-33
SLIDE 33

DATABASE

slide-34
SLIDE 34

AWS RELATIONAL DATABASE SERVICE

slide-35
SLIDE 35

AWS RELATIONAL DATABASE SERVICE

  • Cost efficient, resizable relational database
  • MySQL, MariaDB, and Aurora
  • Optimized and tuned for you
slide-36
SLIDE 36

AWS RELATIONAL DATABASE SERVICE

  • 2 different varieties of Aurora
  • Provisioned and “Serverless”
slide-37
SLIDE 37

AWS RDS SERVERLESS

  • Automatically scales disk space, CPU, memory
  • Pay only for what you use
  • “Starts” in < 30 seconds
slide-38
SLIDE 38

DEMO

slide-39
SLIDE 39

PROVISIONED CAPACITY

slide-40
SLIDE 40

PROVISIONED CAPACITY

  • Even with Elastic Beanstalk, still provisioning

servers

  • Provisioning capacity means wasting capacity
slide-41
SLIDE 41

AWS FARGATE

slide-42
SLIDE 42

AWS FARGATE

  • Run containers without managing servers
  • No need to worry about patching, updating, or

“hardware” failure

  • Pay per CPU and Memory used
slide-43
SLIDE 43

AWS FARGATE

  • Drupal uploaded files
  • https://www.drupal.org/project/s3fs
slide-44
SLIDE 44

DEMO

slide-45
SLIDE 45

OTHER “CONTAINER” SOLUTIONS

  • AWS Elastic Container Service
  • AWS Elastic Kubernetes Service
slide-46
SLIDE 46

Pillar AWS Lightsail AWS Elastic Beanstalk AWS Fargate Security Partial Yes Yes Reliability Partial Yes Yes Performance Efficiency No Partial Yes Cost Optimization No Partial Yes Operational Excellence No Yes Yes

slide-47
SLIDE 47

USE WHAT YOU ARE COMFORTABLE WITH!

slide-48
SLIDE 48

QUESTIONS?

  • Brian Thompson, Director of

Web Engineering

  • @rvtraveller26