all the different ways to host drupal on aws
play

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


  1. ALL THE DIFFERENT WAYS TO HOST DRUPAL ON AWS Brian Thompson // @rvtraveller26

  2. OBLIGATORY INTRODUCTION • Director of Web Engineering @ Mindgrub • Working with web tech since 2006 • AWS Certified Solutions Architect • @rvtraveller26 • Baker, outdoorsman, tech nerd

  3. We Want To Use The Cloud!

  4. We Want To Use AWS!

  5. SO WHERE DO WE START?

  6. LET’S START SIMPLE

  7. GIVE ME A SERVER!

  8. 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 other “AWS” stuff

  9. DEMO

  10. WE’RE MISSING A FEW THINGS

  11. WELL-ARCHITECTED FRAMEWORK

  12. WELL-ARCHITECTED FRAMEWORK • 5 Pillars Of Application Design • Checklist Of Design Principles • Questions To Make Sure You Think Things Through

  13. FIVE PILLARS

  14. FIVE PILLARS • Security • Reliability • Performance Efficiency • Cost Optimization • Operational Excellence

  15. SECURITY • Apply security at all layers • Implement principle of least privilege • Focus on securing your system • Automate security best practices

  16. RELIABILITY • Test recovery procedures • Automatically recover from failure • Scale horizontally to increase system availability • Stop guessing capacity

  17. PERFORMANCE EFFICIENCY • Democratize advanced technologies • Go global in minutes • Experiment more often • Mechanical sympathy

  18. COST OPTIMIZATION • Adopt a consumption model • Benefit from economies of scale • Analyze expenditure • Use managed services to reduce cost of ownership

  19. 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

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

  21. WE CAN DO BETTER

  22. AWS ELASTIC BEANSTALK

  23. 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

  24. 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

  25. FILE STORAGE

  26. AWS ELASTIC FILESYSTEM

  27. AWS ELASTIC FILESYSTEM • AKA “EFS” • Shared file system, similar to NFS • Automatic capacity provisioning • Pay only for what you use

  28. AWS ELASTIC FILESYSTEM • Includes life cycle rules to provide cost savings for infrequently accessed files

  29. AWS ELASTIC FILESYSTEM • Includes life cycle rules to provide cost savings for infrequently accessed files

  30. DATABASE

  31. AWS RELATIONAL DATABASE SERVICE

  32. AWS RELATIONAL DATABASE SERVICE • Cost efficient, resizable relational database • MySQL, MariaDB, and Aurora • Optimized and tuned for you

  33. AWS RELATIONAL DATABASE SERVICE • 2 different varieties of Aurora • Provisioned and “Serverless”

  34. AWS RDS SERVERLESS • Automatically scales disk space, CPU, memory • Pay only for what you use • “Starts” in < 30 seconds

  35. DEMO

  36. PROVISIONED CAPACITY

  37. PROVISIONED CAPACITY • Even with Elastic Beanstalk, still provisioning servers • Provisioning capacity means wasting capacity

  38. AWS FARGATE

  39. AWS FARGATE • Run containers without managing servers • No need to worry about patching, updating, or “hardware” failure • Pay per CPU and Memory used

  40. AWS FARGATE • Drupal uploaded files • https://www.drupal.org/project/s3fs

  41. DEMO

  42. OTHER “CONTAINER” SOLUTIONS • AWS Elastic Container Service • AWS Elastic Kubernetes Service

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

  44. USE WHAT YOU ARE COMFORTABLE WITH!

  45. QUESTIONS? • Brian Thompson, Director of Web Engineering • @rvtraveller26

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend