Summary of Aug 2019 Meetup on how to optimize your EC2 costs by upto 90% using Spot Instance
August meetup at Locus.sh started with an introduction and welcome note by Bhuvaneswari Subramani, co-orgainzer AWS User Group Bengaluru, setting stage for our speakers, Chakravarthy Nagarajan (popularly known as Chakra), the Spot Specialist SA & Sridhar Bharadwaj, Business Development Manager - EC2 Spot at AWS.
Infact, Chakra is back to #awsugblr after a year to talk about more EC2 Spot but still the conference hall was packed with new set of audience except the organizers (Runcy & Bhuvaneswari). You may refer to the detailed agenda in the August meetup announcement blog.
The session was super interactive from start to end and that's the best credit reward for the trainer coming over the festival weekend to share his deep insights on EC2 Spot.
Pop Quiz by Sridhar at the end fo the session was a highlight and the techies who got it right was rewarded with the special Spot EC2 T-shirts.
And here is the Pop Quiz winners posing with their T-shirts
- EC2 Spot instances overview https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances.html
- Spot Fleet
- Spot Instance Advisor: https://aws.amazon.com/ec2/spot/instance-advisor/
- Spot Instances – Dynamic Pricing: Displays the Spot price for each region and instance type (updated every 5 minutes) - https://aws.amazon.com/ec2/spot/pricing/
- Spot Pricing History tool (needs AWS console login): CONSOLE => EC2 => SPOT INSTANCES => PRICING HISTORY button
- New ASG (Auto Scaling Groups) with mixed instance types - https://aws.amazon.com/blogs/aws/new-ec2-auto-scaling-groups-with-multiple-instance-types-purchase-options/
- Allocation Strategies for Spot Instances :
with ASG: https://aws.amazon.com/blogs/compute/introducing-the-capacity-optimized-allocation-strategy-for-amazon-ec2-spot-instances/
with EC2 Fleet: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-configuration-strategies.html#ec2-fleet-allocation-strategy
With Spot Fleet: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet.html#spot-fleet-allocation-strategy
- Replacing a Launch Configuration with a Launch Template: https://docs.aws.amazon.com/autoscaling/ec2/userguide/replace-launch-config.html
- Video of how to configure ASGs for Spot instances and Mixed Instance Groups - https://www.youtube.com/watch?v=mXX1dgmStlo
- Interruption handling - at an instance level (terminate, stop & hibernate). Please refer to https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html
- Reference script with Cloudformation template - as an example to de-register from ELB : https://github.com/awslabs/ec2-spot-labs/tree/master/ecs-ec2-spot-auto-deregister
- Tagging best practices for EC2 instances - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
- Spot Blocks - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html#fixed-duration-spot-instances
- EKS - blog : https://aws.amazon.com/blogs/compute/run-your-kubernetes-workloads-on-amazon-ec2-spot-instances-with-amazon-eks/
- K8s - Spot Interruption handler: - https://github.com/kube-aws/kube-spot-termination-notice-handler
- Kubernetes related Blog by Ran Sheinberg of AWS (Specialist Solution Architect – EC2 Spot)
Stay tuned for upcoming meetups. Follow us on Linkedin or Twitter and for more update please visit: https://awsugblr.in.
AWSUGBLR organizers would like to thank
For any feedback, comments, requests or contributions, please write to us on email@example.com