AWS & SilverStripe 4

AWS & SilverStripe 4

How to setup and use AWS Autoscaling with SilverStripe 4

983339f9a9a58b7b807b00b40ef5d4c0?s=128

Derk Gortemaker

September 21, 2018
Tweet

Transcript

  1. AWS & SilverStripe 4 Twisted Bytes

  2. About Twisted Bytes • Hosting Service Company • Helping companies

    with Hosting • Setup, Maintain and Monitor • Based in Enschede, The Netherlands • Twitter: @twistedbytes_nl • http://www.twistedbytes.nl
  3. About me • Developer → sysadmin • Linux, setup &

    maintain servers and infrastructure • Know software dev & sys admin • Twitter: @DerkGortemaker
  4. This Talk • AWS • SilverStripe on AWS • Deployment

    • Demo & Costs • Pros and Cons
  5. What is "AWS" • Services ◦ "easy" scaling • Regions

    and AZ's
  6. What is "AWS"

  7. Why AWS • "Easy" Scaling and HA • Add and

    remove servers • Shared resources • Scaling on servers only is hard • Many features and tools
  8. Scaling SilverStripe • Servers / VM's • Database • Load

    Balancer • Shared File System for assets
  9. What to create • Network • Servers • Database •

    Load Balancer • NFS
  10. What to create (2) • Auto scaling setup • Defined

    servers • Puppet • Create a server fast
  11. Deployment • Where are the servers…. • CodeDeploy • Scripts

    to run on hooks • Buddy
  12. How to create it all??? • About 70 things to

    configure • Use Terraform • All-in-one Git repo ◦ SS4, vagrant, buddy ◦ terraform, CodeDeploy scripts
  13. Costs • ~ $3 / per day = $90 /

    Month • Database has 2 servers running + managed MySQL • Load Balancer is more than expected
  14. Costs

  15. Pros • Scales up and down automatically • EFS and

    RDS • Easy access to other AWS options
  16. Cons • It's not easy to get started • Costs

    a lot more • Choices … Choices • Workflow changes • Not much IO by default • Pricing is a puzzle...
  17. SilverStripe on AWS? • Well…. That depends • "Zero Downtime"

    -> probably • Need IO -> Upcloud • Same setup on Upcloud ◦ $20 - $60 • Only when you need it
  18. Questions?

  19. I'd like to hear from you. Want to learn about

    a better way to have your hosting managed? Or have some ideas about what you are missing? Please contact us to exchange ideas. Vagrantbox -> twistedbytes/webserver www.twistedbytes.nl derk@twistedbytes.nl