ticketea Sysadmins? @JavierHdez3 @maraujop @igalarzab @sullymorland @patoroco @imanolcg @RafaRM20 @iamcarlosedo @andrea_mgr @Mc_Arena_pr @javitxudedios @Maquert @gnufede @willyfrog_ @ShideShugo X X X X X X X X X X X X X X X
ticketea Why use AWS? ✤ We don’t have sysadmins. ✤ Our traffic is spike-oriented. ✤ Auto-managed AWS services are really helpful. ✤ They improve their service continually. ✤ The uptime of some of their services is 99.999999999%
ticketea EC2 && ELB ✤ Keep an eye on the “Events” page of the admin console. ✤ Use always more than one AZ. ✤ We reached the maximum number of instances of EC2! ✤ Pre-heat the ELBs (open a ticket in the support area).
ticketea RDS ✤ Aurora ✤ Vertical auto-scaling and spikes are not friends. ✤ The point-in-time-snapshots system is awesome. ✤ Create new replicas is a one-click process.
ticketea SQS ✤ Everything can fail: also 3 AZ of one region. ✤ Automate fallbacks to other regions. ✤ Be prepared to have a 2nd plan to synchronise services. ✤ No messages lost, but receive them more than once (maybe).
ticketea VPC ✤ It’s really difficult to migrate from EC2. ✤ We’re trying to migrate gradually. ✤ Check ClassicLink to facilitate the process. ✤ Create a VPN to get access to your network. ✤ Use a Route53 internal domain to name your services.
ticketea Distributed systems ✤ Granular failing. ✤ Avoid single point of failure. ✤ Easy code maintainability ✤ Choose the best tech for each project. ✤ Scale the team easier.
ticketea Distributed systems ✤ Hard to deploy. ✤ Hard to see the whole picture. ✤ More complexity: easy to fail. ✤ When shit happens: you need a plan B.
ticketea Why did we create forseti? ✤ It was 2013 and there was no UI for Autoscaling in AWS. ✤ Other tools were too overkill for us. ✤ We wanted something small, quick and for CLI. ✤ We wanted to play around with AWS API :)
ticketea deploy_and_snapshot deployer 1. Stops any autoscaling process. 2. It relies in other tools to deploy your app. (ansible) 3. Choose a random instance to create an AMI. 4. Setup the autoscaling group, policies and alarms.