Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AWS & SilverStripe 4

AWS & SilverStripe 4

How to setup and use AWS Autoscaling with SilverStripe 4

Derk Gortemaker

September 21, 2018
Tweet

Other Decks in Technology

Transcript

  1. 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
  2. About me • Developer → sysadmin • Linux, setup &

    maintain servers and infrastructure • Know software dev & sys admin • Twitter: @DerkGortemaker
  3. Why AWS • "Easy" Scaling and HA • Add and

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

    Balancer • Shared File System for assets
  5. What to create (2) • Auto scaling setup • Defined

    servers • Puppet • Create a server fast
  6. How to create it all??? • About 70 things to

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

    Month • Database has 2 servers running + managed MySQL • Load Balancer is more than expected
  8. Pros • Scales up and down automatically • EFS and

    RDS • Easy access to other AWS options
  9. 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...
  10. SilverStripe on AWS? • Well…. That depends • "Zero Downtime"

    -> probably • Need IO -> Upcloud • Same setup on Upcloud ◦ $20 - $60 • Only when you need it
  11. 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 [email protected]