ACUG 12 Clouds - Cloud Formation

464 views

Published on

  • Be the first to comment

  • Be the first to like this

ACUG 12 Clouds - Cloud Formation

  1. 1. Using Cloud FormationTo Bring AWS Services Together
  2. 2. Raise your hand if...You use Auto ScalingYou use Cloud WatchYou use Simple Notification Service (SNS)You use Identity and Access Management(IAM)You use Cloud FormationYou want to use one or more of these
  3. 3. Cloud Formation BasicsTemplate File json Five sections: Header, Parameters, Mappings, Resources, OutputsCloud Formation console Create, Update, Delete stack Parameters, Events, Outputs
  4. 4. Cloud Formation DemosDemo 1:Phone Number for SNSDefault Number of InstancesAuto Scaling Group with Cloud Watch AlarmSNS message when scaling
  5. 5. Cloud Formation DemosDemo 2:IP AddressMeta-Data, User-Data, and cfn-init to create fileUser-Data and IAM to edit instance attributes Enable API termination protection Change shutdown behavior
  6. 6. Cloud Formation DemosDemo 3:AZ for on-demand instancesAZ for spot instancesMin/Max/Desired size for spot instance ASGLoad balance between on-demand and spotinstancesMulti-AZ for redundancy
  7. 7. Difference services for different needsCloud Formation Glue that brings AWS services together Easy to create and delete environments Easy to source control
  8. 8. Difference services for different needsAuto Scaling Easy way to adjust capacity for dynamic load As hands on or hands off as you want Manages the load for youCloud Watch Monitor health and take action to resolve Natural integration with Auto Scaling GroupsIdentity and Access Management (IAM) Grant appropriate level of access to resources
  9. 9. Linkshttps://github.com/joehack3r/acughttp://www.slideshare.net/joehack3r/

×